Commit Graph

193 Commits (25286fbdc15ba4671cd6525002b02fa17c41c53f)

Author SHA1 Message Date
Ferry Boender 450bb24eb7 Don't try to validate missing but required fields. 10 years ago
Ferry Boender 7d1775354e Log HTTP requests to the log file instead of console. 10 years ago
Ferry Boender ed143fb73a Cast min/max/minlen/maxlen values to proper types. 10 years ago
Ferry Boender 93fcaea981 Method documentation. 10 years ago
Ferry Boender b53f5fcf40 Method for getting a field definition from the form definition. Replaces previous private method. 10 years ago
Ferry Boender 34b4151529 Return process exit code for 'raw' output type. 10 years ago
Ferry Boender ce71253ab5 Allow None values for stdout, stderr if script output type is not raw. 10 years ago
Ferry Boender 8c7a12e354 Classes improperly rendered for input form line. 10 years ago
Ferry Boender ca55acf980 Don't change to form config dir if we're already there. 10 years ago
Ferry Boender 3911207709 Don't do anything with script output if we're in raw output mode. 10 years ago
Ferry Boender 8a03c3b3a2 Mark TODO as done. 10 years ago
Ferry Boender 0fafeaf8d2 Document how scriptform.py works. 10 years ago
Ferry Boender 1c43496be3 Proper shutdown of server via threaded call to shutdown(). 10 years ago
Ferry Boender 81e3b480a8 FormConfig.callback no longer tightly coupled to request. Instead, stdin and stdout file handles are passed in. 10 years ago
Ferry Boender 563f3cdca5 Move rendering of a form line to the FormRender class. 10 years ago
Ferry Boender 3d9ca8dd40 Code formatting. 10 years ago
Ferry Boender 51be118f85 Change dir to form config directory in main method, not in a class. 10 years ago
Ferry Boender fb77cd7a7a Removed dead code. 10 years ago
Ferry Boender 7a171ed3ac Fixed improper form values. 10 years ago
Ferry Boender 7d9f8ae26f Cast params before rendering field. 10 years ago
Ferry Boender e2547f9aad Delegate form rendering to separate class. 10 years ago
Ferry Boender 190a21ebbb Use dict string formatting instead of positional arguments for rendering the form fields. 10 years ago
Ferry Boender 4bcd0e9e43 Better display for checkbox input. 10 years ago
Ferry Boender b84258d91b Allow pre-setting of checkboxes. 10 years ago
Ferry Boender 9c0a5a4978 Rename 'hide' property to 'hidden' for consistency. 10 years ago
Ferry Boender a4f8e05832 Clarifying comment. 10 years ago
Ferry Boender 6214b2681e Allow hidden form fields. 10 years ago
Ferry Boender c98717ef2a Removed debugging output. 10 years ago
Ferry Boender c88e21035c Allow the user to turn off caching of the form config using '-r' options. 10 years ago
Ferry Boender c2d0c2cbe8 Use sys.stdout instead of print. 10 years ago
Ferry Boender d804cd4530 Display version number in footer. 10 years ago
Ferry Boender 43f5c7c316 Todo 10 years ago
Ferry Boender d4308b9d09 Allow prefilling of form values through url params. 10 years ago
Ferry Boender 3b2b3dd3c2 Log script invocation for auditing purposes 10 years ago
Ferry Boender 2dfa35a29b Checkbox field type added. 10 years ago
Ferry Boender f69159f11f get_visible_forms docstrings. 10 years ago
Ferry Boender 20a83c4382 Directly redirect to only visible form (instead of only form). 10 years ago
Ferry Boender df1b173d2a Added a 'hide' option to form definitions which lets you hide the form in the list. You can still refer to it in other ways, if you know its name. 10 years ago
Ferry Boender d12361c0ca Fix submit button default text. 10 years ago
Ferry Boender a4da0ed8d5 'script' field of form definitions is now required. 10 years ago
Ferry Boender 34c9cac1a7 Form definitions are now specified in a list instead of a dict. This preserves their order when listing the forms. 10 years ago
Ferry Boender 117438375e Support for --version. 10 years ago
Ferry Boender 55f569fc75 Deprecate support for calling native python callbacks. 10 years ago
Ferry Boender 7cf2ef2fc4 Result CSS no longer interferes with script output tags. 10 years ago
Ferry Boender 1168f5694c Show "powered by" message in footer. 10 years ago
Ferry Boender 330e8be4e5 Decode output of scripts from utf8 to unicode. 10 years ago
Ferry Boender eaf42d7d67 Init form config so it can raise errors about problems 10 years ago
Ferry Boender b0232b9e57 Custom exceptions now derive from Exception instead of BaseException, so they are properly caught when catching Exception. 10 years ago
Ferry Boender 55f3253453 Unicode and utf8. 10 years ago
Ferry Boender c1b611894d Unicoe and utf8. 10 years ago