1
0
Fork 0
mirror of synced 2024-07-12 18:05:55 +12:00
Commit graph

2008 commits

Author SHA1 Message Date
Steven Nguyen 611dd9b86c
Return 404 if a user doesn't have access to a collection
It is better to return 404 so that an end user doesn't know if the
collection actually exists but they don't have access or they really
don't have access.
2023-04-19 17:21:41 -07:00
Damodar Lohani 3486885dc8 fix large deployment test 2023-04-19 05:38:54 +00:00
Damodar Lohani 26aea21768 fix chunk header size in test 2023-04-19 04:44:59 +00:00
Damodar Lohani 862312239b fix test 2023-04-18 07:13:52 +00:00
Damodar Lohani e992814552 use default for missing locales 2023-04-17 09:10:41 +00:00
Christy Jacob 0257a4d9f3 chore: linter 2023-04-14 00:59:35 +04:00
Christy Jacob 7252db7924 chore: uncomment tests 2023-04-14 00:26:47 +04:00
Christy Jacob 0fb34433b9 feat: personal data filters to enhance password protection 2023-04-14 00:20:03 +04:00
Jake Barnby c7317b0468
Fix auto-setting custom ID on nested documents 2023-04-13 15:59:57 +12:00
Damodar Lohani d394715b56 Merge remote-tracking branch 'origin/master' into feat-custom-smtp 2023-04-13 01:35:56 +00:00
Jake Barnby 7fe14ca10b
Merge remote-tracking branch 'origin/master' into sync-master
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/console
#	app/controllers/api/storage.php
#	composer.lock
2023-04-12 00:50:31 +12:00
Jake Barnby 84f4c757c3
Fix test 2023-04-11 16:21:22 +12:00
Jake Barnby 5485346b5e
Fail validation on nested attribute query 2023-04-11 15:40:14 +12:00
Jake Barnby 6591778f90
Fix query tests 2023-04-05 23:04:12 +12:00
Torsten Dittmann 3860602697 feat: console service 2023-03-31 17:14:59 +02:00
Torsten Dittmann f9adffc569 tests: add tests for cache on updating attributes 2023-03-31 14:56:38 +02:00
Jake Barnby eb8258d548
Fix tests 2023-03-31 21:29:02 +13:00
Jake Barnby 939a0c5591
Add missing instanceof check 2023-03-31 17:56:25 +13:00
fogelito 05d7badd60 Delete related on 2 way 2023-03-30 20:36:24 +03:00
Jake Barnby 2f709a2e89
Fix test 2023-03-30 22:05:35 +13:00
Damodar Lohani 41d22fb50b Merge remote-tracking branch 'origin' into feat-db-pools-master-sync-2 2023-03-30 08:02:31 +00:00
Jake Barnby ed54d9861f
Add back validation for fulltext index on search queries 2023-03-30 19:57:56 +13:00
Jake Barnby 9468c238de
Remove conflicts 2023-03-30 13:01:58 +13:00
fogelito 5aff6969db add relations into attributes collection 2023-03-29 23:31:49 +03:00
fogelito 0638fec40d related attributes call tests 2023-03-29 18:43:54 +03:00
fogelito 1af33d1af7 related attributes call tests 2023-03-29 18:34:49 +03:00
Jake Barnby 505ffc91ae
Fix existing tests 2023-03-28 22:08:36 +13:00
fogelito 18be424fc0 Test list attributes 2023-03-27 18:24:02 +03:00
Jake Barnby 948f04e71c
Lint 2023-03-27 19:26:27 +13:00
Jake Barnby 1cf25199ab
Recurse through nested documents to set collection ID 2023-03-27 19:03:00 +13:00
Jake Barnby 275c6bb3a0
Set databaseId for all nested documents 2023-03-27 15:42:36 +13:00
Jake Barnby 64ee75e80d
Revert "Extract $options on get attributes list"
This reverts commit 0ef6f32a10.
2023-03-27 12:18:47 +13:00
Jake Barnby 9ac08b496b
Merge remote-tracking branch 'origin/feat-relations-2' into feat-relations-2 2023-03-27 12:18:29 +13:00
fogelito 0ef6f32a10 Extract $options on get attributes list 2023-03-26 19:39:26 +03:00
fogelito 276b1de2b0 Disable 2 way for ManyToOne relation test 2023-03-26 16:27:07 +03:00
Jake Barnby ac8d4fcb2a
Add relationships to attribute response model tests 2023-03-25 16:29:40 +13:00
Jake Barnby 0797df8414
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
2023-03-25 15:32:55 +13:00
Torsten Dittmann b8b6ac75fc
Merge pull request #5196 from appwrite/feat-team-prefs
feat: team preferences
2023-03-24 12:33:55 +01:00
Jake Barnby daa5c7e59f
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2
# Conflicts:
#	composer.json
#	composer.lock
2023-03-24 23:50:26 +13:00
Jake Barnby 47586fedb5
Remove invalid test 2023-03-24 23:09:49 +13:00
Jake Barnby 702000ac2f
Remove redundant test 2023-03-24 22:28:39 +13:00
Jake Barnby 48b018fd9d
Merge remote-tracking branch 'origin/1.3.x' into feat-relations-2 2023-03-24 20:53:41 +13:00
Jake Barnby a48ce855c7
Move tests 2023-03-24 18:56:49 +13:00
Jake Barnby 1885f9e87c
Add graphql tests 2023-03-24 18:08:50 +13:00
Jake Barnby 24d1163703
Fix params 2023-03-24 16:57:56 +13:00
Jake Barnby 2775a92cdf
Add more tests 2023-03-24 16:48:50 +13:00
fogelito e62e5c405a Select from parent and related 2023-03-23 18:34:49 +02:00
fogelito 3a7d00519f some tests assertArrayHasKey 2023-03-23 18:05:22 +02:00
fogelito 6539f15178 Fix return on test 2023-03-23 16:23:14 +02:00
fogelito 617a2c5fc8 New Queries Activation 2023-03-23 16:13:50 +02:00
fogelito fad9ecd389 New Queries Activation 2023-03-23 16:11:02 +02:00
fogelito 969cff5e41 New Queries Activation 2023-03-23 16:08:38 +02:00
Torsten Dittmann 0b9526fc50 tests: add graphql tests 2023-03-23 13:54:12 +01:00
Torsten Dittmann 7020c85f78 tests: fix teams tests 2023-03-23 13:06:48 +01:00
Torsten Dittmann 10cd97e978 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-team-prefs 2023-03-23 13:03:50 +01:00
Torsten Dittmann 75b687786d chore: run formatter 2023-03-23 11:28:31 +01:00
Torsten Dittmann 010481bafc feat: change url for updating attributes 2023-03-23 11:25:40 +01:00
Jake Barnby 588d6651a2
Update tests 2023-03-23 18:34:13 +13:00
fogelito 60c54e2d10 Select Validator 2023-03-22 23:10:47 +02:00
fogelito 319698dab4 libraries 2023-03-22 19:14:41 +02:00
fogelito 34467de87d Update relationship get Attribute 2023-03-22 18:44:12 +02:00
fogelito a824b46df0 Update relationship 2023-03-22 17:49:08 +02:00
fogelito 433b3be9ed $oneToMany tests 2023-03-21 19:52:25 +02:00
fogelito e06e890279 query validators ignore nested 2023-03-21 14:32:05 +02:00
fogelito a5f3af62bd Extract model options 2023-03-20 13:20:24 +02:00
fogelito 0c6f9bdb01 delete relation attribute 2023-03-19 19:31:15 +02:00
fogelito eee29940bb Some tests 2023-03-19 19:09:17 +02:00
Damodar Lohani bf02687ea4 fix type and test reset 2023-03-17 06:37:16 +00:00
fogelito 038f4fc073 Some relation tests 2023-03-16 18:28:08 +02:00
fogelito 00c1418246 Update response Model.php 2023-03-16 13:48:27 +02:00
Matej Bačo c01fcb130c Merge branch 'feat-db-pools-master' into feat-db-pools-sync 2023-03-14 12:58:54 +01:00
Damodar Lohani 2552916314 sms template tests 2023-03-14 09:13:43 +00:00
Damodar Lohani abb31bf95f fix formatting 2023-03-14 07:24:03 +00:00
Damodar Lohani ae549a1e9a tests and fixes 2023-03-14 07:21:56 +00:00
Torsten Dittmann bfdb7830d0 fix: update team prefs endpoint 2023-03-14 04:40:17 +05:30
Torsten Dittmann 2178bfc126 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-database-update-attribute 2023-03-10 18:39:11 +05:30
Torsten Dittmann f568f9f1ad style: fix formatting 2023-03-10 18:37:16 +05:30
Torsten Dittmann 7b1853eb96 feat: graphql support 2023-03-10 18:36:46 +05:30
Damodar Lohani 1cd0498b15 code format 2023-03-10 02:46:34 +00:00
Damodar Lohani 8e050e3430 test for smtp endpoint 2023-03-10 02:44:43 +00:00
Torsten Dittmann 01edc57806 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-team-prefs 2023-03-09 16:04:20 +05:30
Steven Nguyen 85a2d623a6
Update APIs to check X-Appwrite-Timestamp header
Appwrite will refer to the X-Appwrite-Timestamp header for when the
request was originally sent and reject the request if the Timestamp
is older than the updatedAt timestamp of the document.
2023-03-07 10:54:52 -08:00
Torsten Dittmann 496da61cd9 feat: team preferences 2023-03-06 19:54:02 +05:30
Torsten Dittmann df9f1ee4c4 tests: fix update attribute status code 2023-03-02 14:01:35 +05:30
Torsten Dittmann 0dd666c227 tests: fix functions tests 2023-03-01 17:30:54 +05:30
Torsten Dittmann 6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +05:30
Jake Barnby d2c55afdcf
Merge pull request #5145 from appwrite/feat-remove-index-requirements
Remove indexed attribute query requirement
2023-03-01 21:42:29 +13:00
Torsten Dittmann ae32536be2 Merge branch 'master' of https://github.com/appwrite/appwrite into chore-release-1-3-console-sdk 2023-02-28 14:45:34 +05:30
Jake Barnby a28eaa80cf
Add test asserting indexes not required 2023-02-28 16:52:11 +13:00
Torsten Dittmann c4a27c79ab chore: run linter 2023-02-27 13:56:45 +05:30
Torsten Dittmann 18d938ce54 tests: add tests for update attributes on non existing resources 2023-02-27 13:29:37 +05:30
Torsten Dittmann 4023a4bb2f tests: rename import for AppwriteException 2023-02-27 13:17:20 +05:30
Torsten Dittmann 454fd1cd43 revert: remove unused imports 2023-02-27 13:16:35 +05:30
Torsten Dittmann c5953d1e1b tests: add tests for updating attributes 2023-02-27 13:15:21 +05:30
Torsten Dittmann acd18b4d9d tests: update attributes 2023-02-26 21:15:42 +05:30
Torsten Dittmann dacb713450
Merge branch 'master' into fix-4982-email-session-expire-string-formattz 2023-02-24 15:23:33 +05:30
Damodar Lohani 0b07fb2060 fix error 2023-02-21 05:18:41 +00:00
Damodar Lohani 6b6f9edbd6
Merge branch '1.3.x' into feat-13x-master-sync 2023-02-21 07:38:46 +05:45
Jake Barnby b8c11a5643
Fix test 2023-02-21 13:38:19 +13:00
Damodar Lohani c990f686dd Merge remote-tracking branch 'origin/1.3.x' into feat-password-dictionary 2023-02-20 03:56:48 +00:00
Damodar Lohani 4948aedfb5 Merge remote-tracking branch 'origin/master' into 1.3.x 2023-02-20 03:51:54 +00:00
Eldad A. Fux 6696373d28
Merge pull request #4974 from appwrite/lohanidamodar-patch-3
Oauth2 check if provider is enabled
2023-02-19 08:53:41 +02:00
Damodar Lohani 5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
Damodar Lohani 171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
shimon acbf676d94 test fix 2023-02-14 19:40:21 +02:00
Damodar Lohani 3f171fbdb9 fix error code 2023-02-14 06:07:06 +00:00
Damodar Lohani 637e4098be provider disabled test 2023-02-14 05:56:14 +00:00
Damodar Lohani 71d2c45a92 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-14 04:35:19 +00:00
Jake Barnby f6fc9a8d8c
Merge remote-tracking branch 'origin/master' into feat-technical-debt-2
# Conflicts:
#	composer.lock
2023-02-14 14:22:08 +13:00
shimon 69bdb105be addressing comments 2023-02-06 17:20:14 +02:00
shimon ec52cbbb8c addressing comments 2023-02-06 09:20:03 +02:00
shimon 0f5b6665fa addressing comments 2023-02-05 23:06:32 +02:00
shimon 8d795ef483 addressing comments 2023-02-05 22:39:41 +02:00
shimon 5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
shimon bddbc15f1a removed some unnecessary files 2023-01-31 17:02:22 +02:00
munyoudoum 63b54ead62 chore(tests): assert expire key has formatTz in POST email session 2023-01-30 00:32:05 +07:00
Damodar Lohani 28cb8a77cc fix functions timeout test 2023-01-25 10:55:41 +00:00
Christy Jacob 222421d8f3 feat: update account codes 2023-01-19 17:41:15 +05:30
Christy Jacob 4142ffdb70 feat: update account codes 2023-01-19 17:26:41 +05:30
Damodar Lohani d53456c6ed fix test 2023-01-17 01:17:37 +00:00
fogelito 48e2bf1c3e Helpers GraphQL 2023-01-16 11:25:40 +02:00
fogelito c4ae047833 Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
 Conflicts:
	app/init.php
	composer.json
	composer.lock
2023-01-16 10:24:37 +02:00
Damodar Lohani 4f35353289 Merge branch 'feat-password-history' of https://github.com/appwrite/appwrite into feat-password-dictionary 2023-01-16 05:09:55 +00:00
Damodar Lohani fe472e5b36 Merge branch '1.3.x' of https://github.com/appwrite/appwrite into feat-password-history 2023-01-16 05:04:13 +00:00
shimon a852672bff Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats 2023-01-15 17:18:32 +02:00
shimon 5ab955c2ba usage test 2023-01-15 14:02:53 +02:00
shimon a0554ca91e usage test 2023-01-15 12:25:03 +02:00
shimon 44af561d06 usage test 2023-01-15 12:03:52 +02:00
shimon b61e6e0d5a usage test 2023-01-12 19:41:14 +02:00
shimon 9a2f734d3a compose.lock 2023-01-12 18:06:20 +02:00
Damodar Lohani f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00:00
Steven Nguyen be77b10549
Add flutter-web as a platform type
Having a dedicated type for flutter-web will allow us to differentiate
between Flutter Web and Web in the Appwrite Console.
2023-01-11 15:47:49 -08:00
Christy Jacob a2dfd692f1 feat: add tests 2023-01-11 18:09:56 +05:30
Christy Jacob 71150ced1a feat: add tests 2023-01-11 18:05:07 +05:30
Christy Jacob d7104d9cd6 feat: add tests 2023-01-11 17:54:37 +05:30
Damodar Lohani 34b2280207 fix format 2023-01-09 09:18:13 +00:00
Damodar Lohani 5088c9ea99 simple test 2023-01-09 09:17:45 +00:00
Matej Bačo d722bf01ea Code review changes 2022-12-27 11:40:24 +01:00
Matej Bačo 02d86cee84 Fix bug and update test 2022-12-27 11:33:38 +01:00
Matej Bačo ccc9432219 Merge branch 'master' into fix-1.2.x-conflicts 2022-12-27 08:29:10 +01:00
Damodar Lohani f03035451f fix test 2022-12-26 10:22:25 +00:00
shimon 44af531881 tests adjustments 2022-12-26 11:11:13 +02:00
Damodar Lohani e9710bdb76 formatting fix 2022-12-26 05:47:20 +00:00
Damodar Lohani 124403b804 test for password discionary 2022-12-26 05:46:35 +00:00
shimon 20f9b0c655 refactor usage worker 2022-12-22 15:02:41 +02:00
Jake Barnby e86994b597
Add retries for flaky tests 2022-12-22 16:12:45 +13:00
Jake Barnby 6adbeb8b0d
Revert test change 2022-12-22 15:32:14 +13:00
Jake Barnby dc49e1dcf3
Update user test type 2022-12-22 12:52:54 +13:00
shimon 5e394fed5d refactor usage worker 2022-12-21 21:03:09 +02:00
shimon c02ef7b340 adding build.storage usage 2022-12-21 11:22:29 +02:00