1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00
Commit graph

168 commits

Author SHA1 Message Date
kodumbeats 5b1d7bfa5d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-07 14:08:02 -04:00
kodumbeats ec5d2ed591 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-06 20:36:25 -04:00
Torsten Dittmann 9941198a7f Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-before-pagination 2021-10-06 16:11:04 +02:00
Torsten Dittmann 301e3c3e1a
Merge pull request #1569 from appwrite/feat-cleanup-index-on-delete-attribute
feat(refactor-db): clean up internal indexes collection on delete attribute
2021-10-05 21:26:06 +00:00
Torsten Dittmann 244b62f12d
Merge pull request #1480 from appwrite/feat-enforce-document-collection-permissions
feat(refactor-db) enforce either document or collection permissions
2021-10-05 20:33:23 +00:00
Torsten Dittmann 349588df12 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-enforce-document-collection-permissions 2021-10-05 16:37:58 +02:00
kodumbeats 31f1c4e1dd Merge remote-tracking branch 'origin/feat-database-indexing' into feat-cleanup-index-on-delete-attribute 2021-10-05 10:14:26 -04:00
kodumbeats 0960a54169 Clean up unneeded sleeps in db tests 2021-10-05 10:10:40 -04:00
Torsten Dittmann 768ab84a17 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-before-pagination 2021-10-05 15:53:54 +02:00
kodumbeats 35c21e31c8 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-attribute-limits 2021-10-05 09:48:59 -04:00
Torsten Dittmann 580b92227c fix tests 2021-10-05 14:59:58 +02:00
Torsten Dittmann 33699ea2c4 feat(controllers): implement before cursor pagination 2021-10-05 12:30:33 +02:00
kodumbeats f4d07e826b Fix tests by testing cleanup duplicate behavior on fresh collection 2021-09-27 19:38:03 -04:00
kodumbeats 3c05a43ea7 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-db-attribute-limits 2021-09-20 21:28:54 -04:00
kodumbeats 1b76219f6f Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-09-20 21:27:07 -04:00
kodumbeats fdd43837c1 Test duplicate index is removed in edge case of deleteAttribute 2021-09-20 21:23:41 -04:00
kodumbeats 51ea0aecb1 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-cleanup-index-on-delete-attribute 2021-09-20 13:32:16 -04:00
kodumbeats 5735c5d129 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enforce-document-collection-permissions 2021-09-12 09:14:03 -04:00
kodumbeats b4ad95747a Merge remote-tracking branch 'origin/feat-database-indexing' into feat-delete-collection-attributes-indexes 2021-09-12 09:07:46 -04:00
kodumbeats d32b877347 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-09-12 08:57:02 -04:00
kodumbeats ca335c9be5 Test enum enforcement when creating documents 2021-09-10 16:25:16 -04:00
kodumbeats d8ba1095cd Test enum attribute creation and response model 2021-09-10 16:14:31 -04:00
kodumbeats 1410101db8 Test index cleanup when attribute is deleted 2021-09-02 17:38:46 -04:00
kodumbeats 8c3ca6808c Test deleteCollection removal of attributes/indexes 2021-09-02 12:46:05 -04:00
kodumbeats 6b7059c034 Fix missing lines from conflict resolution 2021-09-01 10:57:20 -04:00
kodumbeats c49179e6bc Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enforce-document-collection-permissions 2021-09-01 10:52:38 -04:00
kodumbeats 624d099bf9 Assert row width exception is thrown 2021-09-01 10:36:01 -04:00
kodumbeats 656914f8dc Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-08-31 13:55:18 -04:00
kodumbeats efa0b86299 Add assertions for row width limit 2021-08-31 12:35:03 -04:00
kodumbeats 8f06625980 Reduce sleep time in test 2021-08-31 11:53:20 -04:00
kodumbeats 42ca474731 Search for attributes from internal table 2021-08-31 11:35:06 -04:00
kodumbeats 4f4db30a8a Test for attribute limit exception 2021-08-31 11:32:49 -04:00
Christy Jacob 9eea6d55f7 feat(tests): added tests for projects usage 2021-08-29 13:41:29 +05:30
Christy Jacob 94a17e9ce0 feat(tests): added tests for functions usage 2021-08-29 13:29:08 +05:30
Christy Jacob 58a5320cf1 feat(tests): added tests for database usage 2021-08-29 13:20:52 +05:30
Eldad A. Fux 06096b4168
Merge pull request #1498 from appwrite/fix-catch-duplicate-index-exception
fix(refactor-db): catch duplicate exception when creating and updating documents
2021-08-28 07:29:46 +03:00
kodumbeats e9541a9269 Fix tests 2021-08-27 21:46:33 -04:00
kodumbeats 95f505b616 Add tests for collection permissions 2021-08-27 21:00:49 -04:00
kodumbeats 0e68b4a1e4 Remove var dumps 2021-08-27 20:44:32 -04:00
kodumbeats 7db7e39f78 Test enforce collection permissions 2021-08-27 20:44:32 -04:00
kodumbeats c3534b4383 Clean up code 2021-08-27 19:45:18 -04:00
kodumbeats b293c5dd65 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-08-27 16:55:00 -04:00
kodumbeats d135a14bd4 Test for attribute response model in collection subquery 2021-08-27 16:45:33 -04:00
kodumbeats a9c1a91a3e Test response model for listAttributes endpoint 2021-08-27 16:30:26 -04:00
kodumbeats 2ead9c52f6 Test attribute default values have proper casting in response model 2021-08-25 16:44:07 -04:00
kodumbeats 0f3c42368d Test for proper response models for getAttribute 2021-08-25 15:37:21 -04:00
kodumbeats 0d2bbb0ae9 Fix tests for index limits 2021-08-24 19:35:43 -04:00
kodumbeats e6d4897acc Debug index limits tests 2021-08-24 18:23:12 -04:00
kodumbeats a4486fd99e Use indexId instead of id 2021-08-24 18:21:56 -04:00
kodumbeats c072a07ed5 Increase sleep for index tests 2021-08-24 18:21:56 -04:00
kodumbeats bf4c1c8c9c Fix tests 2021-08-24 18:21:56 -04:00
kodumbeats 34b6894be2 Add more tests for index limits 2021-08-24 18:20:54 -04:00
kodumbeats 1c1312baae Catch exception for index limit 2021-08-24 18:20:04 -04:00
kodumbeats 6df9d579c4 Comment out default values for non string attributes 2021-08-24 14:57:19 -04:00
kodumbeats 247c3adb48 Test for attribute response models 2021-08-24 14:02:33 -04:00
kodumbeats 8087ca1575 Test for 409 response for duplicate exception 2021-08-24 09:53:49 -04:00
kodumbeats e2024c274a Test for duplicate exception 2021-08-24 09:53:15 -04:00
kodumbeats ebcd1b23b6 Size not returned for integer attributes 2021-08-23 17:29:05 -04:00
Eldad Fux 266374899e Fixed tests 2021-08-23 10:27:09 +03:00
Eldad Fux a6c62c95b0 Updated tests 2021-08-23 07:06:53 +03:00
Eldad Fux f1ec1b2a05 Fixed tests 2021-08-22 19:36:26 +03:00
Eldad Fux e39ed9cf9b Fixed some tests 2021-08-22 17:06:59 +03:00
Eldad Fux 1ecd9c865e Fixed tests removed redundant $collection attribute 2021-08-17 09:24:12 +03:00
Torsten Dittmann a2e57a4f33
Merge branch 'feat-database-indexing' into feat-database-after-pagination 2021-08-10 22:20:30 +02:00
kodumbeats fe020a2b79 Remove assertion for tests 2021-08-10 07:45:38 -04:00
kodumbeats b14a705944 Increase sleep for ARM tests on CI 2021-08-09 13:47:36 -04:00
Torsten Dittmann f7be5cd7b1 tests(database): after pagination tests 2021-08-09 16:54:10 +02:00
Torsten Dittmann 8296021b63 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-after-pagination 2021-08-09 12:03:15 +02:00
kodumbeats 5296e40b07 Test for deleting index 2021-08-08 19:56:31 -04:00
kodumbeats 83c4001f50 Fix tests 2021-08-08 19:51:18 -04:00
kodumbeats a42588f334 Test for attribute deletion 2021-08-08 18:08:10 -04:00
Torsten Dittmann 01d0ce6988 feat(database): after pagination 2021-08-05 21:01:00 +02:00
Damodar Lohani 8d39ab8bcc fix database test 2021-08-05 15:09:42 +05:45
Damodar Lohani 59c4a27c1b fix tests 2021-08-05 13:54:06 +05:45
Damodar Lohani 5e7f7f565d fix tests 2021-08-05 10:14:43 +05:45
Damodar Lohani 201d7114ec Merge branch 'feat-database-indexing' into feat-custom-id 2021-08-04 12:27:19 +05:45
kodumbeats 432a1a7f5c Parse min and max as proper types 2021-07-27 15:12:24 -04:00
kodumbeats 1eae5490df Encode format as json string 2021-07-27 14:19:37 -04:00
kodumbeats b9fea89e73 Use refactored attribute function 2021-07-26 21:00:36 -04:00
kodumbeats 3aae021cfb Add tests for document structure validation 2021-07-23 17:38:31 -04:00
kodumbeats 04a69edf34 Test for unsupported formats 2021-07-23 11:04:31 -04:00
kodumbeats 7b7e2ad17f Test for invalid document structure with custom attributes 2021-07-22 16:39:52 -04:00
kodumbeats 92175c5e32 Adjust tests for new attribute routes 2021-07-21 11:05:18 -04:00
Damodar Lohani 6aa5bb42b6 fix tests for database 2021-07-19 15:11:00 +05:45
kodumbeats 06c276d855 Tighten up validation 2021-07-05 16:27:20 -04:00
kodumbeats 05fb04fdc2 Fix webhook tests 2021-07-02 18:22:36 -04:00
kodumbeats 145203663d Pass default param where required 2021-07-02 13:29:03 -04:00
kodumbeats 47d74a64be Add assertions to confirm index was created successfully 2021-06-18 13:18:27 -04:00
kodumbeats 4567bc0d77 Ensure attributes are removed from queue before adding documents 2021-06-18 13:09:07 -04:00
kodumbeats 9fb64c5621 createCollection requires read/write params 2021-06-17 11:15:14 -04:00
kodumbeats 0e7c55c17c Fix tests for deleteDocument 2021-06-15 10:24:51 -04:00
kodumbeats a62c46cc44 Fix tests for update and delete document 2021-06-15 09:38:24 -04:00
kodumbeats 33d07c2ba4 Move listDocuments to new db 2021-06-14 15:55:36 -04:00
kodumbeats 80f41edf36 Test for creating indexes 2021-06-14 15:54:49 -04:00
kodumbeats 1d2d869fa8 Add assertions for creating attributes 2021-06-14 15:54:19 -04:00
kodumbeats e35d883c56 Test for creating collections and documents 2021-06-11 16:06:54 -04:00
kodumbeats b8950930d7 Fix missing bracket 2021-06-11 14:47:23 -04:00
kodumbeats 4f90d89def Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-11 14:34:15 -04:00
Eldad Fux 2cf16881f1 Replaced * with role:all 2021-06-11 21:23:16 +03:00
kodumbeats 1885a9632d Fix tests for create/delete collection 2021-06-11 14:07:05 -04:00