Commit graph

7005 commits

Author SHA1 Message Date
Jake Barnby
82cb491a3c
Fix attribute update refactor collision 2025-08-20 02:56:44 +12:00
Jake Barnby
c636081e64
Fix specs 2025-08-20 02:05:14 +12:00
Jake Barnby
e3807366a9
Fix service refs 2025-08-20 01:56:12 +12:00
Jake Barnby
14f8f9af4e
Fix namespace 2025-08-20 01:39:18 +12:00
Jake Barnby
619092a8b2
Fix namespace 2025-08-20 01:34:27 +12:00
Jake Barnby
b298f0c67a
Fix namespace 2025-08-20 01:29:38 +12:00
Jake Barnby
bf161fad42
Format 2025-08-20 01:24:14 +12:00
Jake Barnby
855771bb6c
Fix specs 2025-08-20 01:23:11 +12:00
Jake Barnby
e3c932686a
Fix references 2025-08-20 01:23:01 +12:00
Jake Barnby
2ade66d85e
Casing 2025-08-20 01:02:58 +12:00
Jake Barnby
6f170fdb6d
Fix static user refs 2025-08-19 23:13:47 +12:00
Jake Barnby
8e900c6b04
Fix update/upsert set collection ID 2025-08-19 23:01:22 +12:00
Jake Barnby
c323435dad
Remove filter 2025-08-19 22:09:30 +12:00
Jake Barnby
42d6a7b00d
Fix hardcoded collectionId 2025-08-19 20:08:13 +12:00
Evan
9f548af7dd
Merge branch '1.7.x' into fix-token-expiry 2025-08-18 16:55:28 -07:00
Evan
3ed5699876 Better jwt handling and tests 2025-08-18 10:57:15 -07:00
Evan
f5f6ec71de Address stnguyen90 feedback: simplify JWT logic and fix test expectations
- Remove excessive logic and 1-minute expiration hack as requested
- Simplify token expiry handling to directly use existing  value
- Remove problematic test that creates tokens with past expiry dates
- Update existing test to properly verify JWT expiration behavior
- Use proper base64url decoding for JWT payload testing
2025-08-18 09:39:19 -07:00
Jake Barnby
e58091d86b
Fix tests 2025-08-19 03:16:55 +12:00
Jake Barnby
425d424e7c
Fix index context 2025-08-19 02:17:31 +12:00
Jake Barnby
68bf4a6f44
Fix usage 2025-08-19 01:50:32 +12:00
Jake Barnby
434c199510
Fix spec gen 2025-08-19 01:24:41 +12:00
Jake Barnby
1771934af6
Fix context 2025-08-19 01:19:34 +12:00
Jake Barnby
867a950abd
Update registry 2025-08-19 00:38:14 +12:00
Jake Barnby
f67b90e376
TablesDB CRUD 2025-08-19 00:38:02 +12:00
Jake Barnby
cfeced03e4
Move usage 2025-08-19 00:37:41 +12:00
Jake Barnby
372317bee7
Add log route 2025-08-19 00:37:11 +12:00
Jake Barnby
71a97a106a
Remove db multimethod 2025-08-19 00:36:33 +12:00
Jake Barnby
4493131d86
Fix collection context 2025-08-19 00:34:28 +12:00
Jake Barnby
c86b35fbb3
Add usage routes 2025-08-18 22:29:43 +12:00
Jake Barnby
e4228fe2e5
Fix imports 2025-08-18 21:02:55 +12:00
Jake Barnby
ea9cbd2f2c
Switch removable attributes 2025-08-18 19:52:55 +12:00
Jake Barnby
34cf5a7c2f
Lint 2025-08-18 19:26:21 +12:00
Jake Barnby
670e869855
Migrate to TablesDB 2025-08-18 19:15:49 +12:00
Jake Barnby
51806082c4
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x 2025-08-18 17:37:32 +12:00
Matej Bačo
746a76dc8e Add extensive build logging 2025-08-16 17:11:27 +02:00
Matej Bačo
78c5d5aeff
Merge pull request #10302 from appwrite/chore-remove-logging
Chore: Remove temp logging
2025-08-16 13:07:12 +02:00
Matej Bačo
051b99e9ce Linter fix 2025-08-16 12:49:58 +02:00
Evan
3a9353a78b linter 2025-08-15 17:35:49 -07:00
Evan
eec62752ed fix - incorrect file token expiry 2025-08-15 16:27:48 -07:00
Jake Barnby
c63e3bd75b
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x 2025-08-16 00:06:32 +12:00
Matej Bačo
23bc39254c Increase dynamic API key expiration 2025-08-15 12:29:34 +02:00
Jake Barnby
71ed39e17e
Revert "Fix index delete event"
This reverts commit c69ec97802.
2025-08-15 20:01:06 +12:00
Jake Barnby
c69ec97802
Fix index delete event 2025-08-15 19:51:42 +12:00
Jake Barnby
de0b4dd733
Lint + lock 2025-08-15 19:39:59 +12:00
Jake Barnby
64820ad5f5
Port inc/dec fixes 2025-08-15 19:28:22 +12:00
Jake Barnby
ff6c2b076d
Port desc fixes 2025-08-14 19:40:43 +12:00
Jake Barnby
34709912bf
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# 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/controllers/api/databases.php
#	composer.lock
#	src/Appwrite/SDK/Specification/Format/OpenAPI3.php
2025-08-14 00:20:16 +12:00
Chirag Aggarwal
5f3dc7cb75 chore: add method desc and demo 2025-08-13 15:16:48 +05:30
Jake Barnby
3f3319df20
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-08-13 21:04:46 +12:00
Matej Bačo
b816557970 Add fallback locale support + tests 2025-08-12 15:13:08 +02:00
Jake Barnby
b418285349
Revert "Merge pull request #10299 from appwrite/feat-functions-redis-queue"
This reverts commit f81fd16d26, reversing
changes made to ec174a15cf.
2025-08-12 23:57:54 +12:00
Matej Bačo
13a14d1b05 Remove temp logging 2025-08-12 10:39:50 +02:00
Jake Barnby
4712c18f31
Merge remote-tracking branch 'origin/1.8.x' into cursor/add-new-database-query-type-tests-5161 2025-08-12 17:43:23 +12:00
Jake Barnby
38204a2c23
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
#	docker-compose.yml
#	tests/e2e/Services/Migrations/MigrationsBase.php
2025-08-12 17:38:02 +12:00
Jake Barnby
836606a06b
Fix notSearch with no FTS 2025-08-12 02:03:38 +12:00
Matej Bačo
3efd9a778e Reapply "Feat: Make functions worker customizable"
This reverts commit 7e110bf292.
2025-08-11 15:07:05 +02:00
Jake Barnby
7e110bf292
Revert "Feat: Make functions worker customizable" 2025-08-12 00:38:41 +12:00
Cursor Agent
b89d713002 Purge collection cache alongside document cache in database operations
Co-authored-by: jakeb994 <jakeb994@gmail.com>
2025-08-11 07:01:06 +00:00
Matej Bačo
2b3a8527ff Make functions worker customizable 2025-08-08 17:15:14 +02:00
Jake Barnby
89197e0f9e
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-latest-console.json
#	composer.lock
2025-08-09 01:12:18 +12:00
Matej Bačo
1fba63e986 Fix formatting 2025-08-08 14:00:30 +02:00
Matej Bačo
ae5225d8ee Add placeholder detection 2025-08-08 13:58:41 +02:00
Chirag Aggarwal
bf6bbfa058 update casing 2025-08-08 16:40:12 +05:30
Darshan
bc55639bf7 update: if/else > switch > match 2025-08-08 16:25:48 +05:30
Darshan
0556f8fdca update: readability. 2025-08-08 16:06:19 +05:30
Darshan
65c767c2b0 update: grid on resource events. 2025-08-08 16:03:00 +05:30
Chirag Aggarwal
b464a3d7a2 fix: lint 2025-08-08 13:39:25 +05:30
Darshan
ad79f3dcca fix: wrong resource path. 2025-08-08 13:34:33 +05:30
Chirag Aggarwal
c9691be34a chore: add readonly param to sequence, databaseId and collectionId 2025-08-08 12:53:58 +05:30
ArnabChatterjee20k
ee9f1f8645 updated database type to grids and legacy 2025-08-06 17:30:11 +05:30
Matej Bačo
aa837c7b43 PR review fixes 2025-08-06 11:43:07 +02:00
Matej Bačo
3541fcb237 Fix manual QA edge case 2025-08-06 11:30:56 +02:00
Matej Bačo
10a7f8acfe Formatting fix 2025-08-06 11:06:35 +02:00
Matej Bačo
61ec98bc5e Improve tests 2025-08-06 11:06:18 +02:00
ArnabChatterjee20k
4ed511f31c Merge remote-tracking branch 'upstream/1.8.x' into dat-600 2025-08-06 10:57:20 +05:30
ArnabChatterjee20k
320171822c replaced create attribute with a util createAttributeFromCollection method 2025-08-06 10:56:42 +05:30
Jake Barnby
bd4fb03b74
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# 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/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
#	tests/e2e/Services/Migrations/MigrationsBase.php
2025-08-06 17:24:00 +12:00
ArnabChatterjee20k
066c801a45 removed $id to get updated 2025-08-05 21:56:31 +05:30
ArnabChatterjee20k
7d798f5373 added migration to self hosted version 2025-08-05 19:34:19 +05:30
ArnabChatterjee20k
0fddbd5caa updated database response model rules 2025-08-05 18:15:55 +05:30
ArnabChatterjee20k
46cdaa0e4e Merge remote-tracking branch 'upstream/1.8.x' into dat-600 2025-08-05 18:09:40 +05:30
ArnabChatterjee20k
28cf4e1d94 updated the validator of type of database to validator 2025-08-05 18:07:11 +05:30
Matej Bačo
2d4e99cb1a Revert revert of CAA validation 2025-08-05 13:44:06 +02:00
Matej Bačo
8fe999d6d7 Merge branch '1.7.x' into feat-check-CAA-in-DNS 2025-08-05 13:43:17 +02:00
fogelito
fb6988465f Merge branch '1.8.x' of https://github.com/appwrite/appwrite into test-var-id-attribute 2025-08-05 14:42:44 +03:00
Matej Bačo
dade82706a Fix caa records inheritance 2025-08-05 13:38:56 +02:00
ArnabChatterjee20k
7fdbd12937 Merge remote-tracking branch 'upstream/1.8.x' into dat-600 2025-08-05 16:49:45 +05:30
ArnabChatterjee20k
f06af411ba Add 'type' attribute to database creation and update tests 2025-08-05 16:48:05 +05:30
Matej Bačo
9c320f9c71
Revert "Check CAA record before issuing certificate" 2025-08-05 10:23:39 +02:00
ArnabChatterjee20k
5baa2ad113 refactor: Rename triggerQueuesForBulkDocuments to triggerBulk for consistency across document actions 2025-08-05 13:29:38 +05:30
ArnabChatterjee20k
7334efbf3a feat: Initialize event and payload properties in Event class and optimize bulk document queue triggering 2025-08-05 11:52:58 +05:30
Matej Bačo
7f690a1048 Simplify implementation 2025-08-04 16:51:49 +02:00
Matej Bačo
8c3530ee60 Fix caa validation breaking existing validations 2025-08-04 16:18:06 +02:00
Matej Bačo
5e294d0849 Support empty CAA records 2025-08-04 15:35:40 +02:00
ArnabChatterjee20k
59026a17dc feat: Enhance database operations with event queues and improve test coverage for bulk operations
- Added event queue injections in Bulk Update and Create classes for better event handling.
- Modified getUser method in Scope class to allow for user retrieval with an override option.
- Expanded RealtimeCustomClientTest to include comprehensive tests for bulk create, update, and delete operations, ensuring proper event emissions for multiple clients.
- Improved assertions in tests to validate event data and permissions for created, updated, and deleted documents.
2025-08-04 19:01:48 +05:30
Matej Bačo
2a63de0c46 Improve docs 2025-08-04 14:57:35 +02:00
Matej Bačo
48a977526e Fix tests 2025-08-04 14:53:13 +02:00
Matej Bačo
689fbee10c Merge branch '1.7.x' into feat-check-CAA-in-DNS 2025-08-04 14:32:20 +02:00
Matej Bačo
4cafd2e07d Improve PR quality 2025-08-04 14:28:50 +02:00
Khushboo Verma
783894a82b Add default value 2025-08-04 01:40:39 +05:30
Khushboo Verma
69dbb3222f Add check in proxy 2025-08-04 01:33:47 +05:30
Khushboo Verma
9f8fabe58a Verify domain CAA after certificate issuance 2025-08-04 01:12:58 +05:30
Khushboo Verma
484ebb5059 Check CAA record in DNSTest 2025-08-04 00:42:00 +05:30
fogelito
0818af372f Merge branch '1.8.x' of https://github.com/appwrite/appwrite into test-var-id-attribute
# Conflicts:
#	composer.lock
2025-08-03 09:03:58 +03:00
fogelito
bc53c73a7a Remove $sequence 2025-08-03 09:00:24 +03:00
Chirag Aggarwal
b3ba91cd52 chore: update naming and specs 2025-08-01 15:26:34 +05:30
ArnabChatterjee20k
f6c4457398 changed the error message for client side 2025-08-01 14:54:15 +05:30
ArnabChatterjee20k
27684ef38c Merge remote-tracking branch 'upstream/1.8.x' into dat-588 2025-08-01 13:54:13 +05:30
Chirag Aggarwal
3d5b755115 chore: simplify 2025-08-01 13:17:45 +05:30
Chirag Aggarwal
26be1b5caf feat: add model examples + additonal examples to specs 2025-08-01 13:09:39 +05:30
ArnabChatterjee20k
983d102ff2 Restrict createdAt and updatedAt attributes for non-API key and non-privileged users in Create, Update, and Upsert actions 2025-08-01 12:31:29 +05:30
ArnabChatterjee20k
de69692ff2 added modify createdAt/updatedAt support 2025-07-31 20:32:14 +05:30
Chirag Aggarwal
5977e62e9a chore: move changelog path to platforms config 2025-07-30 13:32:56 +05:30
Chirag Aggarwal
66786f20f0 chore: use md5 if enabled 2025-07-29 16:53:55 +05:30
Jake Barnby
6347d7da3f
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-07-29 22:52:06 +12:00
Chirag Aggarwal
1731212ebb chore: improve check 2025-07-29 15:26:37 +05:30
Chirag Aggarwal
3db9cd06d5 chore: filter certificates renewal task in maintenance by region 2025-07-29 15:21:15 +05:30
Jake Barnby
2529d64791
Filter sequence to int because any models skip rule checks 2025-07-29 16:53:13 +12:00
fogelito
78887b9df6 fallbacks 2025-07-28 11:18:03 +03:00
Darshan
c71ff3542f fix: deprecation inheritance on other methods with different namespace. 2025-07-27 19:19:14 +05:30
Darshan
4146671ff8 address comments. 2025-07-27 17:55:07 +05:30
Darshan
d17e7e853b update: deprecation methods. 2025-07-27 17:39:43 +05:30
Darshan
24614225a8 fix: no params on multiple methods. 2025-07-27 16:58:04 +05:30
Darshan
5b1a750dd1 regen: specs and fix file name. 2025-07-27 16:40:36 +05:30
Darshan
ba79c5d9df update: docs. 2025-07-27 16:31:10 +05:30
Darshan
1f31b75582 fix: tests. 2025-07-27 14:48:19 +05:30
Darshan
f19ef05a98 fix: response modals and sdk-gen for multiple namespaces. 2025-07-27 13:47:44 +05:30
Darshan
557493d091 update: move to grids api. 2025-07-27 12:05:40 +05:30
Jake Barnby
cdbd89b3f3
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-1.8.x-client.json
#	app/config/specs/open-api3-1.8.x-console.json
#	app/config/specs/open-api3-1.8.x-server.json
#	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-1.8.x-client.json
#	app/config/specs/swagger2-1.8.x-console.json
#	app/config/specs/swagger2-1.8.x-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
2025-07-27 16:07:04 +12:00
Darshan
e67e6303b2 fix: templates on 1.7.x. 2025-07-25 14:30:03 +05:30
Luke B. Silver
2f39e16b97
Merge pull request #10156 from appwrite/feat-stats-usage-on-redis
feat: stats-usage on redis
2025-07-24 22:42:09 +01:00
loks0n
1d86cc6010 feat: stats-usage on redis 2025-07-24 16:19:13 +01:00
Khushboo Verma
607cc9a926
Merge branch '1.7.x' into 1we24-auto-suggest-default-branch 2025-07-24 20:31:10 +05:30
Matej Bačo
e4dc36edf0
Merge pull request #10198 from hmacr/1we17-preview-for-emails
Preview text for emails
2025-07-24 16:47:08 +02:00
Hemachandar
d7f85f9f58
remove dot 2025-07-24 20:06:49 +05:30
Matej Bačo
fc31787e9a
Merge branch '1.7.x' into 1we6-better-error-msg-for-scheduled-date 2025-07-24 16:15:06 +02:00
hmacr
5ce141b75b change error msg 2025-07-24 19:43:14 +05:30
Khushboo Verma
d607f227a2
Merge branch '1.7.x' into 1we24-auto-suggest-default-branch 2025-07-24 19:38:17 +05:30
Matej Bačo
3439951538
Merge pull request #10199 from hmacr/1we21-handle-failed-git-action-in-worker
Suppress git-action exception in deployment worker
2025-07-24 14:50:57 +02:00
hmacr
9055d41aa0 send log to queue 2025-07-24 17:56:24 +05:30
Matej Bačo
b762e7fb73
Merge pull request #10181 from hmacr/1we9-use-preview-for-screenshots
fix: Use direct source for file-preview when empty
2025-07-24 13:39:24 +02:00
Matej Bačo
f70a5e67be
Merge pull request #10187 from hmacr/1we19-fix-double-deployment
Skip deployment when commit is created by us
2025-07-24 13:38:48 +02:00
hmacr
ed4e85f28a validate only when scheduledAt is available 2025-07-24 11:56:05 +05:30
hmacr
7ae237e433 Better error message for invalid function scheduled time 2025-07-24 11:44:44 +05:30
Chirag Aggarwal
3cbded226b fix: unwanted method being added to specs 2025-07-24 10:07:46 +05:30
hmacr
7ca03a5889 Suppress git-action exception in deployment worker 2025-07-23 22:26:35 +05:30
hmacr
c5f8bdfd36 Preview texts for emails 2025-07-23 22:04:25 +05:30
Chirag Aggarwal
1340d14e7c chore: regen 2025-07-23 21:13:59 +05:30
Chirag Aggarwal
a53dcd8a23 chore: regen 2025-07-23 20:56:20 +05:30
Matej Bačo
b194558226 Switch from gzip to none compression 2025-07-23 15:49:07 +02:00