1
0
Fork 0
mirror of synced 2024-09-08 05:42:15 +12:00
Commit graph

239 commits

Author SHA1 Message Date
prateek banga
8cefc54ca3 merge resolve conflicts 2023-08-10 17:22:15 +05:30
prateek banga
983c810a45 adds assertion in test case 2023-08-10 17:18:45 +05:30
prateek banga
02d4b6b612 fix test case by adding internal attributes 2023-08-10 15:14:23 +05:30
prateek banga
185d09d764 adds more queries in tests, upgrade db library 2023-08-10 00:11:18 +05:30
Jake Barnby
d2ef51551d
Merge branch 'cl-1.4.x' into feat-add-encrypt-param 2023-08-08 23:06:14 -04:00
prateek banga
4d03610755 resolve merge conflicts 2023-08-09 03:23:45 +05:30
prateek banga
ebcb43bbad use getUser to fetch userId in test 2023-08-08 21:20:19 +05:30
Steven Nguyen
d960f85da6
Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
prateek banga
fb3bab7e2e fix lint issues 2023-08-01 23:32:15 +05:30
prateek banga
40b0c081f7 remove checkPermission from Appwrite and more complex test case
This commit removes check pemission from update document in appwrite as permission is being checked by Utopia already. This commits also improves the test case to have 3 levels of depth with relationships
2023-08-01 23:29:15 +05:30
Damodar Lohani
18407ce6ff remove failing alias and alias tests 2023-07-31 05:53:27 +00:00
prateek banga
f7e96282db adds attribute for update method and makes test case to check more complex scenario 2023-07-29 12:01:10 +05:30
Jake Barnby
b615065fd2
Add tests for collection disabled 2023-07-28 11:51:11 -04:00
prateek banga
484ad8280e fixes test case assertion 2023-07-27 02:29:14 +05:30
prateek banga
e631f393fc fix lint issues and remove sleep from test 2023-07-27 02:23:20 +05:30
Prateek Banga
21bc2ae560 lint issues 2023-07-27 02:03:01 +05:30
Prateek Banga
b8b3d13f22 added test case for verifying permission issue with relations 2023-07-27 02:02:55 +05:30
Prateek Banga
a6abc7c4e8 add support of queries in list indexes 2023-07-27 01:19:48 +05:30
Prateek Banga
ead77d6cad Add support for queries in List attributes endpoint 2023-07-27 01:16:34 +05:30
Bishwajeet Parhi
f160c55ecb Chore: remove encrypt param on update Atrribute and tests as well 2023-07-26 11:25:25 +05:30
Bishwajeet Parhi
a15551368f Merge branch 'master' into feat-add-encrypt-param 2023-07-26 11:20:06 +05:30
Damodar Lohani
4fd5c72f34 Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
Prateek Banga
e1ba324196 fix formatting issues in comments according to feedback in PR. 2023-07-10 13:34:32 +05:30
Damodar Lohani
f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
Bishwajeet Parhi
f71fdfb0b9 chore: add encrypt param on update string attr + unit tests 2023-07-08 20:58:41 +05:30
Prateek Banga
a98248478f lint issues 2023-07-08 01:31:20 +05:30
Prateek Banga
4542ec34ae added test case to verify update of two way relationship 2023-07-08 01:28:24 +05:30
Bishwajeet Parhi
ed8bdc66c8 chore: fix indentation 2023-06-23 15:59:23 +05:30
Bishwajeet Parhi
ee30a3e9f4 chore: refactor tests and param positioning changes 2023-06-22 09:59:09 +05:30
Bishwajeet Parhi
09162e8880 chore: fix failing tests 2023-06-21 16:25:22 +05:30
Bishwajeet Parhi
7ce10023c0 chore: add tests and remove encrypt param on url,enum,ip,email 2023-06-21 16:15:00 +05:30
Jake Barnby
0363993f13
Fix errors 2023-06-15 17:28:35 +12:00
Bishwajeet Parhi
320579209e add new unit tests [failing] 2023-06-08 16:34:57 +05:30
Christy Jacob
44fd41d2ea Merge branch 'master' of https://github.com/appwrite/appwrite into 1.3.x 2023-05-30 16:58:22 +00:00
Jake Barnby
e44e4e7766
Merge pull request #5603 from appwrite/hotfix-route-mismatch
Update framework to fix route mismatches
2023-05-30 23:33:17 +12:00
Jake Barnby
d2bfe46fca
Set min length to 0 for default value when creating or updating a string attribute
(cherry picked from commit c61e54f69b)
2023-05-30 19:42:13 +12:00
Jake Barnby
edce3cceed
Fix tests
(cherry picked from commit 0661f1f889)
(cherry picked from commit bab804b8e1)

# Conflicts:
#	tests/e2e/Client.php
2023-05-30 19:01:46 +12:00
Jake Barnby
91c5e066ec
Update framework to fix route mismatches
(cherry picked from commit d42f6738a9)

# Conflicts:
#	composer.lock
(cherry picked from commit c2e711b021)

# Conflicts:
#	composer.json
#	composer.lock
2023-05-30 19:00:42 +12:00
Jake Barnby
bab804b8e1
Fix tests
(cherry picked from commit 0661f1f889)
2023-05-30 18:29:20 +12:00
Jake Barnby
c2e711b021
Update framework to fix route mismatches
(cherry picked from commit d42f6738a9)

# Conflicts:
#	composer.lock
2023-05-30 18:29:04 +12:00
Jake Barnby
c61e54f69b
Set min length to 0 for default value when creating or updating a string attribute 2023-05-30 14:52:59 +12:00
Jake Barnby
0372b0c590
Update tests/e2e/Services/Databases/DatabasesCustomServerTest.php 2023-05-29 20:34:41 +12:00
Bishwajeet Parhi
729eed25e5 chore: fix formatting 2023-05-29 13:12:55 +05:30
Bishwajeet Parhi
9d1d985d0d chore: Add new unit tests 2023-05-26 17:54:35 +05:30
Bishwajeet Parhi
b0656acf9c chore: Add unitTests DatabaseConsoleClientTest 2023-05-24 23:10:12 +05:30
Bishwajeet Parhi
1a8729177f chore: formattin suggestion 2023-05-24 10:36:54 +05:30
Bishwajeet Parhi
4964b5c592
Update tests/e2e/Services/Databases/DatabasesCustomServerTest.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-05-23 13:30:48 +05:30
Bishwajeet Parhi
6e5ee27f7c
Update tests/e2e/Services/Databases/DatabasesCustomServerTest.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-05-23 13:30:39 +05:30
Bishwajeet Parhi
45f5d932f6 Add more Tests 2023-05-22 20:10:09 +05:30
Bishwajeet Parhi
7fe1f56122 chore: add more test coverage 2023-05-19 18:18:26 +05:30
Bishwajeet Parhi
40f70faa89 Feat: Add enable param in Database and Collection 2023-05-18 18:55:22 +05:30
Jake Barnby
30237ccfb1
Add test for updating existing document with relationship 2023-05-02 20:27:09 +12:00
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
Jake Barnby
c7317b0468
Fix auto-setting custom ID on nested documents 2023-04-13 15:59:57 +12:00
Jake Barnby
84f4c757c3
Fix test 2023-04-11 16:21:22 +12:00
Jake Barnby
6591778f90
Fix query tests 2023-04-05 23:04:12 +12: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
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
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
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
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
fogelito
038f4fc073 Some relation tests 2023-03-16 18:28:08 +02:00