Commit graph

297 commits

Author SHA1 Message Date
loks0n
a44a22ce04 Update utopia-php/span to 1.1.* with pretty exporter and instrument HTTP lifecycle
- Add utopia-php/span 1.1.* direct dependency, bump utopia-php/dns to 1.6.*
- Create shared app/init/span.php for span storage and pretty exporter setup
- Instrument HTTP request lifecycle with spans (method, path, response code)
- Add database.setup and http.server.start spans
- Replace old Console error logs with Span::error() in general controller

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:56:59 +00:00
Chirag Aggarwal
086cf07c9c avoid tasks 2026-02-12 12:57:40 +05:30
Chirag Aggarwal
96ceab1a52 Fix static file loading by initializing Files per worker 2026-02-12 12:33:58 +05:30
Chirag Aggarwal
2d05d608f4 Upgrade utopia-php dependencies and fix namespace changes
- Upgrade utopia-php/cli from 0.15 to 0.22
- Upgrade utopia-php/analytics from 0.10 to 0.15
- Upgrade utopia-php/orchestration from 0.9 to 0.19
- Use dev branches for utopia-php/framework and utopia-php/platform
- Remove utopia-php/swoole dependency (merged into framework)
- Migrate Utopia\CLI\Console to Utopia\Console across all files
- Migrate Utopia\Http to Utopia\Http\Http namespace
- Migrate Utopia\Swoole\Files to Utopia\Http\Files (now instance-based)
- Convert static CLI::setResource() calls to instance-based Dependency API
- Fix StatsResources task named parameter mismatch
2026-02-10 10:34:24 +05:30
Chirag Aggarwal
455004a536 chore: upgrade spomky-labs/otphp to latest 2026-02-06 15:12:37 +05:30
Chirag Aggarwal
1eaf5d5ffa replace app usage with http 2026-02-04 11:22:04 +05:30
Matej Bačo
fea4994ef0 ai review fixes 2026-01-30 21:30:00 +01:00
Matej Bačo
4807dcf529 Array support for all functions domain usecases 2026-01-30 16:48:40 +01:00
Matej Bačo
150c9033cc Support arrays in domains env variables 2026-01-30 16:20:46 +01:00
Jake Barnby
2cfb5ecfd9 Reapply "Merge pull request #11130 from appwrite/feat-auth-instance"
This reverts commit 38687bc24e.
2026-01-15 04:08:00 +13:00
Jake Barnby
38687bc24e Revert "Merge pull request #11130 from appwrite/feat-auth-instance"
This reverts commit c12cad80bb, reversing
changes made to 2a17429226.

# Conflicts:
#	composer.lock
2026-01-15 03:48:42 +13:00
Jake Barnby
5c915ef92f Reapply "Merge pull request #11099 from appwrite/feat-auth-instance"
This reverts commit 321fc8ee70.
2026-01-14 19:07:49 +13:00
Jake Barnby
321fc8ee70 Revert "Merge pull request #11099 from appwrite/feat-auth-instance"
This reverts commit a4734a5de7, reversing
changes made to 15922fb88c.

# Conflicts:
#	composer.lock
2026-01-14 02:37:17 +13:00
Jake Barnby
7573ee75a2 Use authorization instance 2026-01-07 20:04:28 +13:00
Damodar Lohani
2dcb131778 fix collection name 2025-12-14 02:34:33 +00:00
Damodar Lohani
30083598c6 fix audit 2025-12-14 02:33:17 +00:00
Damodar Lohani
9441295510 Feat: Audits upgrade 2025-12-14 01:43:35 +00: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
shimon
5709265f6c linter 2025-11-03 11:02:30 +02:00
shimon
89d5a28c28 Refactor authorization handling to consistently utilize the Authorization class across multiple controllers and functions. Update method signatures to include Authorization as a parameter, ensuring cleaner and more maintainable code. This change enhances the overall structure and readability of the authorization logic. 2025-11-03 10:37:05 +02:00
shimon
a6d1f46133 addressing comments 2025-10-29 10:38:09 +02:00
shimon
8b3b07a710 linter 2025-10-22 16:40:00 +03: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
loks0n
66503a4e80 fix: api worker-stop 2025-09-15 15:15:56 +01: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
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
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
16b2449787
Revert "Merge pull request #9703 from appwrite/revert-9659-feat-pool-adapter"
This reverts commit bf9deb09f5, reversing
changes made to d312fe22ff.

# Conflicts:
#	app/cli.php
#	app/init/registers.php
#	composer.lock
#	src/Appwrite/Messaging/Adapter/Realtime.php
#	src/Appwrite/Platform/Tasks/ScheduleBase.php
#	src/Appwrite/Platform/Tasks/ScheduleExecutions.php
#	src/Appwrite/Platform/Tasks/ScheduleFunctions.php
#	src/Appwrite/Platform/Tasks/ScheduleMessages.php
2025-05-14 18:14:07 +12:00
Matej Bačo
af0c872999 Merge branch '1.6.x' into 1.7.x 2025-05-13 10:11:39 +02:00
Matej Bačo
3b38b6bb57 Migration review fixes 2025-05-12 16:52:13 +02:00
Jake Barnby
a6d23298ac
Use constant 2025-05-06 13:50:38 +12:00
Fabian Gruber
391e045775 feat(dispatch): add contextual dispatch logic 2025-04-24 23:15:00 +02:00
Matej Bačo
725dff7f0f Merge branch '1.7.x' into feat-sites 2025-03-13 11:41:28 +01:00
Matej Bačo
93510d170e Quality fixes 2025-03-10 14:53:44 +01:00
Matej Bačo
a3c176a2bd Finalize PR 2025-02-27 17:46:41 +01:00
Matej Bačo
92daef51f0 Fix screenshot security 2025-02-27 12:44:22 +01:00
Matej Bačo
a56086f8bf Basics of rules rework 2025-02-23 21:34:14 +01:00
Matej Bačo
2917c66202 Remove unnessessary complexity 2025-02-21 20:21:13 +01:00
Matej Bačo
1c6204118f PR code review 2025-02-21 10:09:35 +01:00
Matej Bačo
3ccd49e4a5 Rework screenshots to use api key resource from recent 1.6.x merge 2025-02-20 13:44:22 +01:00
Matej Bačo
2d761b48d8 Merge branch 'feat-sites' into feat-site-screenshots 2025-02-20 13:17:23 +01:00
Jake Barnby
b6166063db
Add back remove shared v2 2025-02-21 00:51:29 +13:00
Matej Bačo
d1978b102f Dark screenshot, upgrade screnshot image, fix redeploy missing domain 2025-02-15 22:27:16 +01:00
Matej Bačo
a6bcc3ce97 Fix bugs 2025-02-15 01:57:41 +01:00
Matej Bačo
b30d9eb8ad Initial screenshot implementation 2025-02-15 01:19:21 +01:00
Damodar Lohani
5685c8ac25 refactor create collection and create logs db 2025-01-27 02:51:01 +00:00
Bradley Schofield
e7b119abae Merge branch '1.6.x' into feat-1.6.x-new-sdk-class 2025-01-20 14:21:26 +09:00
Bradley Schofield
d5604efef8 Fix actions 2025-01-17 13:38:38 +09:00