Commit Graph

166 Commits (34365b696c4693103804ea8068e7af5f704ee207)

Author SHA1 Message Date
Ferry Boender c98717ef2a Removed debugging output. 10 years ago
Ferry Boender c88e21035c Allow the user to turn off caching of the form config using '-r' options. 10 years ago
Ferry Boender c2d0c2cbe8 Use sys.stdout instead of print. 10 years ago
Ferry Boender d804cd4530 Display version number in footer. 10 years ago
Ferry Boender 43f5c7c316 Todo 10 years ago
Ferry Boender d4308b9d09 Allow prefilling of form values through url params. 10 years ago
Ferry Boender 3b2b3dd3c2 Log script invocation for auditing purposes 10 years ago
Ferry Boender 2dfa35a29b Checkbox field type added. 10 years ago
Ferry Boender f69159f11f get_visible_forms docstrings. 10 years ago
Ferry Boender 20a83c4382 Directly redirect to only visible form (instead of only form). 10 years ago
Ferry Boender df1b173d2a Added a 'hide' option to form definitions which lets you hide the form in the list. You can still refer to it in other ways, if you know its name. 10 years ago
Ferry Boender d12361c0ca Fix submit button default text. 10 years ago
Ferry Boender a4da0ed8d5 'script' field of form definitions is now required. 10 years ago
Ferry Boender 34c9cac1a7 Form definitions are now specified in a list instead of a dict. This preserves their order when listing the forms. 10 years ago
Ferry Boender 117438375e Support for --version. 10 years ago
Ferry Boender 55f569fc75 Deprecate support for calling native python callbacks. 10 years ago
Ferry Boender 7cf2ef2fc4 Result CSS no longer interferes with script output tags. 10 years ago
Ferry Boender 1168f5694c Show "powered by" message in footer. 10 years ago
Ferry Boender 330e8be4e5 Decode output of scripts from utf8 to unicode. 10 years ago
Ferry Boender eaf42d7d67 Init form config so it can raise errors about problems 10 years ago
Ferry Boender b0232b9e57 Custom exceptions now derive from Exception instead of BaseException, so they are properly caught when catching Exception. 10 years ago
Ferry Boender 55f3253453 Unicode and utf8. 10 years ago
Ferry Boender c1b611894d Unicoe and utf8. 10 years ago
Ferry Boender 2be059f71a Change working dir to dir of script. 10 years ago
Ferry Boender f4be82538f Log semi-global exceptions. 10 years ago
Ferry Boender f81c978d03 Moved DaemonError class definition to top of file. 10 years ago
Ferry Boender 0ebdcc87f9 Flake8 compliance. 10 years ago
Ferry Boender c844d733be FIXME comment for HTTP server shutdown. 10 years ago
Ferry Boender 32c612cabe Semi-proper daemon shutdown. 10 years ago
Ferry Boender 3fb1c092a1 Deprecate WebSrv class. 10 years ago
Ferry Boender f28fd0aa34 Ability to run as daemon. 10 years ago
Ferry Boender cdc57696ef Styling. 10 years ago
Ferry Boender 473142a107 Made private methods private. 10 years ago
Ferry Boender 7e568d5fcd Parse query string with urlparse instead of manually. 10 years ago
Ferry Boender 19967cd014 Cleanups and comments. 10 years ago
Ferry Boender e511678c07 Fix native Python callbacks after refactoring. 10 years ago
Ferry Boender 676b90e649 Add todo. 10 years ago
Ferry Boender ddf5464ade Use self.send_error(401,..) instead of raising an exception in certain cases. 10 years ago
Ferry Boender 05a3d30024 Raise proper exceptions instead of Exception(). 10 years ago
Ferry Boender 955b8c1f64 Clarifying comment. 10 years ago
Ferry Boender 02f5e128cc If only one form is defined, go directly to that form from the index. Otherwise, show the list of defined forms. 10 years ago
Ferry Boender 3f4795d9ca Proper error raising when a form does not exist. 10 years ago
Ferry Boender fd39f8b85c Class reordering in the source. Cache form config as a singleton. 10 years ago
Ferry Boender 9c41bfa51b Separate form configuration to its own class, so it can be dynamically loaded in the future. 10 years ago
Ferry Boender 450bc70b72 First radio option is selected by default now. 10 years ago
Ferry Boender 84282b2421 Remove todo. 10 years ago
Ferry Boender 742b4ec0e3 Allow validation of uploaded file extensions. 10 years ago
Ferry Boender 5cbf942f99 Deprecated the 'script_raw' option in favour of an output type specifier. 'escaped' will wrap output in PRE tags and esape the HTML entities in the output. 'html' will not and allows the script to include HTML markup. 'raw' is the former 'script_raw' option and directly streams output to the browser. 10 years ago
Ferry Boender b2f3bae749 Improved field validation and new field options for textarea. Original file names of uploaded files are now stored in an additional field <field_name>__name. 10 years ago
Ferry Boender 05e201a749 Improved error reporting and validation. 10 years ago