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
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
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
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
fogelito
ca3efdf562
create relation
2023-03-12 16:04:18 +02:00
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
Jake Barnby
a28eaa80cf
Add test asserting indexes not required
2023-02-28 16:52:11 +13:00
Jake Barnby
b8c11a5643
Fix test
2023-02-21 13:38:19 +13:00
fogelito
91db596b42
remove static $dateValidator
2022-12-19 13:21:09 +02:00
fogelito
bdc3e9f935
$dateValidator
2022-12-15 10:51:27 +02:00
fogelito
d7a833faef
Changing Role + Permissions namespace
2022-12-14 18:07:45 +02:00