Ferry Boender
c553111aed
Fix program description
4 years ago
Ferry Boender
1757c65284
Ported optparse to argparse as it is deprecated
4 years ago
Ferry Boender
60f7a56d5a
Fix linting issues (py3)
4 years ago
Ferry Boender
f762472090
Replace cgi.escape with html.escape
4 years ago
Ferry Boender
afbf7ac37b
Open static files as binary
4 years ago
Ferry Boender
d548aa5751
Fix built-in webserver shutdown
4 years ago
Ferry Boender
79c3232d08
Don't show traceback when interrupting with ctrl-c
4 years ago
Ferry Boender
077ecf696c
Port to python 3
4 years ago
Ferry Boender
8706e90434
Fix linting issues
4 years ago
Raoel Oomen
6fc14d327c
we should handle OPTIONS requests too (related to newer python libs?)
4 years ago
Ferry Boender
84e9084be2
Re-enable and fix flake8 linting
5 years ago
Ferry Boender
c78bb1bb6c
Pass additional info to script environment.
5 years ago
Ferry Boender
f647538d62
Lint fixes
5 years ago
Ferry Boender
9fc0c6dab2
Implemented 'fields_from' for dynamic loading of form fields.
5 years ago
Ferry Boender
dddd7223da
Implemented options_from form value for select and radio, allowing dynamic options
5 years ago
Ferry Boender
5a94c6754d
Comment formatting.
5 years ago
Ferry Boender
173a8fe375
Quotes
5 years ago
Ferry Boender
b1ca65087c
Code quality and linting fixes
5 years ago
Ferry Boender
95c1499060
Slightly darker "return" buttons.
5 years ago
Ferry Boender
f9004e890b
Move explanation of ScriptForm inner workings to separate doc.
5 years ago
Ferry Boender
8c640b33a6
Allow 'today' for 'date' field values.
5 years ago
Ferry Boender
cd64098a24
Fix bug where each radio button would have the same value.
5 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
7bd6809fff
Fixed HTML markup problem.
8 years ago
Ferry Boender
2ea31d98ff
Implemented "default_value" form option.
8 years ago
Ferry Boender
f93b742845
Removed unused ScriptFormException class.
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
9c3fde01c6
Listen on port 8081 by default instead of 80
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
3ce2ad0642
Strip leading slashes from path.
8 years ago
Ferry Boender
d4297938c5
Accept third 'frame' argument to _cleanup signal handler
8 years ago
Ferry Boender
7a21d6b5f5
Max split once on htauth password. Prevents failure when password contains colon (:)
8 years ago
Ferry Boender
815cd2eb71
Improved form config loading error message
8 years ago
Ferry Boender
f9214bfd4d
Code quality improvements
8 years ago
Ferry Boender
34365b696c
Code quality: logging
8 years ago
Ferry Boender
0e923f49eb
Code quality: Use proper logging msg formatting
8 years ago
Ferry Boender
d651ca8aa0
Code quality: test membership with 'not in'
8 years ago
Ferry Boender
b72dd273fa
List default port in --help output.
9 years ago
Ferry Boender
1a38907241
Code quality.
9 years ago
Ferry Boender
8ef5744631
Refactored script running into its own module.
9 years ago
Ferry Boender
b912b24b0f
Log exit codes of scripts.
9 years ago
Ferry Boender
f6f482756a
Don't set default `run_as` property to nobody, since we determine the default later on.
9 years ago
Ferry Boender
9e29db3e3f
Code quality.
9 years ago
Ferry Boender
d12282c860
String formatting positional argument fix.
9 years ago
Ferry Boender
8be0dfa2bb
If a field is not required, an empty value is acceptable.
9 years ago
Ferry Boender
ce5288068b
If the user doesn't upload a file, and the field is not required, don't raise a ValidationError.
9 years ago