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
fogelito
8ade726932
Changing Role + Permissions namespace
2022-12-14 18:04:06 +02:00
fogelito
f96128e14f
Changing Id
2022-12-14 17:42:25 +02:00
Torsten Dittmann
d45464c6c8
fix: boolean attribute default value
2022-09-30 11:27:19 +02:00
Steven Nguyen
3da21ff2fc
Update document model
...
1. Rename document.$collection to document.$collectionId
2. Add document.$databaseId
2022-09-14 00:53:37 +00:00
Jake Barnby
477dbbb909
Update write helper usages
2022-09-06 21:13:42 +12:00
Jake Barnby
02f54eca65
Fix tests
2022-09-06 13:02:32 +12:00
Jake Barnby
e55faff0a1
Fix tests
2022-09-05 19:51:33 +12:00
Jake Barnby
a861b174a2
Add allowed permissions tests
2022-09-05 14:16:40 +12:00
Matej Bačo
c3d04848f4
Mark permissions optional param
2022-09-01 13:14:15 +00:00
Christy Jacob
7591f68970
Merge pull request #3702 from appwrite/feat-list-endpoints-queries
...
Feat: List endpoint queries
2022-08-30 14:56:09 +02:00
Matej Bačo
889eaff418
Merge remote-tracking branch 'origin/feat-list-users-queries' into feat-list-endpoints-queries
2022-08-29 08:52:28 +00:00
Jake Barnby
ccfd104545
Allow guest write scope for document, file and execution
2022-08-29 17:53:37 +12:00
Jake Barnby
0389be522e
Only give current user create access in create collection test
2022-08-27 20:29:32 +12:00
Jake Barnby
790276fced
Review test updates
2022-08-27 15:16:37 +12:00
Matej Bačo
c85363f355
Fix bugs after merge
2022-08-25 09:59:28 +00:00
Matej Baco
fd1068a600
Merge branch 'feat-list-users-queries' into feat-list-endpoints-queries
2022-08-25 10:56:06 +02:00
Jake Barnby
e0a1f4b8fe
Database test updates
2022-08-25 01:32:52 +12:00
Matej Bačo
25590cc210
Add list queries test for databases
2022-08-24 12:43:07 +00:00
Matej Bačo
4645fcd0c8
Fix tests
2022-08-24 10:31:47 +00:00
Matej Bačo
bd7395cb44
Bug fixing, upgrade tests to new syntax
2022-08-24 09:22:13 +00:00
Jake Barnby
66539bbe3a
Review updates for role helper usage
2022-08-19 16:04:33 +12:00
fogelito
9c82a842b6
tests for database + account
2022-08-15 19:08:17 +03:00
Jake Barnby
77a28a2de7
Don't use ID helper with existing ID's
2022-08-15 23:24:31 +12:00
Jake Barnby
33970276b2
Self review
2022-08-15 19:20:10 +12:00
Jake Barnby
613a0f8006
ID and test fixes
2022-08-15 02:22:38 +12:00
Jake Barnby
9c260164ef
Merge remote-tracking branch 'origin/feat-datetime-attributes-with-database-query-update' into refactor-permissions-inc-queries-update-datetime-fixes
...
# Conflicts:
# app/controllers/api/databases.php
# app/controllers/api/storage.php
# app/controllers/general.php
# app/controllers/shared/api.php
# composer.json
# composer.lock
2022-08-14 23:46:34 +12:00
Jake Barnby
6a5de3e0b6
Merge remote-tracking branch 'origin/fix-datetime-attributes' into refactor-permissions-inc-queries-update-datetime-fixes
...
# Conflicts:
# app/config/collections.php
# app/controllers/api/databases.php
# app/controllers/api/projects.php
# app/controllers/api/teams.php
# composer.json
# composer.lock
# tests/e2e/Services/Account/AccountBase.php
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Functions/FunctionsCustomServerTest.php
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
# tests/e2e/Services/Storage/StorageBase.php
# tests/e2e/Services/Storage/StorageCustomClientTest.php
# tests/e2e/Services/Storage/StorageCustomServerTest.php
# tests/e2e/Services/Teams/TeamsBase.php
# tests/e2e/Services/Webhooks/WebhooksBase.php
# tests/e2e/Services/Webhooks/WebhooksCustomClientTest.php
# tests/e2e/Services/Webhooks/WebhooksCustomServerTest.php
# tests/unit/Auth/AuthTest.php
2022-08-14 23:11:05 +12:00
Jake Barnby
b007acfa95
ID updates
2022-08-14 22:33:36 +12:00
Steven
610ec1a6a4
Update database query syntax
2022-08-14 05:44:55 +00:00
Jake Barnby
fe5d3a1892
Use permission helpers
2022-08-14 17:21:11 +12:00
Jake Barnby
70758927cd
Test fixes
2022-08-14 02:55:15 +12:00
Jake Barnby
68cc919aaa
Test fixes
2022-08-14 02:10:28 +12:00
Steven
1abe9d4c01
Merge branch '0.16.x' into fix-datetime-attributes
2022-08-12 22:54:33 +00:00
Jake Barnby
8d4191b1a0
Lint
2022-08-13 02:46:50 +12:00
Jake Barnby
d2b9102f84
Merge remote-tracking branch 'origin/0.16.x' into refactor-permissions-inc-console-fix
...
# Conflicts:
# tests/e2e/Services/Databases/DatabasesBase.php
# tests/e2e/Services/Databases/DatabasesCustomServerTest.php
2022-08-13 00:54:27 +12:00
Jake Barnby
5c6cb2a422
Test fixes
2022-08-13 00:49:57 +12:00
Jake Barnby
1d7c25b561
Single role per permissions entry
2022-08-12 22:36:59 +12:00
Jake Barnby
25e893f712
Revert sdk-generator to master
2022-08-10 18:02:23 +12:00
fogelito
db5d737235
Merge branch '0.16.x' of github.com:appwrite/appwrite into origin/datetime-api
...
Conflicts:
tests/e2e/Services/Databases/DatabasesBase.php
2022-08-09 14:37:21 +03:00
Jake Barnby
216486a4c6
Fix DB tests
2022-08-09 18:03:41 +12:00
Jake Barnby
fa61dada55
Fix erroneous whitespace
2022-08-09 14:48:56 +12:00
Jake Barnby
8317b167ce
Databases test fixes
2022-08-08 23:00:03 +12:00
Jake Barnby
62b1eba836
Replace write refs
2022-08-05 17:23:18 +12:00
Jake Barnby
1ab86c9331
Role reference updates
2022-08-03 16:17:49 +12:00