Commit Graph

25 Commits

Author SHA1 Message Date
Alex Schroeder
eb5eeafda7 (NewQuestionaskerDoPost): Only reveal
the secret key when a question has been asked (and not after a
simple preview).
2008-06-11 13:05:48 +00:00
Alex Schroeder
b224f97e28 (QuestionAddTo): Use
$QuestionaskerSecretKey instead of the hard-coded 'question'.
2008-04-14 11:25:23 +00:00
Alex Schroeder
c1c283e0ce (NewQuestionaskerDoPost,
QuestionAddTo): Editor password is good enough as suggested by
Weakish Jiang.
2008-02-19 09:07:26 +00:00
Alex Schroeder
64f0343054 (NewQuestionaskerGetEditForm): Moved
code to QuestionAddTo.
(QuestionAddTo): New.
(NewQuestionaskerGetCommentForm): Do the same thing for comments.
2008-01-28 16:01:24 +00:00
Alex Schroeder
ad0c8d4d08 (NewQuestionaskerDoPost): Pass
aftertext through.
2007-11-11 10:25:29 +00:00
Alex Schroeder
d7101def71 (NewQuestionaskerGetEditForm): Fix argument list for
OldQuestionaskerGetEditForm.
2007-10-07 20:19:02 +00:00
Alex Schroeder
a1c4b8ea4f (NewQuestionaskerDoPost): Call QuestionaskerGetQuestion with
parameter.
(QuestionaskerGetQuestion): Add submit button with parameter.
2007-10-07 20:13:10 +00:00
Alex Schroeder
cd2481c985 (NewQuestionaskerDoPost): Pass on
parameters and ask another question if the question has not been
answered.
(NewQuestionaskerGetFormStart, NewQuestionaskerGetEditForm): Hook
into GetEditForm instead of GetFormStart.
2007-10-07 20:00:08 +00:00
Alex Schroeder
e68da7f19c ($QuestionaskerSecretKey): New option.
(QuestionaskerInit, NewQuestionaskerDoPost): Use it.
2007-10-01 00:17:32 +00:00
Alex Schroeder
46c98aa5cf Switch to GPLv3 2007-08-17 00:30:31 +00:00
Alex Schroeder
7689b3f636 Allow seven lives for cats. 2007-08-17 00:26:35 +00:00
Alex Schroeder
e9b7971daa updated copyright year 2007-01-12 02:00:44 +00:00
Alex Schroeder
48688c9896 (NewQuestionaskerDoPost): Added 'Use
the back button to return the previous page and try again.'
2007-01-04 10:51:11 +00:00
Alex Schroeder
c6f6e3d0d4 (QuestionaskerInit): Replaced
@AdminPages with %AdminPages.
2006-07-15 23:14:02 +00:00
Alex Schroeder
efb6b7c5cf (NewQuestionaskerDoPost): No more
logging of Q&A.
($QuestionaskerRememberAnswer): New option.
(QuestionaskerInit): Add question parameter to cookie.
(NewQuestionaskerDoPost): Set question parameter in cookie if
answered correctly.
(NewQuestionaskerDoPost, NewQuestionaskerGetFormStart): Use new
option and parameter from cookie.
2006-06-05 21:28:14 +00:00
Alex Schroeder
5e868e0409 (NewQuestionaskerDoPost): No more
logging of Q&A.
2006-06-05 20:21:35 +00:00
Alex Schroeder
72f573e465 (NewQuestionaskerDoPost): No answer
required for previews. Log all questions and answers. Print
footer.
(@QuestionaskerQuestions): Make default questions harder to answer
such that pasting spam into the answer field does not have a high
chance of answering the question.
2006-05-30 20:05:14 +00:00
Alex Schroeder
2fce63f6c7 (QuestionaskerInit): New sub to add $QuestionaskerRequiredList to
@AdminPages.
2006-05-28 22:28:48 +00:00
Alex Schroeder
f03ff473de Simplified code.
(NewQuestionaskerDoPost): Extract id from the title parameter.
(%QuestionaskerProtectedForms): New option.
(NewQuestionaskerGetFormStart): Use it.
(QuestionaskerGetQuestion): Use CGI.pm functions to create HTML.
Make valid HTML.
2006-05-28 22:20:21 +00:00
Alex Schroeder
6bfcd6dae8 (QuestionaskerException): Invert some tests. 2006-05-26 23:18:16 +00:00
Alex Schroeder
e2619e890c (QuestionaskerException): Check $QuestionaskerRequiredList. 2006-05-26 23:13:55 +00:00
Alex Schroeder
ad55a826dd ($QuestionaskerBypass): Undocumented
option removed.
(NewQuestionaskerDoPost): Removed bypass.
(@QuestionaskerQuestions): Uncommented some questions, removed
some others.
(QuestionaskerException): New.
(NewQuestionaskerGetFormStart): No questions asked for admins.
Check for exceptions.
2006-05-26 23:08:16 +00:00
Alex Schroeder
79df8bab52 *** empty log message *** 2005-12-18 00:07:53 +00:00
Alex Schroeder
70d9d21f7b new version awwaiid 2005-12-18 00:07:36 +00:00
Brock Wilcox
c3fd5288a0 added questionasker module 2004-12-16 04:34:07 +00:00