1
0
Fork 0
mirror of synced 2024-09-17 10:00:07 +12:00
Commit graph

85 commits

Author SHA1 Message Date
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
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
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
df9f1ee4c4 tests: fix update attribute status code 2023-03-02 14:01:35 +05:30
Torsten Dittmann
6e5b8fab4b fix: implement new framework changes 2023-03-01 17:30:36 +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
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