Commit graph

5 commits

Author SHA1 Message Date
Daniel Szabo
fe926086c2 CLI Args extension and file management fix
- added cli param to change threads used by server
- added cli param hide html header and/or footer
- added cli param to remove css styling
- added cli param to set http basic auth username and optionally password for the server
- file pastas now delete the files from the disk as well when they expire
2022-05-07 22:30:57 +01:00
Daniel Szabo
36fa6598a8 File upload and persistence extension
- index.html extended with form input
- pasta.html and pastalist.html show link to /file/{pasta.id}/{filename} path
- files are saved in pasta_data folder
- all data is now stored in pasta_data/database.json
- changed pastalist.html date format to exclude year
- added custom 404 error handler
2022-05-02 16:53:10 +01:00
Dániel Szabó
f56ffa98e4 - added new pasta type URL and automatic redirection endpoint
- added water.css styling
- added CL argument to set port
- added raw URL to pasta list
2022-04-23 16:47:36 +01:00
Dániel Szabó
22b61fc793 Added auto removal of expired pastas 2022-04-11 14:41:28 +01:00
Dániel Szabó
d42a361e95 Initial commit 2022-04-10 23:21:45 +01:00