Commit Graph

90 Commits

Author SHA1 Message Date
chrysn 18ea1a5ed4 boxesserver: Allow multi-line errors
Fixing potential cross-site scripting attacks in passing
2019-06-01 13:07:43 +02:00
Florian Festi 83078d056f Add python3-xcffib to Dockerfile to work with Fedora 29 2019-04-09 21:58:45 +02:00
Florian Festi 0d07f48b7f Remove .open() call from the .render() method
Having this call there was necessary in the past as the open() method would
need the canvas size as a parameter. This is now determined automatically
after rendering.

Still calling open() is deprecated but won't result in an error.
2019-02-08 17:43:15 +01:00
Florian Festi 861c8451e2 Remove call to .close() from .render() method
There is really no need for all the generator to care
Still calling it is deprecated but won't result in an error
2019-02-08 17:32:04 +01:00
Florian Festi fdc90ba20d Unclutter Inkscape UI
Remove "Settings" from the name of the parameter groups tabs
2018-11-25 23:20:59 +01:00
Florian Festi b1eced8259 Ignore argument groups in the web UI that are empty except --help 2018-10-28 20:18:37 +01:00
Florian Festi b9e6ff2c1d http -> https 2018-10-01 14:42:50 +02:00
Rotzbua 10ba53c5a1 add security headers for browser
harden website
2018-10-01 14:41:22 +02:00
Rotzbua 0269037eb3 http -> https 2018-10-01 14:35:33 +02:00
Florian Festi 9b84c86cc1 New logo
Resolves: #34 #86
2018-09-23 14:15:50 +02:00
Florian Festi 69c6b4188d Jupyter notebook example: Use temp file 2018-09-13 10:15:22 +02:00
Florian Festi 59ba2a3516 Simple, Fedora based Dockerfile 2018-09-12 11:31:43 +02:00
Florian Festi 646a0e57e9 New Jupyter notebook with an example generator 2018-09-10 09:59:57 +02:00
Florian Festi bfd7c3eaaa Use os.path.join for Windows compatibility 2018-08-28 07:32:39 +02:00
Florian Festi 6f007d06f2 TrayLayout: Add support to read URL param into the form 2018-08-27 17:11:20 +02:00
Florian Festi 460691f0aa Use os.path.join for Windows compatibility 2018-08-26 11:01:23 +02:00
Florian Festi b31faefe26 Use URL params as defaults for rendering the the input mask
when the render=1 param is omitted
2018-08-14 11:43:02 +02:00
Florian Festi cabcfeade9 Make normalize.css local and put them in /static
No long load them from github
And include directly into self.css
2018-07-02 23:33:16 +02:00
Stefan ba237335db set default state of liste items to open 2018-06-14 22:15:35 +02:00
Stefan a1d08426ce implemented toggling of list headers 2018-06-14 22:09:41 +02:00
Florian Festi 2b2aa9f20e Web Interface: do not leave form action empty 2018-03-10 14:20:18 +01:00
Florian Festi 705ad5344c Web Interface: sigh 2018-03-10 14:13:44 +01:00
Florian Festi d7dc41cbfa Web Interface: Fix stuff broken earlier 2018-03-09 16:22:10 +01:00
Florian Festi 5b775067fe Web Interface: Fix stuff broken earlier 2018-03-09 16:15:52 +01:00
Florian Festi 5c78d08aa8 Revert "Web Interface: Fix more messed up tags"
This reverts commit a4cd899f0e.
2018-03-06 11:09:49 +01:00
Florian Festi 9e7b7d2279 Web Interface: Fix more messed up tags 2018-03-06 11:07:10 +01:00
Florian Festi a4cd899f0e Web Interface: Fix more messed up tags 2018-03-06 11:05:53 +01:00
Florian Festi 3714940c37 Web Interface: Fix more messed up tags 2018-03-06 10:55:58 +01:00
Florian Festi 448a2f11f6 Web Interface: Fix messed up tags 2018-03-06 10:53:00 +01:00
Florian Festi 49f5ecc476 Web Interface: Fix width attributes of images 2018-03-05 20:10:55 +01:00
Florian Festi 3c8ffb8ce4 Web Interface: Fix nesting an ids in generator lists 2018-03-05 20:10:55 +01:00
Florian Festi 0dc6d26566 Web Interface: Add Flattr meta tag for Backspace e.V. hacker space 2018-03-05 20:10:55 +01:00
Florian Festi 5a5c3d72f0 Web Interface: fix doc type 2018-03-05 20:10:47 +01:00
Niall Quinlan e725bf2dc4 Fix tmp file access in windows
see https://stackoverflow.com/questions/34716996/cant-remove-a-file-which-created-by-tempfile-mkstemp-on-windows
2018-01-17 09:30:06 +01:00
Florian Festi 1b2f5791bd Use Boxes.description in the cli help and the web interface 2017-11-30 22:48:02 +01:00
Marius Bergmann b13cef20ed Refactor `boxes` start script
- split up into separate functions
2017-11-29 20:04:21 +01:00
Florian Festi 53052fc2e0 Show sample images for generators in menu 2017-05-08 21:35:19 +02:00
Florian Festi f08b19e54e Make serving static files a bit more efficient 2017-05-07 20:31:27 +02:00
Florian Festi f48fc32cf0 Link to self.css instead of including it in every page 2017-05-07 16:19:00 +02:00
Florian Festi 7b33c46033 Serve static files 2017-05-07 16:19:00 +02:00
Florian Festi b63dcfeee6 Make Traylayout work without main function 2017-04-05 04:33:42 +02:00
Florian Festi bffd732c3f scripts/boxes: Use generator classes instead of main functions
Make Boxes.parseArgs more robust
--list generators by UI group.
Pass arguments explicitly instead of fiddling with sys.argv
2017-04-05 04:33:28 +02:00
Florian Festi 10cad241ef Fix boxes script when passing no param 2017-03-13 11:41:12 +01:00
Florian Festi 0398c3ae98 Remove Traylayout from the Inkscape plugin
as the two stage input does not work with the INkspace plugin system
2017-03-03 22:20:44 +01:00
Florian Festi 6cae3d7dc7 Filter out --id passed from Inkscape
Move message about missing generator to stderr
2017-02-26 18:54:34 +01:00
Florian Festi 5ef277fc21 boxes2inkscape: Execute boxes directly, add dependency
Default to str as type of inputs
2017-02-25 19:45:55 +01:00
Florian Festi e0a4d06c43 Hackish way to make scriptsboxes to work with Inkscape. 2017-02-23 17:38:26 +01:00
Florian Festi 39e74e67ba Add scripts/boxes2inkscape for generating inx files from box generators
Code for handling traylayout still missing.
2017-02-23 17:38:26 +01:00
Florian Festi b9fef2c6e1 Follow symlinks when determining path of boxes library from executable 2017-02-23 17:38:26 +01:00
Florian Festi 6264798655 Boxes.py link - next try 2017-02-15 22:03:52 +01:00