Ferry Boender
077ecf696c
Port to python 3
5 years ago
Ferry Boender
c78bb1bb6c
Pass additional info to script environment.
6 years ago
Ferry Boender
9fc0c6dab2
Implemented 'fields_from' for dynamic loading of form fields.
6 years ago
Ferry Boender
dddd7223da
Implemented options_from form value for select and radio, allowing dynamic options
6 years ago
Ferry Boender
173a8fe375
Quotes
6 years ago
Ferry Boender
95c1499060
Slightly darker "return" buttons.
6 years ago
Ferry Boender
e0c53eb9ad
Code quality fixes.
6 years ago
Ferry Boender
a359ba548a
Mention authentication exception for static file serving.
8 years ago
Ferry Boender
3897a1e5a8
Fixed checkboxes not being vertically lined up.
8 years ago
Ferry Boender
2ea31d98ff
Implemented "default_value" form option.
8 years ago
Ferry Boender
25a64b7949
Censor password values in audit logging.
8 years ago
Ferry Boender
c00d308fef
Allow pre-auth through REMOTE_USER header
...
Pre-auth looks at the REMOTE_USER header and if it is set, Scriptform
performs no validation of the password and just assumes the username is
correct. This allows pre-authentication from a front-end such as Apache
for HTAUTH, LDAP, OpenID / SSO, etc.
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
7a21d6b5f5
Max split once on htauth password. Prevents failure when password contains colon (:)
8 years ago
Ferry Boender
34365b696c
Code quality: logging
9 years ago
Ferry Boender
0e923f49eb
Code quality: Use proper logging msg formatting
9 years ago
Ferry Boender
1a38907241
Code quality.
10 years ago
Ferry Boender
8ef5744631
Refactored script running into its own module.
10 years ago
Ferry Boender
2e8e321a66
Fix stray quote in the HTML output.
10 years ago
Ferry Boender
937a8b6706
Field type 'checkbox': Added 'checked' option for field definition to indicate if the checkbox should be checked by default.
10 years ago
Ferry Boender
66a7a134ff
Rename FormConfig.callback to FormConfig.run_script.
10 years ago
Ferry Boender
82a9f1dad2
Split up WebApp into webserver and RequestHandler part.
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
0b9f093a9d
Removed field type 'number'.
10 years ago
Ferry Boender
8e01b3de75
Refactor: WebApp.auth() returns username, so actually use it.
10 years ago
Ferry Boender
386af020a2
Added abilitity to add custom CSS classes to field definitions.
10 years ago
Ferry Boender
847c42d644
Show which fields are required.
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
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
24f9a25f54
pyflake and pylint cleanups.
10 years ago
Ferry Boender
0aee57fdf4
Absolute paths to scripts to easy debugging and some additional debugging messages.
10 years ago
Ferry Boender
0c1d213458
Raise HTTPErrors instead of sending errors directly to the client.
10 years ago
Ferry Boender
6d7cdf744c
Small cleanup.
10 years ago
Ferry Boender
6723038209
Show error code and text in browser.
10 years ago
Ferry Boender
20010fb0a4
Raise 404 error instead of sending it directly.
10 years ago
Ferry Boender
fe51013643
Raise error instead of sending making the webapphandler send hand-crafted responses.
10 years ago
Ferry Boender
4210c3c672
pylint improvements.
10 years ago
Ferry Boender
394022e2d3
pylint fixes.
10 years ago
Ferry Boender
485fd773fc
Refactored application into separate files.
10 years ago