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.
10 years ago
Ferry Boender
503070d926
Revert python3
10 years ago
Ferry Boender
acb0333b0a
New style exception arguments
10 years ago
Ferry Boender
9e75badca5
Python v2.6.6 support
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
01161bcd07
Comments.
10 years ago
Ferry Boender
82a9f1dad2
Split up WebApp into webserver and RequestHandler part.
10 years ago
Ferry Boender
f45d41af88
Comment typo fix.
10 years ago
Ferry Boender
41f9ef4f6c
Close file descriptors when calling a script.
10 years ago
Ferry Boender
12a4122d91
Fix rendering for radio form elements.
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
e50ce9ec36
Clarify validation docstring.
10 years ago
Ferry Boender
292058dcd6
Make sure all required properties are present when loading a field definition.
10 years ago