Sage Vaillancourt
0c07b5b0f2
Several fixes and improvements.
...
"Better" CSS minifying.
Adjust psycopg imports and some usages.
Fix viewport scaling for mobile.
Switch gunicorn to default https port when running in prod.
Correct /dbtest route and add simple /update skeleton
2022-09-22 15:05:17 +00:00
Sage Vaillancourt
924bdbd8ce
Don't schedule cleanup until after compression
...
Returns uncompressed file if compression somehow fails
2021-08-01 00:12:22 -04:00
Sage Vaillancourt
8bae3ebacf
Don't print compression command
2021-07-31 18:47:51 -04:00
Sage Vaillancourt
e37cc3db9b
Compress pdf files before sending to end-user
2021-07-31 17:38:32 -04:00
Sage Vaillancourt
fc037bd105
Preload some generate() variables
2021-07-29 22:15:07 -04:00
Sage Vaillancourt
b591532ae8
30->5 min wait on cleanup. Strip errors.
...
Small formatting tweaks in writing.html
2021-07-28 19:21:02 -04:00
Sage Vaillancourt
8892135160
Print date/time and if build was successful
2021-07-28 18:42:02 -04:00
Sage Vaillancourt
e200399366
Display latex errors as applicable
2021-07-27 23:39:30 -04:00
Sage Vaillancourt
b8ddd290a7
Move generate into CLData as generat_pdf()
2021-07-27 23:03:03 -04:00
Sage Vaillancourt
178bdb5955
Fix file.write() and \company typos
2021-07-27 07:09:26 -04:00
Sage Vaillancourt
3cdbfdcb04
Better styling, variable syntax, and cookies
...
Adjusted text sizes on mobile. New default variable syntax makes for more
consistent whitespace (allowing for simpler internal code). JS won't load
cookies if the company name is unchanged from the default.
2021-07-25 14:59:01 -04:00
Sage Vaillancourt
53284df822
Don't try to send file unless latex succeeded
...
TODO: Report latex errors to the user
2021-07-24 15:45:30 -04:00
Sage Vaillancourt
4f27f8a174
Output file named after `username` input.
...
Clean up temp files after 30 minutes
2021-07-24 15:25:58 -04:00
Sage Vaillancourt
9a7787ef69
Save/fetch previous data. Better style. Unique IDs
2021-07-24 14:51:13 -04:00
Sage Vaillancourt
42c67985a6
Add some desktop styling
2021-07-24 01:08:18 -04:00
Sage Vaillancourt
5be8d759c3
Save data to cookies. TODO: read this data
2021-07-24 00:26:44 -04:00
Sage Vaillancourt
aaa4117e7f
Now generates customized PDFs
2021-07-23 23:09:08 -04:00
Sage Vaillancourt
8a15cc524f
Init commit
...
TODO: Collect form data, process data into latex renderables, generate unique
id when submitting, styling, etc.
2021-07-23 17:30:15 -04:00