Commit Graph

202 Commits (1fc2fe2b8c790f56b016bedf722d3d80d7739b01)

Author SHA1 Message Date
Ferry Boender f1537418d6 Code quality. 9 years ago
Ferry Boender 03f655b6e6 If Scriptform is running as root, drop privileges to 'nobody' by default. Otherwise, don't drop privileges before executing scripts. 9 years ago
Ferry Boender 901e0d5938 Ability to run scripts as different user. 9 years ago
Ferry Boender 2e8e321a66 Fix stray quote in the HTML output. 9 years ago
Ferry Boender 503070d926 Revert python3 9 years ago
Ferry Boender acb0333b0a New style exception arguments 9 years ago
Ferry Boender 9e75badca5 Python v2.6.6 support 9 years ago
Ferry Boender 937a8b6706 Field type 'checkbox': Added 'checked' option for field definition to indicate if the checkbox should be checked by default. 9 years ago
Ferry Boender 66a7a134ff Rename FormConfig.callback to FormConfig.run_script. 9 years ago
Ferry Boender 01161bcd07 Comments. 9 years ago
Ferry Boender 82a9f1dad2 Split up WebApp into webserver and RequestHandler part. 9 years ago
Ferry Boender f45d41af88 Comment typo fix. 9 years ago
Ferry Boender 41f9ef4f6c Close file descriptors when calling a script. 9 years ago
Ferry Boender 12a4122d91 Fix rendering for radio form elements. 9 years ago
Ferry Boender 87d24dd7b1 Rewrote authentication method to be simpler. 9 years ago
Ferry Boender e145ebcd35 pylint. 9 years ago
Ferry Boender 271ce981fd min/max => minval/maxval for date field. 9 years ago
Ferry Boender e50ce9ec36 Clarify validation docstring. 9 years ago
Ferry Boender 292058dcd6 Make sure all required properties are present when loading a field definition. 9 years ago
Ferry Boender 851e20f204 Code quality. 9 years ago
Ferry Boender 0b9f093a9d Removed field type 'number'. 9 years ago
Ferry Boender 57de1bd900 Raise ValidationError instead of returning None if a file upload was invalid. 9 years ago
Ferry Boender e8e99647fb The 'classes' param in form rendering is a string, not a list. This means we can safely put a default empty string in the method declaration. 9 years ago
Ferry Boender 0b3aeaca41 Proper case for error messages. 9 years ago
Ferry Boender 8e01b3de75 Refactor: WebApp.auth() returns username, so actually use it. 9 years ago
Ferry Boender 386af020a2 Added abilitity to add custom CSS classes to field definitions. 9 years ago
Ferry Boender 65c6d4b9a3 Don't generate .pyc files. 9 years ago
Ferry Boender 847c42d644 Show which fields are required. 9 years ago
Ferry Boender a17906b5ba Show username properly in log when logging auditing information. 10 years ago
Ferry Boender b8f19a1bba Enforce min and max dates on "date" fields in HTML5 capable browsers. 10 years ago
Ferry Boender 4771d60448 Enforce minlen and maxlen on "text" fields in HTML5 capable browsers. 10 years ago
Ferry Boender fb63870487 Enforce minlen on "password" fields in HTML5 capable browsers. 10 years ago
Ferry Boender 200fea8598 Enforce minlen and maxlen on "string" fields in HTML5 capable browsers. 10 years ago
Ferry Boender 9241cbe837 Show understandable error when binding to the port fails. 10 years ago
Ferry Boender 0eb04cae51 Don't raise KeyError if a non-required file wasn't uploaded. 10 years ago
Ferry Boender 24f9a25f54 pyflake and pylint cleanups. 10 years ago
Ferry Boender 0aee57fdf4 Absolute paths to scripts to easy debugging and some additional debugging messages. 10 years ago
Ferry Boender 0c1d213458 Raise HTTPErrors instead of sending errors directly to the client. 10 years ago
Ferry Boender 6d7cdf744c Small cleanup. 10 years ago
Ferry Boender 6723038209 Show error code and text in browser. 10 years ago
Ferry Boender 20010fb0a4 Raise 404 error instead of sending it directly. 10 years ago
Ferry Boender fe51013643 Raise error instead of sending making the webapphandler send hand-crafted responses. 10 years ago
Ferry Boender 4210c3c672 pylint improvements. 10 years ago
Ferry Boender 394022e2d3 pylint fixes. 10 years ago
Ferry Boender 485fd773fc Refactored application into separate files. 10 years ago
Ferry Boender d8492b9269 Typo bugfix. 10 years ago
Ferry Boender 198386efeb Required field option fix 10 years ago
Ferry Boender c1a029a996 Allow inclusion of application-wide custom CSS. 10 years ago
Ferry Boender cc3479e9e3 Removed Todo list from code. 10 years ago
Ferry Boender 970154cdeb Properly validate field uploads if the browser does not support HTML5 client side form validation. 10 years ago