Commit Graph

203 Commits (master)

Author SHA1 Message Date
Ferry Boender d12361c0ca Fix submit button default text. 9 years ago
Ferry Boender a4da0ed8d5 'script' field of form definitions is now required. 9 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. 9 years ago
Ferry Boender 117438375e Support for --version. 9 years ago
Ferry Boender 55f569fc75 Deprecate support for calling native python callbacks. 9 years ago
Ferry Boender 7cf2ef2fc4 Result CSS no longer interferes with script output tags. 9 years ago
Ferry Boender 1168f5694c Show "powered by" message in footer. 9 years ago
Ferry Boender 330e8be4e5 Decode output of scripts from utf8 to unicode. 9 years ago
Ferry Boender eaf42d7d67 Init form config so it can raise errors about problems 9 years ago
Ferry Boender b0232b9e57 Custom exceptions now derive from Exception instead of BaseException, so they are properly caught when catching Exception. 9 years ago
Ferry Boender 55f3253453 Unicode and utf8. 9 years ago
Ferry Boender c1b611894d Unicoe and utf8. 9 years ago
Ferry Boender 2be059f71a Change working dir to dir of script. 9 years ago
Ferry Boender f4be82538f Log semi-global exceptions. 9 years ago
Ferry Boender f81c978d03 Moved DaemonError class definition to top of file. 9 years ago
Ferry Boender 0ebdcc87f9 Flake8 compliance. 9 years ago
Ferry Boender c844d733be FIXME comment for HTTP server shutdown. 9 years ago
Ferry Boender 32c612cabe Semi-proper daemon shutdown. 9 years ago
Ferry Boender 3fb1c092a1 Deprecate WebSrv class. 9 years ago
Ferry Boender f28fd0aa34 Ability to run as daemon. 9 years ago
Ferry Boender cdc57696ef Styling. 9 years ago
Ferry Boender 473142a107 Made private methods private. 9 years ago
Ferry Boender 7e568d5fcd Parse query string with urlparse instead of manually. 9 years ago
Ferry Boender 19967cd014 Cleanups and comments. 9 years ago
Ferry Boender e511678c07 Fix native Python callbacks after refactoring. 9 years ago
Ferry Boender 676b90e649 Add todo. 9 years ago
Ferry Boender ddf5464ade Use self.send_error(401,..) instead of raising an exception in certain cases. 9 years ago
Ferry Boender 05a3d30024 Raise proper exceptions instead of Exception(). 9 years ago
Ferry Boender 955b8c1f64 Clarifying comment. 9 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. 9 years ago
Ferry Boender 3f4795d9ca Proper error raising when a form does not exist. 9 years ago
Ferry Boender fd39f8b85c Class reordering in the source. Cache form config as a singleton. 9 years ago
Ferry Boender 9c41bfa51b Separate form configuration to its own class, so it can be dynamically loaded in the future. 9 years ago
Ferry Boender 450bc70b72 First radio option is selected by default now. 9 years ago
Ferry Boender 84282b2421 Remove todo. 9 years ago
Ferry Boender 742b4ec0e3 Allow validation of uploaded file extensions. 9 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. 9 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. 9 years ago
Ferry Boender 05e201a749 Improved error reporting and validation. 9 years ago
Ferry Boender a8c1ba64a3 Always stringify form values before sending them to a script callback. 9 years ago
Ferry Boender ec93afa1ac Remove test headers. 9 years ago
Ferry Boender 555fbcfa30 Bugfix: Allow users to enter fractional numbers for float form types. 9 years ago
Ferry Boender 7b5fa81e31 Move inline HTML templates to top. 9 years ago
Ferry Boender 871d22167e Ignore non-existing temp files in upload cleanup. 9 years ago
Ferry Boender 7ce6bc8b12 Authentication passwords are now sha256 hashed. Use --generate-pw to generate the proper hashed password. 9 years ago
Ferry Boender 18394194dd Allow to be run under subpaths in case of running behind a proxy. 9 years ago
Ferry Boender 4e155d0a37 Line break. 9 years ago
Ferry Boender ed4b8226d8 Python 2.6 string formatting compatibility. 9 years ago
Ferry Boender 1aaacf8ef9 Allow scripts to write their own output using script_raw setting. 9 years ago
Ferry Boender 8bd31c2f04 Added TODO comments. 9 years ago