Commit Graph

175 Commits (803420289afa56fbdedfb22ac053eaec9524e1fa)

Author SHA1 Message Date
Ferry Boender c00d308fef Allow pre-auth through REMOTE_USER header 8 years ago
Ferry Boender 9c3fde01c6 Listen on port 8081 by default instead of 80 8 years ago
Ferry Boender 58d79a1dbb Fix improper username retrieval in index. 8 years ago
Ferry Boender aec8cb860e Code quality improvements. 8 years ago
Ferry Boender 3ce2ad0642 Strip leading slashes from path. 8 years ago
Ferry Boender d4297938c5 Accept third 'frame' argument to _cleanup signal handler 8 years ago
Ferry Boender 7a21d6b5f5 Max split once on htauth password. Prevents failure when password contains colon (:) 8 years ago
Ferry Boender 815cd2eb71 Improved form config loading error message 8 years ago
Ferry Boender f9214bfd4d Code quality improvements 8 years ago
Ferry Boender 34365b696c Code quality: logging 8 years ago
Ferry Boender 0e923f49eb Code quality: Use proper logging msg formatting 8 years ago
Ferry Boender d651ca8aa0 Code quality: test membership with 'not in' 8 years ago
Ferry Boender b72dd273fa List default port in --help output. 9 years ago
Ferry Boender 1a38907241 Code quality. 9 years ago
Ferry Boender 8ef5744631 Refactored script running into its own module. 9 years ago
Ferry Boender b912b24b0f Log exit codes of scripts. 9 years ago
Ferry Boender f6f482756a Don't set default `run_as` property to nobody, since we determine the default later on. 9 years ago
Ferry Boender 9e29db3e3f Code quality. 9 years ago
Ferry Boender d12282c860 String formatting positional argument fix. 9 years ago
Ferry Boender 8be0dfa2bb If a field is not required, an empty value is acceptable. 9 years ago
Ferry Boender ce5288068b If the user doesn't upload a file, and the field is not required, don't raise a ValidationError. 9 years ago
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