Commit Graph

258 Commits (180f5faa40bdd81761c458811fc25d646268f580)
 

Author SHA1 Message Date
Ferry Boender 180f5faa40 Fix RPM build. 10 years ago
Ferry Boender 66a7a134ff Rename FormConfig.callback to FormConfig.run_script. 10 years ago
Ferry Boender 01161bcd07 Comments. 10 years ago
Ferry Boender 82a9f1dad2 Split up WebApp into webserver and RequestHandler part. 10 years ago
Ferry Boender f45d41af88 Comment typo fix. 10 years ago
Ferry Boender 41f9ef4f6c Close file descriptors when calling a script. 10 years ago
Ferry Boender 12a4122d91 Fix rendering for radio form elements. 10 years ago
Ferry Boender d063e68e82 Validate that form values are properly repopulated when there are errors. 10 years ago
Ferry Boender 07bc8cd88d Test cases for select input type. 10 years ago
Ferry Boender 8ddc95e904 Use test names instead of numbers for pylint. 10 years ago
Ferry Boender 87d24dd7b1 Rewrote authentication method to be simpler. 10 years ago
Ferry Boender e145ebcd35 pylint. 10 years ago
Ferry Boender 271ce981fd min/max => minval/maxval for date field. 10 years ago
Ferry Boender ea122f3204 Cosmetic code change. 10 years ago
Ferry Boender 2e03e796cd Include mandatory field 'title' properties in test json. 10 years ago
Ferry Boender 32be95d232 Test validation of missing mandatory properties in form field definitions. 10 years ago
Ferry Boender a9b7f81172 Test proper validation of checkbox. 10 years ago
Ferry Boender 8aa2936eab Better name for test case. 10 years ago
Ferry Boender 196126442e Remove unused code from tests. 10 years ago
Ferry Boender e50ce9ec36 Clarify validation docstring. 10 years ago
Ferry Boender 292058dcd6 Make sure all required properties are present when loading a field definition. 10 years ago
Ferry Boender 851e20f204 Code quality. 10 years ago
Ferry Boender b951fa4fce Additional unit tests. 10 years ago
Ferry Boender 0b9f093a9d Removed field type 'number'. 10 years ago
Ferry Boender 57de1bd900 Raise ValidationError instead of returning None if a file upload was invalid. 10 years ago
Ferry Boender 67cc44993a Test a script callback that returns non-zero exit code via the Web app. 10 years ago
Ferry Boender 561c566719 Test HTML output (unescaped). 10 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. 10 years ago
Ferry Boender 3dc01ddfdf Test validation with incorrect values. 10 years ago
Ferry Boender 0b3aeaca41 Proper case for error messages. 10 years ago
Ferry Boender 63c3a4d594 Test that validaton is happening correctly with correct data. 10 years ago
Ferry Boender dc7e2669ce Added a unit test for hidden fields (should have a 'hidden' CSS class). 10 years ago
Ferry Boender 8e01b3de75 Refactor: WebApp.auth() returns username, so actually use it. 10 years ago
Ferry Boender 16c8d5818a Added: Testcase to determine that Scriptform shows the form directly if there's only one form. 10 years ago
Ferry Boender 7733eef9fd Properly wait for server shutdown in test harness teardown. 10 years ago
Ferry Boender 1050b36181 Test FormConfig.callback for correct handling of missing stdout/err params. 10 years ago
Ferry Boender 386af020a2 Added abilitity to add custom CSS classes to field definitions. 10 years ago
Ferry Boender 65c6d4b9a3 Don't generate .pyc files. 10 years ago
Ferry Boender 847c42d644 Show which fields are required. 10 years ago
Ferry Boender 75a767f362 Document HTML5 validation. 10 years ago
Ferry Boender 87daf0fb9b Better description for the customize example. 10 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 3938f04224 Clarify validation example and add a non-required "string" field. 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