Commit Graph

  • 83046c80c4 Let reverse proxies overwrite script name Unrud 2016-09-04 21:10:58 +02:00
  • 90486f33a5 Log invalid URLs in XML requests Unrud 2016-09-04 20:21:23 +02:00
  • d5b8ddd71c Check that name is valid in name_from_path Unrud 2016-09-04 20:19:39 +02:00
  • 139076faee Sanitize URLs from XML requests Unrud 2016-09-04 20:18:44 +02:00
  • 13d652b094 Remove unnecessary module prefix Unrud 2016-09-04 20:17:58 +02:00
  • 664fa71278 Don't double unquote request URL Unrud 2016-09-04 20:16:23 +02:00
  • dbaf58dbfe Remove base_prefix and use SCRIPT_NAME instead Unrud 2016-09-04 20:15:08 +02:00
  • 03fbb1e68e Don't strip {} in get method Unrud 2016-09-04 13:35:44 +02:00
  • 6df54bf88a Log name of faulty component Unrud 2016-09-04 13:23:01 +02:00
  • 5ccfe16372 Remove Collection.has Unrud 2016-09-04 13:21:57 +02:00
  • de09f6689a Only relevant files for last_modified calculation Unrud 2016-09-04 13:16:42 +02:00
  • cd9f789294 Name variables for files f Unrud 2016-09-04 13:14:51 +02:00
  • f5650df5f7 Remove checks for existence of collection Unrud 2016-09-04 13:13:35 +02:00
  • e7d8b4816c Duplicate code: Use list and get methods Unrud 2016-09-04 13:12:55 +02:00
  • 5dbf9df876 Add missing checks for safe fileystem components Unrud 2016-09-04 13:09:10 +02:00
  • dc501d5dc5 Refactor/Duplicate code: Extract _fsync method Unrud 2016-09-04 13:08:12 +02:00
  • 77e9ca1252 Remove EtagMismatchError Unrud 2016-09-04 13:06:09 +02:00
  • a12ef69129 Secure is_safe_filesystem_path_component Unrud 2016-09-04 12:55:28 +02:00
  • a4a6a62643 Duplicate code: Use is_safe_path_component Unrud 2016-09-04 12:53:07 +02:00
  • 8d5f2ded42 Describe encoding of Etag Unrud 2016-09-04 12:52:29 +02:00
  • d371179487 thread and level in simple log formatter Unrud 2016-09-03 10:19:29 +02:00
  • 26e58cee56 Use hexadecimal for thread Unrud 2016-09-03 10:18:07 +02:00
  • fe5daf801a Set password to empty string instead of None Unrud 2016-09-03 10:01:52 +02:00
  • b85fc5bed6 Merge pull request #507 from Unrud/auth Guillaume Ayoub 2016-09-02 18:36:32 +02:00
  • ae2c447dca Merge pull request #508 from Unrud/testheader Guillaume Ayoub 2016-09-02 16:05:55 +02:00
  • 9e27d4e2a8 Emulate fullmatch with match Unrud 2016-09-02 15:06:32 +02:00
  • b25a601e28 Test custom header Unrud 2016-09-02 14:52:45 +02:00
  • 11df2f1184 Test authentication Unrud 2016-09-02 14:42:22 +02:00
  • 2a9f37defb Repair authentication Unrud 2016-09-02 14:41:31 +02:00
  • 88d558f9fa Remove useless nested tuples Guillaume Ayoub 2016-09-02 11:05:35 +02:00
  • 68e1e9dfb2 Don't use mutables in constants or parameters Guillaume Ayoub 2016-09-02 11:04:29 +02:00
  • e6433ec970 Merge pull request #506 from Unrud/patch-1 Guillaume Ayoub 2016-09-02 10:58:45 +02:00
  • 20b1480399 Make copy of headers before mutating Unrud 2016-09-02 04:19:19 +02:00
  • f7e995f9f6 Move encoding of answer into response function Unrud 2016-09-02 04:10:11 +02:00
  • 085c6fcbeb Merge pull request #503 from Unrud/tests2 Guillaume Ayoub 2016-09-01 09:43:51 +02:00
  • 3df367aad2 Test REPORT on item Unrud 2016-09-01 06:17:18 +02:00
  • 9d2743d797 Test authorization Unrud 2016-09-01 06:15:31 +02:00
  • e25373fa85 Merge pull request #501 from Unrud/httperrors Guillaume Ayoub 2016-08-31 14:49:19 +02:00
  • 8d92b371e4 Merge pull request #502 from Unrud/patch-40 Guillaume Ayoub 2016-08-31 14:42:59 +02:00
  • db681da08e Merge pull request #500 from Unrud/loginuser Guillaume Ayoub 2016-08-31 14:40:08 +02:00
  • f875bcd892 Plain text for GET / instead of malformed HTML Unrud 2016-08-31 02:01:18 +02:00
  • ff2b8f6e5c Use NOT_FOUND instead of GONE Unrud 2016-08-31 01:42:43 +02:00
  • 1ea9b1dca9 Return error for GET requests on directories Unrud 2016-08-31 00:45:14 +02:00
  • 4ac2e68f5c Add HTTP error messages Unrud 2016-08-31 00:41:08 +02:00
  • 689e5c9dd5 Map logins to internal users in Auth module Unrud 2016-08-30 23:13:33 +02:00
  • 5f46cc24bd Merge pull request #497 from Unrud/patch-38 Guillaume Ayoub 2016-08-30 19:16:54 +02:00
  • 3c32df3d9a Merge pull request #496 from Unrud/patch-37 Guillaume Ayoub 2016-08-30 19:16:19 +02:00
  • b2f11a7c18 Add thread id to log Unrud 2016-08-30 14:06:34 +02:00
  • e782808a14 Remove empty line in log Unrud 2016-08-30 14:04:16 +02:00
  • 5d9485d660 Merge pull request #495 from untitaker/trailing-slash-fix Guillaume Ayoub 2016-08-29 21:31:25 +02:00
  • 90e4655a44 Don't return <item>/ for events Markus Unterwaditzer 2016-08-29 17:29:46 +02:00
  • 947c57312c Fix a variable name Guillaume Ayoub 2016-08-29 12:09:17 +02:00
  • 34ad1b9073 Remove useless import Guillaume Ayoub 2016-08-29 12:07:58 +02:00
  • fd1742fcea Fix typo Guillaume Ayoub 2016-08-29 12:07:30 +02:00
  • a25374000b Merge branch 'Unrud-remupdate' Guillaume Ayoub 2016-08-26 22:50:45 +02:00
  • 9e78454da2 Merge branch 'remupdate' of https://github.com/Unrud/Radicale into Unrud-remupdate Guillaume Ayoub 2016-08-26 22:50:26 +02:00
  • a3dcfaacd6 Merge pull request #491 from Unrud/uploadall Guillaume Ayoub 2016-08-26 22:34:46 +02:00
  • ac61b18237 Merge pull request #490 from Unrud/hook Guillaume Ayoub 2016-08-26 15:58:42 +02:00
  • 0e646cdae4 Merge branch 'Unrud-logging' Guillaume Ayoub 2016-08-25 11:52:12 +02:00
  • bae6374e37 Merge pull request #489 from Unrud/utf8 Guillaume Ayoub 2016-08-25 11:46:15 +02:00
  • c5342d36d5 Remove BaseCollection.update Unrud 2016-08-25 06:28:20 +02:00
  • ea63f461a8 Rename upload_all to upload_all_nonatomic Unrud 2016-08-25 06:02:16 +02:00
  • 30d287ce00 Write files nonatomic in upload_all Unrud 2016-08-25 06:00:15 +02:00
  • e31ea57883 Use upload_all for addressbook Unrud 2016-08-25 05:58:09 +02:00
  • bc0f8b0a47 Remove duplicate code Unrud 2016-08-25 05:55:21 +02:00
  • c57307c585 Rename collections to vobject_items Unrud 2016-08-25 05:52:26 +02:00
  • 6045ad97fe Move upload_all from BaseCollection to Collection Unrud 2016-08-25 05:47:31 +02:00
  • 10786cbad8 Move hook into storage.Collection Unrud 2016-08-25 05:37:22 +02:00
  • 8db580abce Try to decode URLs with utf-8 (Fixes #486) Unrud 2016-08-25 05:30:46 +02:00
  • e40e46e164 Don't disable existing loggers Unrud 2016-08-25 05:03:22 +02:00
  • de8c2f0909 Fix SIGHUP handler Unrud 2016-08-25 05:02:31 +02:00
  • 3b71ab960e Log exceptions (Fixes #447) Unrud 2016-08-25 04:33:14 +02:00
  • c091399f5e Write log to stderr Unrud 2016-08-25 04:29:39 +02:00
  • 14515cfe27 Fix logger configuration Unrud 2016-08-25 04:29:02 +02:00
  • 79bfa9c1d3 Merge pull request #482 from Unrud/smallimprovements Guillaume Ayoub 2016-08-24 18:11:06 +02:00
  • c532948348 Merge pull request #487 from Unrud/filter Guillaume Ayoub 2016-08-24 18:10:03 +02:00
  • f9cabfb20b Test empty filter Unrud 2016-08-24 17:52:39 +02:00
  • d1dbd1df54 Fix empty filter Unrud 2016-08-24 17:45:10 +02:00
  • 469efbb032 Cosmetics Unrud 2016-08-13 04:52:51 +02:00
  • 453a8ba636 Fix "fix this" in xmlutils Unrud 2016-08-13 04:51:42 +02:00
  • ecd0a16214 Remove unused variable path Unrud 2016-08-13 04:48:59 +02:00
  • 1c6e626979 Simplify name_from_path and add error check Unrud 2016-08-13 04:47:35 +02:00
  • 3b29a56c81 Merge pull request #480 from Unrud/currentuserprincipal Guillaume Ayoub 2016-08-13 04:25:55 +02:00
  • c9ac3114af Merge pull request #481 from Unrud/patch-35 Guillaume Ayoub 2016-08-13 04:22:13 +02:00
  • c29fd1ca61 Check that item is a collection Unrud 2016-08-13 00:19:14 +02:00
  • cf4a6ef749 Revert 1ffc171f35bda370d8ef390dc8116b0e3eeea541 Unrud 2016-08-13 00:17:50 +02:00
  • 4438d2ba9a Require user for current-user-principal Unrud 2016-08-12 23:41:34 +02:00
  • 6515062bcd Return HTTP status in xmlutils.propfind Unrud 2016-08-12 23:34:08 +02:00
  • 2e29b0a21c Merge pull request #479 from Kozea/upload_all Guillaume Ayoub 2016-08-12 15:08:59 +02:00
  • c95437367f This is very important Florian Mounier 2016-08-12 15:05:05 +02:00
  • 416f9ddef1 Add an upload_all method for subsequent optimizations. Florian Mounier 2016-08-12 14:58:32 +02:00
  • 8d863e52b2 Re-enable properties storage on al collections Guillaume Ayoub 2016-08-11 12:07:19 +02:00
  • d3d29802ad Merge pull request #474 from Unrud/patch-31 Guillaume Ayoub 2016-08-11 11:44:43 +02:00
  • e66a35e996 Merge pull request #476 from Unrud/closelockfile Guillaume Ayoub 2016-08-11 11:43:40 +02:00
  • f395e256ff Merge pull request #478 from Unrud/patch-33 Guillaume Ayoub 2016-08-11 11:43:18 +02:00
  • f6ebccec57 Merge pull request #477 from Unrud/patch-32 Guillaume Ayoub 2016-08-11 11:41:47 +02:00
  • 9e84b459ae Correctly write line endings to files Unrud 2016-08-11 05:43:18 +02:00
  • 7a01f905de Enable close_lock_file for tests Unrud 2016-08-11 03:36:17 +02:00
  • 3f5dd70580 Add option to close lock file Unrud 2016-08-11 03:34:08 +02:00
  • 0060130c3b Remove etags from raw data Unrud 2016-08-11 05:05:10 +02:00