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
Ferry Boender
2be059f71a
Change working dir to dir of script.
10 years ago
Ferry Boender
f4be82538f
Log semi-global exceptions.
10 years ago
Ferry Boender
f81c978d03
Moved DaemonError class definition to top of file.
10 years ago
Ferry Boender
0ebdcc87f9
Flake8 compliance.
10 years ago
Ferry Boender
c844d733be
FIXME comment for HTTP server shutdown.
10 years ago
Ferry Boender
32c612cabe
Semi-proper daemon shutdown.
10 years ago
Ferry Boender
3fb1c092a1
Deprecate WebSrv class.
10 years ago
Ferry Boender
f28fd0aa34
Ability to run as daemon.
10 years ago
Ferry Boender
cdc57696ef
Styling.
10 years ago
Ferry Boender
473142a107
Made private methods private.
10 years ago
Ferry Boender
7e568d5fcd
Parse query string with urlparse instead of manually.
10 years ago
Ferry Boender
19967cd014
Cleanups and comments.
10 years ago
Ferry Boender
e511678c07
Fix native Python callbacks after refactoring.
10 years ago
Ferry Boender
676b90e649
Add todo.
10 years ago
Ferry Boender
ddf5464ade
Use self.send_error(401,..) instead of raising an exception in certain cases.
10 years ago
Ferry Boender
05a3d30024
Raise proper exceptions instead of Exception().
10 years ago
Ferry Boender
955b8c1f64
Clarifying comment.
10 years ago
Ferry Boender
02f5e128cc
If only one form is defined, go directly to that form from the index. Otherwise, show the list of defined forms.
10 years ago
Ferry Boender
3f4795d9ca
Proper error raising when a form does not exist.
10 years ago
Ferry Boender
fd39f8b85c
Class reordering in the source. Cache form config as a singleton.
10 years ago
Ferry Boender
9c41bfa51b
Separate form configuration to its own class, so it can be dynamically loaded in the future.
10 years ago
Ferry Boender
450bc70b72
First radio option is selected by default now.
10 years ago
Ferry Boender
84282b2421
Remove todo.
10 years ago
Ferry Boender
742b4ec0e3
Allow validation of uploaded file extensions.
10 years ago
Ferry Boender
5cbf942f99
Deprecated the 'script_raw' option in favour of an output type specifier. 'escaped' will wrap output in PRE tags and esape the HTML entities in the output. 'html' will not and allows the script to include HTML markup. 'raw' is the former 'script_raw' option and directly streams output to the browser.
10 years ago
Ferry Boender
b2f3bae749
Improved field validation and new field options for textarea. Original file names of uploaded files are now stored in an additional field <field_name>__name.
10 years ago
Ferry Boender
05e201a749
Improved error reporting and validation.
10 years ago
Ferry Boender
a8c1ba64a3
Always stringify form values before sending them to a script callback.
10 years ago
Ferry Boender
ec93afa1ac
Remove test headers.
10 years ago
Ferry Boender
555fbcfa30
Bugfix: Allow users to enter fractional numbers for float form types.
10 years ago
Ferry Boender
7b5fa81e31
Move inline HTML templates to top.
10 years ago
Ferry Boender
871d22167e
Ignore non-existing temp files in upload cleanup.
10 years ago
Ferry Boender
7ce6bc8b12
Authentication passwords are now sha256 hashed. Use --generate-pw to generate the proper hashed password.
10 years ago
Ferry Boender
18394194dd
Allow to be run under subpaths in case of running behind a proxy.
10 years ago
Ferry Boender
4e155d0a37
Line break.
10 years ago
Ferry Boender
ed4b8226d8
Python 2.6 string formatting compatibility.
10 years ago
Ferry Boender
1aaacf8ef9
Allow scripts to write their own output using script_raw setting.
...
User authentication and authorization.
Rename 'vitaform' to 'scriptform'.
Stream contents of uploaded files to temp files and pass their names to callbacks instead of the contents.
10 years ago
Ferry Boender
8bd31c2f04
Added TODO comments.
10 years ago
Ferry Boender
4c289f992c
Remove old code and debugging statements.
10 years ago
Ferry Boender
56d4d12d1f
Made HTTP server multithreaded.
10 years ago
Ferry Boender
6686b65b57
Renamed to .py file so it can be included in python scripts
10 years ago
Ferry Boender
d3a5861532
The web app is now a subclass of WebAppHandler (RequestHandler), so it can do things like streaming output.
10 years ago