Commit Graph

53 Commits

Author SHA1 Message Date
Unrud 2b8f4b9419 Replace pkg_resources with importlib for Python >= 3.9
Fixes #1184
2022-04-04 18:18:50 +02:00
Unrud 4224c60e9b Mark as deprecated 2022-01-18 22:35:49 +01:00
Unrud 33fcda7c32 Extract httputils.serve_folder 2022-01-18 18:20:16 +01:00
Unrud 685a91bfe6 web.none: Redirect instead of 404 2022-01-18 18:20:16 +01:00
Unrud 22fc38850c web.internal: Use absolute path for redirect 2022-01-18 18:20:15 +01:00
Unrud d1532aa466 Extract httputils.redirect 2022-01-18 18:20:15 +01:00
Unrud b93842b10c Redirect GET and HEAD requests to sanitized path 2022-01-15 22:33:55 +01:00
Unrud d3f99d349d Don't manually assemble origin 2022-01-07 23:23:53 +01:00
Unrud bbaf0ebd8c Change name in file header 2021-12-09 16:55:46 +01:00
Unrud cecb17df03 More type hints 2021-09-26 22:24:45 +02:00
Unrud 0ce90d6b34 Extract read*_request_body methods 2020-09-14 21:19:48 +02:00
Tom Hacohen d3bb19800c
Web: add support for the POST HTTP method. (#1097)
* Web: add support for the POST HTTP method.

This patch adds support for POST in addition to the already supported GET.

This is needed for implementing more complex web modules that also
support configuration modifications and advanced queries.

* Base web: return METHOD_NOT_ALLOWED when method isn't implemenetd.

Co-authored-by: Unrud <Unrud@users.noreply.github.com>
2020-09-14 18:17:45 +02:00
Unrud 83c02a64b9 Shorter web interface title 2020-05-22 16:34:48 +02:00
Unrud 4d632a97f3 Use secure RNG for UIDs
Closes #766
2020-05-15 23:34:31 +02:00
Unrud 2b60f8ca2a Don't save password in session storage 2020-05-03 21:00:48 +02:00
Unrud 3c778ef95e Cosmetics 2020-04-28 21:56:13 +02:00
Unrud 8de3a234c4 Escape all occurrences not only the first 2020-04-28 14:11:35 +02:00
Unrud d73a308294 Cosmetics 2020-04-22 19:20:30 +02:00
Unrud bd71c04973 Use correct delimiter 2020-02-20 18:29:08 +01:00
Unrud f844bbacda Web: Show startup loading message 2020-01-16 04:39:22 +01:00
Unrud 1ef067c7e9 Web: Replace attribute name with data-name 2020-01-16 03:58:31 +01:00
Unrud d7c7d694e0 Web: Use class "hidden" instead of overwriting style 2020-01-16 03:58:30 +01:00
Unrud 1e27581afd Web: Remove unnecessary tags 2020-01-16 03:58:30 +01:00
Unrud 60de01870e Web: Use let and const instead of var 2020-01-16 03:58:29 +01:00
Unrud 0cd95f8a39 Rename loader to load_plugin 2020-01-15 00:33:21 +01:00
Unrud 8543f3ea1d Extract method loader() 2020-01-14 22:43:48 +01:00
Unrud 2e4924a0da Improve documentation 2020-01-13 15:51:10 +01:00
Unrud 88a0af8ba1 Improve documentation 2020-01-12 23:32:28 +01:00
Unrud 63e6d091b9 Update copyright 2019-06-17 04:13:24 +02:00
Unrud 14b46c04bf Create configuration for isort 2019-06-15 09:01:55 +02:00
Unrud 6e19ed893a show module name in error message 2018-09-18 21:04:57 +02:00
Unrud 9c802e0f57 skip ambiguous isort modules 2018-09-05 11:37:18 +02:00
Unrud 5e0a387ed9 remove whitespace before email 2018-09-04 03:33:47 +02:00
Unrud 5429f5c1a9 assert sanitized and stripped paths 2018-08-28 16:19:50 +02:00
Unrud 8869b34470 refactor 2018-08-28 16:19:43 +02:00
Unrud 464e4ca920 remove unused code 2018-08-21 18:43:42 +02:00
Unrud c845c5a372 don't focus login formular when refreshing
Prevents browsers from showing saved credentials
2018-08-21 18:43:42 +02:00
Unrud 5f8b9e5672 remove left behind debug output 2018-08-18 16:43:18 +02:00
Unrud b8627c33fb prevent overwriting collections when uploading 2018-08-18 14:08:02 +02:00
Unrud 76f7adfed4 make collection names bold 2018-08-18 14:07:50 +02:00
Unrud 53b064bc2f add upload dialog to web interface 2018-08-18 12:58:42 +02:00
Unrud 3e02134547 Web: Sync CSS with website 2018-04-21 12:02:31 +02:00
Unrud f6081bb07e Update email address 2018-04-20 16:03:36 +02:00
Unrud d9aafd154e Add RADICALE:displayname property for raw displayname
Remove workaround from the web interface.
2017-09-17 14:03:50 +02:00
Unrud f91b2bc17e Webinterface: Escape . correctly in RegExp 2017-08-04 14:58:59 +02:00
Unrud a26d90d8d7 Web interface: Delete empty properties 2017-07-22 23:32:26 +02:00
Unrud ee214d6697 Remove user from URL
It's not supported by many clients.
2017-06-04 15:43:55 +02:00
Unrud 37c9a1da18 Store user and password in session storage
Allow reloading of the page.
2017-06-04 15:43:27 +02:00
Unrud 4afbefbc9f Disable update timer 2017-06-04 15:43:20 +02:00
Unrud fca70f482f Web interface: Wrapping of URLs, titles, ... 2017-06-04 15:42:33 +02:00