Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | README: add an example nginx configHEADmaster | Anton Khirnov | 2023-12-16 |
| | |||
* | Share more path handling for GET and DELETE. | Anton Khirnov | 2023-12-12 |
| | |||
* | Implement DELETE in public mode. | Anton Khirnov | 2023-12-12 |
| | | | | Reprted by another. | ||
* | Fix DELETE handling for private mode. | Anton Khirnov | 2023-12-12 |
| | | | | | | Public mode is still broken. Reported by another. | ||
* | Do not use _process_path() in do_POST() | Anton Khirnov | 2023-03-30 |
| | | | | | | | | | The submitted request path is not a filesystem path, so it makes no sense to process it like one. * unquote it as UTF-8, not ASCII, since the user can submit unicode filenames * perform basic sanitization on the URL returned to the user | ||
* | Add a readme file | Anton Khirnov | 2022-09-15 |
| | |||
* | Handle map characters outside of the alphabet. | Anton Khirnov | 2022-09-15 |
| | | | | Can happen when importing maps from elsewhere. | ||
* | Do not override program name in argparser. | Anton Khirnov | 2022-09-15 |
| | |||
* | Add a public mode. | Anton Khirnov | 2022-09-15 |
| | | | | In this mode, the server returns short easy to remember URLs. | ||
* | Relicence to AGPL | Anton Khirnov | 2022-09-15 |
| | |||
* | Log the bind address/port/family. | Anton Khirnov | 2022-09-15 |
| | |||
* | Split exception handling for reading state and running the server. | Anton Khirnov | 2022-09-14 |
| | |||
* | Cleanly exit on KeyboardInterrupt. | Anton Khirnov | 2022-09-14 |
| | |||
* | Use the exit stack for releasing the state dir lock. | Anton Khirnov | 2022-09-14 |
| | |||
* | Use an ExitStack in the main block. | Anton Khirnov | 2022-09-14 |
| | | | | Simplifies cleanup and will be more useful in future commits. | ||
* | Change state file to a state dir. | Anton Khirnov | 2022-06-27 |
| | | | | | | | We may want to store multiple state files in the future. Also, lock the state dir to ensure only one instance is running for a state dir. | ||
* | Allow retrieving files through arbitrary filenames. | Anton Khirnov | 2021-06-02 |
| | | | | | | | | The URL returned from POST is now /<secret HMAC>/<original basename> The file can be retrieved through /<secret HMAC>/<anything>. This should be more convenient, as ups->wget will now produce the original filename rather than a long string of gibberish. | ||
* | Change extension handling. | Anton Khirnov | 2021-01-06 |
| | | | | | | | | Store POSTed files as pure HMAC - without any extensions - but still keep the extension in the returned URL. Disregard the extension in GET requests, allowing to access the files with any extension. | ||
* | Preserve POSTed file extensions, if provided. | Anton Khirnov | 2021-01-05 |
| | |||
* | Send the URL with Content-Type=text/plain | Anton Khirnov | 2021-01-05 |
| | |||
* | Send OK instead of No Content. | Anton Khirnov | 2021-01-05 |
| | | | | There actually is content - the URL. | ||
* | Add Debian init script. | Anton Khirnov | 2021-01-04 |
| | |||
* | Catch and log top-level exceptions. | Anton Khirnov | 2021-01-04 |
| | |||
* | Log to syslog, with optional stderr. | Anton Khirnov | 2021-01-04 |
| | |||
* | Initial commit. | Anton Khirnov | 2021-01-04 |