Commit Graph

384 Commits (master)
 

Author SHA1 Message Date
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
Ferry Boender 16c8d5818a Added: Testcase to determine that Scriptform shows the form directly if there's only one form. 9 years ago
Ferry Boender 7733eef9fd Properly wait for server shutdown in test harness teardown. 9 years ago
Ferry Boender 1050b36181 Test FormConfig.callback for correct handling of missing stdout/err params. 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 75a767f362 Document HTML5 validation. 9 years ago
Ferry Boender 87daf0fb9b Better description for the customize example. 9 years ago
Ferry Boender a17906b5ba Show username properly in log when logging auditing information. 9 years ago
Ferry Boender b8f19a1bba Enforce min and max dates on "date" fields in HTML5 capable browsers. 9 years ago
Ferry Boender 4771d60448 Enforce minlen and maxlen on "text" fields in HTML5 capable browsers. 9 years ago
Ferry Boender 3938f04224 Clarify validation example and add a non-required "string" field. 9 years ago
Ferry Boender fb63870487 Enforce minlen on "password" fields in HTML5 capable browsers. 9 years ago
Ferry Boender 200fea8598 Enforce minlen and maxlen on "string" fields in HTML5 capable browsers. 9 years ago
Ferry Boender 9241cbe837 Show understandable error when binding to the port fails. 9 years ago
Ferry Boender 0eb04cae51 Don't raise KeyError if a non-required file wasn't uploaded. 9 years ago
Ferry Boender 24f9a25f54 pyflake and pylint cleanups. 9 years ago
Ferry Boender 340b28a8fb Tweaks to the test reporting. 9 years ago
Ferry Boender 0aee57fdf4 Absolute paths to scripts to easy debugging and some additional debugging messages. 9 years ago
Ferry Boender eca758dff3 Show all pylint warnings 9 years ago
Ferry Boender 642b1eb572 Fix testcases. 9 years ago
Ferry Boender 0c1d213458 Raise HTTPErrors instead of sending errors directly to the client. 9 years ago
Ferry Boender 6d7cdf744c Small cleanup. 9 years ago
Ferry Boender 6723038209 Show error code and text in browser. 9 years ago
Ferry Boender 20010fb0a4 Raise 404 error instead of sending it directly. 9 years ago
Ferry Boender fe51013643 Raise error instead of sending making the webapphandler send hand-crafted responses. 9 years ago
Ferry Boender 4210c3c672 pylint improvements. 9 years ago
Ferry Boender 394022e2d3 pylint fixes. 9 years ago
Ferry Boender a106e9c364 TODO update. 9 years ago
Ferry Boender 485fd773fc Refactored application into separate files. 9 years ago
Ferry Boender 418df1562c Don't install on 'make'. 9 years ago
Ferry Boender d8492b9269 Typo bugfix. 9 years ago
Ferry Boender 198386efeb Required field option fix 9 years ago
Ferry Boender c1a029a996 Allow inclusion of application-wide custom CSS. 9 years ago
Ferry Boender cc3479e9e3 Removed Todo list from code. 9 years ago
Ferry Boender 970154cdeb Properly validate field uploads if the browser does not support HTML5 client side form validation. 9 years ago
Ferry Boender b38226fa0f Make checking for authorization the first thing we do. 9 years ago
Ferry Boender d5c381e2fc Make authorization required for serving static files is 'users' param is in configuration. 9 years ago
Ferry Boender 9cc8ffb841 Test static serving of files. 9 years ago
Ferry Boender 61c858dad2 Minor User manual improvements. 9 years ago
Ferry Boender 64e2afeeda Implemented field styles that lets the user specify inline CSS style for a form field. 9 years ago