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
Ferry Boender
f1537418d6
Code quality.
9 years ago
Ferry Boender
03f655b6e6
If Scriptform is running as root, drop privileges to 'nobody' by default. Otherwise, don't drop privileges before executing scripts.
9 years ago
Ferry Boender
901e0d5938
Ability to run scripts as different user.
9 years ago
Ferry Boender
2e8e321a66
Fix stray quote in the HTML output.
9 years ago
Ferry Boender
503070d926
Revert python3
9 years ago
Ferry Boender
acb0333b0a
New style exception arguments
9 years ago
Ferry Boender
9e75badca5
Python v2.6.6 support
9 years ago
Ferry Boender
937a8b6706
Field type 'checkbox': Added 'checked' option for field definition to indicate if the checkbox should be checked by default.
9 years ago
Ferry Boender
66a7a134ff
Rename FormConfig.callback to FormConfig.run_script.
9 years ago
Ferry Boender
01161bcd07
Comments.
9 years ago
Ferry Boender
82a9f1dad2
Split up WebApp into webserver and RequestHandler part.
9 years ago