Commit graph

218 commits

Author SHA1 Message Date
loks0n
2cb86c57ef fix: preflight requests 2025-12-12 09:49:04 +00:00
loks0n
c6ffa181a2 fix: imagine hostnames 2 2025-12-11 18:53:58 +00:00
loks0n
f765eb92e7 feat: cors service 2025-12-11 09:01:31 +00:00
loks0n
50c6a35079 feat: multiple app domains 2025-12-11 09:01:31 +00:00
Shimon Newman
95e29d1046
Merge branch '1.8.x' into refactor-auth-single-instance 2025-11-28 16:10:26 +02:00
shimon
5da1f791a5 sync with 1.8.x 2025-11-27 18:17:04 +02:00
Hemachandar
adc5426ce9 feedback 2025-11-27 20:02:39 +05:30
Hemachandar
c09f7d5cf9 Fix file token expiry 2025-11-27 19:40:09 +05:30
shimon
f216ea5d65 Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/graphql.php
#	app/controllers/api/storage.php
#	app/controllers/api/teams.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/controllers/shared/api/auth.php
#	app/init/resources.php
#	app/realtime.php
#	app/worker.php
#	composer.lock
#	src/Appwrite/Auth/Auth.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php
#	src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php
#	src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php
#	src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Buckets/Files/Action.php
#	src/Appwrite/Utopia/Request.php
#	src/Appwrite/Utopia/Response.php
#	tests/unit/Auth/AuthTest.php
#	tests/unit/Messaging/MessagingChannelsTest.php
2025-11-27 15:50:37 +02:00
shimon
4ad249f918 Revert "Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance""
This reverts commit 8765d5650a.
2025-11-26 12:05:12 +02:00
Jake Barnby
8765d5650a Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance"
This reverts commit 919b01a1b1, reversing
changes made to deb5039352.
2025-11-19 16:21:06 +13:00
Jake Barnby
501cba216b
Update app/init/resources.php 2025-11-05 16:09:20 +13:00
Damodar Lohani
9130a7102e Fix use correct user type 2025-11-05 01:41:15 +00:00
Damodar Lohani
dff7aa6ce0 format 2025-11-04 07:12:42 +00:00
Damodar Lohani
437d914e90 More refactor and fixes 2025-11-04 06:08:35 +00:00
Damodar Lohani
2ae474971d use new session verify 2025-11-04 03:48:57 +00:00
Damodar Lohani
50cd6a737d Update resources 2025-11-03 09:39:52 +00:00
Damodar Lohani
a575c07468 Fix user resource 2025-11-03 09:32:56 +00:00
shimon
d96c7eb3e9 Enhance TransactionState to utilize Authorization class for improved transaction management. Updated method signatures and resource initialization to include authorization, ensuring consistent handling across the application. 2025-11-02 18:58:41 +02:00
shimon
0904881de8 Refactor authorization handling to ensure consistent usage of the Authorization class across various modules, enhancing code maintainability and clarity. Update method signatures to include authorization as a parameter where necessary. 2025-11-02 18:11:56 +02:00
Shimon Newman
dee3d375db
Merge branch '1.8.x' into refactor-auth-single-instance 2025-10-28 10:01:33 +02:00
shimon
d7cc3895cb Update composer.lock to reflect version changes for utopia-php/detector, remove unused registers.php file, and clean up whitespace in cli.php and worker.php. Refactor database resource initialization in resources.php for consistency. 2025-10-27 19:23:55 +02:00
shimon
6ed2000478 Update composer.lock and refactor authorization handling in CLI and worker modules. Adjust Docker configuration to include database source path. Modify error handling in general controller and enhance permission setting in document creation. Fix privileged user role retrieval in function execution. Ensure consistent authorization usage across various resources. 2025-10-27 12:09:23 +02:00
shimon
33f88fa5e0 Refactor authorization handling across multiple modules to use the new getAuthorization() method. Update CHANGES.md to reflect the change in usage worker authorization. Adjust composer.json to specify the correct version for utopia-php/database. Update plugin-api-version in composer.lock. 2025-10-22 16:35:48 +03:00
Jake Barnby
215d55a997
Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export
# Conflicts:
#	composer.json
#	composer.lock
2025-10-22 00:34:01 +13:00
Jake Barnby
ddde13a78f
Revert "Merge pull request #10468 from appwrite/feat-apps-module-dl"
This reverts commit 9dd1939d1f, reversing
changes made to 8dfdfcb522.

# Conflicts:
#	app/config/collections/common.php
#	app/controllers/api/users.php
#	app/init/resources.php
#	composer.lock
2025-10-21 14:59:30 +13:00
Damodar Lohani
248d3aea7a Fix: reset argon 2 options to previous default 2025-10-19 05:44:44 +00:00
Damodar Lohani
7ff664e62b Fix: undefined $user 2025-10-16 07:38:13 +00:00
Damodar Lohani
9849b9d678 Fix empty check 2025-10-16 02:41:53 +00:00
Damodar Lohani
22136867ed add additional check 2025-10-16 02:29:30 +00:00
Damodar Lohani
2df621f9c5 Fix: update comment, typings 2025-10-16 02:23:41 +00:00
Damodar Lohani
9a599e2015 update recommended param for argon2 2025-10-16 02:20:28 +00:00
Damodar Lohani
1b17c32405 update block 2025-10-12 03:51:37 +00:00
Damodar Lohani
d56dff954f Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl 2025-10-12 00:34:07 +00:00
Jake Barnby
01ef058adb
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	tests/e2e/Services/Realtime/RealtimeCustomClientTest.php
2025-10-04 17:03:52 +13:00
Hemachandar
2f1046db2b fix tests 2025-09-22 12:10:55 +05:30
Hemachandar
5fd2dfafb7 remove var_dump 2025-09-18 14:10:56 +05:30
Hemachandar
dedc7a35c9 remove debug output 2025-09-18 12:38:18 +05:30
Hemachandar
21f25b4ce4 Auto-allow sites domain for OAuth 2025-09-16 14:16:02 +05:30
Damodar Lohani
4579e41ace update check 2025-09-15 10:33:21 +00:00
Jake Barnby
981a1278e2
Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export
# Conflicts:
#	composer.lock
2025-09-15 16:30:22 +12:00
Damodar Lohani
2be8895dfd Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl 2025-09-10 03:56:34 +00:00
Jake Barnby
7c3ba74710
Rename 2025-09-08 19:21:59 +12:00
Jake Barnby
812a09f556
Add read-your-write support 2025-09-06 04:26:49 +12:00
loks0n
1b586bbc51 chore: revert scheduler & hook changes 2025-09-03 12:47:33 +01:00
loks0n
5423b63c8a refactor: prevent direct publisher calls 2025-09-03 12:10:34 +01:00
loks0n
48c54bf5e8 chore: make webhooks publisher overridable 2025-09-01 18:06:12 +01:00
Jake Barnby
abf282b2de
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/init/resources.php
#	composer.lock
2025-08-26 04:18:39 +12:00
loks0n
4bc3d89b15 deploy: fix queue health 2025-08-25 16:37:26 +01:00
Darshan
60093bf3a0 fix: publisher consumers for functions. 2025-08-22 10:09:55 +05:30
Jake Barnby
74c0f6a140
Merge remote-tracking branch 'origin/1.8.x' into feat-csv-export
# Conflicts:
#	app/controllers/api/migrations.php
#	composer.lock
2025-08-22 01:41:33 +12:00
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
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
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
Matej Bačo
2b3a8527ff Make functions worker customizable 2025-08-08 17:15:14 +02:00
Jake Barnby
bf1af094c1
Add specific column selection 2025-08-06 00:40:39 +12:00
fogelito
6ead087e91 fix nesting if 2025-07-31 14:26:36 +03:00
fogelito
eddc782c6e formatting 2025-07-29 11:24:41 +03:00
fogelito
19bd04e8c9 Skip empty queries 2025-07-29 11:10:25 +03:00
Jake Barnby
d491a6db2d
Fix consumers 2025-07-27 17:12:33 +12:00
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
loks0n
1d86cc6010 feat: stats-usage on redis 2025-07-24 16:19:13 +01:00
Jake Barnby
b2fa28754d
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.github/workflows/benchmark.yml
#	composer.lock
#	src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Chirag Aggarwal
df9ef1ace9
Merge branch '1.7.x' into feat-exp-scheme 2025-07-04 15:22:44 +05:30
Jake Barnby
5bb998b02d
Add API + CLI stubs 2025-07-03 14:24:40 -04:00
Chirag Aggarwal
e721a9f11c
Merge branch '1.7.x' into feat-exp-scheme 2025-07-03 22:40:46 +05:30
Ariel Weinberger
199b9f7e6d
fix nitpick 2025-07-03 11:06:36 -05:00
Ariel Weinberger
d9486f38c4
fix: jwt auth database selection for admin mode
Use dbForPlatform for JWT user lookup in admin mode
2025-07-03 10:54:51 -05:00
Chirag Aggarwal
2d00052db6 fix: general test 2025-06-30 20:50:29 +05:30
Chirag Aggarwal
843d4d9ea0 chore: use origin validator 2025-06-30 19:29:42 +05:30
Chirag Aggarwal
bfee98ca87 Merge branch '1.7.x' into feat-exp-scheme 2025-06-30 18:38:25 +05:30
Matej Bačo
df82340dae Improve code quality 2025-06-25 14:22:55 +02:00
Chirag Aggarwal
dbc58655b2 Merge branch '1.7.x' into feat-exp-scheme 2025-06-25 07:53:28 +05:30
Matej Bačo
b69ff36ddb Manual QA fixes 2025-06-23 11:57:06 +02:00
Matej Bačo
c1bd493fbe Move refferer to resource; re-use in OPTIONS; re-use in platform check 2025-06-23 11:28:18 +02:00
Christy Jacob
b5c5f76acc Merge branch '1.7.x' of github.com:appwrite/appwrite into feat-apps-module 2025-06-20 17:39:28 +04:00
Darshan
34e4299e10
Merge branch '1.8.x' into database-aliases 2025-06-17 10:13:38 +05:30
Jake Barnby
3729c6b1c2
Cast sequence 2025-06-16 13:24:48 -04:00
Darshan
6f16895e8b Merge branch '1.8.x' into 'database-aliases'. 2025-06-13 10:44:44 +05:30
Jake Barnby
bc7b310c51
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x 2025-06-12 12:20:34 -04:00
loks0n
bc41838c66 chore: remove endpoint selector 2025-06-12 14:22:17 +01:00
Darshan
1ac22c0ae0 Merge branch '1.8.x' into 'database-aliases'. 2025-06-11 12:36:33 +05:30
Jake Barnby
c852cb3ed0
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Workers/Audits.php
2025-06-09 20:08:41 -04:00
Jake Barnby
3158c15111
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/functions.php
#	app/controllers/api/project.php
#	app/controllers/api/proxy.php
#	app/controllers/api/storage.php
#	app/controllers/api/vcs.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/init/database/filters.php
#	composer.json
#	composer.lock
#	src/Appwrite/Migration/Migration.php
#	src/Appwrite/Migration/Version/V15.php
#	src/Appwrite/Migration/Version/V16.php
#	src/Appwrite/Migration/Version/V17.php
#	src/Appwrite/Migration/Version/V18.php
#	src/Appwrite/Migration/Version/V19.php
#	src/Appwrite/Migration/Version/V20.php
#	src/Appwrite/Migration/Version/V21.php
#	src/Appwrite/Platform/Tasks/Migrate.php
#	src/Appwrite/Platform/Workers/Builds.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Platform/Workers/Functions.php
#	src/Appwrite/Platform/Workers/StatsResources.php
#	src/Appwrite/Platform/Workers/StatsUsage.php
2025-05-27 13:36:23 +12:00
Fabian Gruber
4fafb47508 Bring back telemetry for storage.
This reverts commit 6906a97c22.
2025-05-26 17:43:29 +02:00
Jake Barnby
86f7489640
Internal ID -> sequence 2025-05-26 17:42:11 +12:00
Christy Jacob
28d2ed1baa
Revert "Feat sequence" 2025-05-23 21:39:56 +04:00
Jake Barnby
71e3446498
Change internal ID to sequence 2025-05-23 02:55:29 +12:00
Jake Barnby
bd01d12db5
Format 2025-05-23 00:51:31 +12:00
Jake Barnby
d2d9032ede
Fix bucket not included in path 2025-05-23 00:49:26 +12:00
Jake Barnby
3ec0f08db1
Merge remote-tracking branch 'origin/1.6.x' into feat-sync-1.6.x
# Conflicts:
#	composer.lock
#	src/Appwrite/Messaging/Adapter/Realtime.php
#	src/Appwrite/Platform/Workers/Deletes.php
2025-05-21 20:15:08 +12:00
Jake Barnby
4307bb8b33
Fix deprecated method usage 2025-05-19 01:56:25 +12:00
Jake Barnby
dd4ffa41af
Fix header check mismatch 2025-05-19 01:56:08 +12:00
Jake Barnby
6906a97c22
Remove telemetry 2025-05-18 21:18:41 +12:00
Jake Barnby
a4845661b9
Fix merge 2025-05-17 22:50:30 +12:00
Jake Barnby
a96f770e84
Fix merge 2025-05-17 22:43:32 +12:00
Jake Barnby
d577fd1294
Sync 1.6.x 2025-05-17 20:23:46 +12:00