Commit Graph

275 Commits (03f655b6e69f2af4cd1427e9c1379fae70177f58)
 

Author SHA1 Message Date
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 ddfdf3c053 Additions to the manual 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 3759575e8e Copy all python source files to release archives so we don't have to update the Makefile each time 9 years ago
Ferry Boender 9e75badca5 Python v2.6.6 support 9 years ago
Ferry Boender 7ad325828d Document additional field types. 9 years ago
Ferry Boender c29dde2344 README update. 9 years ago
Ferry Boender 6229bd3a6a Megacorp_acc example: checked checkbox. 9 years ago
Ferry Boender f8e96de85a Documentation updates. 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 f74e2b2d1e Remove test files after running test 9 years ago
Ferry Boender b823a183d9 Deleted TODO file 9 years ago
Ferry Boender 1551163846 User manual: added Terminology section. 9 years ago
Ferry Boender 83fb983307 User manual: spelling corrections. 9 years ago
Ferry Boender 180f5faa40 Fix RPM build. 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 d063e68e82 Validate that form values are properly repopulated when there are errors. 9 years ago
Ferry Boender 07bc8cd88d Test cases for select input type. 9 years ago
Ferry Boender 8ddc95e904 Use test names instead of numbers for pylint. 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 ea122f3204 Cosmetic code change. 9 years ago
Ferry Boender 2e03e796cd Include mandatory field 'title' properties in test json. 9 years ago
Ferry Boender 32be95d232 Test validation of missing mandatory properties in form field definitions. 9 years ago
Ferry Boender a9b7f81172 Test proper validation of checkbox. 9 years ago
Ferry Boender 8aa2936eab Better name for test case. 9 years ago
Ferry Boender 196126442e Remove unused code from tests. 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 b951fa4fce Additional unit tests. 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 67cc44993a Test a script callback that returns non-zero exit code via the Web app. 9 years ago
Ferry Boender 561c566719 Test HTML output (unescaped). 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 3dc01ddfdf Test validation with incorrect values. 9 years ago
Ferry Boender 0b3aeaca41 Proper case for error messages. 9 years ago
Ferry Boender 63c3a4d594 Test that validaton is happening correctly with correct data. 9 years ago
Ferry Boender dc7e2669ce Added a unit test for hidden fields (should have a 'hidden' CSS class). 9 years ago
Ferry Boender 8e01b3de75 Refactor: WebApp.auth() returns username, so actually use it. 9 years ago