Commit Graph

  • 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 1ffc171f35 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
  • 35d12ee97e Merge pull request #472 from Unrud/patch-30 Guillaume Ayoub 2016-08-11 04:23:56 +02:00
  • 69386410e5 Merge pull request #473 from Unrud/tests Guillaume Ayoub 2016-08-11 04:23:23 +02:00
  • ac556f2bcc Merge pull request #471 from Unrud/logger Guillaume Ayoub 2016-08-11 04:22:41 +02:00
  • 4eb04e3526 PROPFIND rights checking Unrud 2016-08-11 02:10:09 +02:00
  • 30b3273efa Test that the requests fails if the hook fails Unrud 2016-08-11 00:31:34 +02:00
  • 2b45cffa0e Test that hook gets executed when the principal collection is created Unrud 2016-08-11 00:29:12 +02:00
  • 080ed31d27 Test that storage is locked when hook runs Unrud 2016-08-11 00:27:48 +02:00
  • 952609deee Test that hook gets executed on write accesses Unrud 2016-08-11 00:26:51 +02:00
  • 893051645e Test fsync Unrud 2016-08-11 00:25:13 +02:00
  • 6d80b70b8c Test that the root collection always exists Unrud 2016-08-11 00:24:37 +02:00
  • 97edacd71a Test implicit creation of principal collection Unrud 2016-08-11 00:23:05 +02:00
  • 62892e3423 Test PROPPATCH Unrud 2016-08-11 00:20:48 +02:00
  • 51bf95f00d Don't run all tests twice Unrud 2016-08-11 00:19:28 +02:00
  • c8e8993ec2 Refactor: Move common code into BaseFileSystemTest Unrud 2016-08-11 00:15:22 +02:00
  • e2b87d145f Cosmetics: Don't use % for logging Unrud 2016-08-10 23:42:48 +02:00
  • 9192a7751b Remove incorrect argument Unrud 2016-08-10 23:41:19 +02:00
  • b8126f8d24 Use os.replace instead of os.rename Unrud 2016-08-10 19:26:07 +02:00
  • 5c2075cb6c Fix _atomic_write Guillaume Ayoub 2016-08-08 14:55:01 +02:00
  • 5e5b8b844f Cosmetics Guillaume Ayoub 2016-08-08 13:39:01 +02:00
  • 1e5c9f63a0 Merge pull request #468 from Unrud/disablefsync Guillaume Ayoub 2016-08-08 13:00:12 +02:00
  • c4cf918bf2 Merge pull request #470 from Unrud/readcontent Guillaume Ayoub 2016-08-08 12:57:59 +02:00
  • 94ac2c5c8a Merge pull request #469 from Unrud/atomicput Guillaume Ayoub 2016-08-08 12:52:05 +02:00
  • a9b89be5c7 Read content after access checks Unrud 2016-08-08 07:00:24 +02:00
  • f294b1cf17 Add access check to PROPFIND Unrud 2016-08-08 06:59:15 +02:00
  • eb15de0c5b Test PUT with whole collection Unrud 2016-08-08 06:09:24 +02:00
  • 68286faa63 Atomic replacement of whole collection by PUT Unrud 2016-08-08 06:08:52 +02:00
  • 0675328a02 Replace collection in Collection.create_collection Unrud 2016-08-08 06:08:01 +02:00
  • 6d85a731e5 Disable syncing to disk for tests Unrud 2016-08-08 05:30:16 +02:00
  • f5f52582a1 Add option to disable syncing to disk Unrud 2016-08-08 05:17:41 +02:00
  • c336e0581e Remove atomicwrites Unrud 2016-08-08 05:02:36 +02:00
  • 3c736cade8 Refactor: Move sync_directory into Collection class Unrud 2016-08-08 04:07:01 +02:00
  • 9f2cbb81a3 Merge pull request #466 from Unrud/fixpath Guillaume Ayoub 2016-08-07 18:43:41 +02:00
  • 8f05bea8ea Merge pull request #465 from Unrud/patch-29 Guillaume Ayoub 2016-08-07 18:42:27 +02:00
  • ce0a2fd01d Test PROPFIND Unrud 2016-08-07 17:51:16 +02:00
  • cfa8c7d8b4 Set correct path for child collections Unrud 2016-08-07 17:50:31 +02:00
  • 4f37e90e20 Some clients expect collections to end with / Unrud 2016-08-07 17:07:51 +02:00
  • ee5b8facda Always use wrapper to lock collection Unrud 2016-08-07 17:14:47 +02:00
  • 4236077b04 Document _makedirs_synced and remove exist_ok Guillaume Ayoub 2016-08-06 14:08:21 +02:00
  • 4549d1b2db Merge pull request #462 from Unrud/durabledirs Guillaume Ayoub 2016-08-06 14:02:41 +02:00
  • a7923008ce Remove unused import Guillaume Ayoub 2016-08-06 13:29:07 +02:00
  • 0cda9f611d Merge pull request #463 from Unrud/atomicmove Guillaume Ayoub 2016-08-06 13:27:38 +02:00
  • 071a829af8 Merge pull request #453 from Unrud/delete Guillaume Ayoub 2016-08-06 12:52:38 +02:00
  • 5f66d009d6 Atomic MOVE in multifilesystem Unrud 2016-08-06 04:47:49 +02:00
  • 23582c8208 Expose low level MOVE operation in storage.BaseCollection Unrud 2016-08-06 04:47:17 +02:00
  • 17ff22cae4 Support replacing in MOVE method Unrud 2016-08-06 04:45:44 +02:00
  • 89ac2fb397 Remove faulty check Unrud 2016-08-06 04:44:18 +02:00
  • 07dc71fd73 Update comment Unrud 2016-08-05 17:22:21 +02:00
  • 6c3e59fd11 Make sure that the root collection exists. Unrud 2016-08-05 17:19:57 +02:00
  • 05a4285f54 Durable creation of intermediate directories Unrud 2016-08-05 17:17:37 +02:00
  • 9aefc500ec Merge pull request #461 from Unrud/patch-27 Guillaume Ayoub 2016-08-05 17:48:03 +02:00
  • 7703008d8f Merge pull request #460 from Unrud/patch-25 Guillaume Ayoub 2016-08-05 17:47:38 +02:00
  • bfb7aec7be Test deletion of root collection Unrud 2016-08-02 19:31:49 +02:00
  • f4eb143ba8 use tempfile to delete collection Unrud 2016-08-02 07:01:18 +02:00
  • 5a9d956b49 delete atomic and durable See #440 Unrud 2016-08-01 13:44:27 +02:00
  • 9dd241a54b Add test for deletion of collection Unrud 2016-08-01 13:43:43 +02:00
  • 6d77e24028 Remove old code Unrud 2016-08-05 17:05:32 +02:00
  • 65af0592d3 Run hook while storage is still locked Unrud 2016-08-05 16:58:03 +02:00
  • 0f6e98a512 Fix setup.py Guillaume Ayoub 2016-08-05 16:27:55 +02:00
  • 294eb5aa15 Don't install pytest-runner when not needed Guillaume Ayoub 2016-08-05 16:22:55 +02:00