Commit graph

7420 commits

Author SHA1 Message Date
Chirag Aggarwal
b1685a5ca1 chore: update users auth group to sessions 2025-04-12 13:38:00 +00:00
Chirag Aggarwal
c3656fd4e7 Merge branch '1.6.x' into feat-group 2025-04-12 06:50:20 +00:00
Chirag Aggarwal
b3c9e6181f chore: update groups 2025-04-12 06:50:02 +00:00
Chirag Aggarwal
04733e25c8 chore: make group nullable and remove it from endpoints where its not required 2025-04-12 06:41:57 +00:00
Steven Nguyen
b431eb4a51
fix(functions): treat 0 as unlimited for CPUs and memory
Prior versions of Appwrite treated 0 as unlimited for
_APP_FUNCTIONS_CPUS and _APP_FUNCTIONS_MEMORY. As such, this PR updates
the specification validator and the list specifications endpoint to also
treat the default 0 value as unlimited, allowing any specification.
2025-04-11 12:13:06 -07:00
Shimon Newman
c4a506445d
Revert "Revert "Multi region support"" 2025-04-11 17:52:19 +03:00
Christy Jacob
ffe153630d
Revert "Multi region support" 2025-04-10 22:19:23 +05:30
shimon
fb802c7fe4 addressing comments 2025-04-10 18:35:45 +03:00
shimon
ff89da513f addressing comments 2025-04-10 17:20:05 +03:00
Jake Barnby
cfab30b43f
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	app/init/resources.php
2025-04-09 16:31:52 +12:00
shimon
fed98ffdfe Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support
# Conflicts:
#	docker-compose.yml
2025-04-07 13:06:54 +03:00
Fabian Gruber
0ae70f8321 feat: inject executor instead of creating a new instance 2025-04-07 09:53:38 +02:00
Damodar Lohani
57bc76edc7
Merge branch '1.6.x' into feat-usage-dump-multi-tenant-batch 2025-04-07 09:21:32 +05:45
Darshan
7297188c1b update: roles check. 2025-04-05 19:42:20 +05:30
Darshan
2a672f5a63 fix: don't allow the only owner in an org to change their role to anything else. 2025-04-05 19:20:24 +05:30
Darshan
01e2eb5025
Merge branch '1.6.x' into change-sample-rate 2025-04-04 13:44:28 +05:30
shimon
0dc319d244 Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support 2025-04-03 11:30:14 +03:00
Damodar Lohani
1660c0b00c Fix: image transformation cache 2025-04-03 02:44:29 +00:00
Chirag Aggarwal
2c434924de chore: update openapi specs 2025-03-31 09:32:47 +00:00
Chirag Aggarwal
abcaf6cd73 feat: sdk group attribute 2025-03-31 05:48:17 +00:00
Damodar Lohani
d5ad714f5a fix missing queue name 2025-03-30 06:09:03 +00:00
Damodar Lohani
100189c0fb Merge remote-tracking branch 'origin/feat-usage-dump-multi-tenant-batch' into fix-merge-stats-usage-and-dump 2025-03-30 05:55:28 +00:00
Damodar Lohani
d36a09eec6 remove database storage triggers 2025-03-30 05:54:48 +00:00
Jake Barnby
ec2f3b69cc
API scope pool use 2025-03-28 16:50:13 +13:00
Jake Barnby
10c6315589
Add doc comments 2025-03-27 23:00:28 +13:00
Jake Barnby
6608023b9f
Regen specs 2025-03-27 21:30:10 +13:00
Damodar Lohani
cfb1f4fcdb fix: remove stats usage dump 2025-03-27 08:29:12 +00:00
Jake Barnby
04c3182f7c
Use parameter class instead of inline array 2025-03-27 21:03:56 +13:00
Jake Barnby
5aca1fcfa9
Fix content type usage 2025-03-27 21:03:28 +13:00
Jake Barnby
ee9efe530d
Add max batch size resource for plan override 2025-03-27 18:28:55 +13:00
Jake Barnby
985476ac50
Bulk operations for server/console only 2025-03-27 18:16:25 +13:00
Jake Barnby
7e6799d6dd
Block bulk operations on collections with relationships 2025-03-27 18:13:10 +13:00
Jake Barnby
2e12ae4390
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# Conflicts:
#	composer.lock
2025-03-27 18:11:03 +13:00
Chirag Aggarwal
7b8f25696c chore: added showSensitve wrapper instead of param 2025-03-26 14:37:35 +00:00
shimon
35cd2b5295 adding custom domain validation against _APP_CUSTOM_DOMAIN_DENY_LIST 2025-03-26 09:39:53 +02:00
shimon
989fa2b8a0 adding custom domain validation against _APP_CUSTOM_DOMAIN_DENY_LIST 2025-03-26 09:25:49 +02:00
shimon
cb2d0dc592 adding custom domain validation against _APP_CUSTOM_DOMAIN_DENY_LIST 2025-03-26 09:07:38 +02:00
shimon
a9d1f6668f adding custom domain validation against _APP_CUSTOM_DOMAIN_DENY_LIST 2025-03-26 09:05:36 +02:00
shimon
8447732614 adding region query to deleteProjectsByTeam 2025-03-25 21:11:41 +02:00
shimon
dedcdc2e0e adding region query to deleteProjectsByTeam 2025-03-25 19:13:11 +02:00
shimon
16aca35bd4 debug 2025-03-24 20:33:51 +02:00
Chirag Aggarwal
e93010c5fe chore: add showSensitive attribute 2025-03-24 14:26:56 +00:00
Chirag Aggarwal
d677b8ed88 fix: webhook tests 2025-03-24 14:06:36 +00:00
Chirag Aggarwal
3399308ee3 Merge branch '1.6.x' into chore-sensitive-check 2025-03-24 12:28:54 +00:00
shimon
9f3d15bd1c Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support 2025-03-23 19:58:34 +02:00
Darshan
7c2ab4fcf6 update: change sample rate for 4xx via env. 2025-03-22 13:47:09 +05:30
Chirag Aggarwal
d661195a5f chore: only update total count for prviledged users 2025-03-21 15:59:30 +00:00
shimon
69bdf50c85 debug 2025-03-20 18:27:23 +02:00
shimon
ea02639767 debug 2025-03-20 18:15:51 +02:00
shimon
bd19da2e7a debug 2025-03-20 17:12:59 +02:00
shimon
6c0ce5cc41 debug 2025-03-20 15:05:48 +02:00
shimon
403e5773a2 cleanup 2025-03-20 14:26:11 +02:00
shimon
438d5185a9 Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support 2025-03-19 19:47:44 +02:00
shimon
d3cabcd5ac composer 2025-03-19 11:15:25 +02:00
shimon
84133ef631 Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support
# Conflicts:
#	composer.lock
2025-03-19 11:13:58 +02:00
shimon
b318c2cc08 Merge branch '1.6.x' of github.com:appwrite/appwrite into updates-projects-regions 2025-03-18 21:54:55 +02:00
shimon
e9841e53b9 revert 2025-03-18 21:40:46 +02:00
shimon
fca2e95fdd debug 2025-03-18 19:29:40 +02:00
shimon
5683c310db debug 2025-03-18 18:36:46 +02:00
Chirag Aggarwal
aab8bca91e fix: logic 2025-03-18 14:20:25 +00:00
Chirag Aggarwal
70e27748be chore: set min operations to 1 for reads and writes 2025-03-18 12:52:41 +00:00
shimon
60912cb084 _app_region 2025-03-17 18:14:58 +02:00
shimon
7149deeacb _app_region 2025-03-17 18:11:49 +02:00
shimon
59f613f9bb _app_region 2025-03-17 17:33:48 +02:00
shimon
8184bc8c78 _app_region 2025-03-17 17:31:24 +02:00
shimon
6eff011100 Merge branch '1.6.x' of github.com:appwrite/appwrite into updates-projects-regions
# Conflicts:
#	app/views/install/compose.phtml
2025-03-17 13:29:22 +02:00
Jake Barnby
bc866dc717
Sync with 1.6.x 2025-03-17 21:10:30 +13:00
Jake Barnby
94f9d0140b
Merge branch '1.6.x' into feat-bulk-operations
# Conflicts:
#	app/config/specs/open-api3-1.6.x-client.json
#	app/config/specs/open-api3-1.6.x-console.json
#	app/config/specs/open-api3-1.6.x-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-1.6.x-server.json
#	app/init.php
#	composer.json
#	composer.lock
2025-03-17 20:44:08 +13:00
Eldad Fux
de96b2511a Merge remote-tracking branch 'origin/1.6.x' into feat-dynamic-regions 2025-03-16 16:31:09 +01:00
shimon
ab790f6c02 debug 2025-03-16 15:24:29 +02:00
shimon
ff618a0565 debug 2025-03-16 14:42:22 +02:00
shimon
e019e426f1 debug 2025-03-16 13:47:54 +02:00
shimon
adacec4ad1 Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support
# Conflicts:
#	app/init.php
#	composer.lock
2025-03-16 10:55:24 +02:00
Matej Bačo
5f2512dc4f code quality improvement 2025-03-14 12:07:38 +01:00
Matej Bačo
f6fc425c98 Add rule attributes 2025-03-14 09:37:44 +01:00
shimon
a60d916c51 debug 2025-03-11 19:18:05 +02:00
shimon
d522b1a04c debug 2025-03-11 18:56:24 +02:00
shimon
6a05bd4e0d Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support
# Conflicts:
#	app/init.php
2025-03-11 18:19:44 +02:00
shimon
d6e53d8e2e Merge branch '1.6.x' of github.com:appwrite/appwrite into updates-projects-regions 2025-03-11 11:17:18 +02:00
Steven Nguyen
59a8172e96
fix: prevent "Failed to initialize logging provider" errors
If the _APP_EXPERIMENT_LOGGING_CONFIG env var isn't set, every 4XX error
outputs this warning:

Failed to initialize logging provider: Unable to parse DSN: scheme is
required

To reduce this unnecessary clutter when _APP_EXPERIMENT_LOGGING_CONFIG
isn't set, this PR adds a check to only attempt to initialize the
logging provider if the env var is set.
2025-03-07 12:59:11 -08:00
shimon
584e4c0d75 Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support 2025-03-06 12:03:10 +02:00
Chirag Aggarwal
0ce4555f70 chore: added auth group to create phone token 2025-03-05 17:42:43 +00:00
shimon
3bc81c82ec Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support
# Conflicts:
#	src/Appwrite/Platform/Workers/Usage.php
2025-03-05 17:29:57 +02:00
Jake Barnby
2f43a3566d
Remove bulk update permissions param 2025-03-05 16:42:09 +13:00
Jake Barnby
8c1a1604a8
Merge pull request #9387 from appwrite/pla-2526
chore: make min/max params optional for attribute update
2025-03-05 16:13:59 +13:00
Jake Barnby
99377e26ee
Reset fixes 2025-03-05 15:09:06 +13:00
Jake Barnby
d809ab1ff3
Merge branch 'feat-bulk-operations' of github.com:appwrite/appwrite into feat-bulk-operations
# Conflicts:
#	app/controllers/api/databases.php
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
2025-03-05 12:47:47 +13:00
Jake Barnby
a5c4fe0a2d
Merge remote-tracking branch 'origin/1.6.x' into feat-bulk-operations
# 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
#	app/controllers/shared/api.php
#	composer.json
#	composer.lock
#	docs/references/databases/create-document.md
2025-03-05 12:44:39 +13:00
shimon
19ad2088a0 update region 2025-03-04 10:08:07 +02:00
Chirag Aggarwal
239bebfe2e Merge branch '1.6.x' into add-file-transformation-endpoints 2025-03-04 07:34:43 +00:00
shimon
b314ae8208 disable transformedAt update for console users 2025-03-03 15:19:49 +02:00
Chirag Aggarwal
88c8d2aa4c
Merge branch '1.6.x' into pla-1883 2025-03-03 13:37:05 +05:30
Chirag Aggarwal
9849e7b232 Merge branch '1.6.x' into add-file-transformation-endpoints 2025-03-01 19:41:25 +00:00
Chirag Aggarwal
6900b717da chore: updated to use logsdb 2025-03-01 17:45:20 +00:00
Chirag Aggarwal
712c33064a chore: fix sending of transformation stats 2025-03-01 17:18:44 +00:00
Chirag Aggarwal
e9d8d13fbd chore: added imageTransformations to project usage 2025-02-28 08:28:21 +00:00
Chirag Aggarwal
f31acd214e chore: remove plan blocking 2025-02-27 09:52:27 +00:00
shimon
5ed1ca617f cleanup 2025-02-27 11:02:27 +02:00
shimon
368b61493f Merge branch '1.6.x' of github.com:appwrite/appwrite into multi-region-support
# Conflicts:
#	composer.lock
2025-02-27 10:29:06 +02:00
Chirag Aggarwal
388affa3d0 chore: updated naming for subscribers 2025-02-27 07:23:13 +00:00
Chirag Aggarwal
c79ed286b1 chore: update tests 2025-02-26 17:35:06 +00:00
Chirag Aggarwal
7687784515 chore: added fallback to old values in update 2025-02-26 16:41:26 +00:00
shimon
458df23797 debug cert 2025-02-26 17:41:44 +02:00
shimon
369caae87d debug cert 2025-02-26 17:40:06 +02:00
Chirag Aggarwal
ae78e793dd chore: added blocking to file preview endpoint 2025-02-26 08:52:06 +00:00
Eldad Fux
ce5a04a37d Merge remote-tracking branch 'origin/1.6.x' into feat-dynamic-regions 2025-02-26 07:52:40 +01:00
Christy Jacob
718e44adce
Merge branch '1.6.x' into track-options-requests 2025-02-26 10:40:10 +05:30
Jake Barnby
6e82bfe8e7
Update date 2025-02-26 14:00:16 +13:00
Jake Barnby
3a2babc906
Update date 2025-02-25 21:34:46 +13:00
Eldad Fux
697c30f559 Init 2025-02-25 09:31:24 +01:00
Jake Barnby
03f0e382f4
Fix dates 2025-02-25 21:03:37 +13:00
Jake Barnby
b272a8b1e7
Pass queries 2025-02-25 20:26:00 +13:00
Chirag Aggarwal
676431c355 chore: shifted to logsDb 2025-02-25 07:16:42 +00:00
Jake Barnby
2924f408b3
Reapply "Remove blocks"
This reverts commit f49346485a.
2025-02-25 19:21:35 +13:00
Jake Barnby
b0547015a9
Add temp log date skip 2025-02-25 18:51:11 +13:00
Jake Barnby
f49346485a
Revert "Remove blocks"
This reverts commit 6f854b5eb6.
2025-02-25 18:39:12 +13:00
Jake Barnby
6f854b5eb6
Remove blocks 2025-02-25 18:18:25 +13:00
Chirag Aggarwal
7ac4a5bf27 chore: update naming 2025-02-25 04:43:44 +00:00
shimon
6bd14d548f composer 2025-02-23 20:58:02 +02:00
shimon
06d22f910c disable logs display 2025-02-23 20:51:38 +02:00
Christy Jacob
30327f86fd feat: enable assistant 2025-02-23 11:39:18 +05:30
Christy Jacob
12b494982b feat: compute usage for OPTIONS and 4XX errors 2025-02-23 11:37:54 +05:30
Christy Jacob
65dd5fe9b3 feat: compute usage for OPTIONS and 4XX errors 2025-02-23 11:34:28 +05:30
Chirag Aggarwal
b1629b24ad chore: added file transformation stats to usage endpoint for bucket 2025-02-21 11:44:04 +00:00
Chirag Aggarwal
d6c2dfb915 chore: updated name 2025-02-21 03:27:46 +00:00
Chirag Aggarwal
9d9e44a14f chore: remove redundant check 2025-02-20 17:36:42 +00:00
Chirag Aggarwal
397a6a34ed chore: fix null errors on team invite 2025-02-20 17:30:26 +00:00
Chirag Aggarwal
6235a1c729 chore: make min/max params optional for attribute update 2025-02-20 10:33:58 +00:00
shimon
e972ccedd6 debug 2025-02-20 10:26:39 +02:00
shimon
e4369e5e85 debug 2025-02-20 09:48:17 +02:00
shimon
45b2d58aa5 debug 2025-02-19 23:28:09 +02:00
shimon
be1c12147f debug 2025-02-19 22:59:04 +02:00
shimon
4157e89ab7 debug 2025-02-19 22:33:13 +02:00
shimon
c151d2aaca debug 2025-02-19 18:18:39 +02:00
shimon
baa40e4007 debug 2025-02-19 18:15:26 +02:00
shimon
197e32f128 debug 2025-02-19 13:52:14 +02:00
shimon
39e5c5e734 debug 2025-02-19 10:11:47 +02:00
Chirag Aggarwal
b99d2c3c8c
Merge branch '1.6.x' into pla-1883 2025-02-18 16:31:41 +05:30
Christy Jacob
d59d6f70a5
Merge pull request #9303 from appwrite/pla-2428
Add support endpoint url for S3
2025-02-18 16:28:44 +05:30
Christy Jacob
27d2cc9f00
Merge pull request #9348 from ChiragAgg5k/pla-2470
Fix resend team invite if already accepted
2025-02-18 15:10:11 +05:30
Chirag Aggarwal
a74c6e0b10 chore: added targets to realtime, refactor webhook queues 2025-02-18 07:58:56 +00:00
Jake Barnby
3e02b830ac
Fix inject 2025-02-18 18:17:52 +13:00
Chirag Aggarwal
6ef4e76aa6 Merge branch '1.6.x' into pla-1883 2025-02-17 18:54:41 +00:00
Jake Barnby
d6b9be8799
Merge remote-tracking branch 'origin/feat-key-segmented-usage' into feat-key-segmented-usage 2025-02-18 02:10:37 +13:00
Jake Barnby
0d79ae33ba
Lint 2025-02-18 02:10:05 +13:00
Matej Bačo
685c141a59
Merge branch '1.6.x' into feat-key-segmented-usage 2025-02-17 14:06:40 +01:00
Jake Barnby
07a6d60b01
Remove leftover 2025-02-18 02:02:29 +13:00
Jake Barnby
77e83d5cfb
Remove unused injections 2025-02-18 01:49:51 +13:00
Jake Barnby
fe251c443f
Remove leftover 2025-02-18 01:32:48 +13:00
shimon
a8a8df602f sync against 1.6.x 2025-02-17 10:30:53 +02:00