1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00
Commit graph

1144 commits

Author SHA1 Message Date
Torsten Dittmann 2c6f4d0cdb fix db tests 2021-10-22 18:52:13 +02:00
Torsten Dittmann 60b44dcae9 teardown & db race condition 2021-10-22 18:30:42 +02:00
Torsten Dittmann c8036ffc32 reduce timeouts 2021-10-22 18:19:02 +02:00
kodumbeats 656ceb9c94 Refactor guest tests to use dataproviders 2021-10-21 20:38:27 -04:00
kodumbeats d3745c0b40 Refactor member tests to use dataproviders 2021-10-21 20:38:17 -04:00
kodumbeats 46c3ce7a15 Explain data provider state 2021-10-21 20:38:01 -04:00
Eldad A. Fux 295b8b2a51
Merge branch '0.11.x' into feat-enable-apple-platforms 2021-10-17 13:44:48 +03:00
Torsten Dittmann 142e623cd1 tests(unit): migration type 2021-10-15 18:55:39 +02:00
Torsten Dittmann b44cfb5d2b fix(tests): class name collision 2021-10-15 18:31:24 +02:00
Torsten Dittmann 441156da7c chore(release): prepare 0.11.0 release 2021-10-15 18:11:20 +02:00
Jake Barnby 90904ab676
Add e2e Apple platform tests 2021-10-14 02:44:52 +13:00
kodumbeats ab7f2fa69c Test team/role permissions 2021-10-12 21:09:02 -04:00
SaintMalik 32e513012e doc: Fix typos 2021-10-12 19:22:41 +01:00
Torsten Dittmann 6e87d261fe init draft of permission tests 2021-10-08 14:49:45 +02:00
Torsten Dittmann 9aaf6c27e5 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-08 12:59:03 +02:00
Torsten Dittmann 8685c09c13 fix functions and users 2021-10-08 10:39:37 +02:00
Torsten Dittmann f09742175c fix auth tests 2021-10-07 22:24:09 +02:00
Torsten Dittmann 90f30cc743 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-07 21:34:21 +02:00
Torsten Dittmann 746b9c651e fix auth tests 2021-10-07 21:27:23 +02:00
Torsten Dittmann 4829b488f5 fix auth tests 2021-10-07 21:19:58 +02:00
Torsten Dittmann e368053d7b fix magic url 2021-10-07 21:10:43 +02:00
kodumbeats f197699523 Throw exception when any enum element is empty 2021-10-07 14:30:52 -04:00
kodumbeats b3d5ba4123 Address review comments 2021-10-07 14:27:20 -04:00
kodumbeats 5b1d7bfa5d Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-07 14:08:02 -04:00
Torsten Dittmann 1dc8a74e57 fix users endpoint 2021-10-07 19:57:23 +02:00
Torsten Dittmann d065fbc388 fix duplicate tests due ot merge fail 2021-10-07 18:14:13 +02:00
Torsten Dittmann 66772f55a6 fix tests 2021-10-07 17:49:47 +02:00
Torsten Dittmann a585a9090a fix realtime with db refactor 2021-10-07 17:35:17 +02:00
Torsten Dittmann 8db80e164d Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-07 12:08:24 +02: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 492a83e336 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-search-attribute 2021-10-06 14:48:57 +02:00
Torsten Dittmann fb165fa968
Merge pull request #1554 from appwrite/feat-db-project-subqueries
Moved project json attributes to their own collection
2021-10-06 12:42:10 +00:00
Torsten Dittmann 90e02847e4
Merge pull request #1646 from appwrite/feat-database-user-deprecation
Feat: Deprecate user for security reasons
2021-10-06 12:41:53 +00:00
Torsten Dittmann 97aa1908c8 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-db-project-subqueries 2021-10-06 13:56:06 +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 4a054559a5 fix search with cristiano 2021-10-05 23:15:43 +02: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
kodumbeats 76be4ed082 Merge remote-tracking branch 'origin/feat-db-search-attribute' into feat-db-search-tests 2021-10-05 12:10:02 -04: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 270d0eb0c4 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-database-user-deprecation 2021-10-05 10:31:27 -04: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 5f7e9a5f75 poke travis 2021-10-05 14:32:22 +02:00
Torsten Dittmann 33699ea2c4 feat(controllers): implement before cursor pagination 2021-10-05 12:30:33 +02:00
Matej Baco b068f4969c Review changes 2021-10-04 13:01:08 +02:00
Matej Bačo 6ada84cb53
Update tests/e2e/Services/Users/UsersCustomServerTest.php
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-10-04 12:58:33 +02:00
Torsten Dittmann 1ed41f52d3 Merge branch 'master' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-09-30 12:32:10 +02:00
kodumbeats f4d07e826b Fix tests by testing cleanup duplicate behavior on fresh collection 2021-09-27 19:38:03 -04:00
Matej Baco 429da848c6 Added missing tests for user deprecation feature 2021-09-27 14:11:06 +02:00
Matej Baco 24f9c2518b Removed imports 2021-09-27 12:20:32 +02:00
Matej Baco d0b70a9dee Re-added function execution search + added missing tests 2021-09-27 12:12:42 +02:00
Matej Baco c61b00995c Manual code review suggestion changes 2021-09-23 09:01:10 +02:00
Matej Bačo 1f2f0c2443
Apply suggestions from code review
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-09-23 08:57:16 +02:00
Matej Bačo 8f1847f871
Test assert bug fix
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-09-23 08:50:47 +02:00
Matej Bačo d43987fd7a
Fix test assert bug
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-09-23 08:49:45 +02:00
Matej Bačo 4bbf0e9303
Remove unnecessary whitespace
Co-authored-by: kodumbeats <brandon.leckemby@gmail.com>
2021-09-23 08:44:57 +02:00
Matej Baco f9423111f3 Merge branch 'feat-database-indexing' into feat-db-search-tests 2021-09-23 08:35:07 +02:00
Matej Baco fce5e3e96c Removed PHPStorm-generated stuff 2 2021-09-21 10:27:31 +02:00
Matej Baco 9d1b1a17d9 Removed PHPStorm-generated stuff 2021-09-21 10:26:28 +02:00
Matej Baco 732c59a03d Implemented search tests 2021-09-21 10:22:13 +02: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
Matej Bačo e9124f28c7
Removed unnecessary array_merge import
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-09-11 19:29:17 +02: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
Torsten Dittmann d2f425e67d fix(functions): utf-8 encode stdout and stderr 2021-09-09 13:06:00 +02:00
Damodar Lohani 2adac4548a Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-09-07 11:06:12 +05:45
Torsten Dittmann 5b70298805
Merge pull request #1593 from TorstenDittmann/extend-client-storage-tests
test(storage): default permissions with client
2021-09-06 15:56:33 +02:00
Torsten Dittmann de004c7c33 test(storage): default permissions with client 2021-09-06 15:33:06 +02:00
Torsten Dittmann f5cf111383
Merge pull request #1580 from TorstenDittmann/fix-priviledged-user
fix(auth): add role for privileged users
2021-09-06 15:16:40 +02:00
Torsten Dittmann 978f15c1c1 extend tests 2021-09-03 18:05:50 +02:00
Torsten Dittmann 1f7bad1560 add test 2021-09-03 17:59:02 +02:00
Torsten Dittmann 37c33c3c7b fix(functions): environment variables 2021-09-03 13:41:42 +02: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
Torsten Dittmann 9bc3412649 Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-09-02 09:44:36 +02:00
Eldad A. Fux b23dae4948
Merge pull request #1552 from appwrite/feat-magic-url
Feat Magic URL
2021-09-02 10:09:55 +03: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
Torsten Dittmann c85cfb66d2 Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-09-01 09:33:50 +02:00
Torsten Dittmann 1edb40130d Merge branch 'master' of https://github.com/appwrite/appwrite into 0.10.x 2021-09-01 09:32:42 +02:00
Matej Baco 577ab9c3ad Fixed permissions, improved database filter docs, added 404 platform update test 2021-09-01 09:03:22 +02: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
Damodar Lohani e9e83d14c3 updates and fixes, default handler for magic login 2021-08-31 15:07:48 +05:45
Torsten Dittmann 8639070115 feat(migration): add 0.10.x migration 2021-08-30 14:25:23 +02:00
Torsten Dittmann 93c481b24b Merge branch '0.10.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-08-30 12:08:08 +02:00
Damodar Lohani 270b70794b fix account test 2021-08-30 11:36:06 +05:45
Damodar Lohani 0f97300c3f tests 2021-08-29 16:15:48 +05:45
Christy Jacob 66294445ce feat(tests): added tests for users usage 2021-08-29 14:24:50 +05:30
Christy Jacob 3aedad2061 feat(tests): added tests for users usage 2021-08-29 14:13:14 +05:30
Damodar Lohani 583a00c116 tests for new endpointts 2021-08-29 14:23:46 +05:45
Christy Jacob 4454a518b7 feat(tests): added tests for storage usage 2021-08-29 13:49:25 +05:30
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
Torsten Dittmann e4451f7e0b fix(realtime): minor improvements 2021-08-27 18:33:09 +02:00
Torsten Dittmann 821aa45d7d add tests against failure 2021-08-27 11:31:26 +02:00
Torsten Dittmann dc79be6b50 adapt messages and tests 2021-08-27 11:20:49 +02:00
Torsten Dittmann 67ae70ed69 update tests 2021-08-27 10:20:44 +02: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
Torsten Dittmann 4695ea9914 fix(tests): realtime with functions 2021-08-18 12:49:34 +02:00
Torsten Dittmann e2948ea02f debug failing tests 2021-08-18 12:28:17 +02:00
Torsten Dittmann 39e91037df debug failing tests 2021-08-18 12:25:25 +02:00
Eldad Fux 1ecd9c865e Fixed tests removed redundant $collection attribute 2021-08-17 09:24:12 +03:00
Torsten Dittmann 3efbad9659 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-08-16 11:10:48 +02:00
Eldad Fux 9b8b8304ac Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-ui-updates 2021-08-14 13:35:49 +03:00
Eldad Fux 2d7773ff12 Merged collections, attributes and indexes scopes 2021-08-14 13:16:00 +03:00
Bradley Schofield 44ac60a70a Implement Suggestions 2021-08-13 10:00:20 +01:00
Bradley Schofield 1a8bed396a Fix env variable bug 2021-08-11 13:44:31 +01:00
Torsten Dittmann a2e57a4f33
Merge branch 'feat-database-indexing' into feat-database-after-pagination 2021-08-10 22:20:30 +02:00