Commit graph

5829 commits

Author SHA1 Message Date
Chirag Aggarwal
1d1b83afb6 chore: review 2025-01-17 17:28:03 +00:00
Bradley Schofield
02e7f91e59 Address all missing descriptions apart from ones in projects.php 2025-01-17 16:44:25 +09:00
Christy Jacob
f66f75b808 chore: review comments 2025-01-17 10:43:02 +05:30
Christy Jacob
458b7bb877 Merge branch '1.6.x' of github.com:appwrite/appwrite into chore-optimise-events-payloads 2025-01-17 10:42:16 +05:30
Christy Jacob
a2962b6b95 chore: review comments 2025-01-17 10:42:06 +05:30
Christy Jacob
8bdafb46d6 chore: review comments & refactoring 2025-01-17 10:38:39 +05:30
Bradley Schofield
20e87cb82f Run Linter 2025-01-17 13:39:16 +09:00
Bradley Schofield
d5604efef8 Fix actions 2025-01-17 13:38:38 +09:00
Bradley Schofield
95dcb67747 Implement new SDK Class on 1.6.x 2025-01-17 13:31:39 +09:00
Chirag Aggarwal
c098b62d59
Merge branch '1.6.x' into fix-resend-invitation 2025-01-17 09:28:57 +05:30
Chirag Aggarwal
a1031ab921 fix: update membership 2025-01-17 03:58:23 +00:00
fogelito
8c90973b61 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into index-dependency-exception 2025-01-16 17:34:16 +02:00
fogelito
13687f7fc3 Use 1.6.x 2025-01-16 17:33:51 +02:00
fogelito
0afbfe2f84 INDEX_DEPENDENCY 2025-01-16 17:20:30 +02:00
shimon
1ae7d730ba Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support 2025-01-16 15:04:52 +02:00
Chirag Aggarwal
8dc3b4ca60 fix: tests: 2025-01-16 06:15:41 +00:00
Chirag Aggarwal
23d20b7d02 fix: invited user's name 2025-01-16 04:29:11 +00:00
Chirag Aggarwal
120ceeedad chore: review 2025-01-16 04:27:25 +00:00
Jake Barnby
6e7997a8a8
Merge remote-tracking branch 'origin/1.6.x' into feat-apns-content-available
# Conflicts:
#	composer.lock
2025-01-15 15:01:55 +13:00
Chirag Aggarwal
d43507040c fix: tests 2025-01-14 10:43:48 +00:00
ChiragAgg5k
860c917cf6 fix: increment 2025-01-14 15:48:28 +05:30
ChiragAgg5k
1c7867ee03 fix: not sending mail to appuser 2025-01-14 15:47:05 +05:30
ChiragAgg5k
2571f7d3fc refactor: createdMembership 2025-01-14 15:43:00 +05:30
Chirag Aggarwal
e6cb17a6cc chore: remove TEAM_INVITE_ALREADY_EXISTS 2025-01-13 18:51:23 +00:00
Chirag Aggarwal
b5449a8ca6 fix: resend invitation 2025-01-13 18:25:48 +00:00
Steven Nguyen
f48c843bea
fix(users): ensure user can delete session
The session document created by users.createSession() was missing
delete permissions for the user so when the user tried to delete it,
they got a 401 error.

This PR ensure the permissions are added just like if the document was
created from the Account API so that the user has access to delete the
document.
2025-01-11 17:56:36 +00:00
Christy Jacob
9b404db87f
Merge pull request #9207 from appwrite/fix-abuse-sms
fix sms usage
2025-01-10 23:07:07 +05:30
loks0n
1695e90399 fix: metric 2025-01-10 17:33:08 +00:00
Steven Nguyen
c2124d6803
Merge pull request #9200 from ChiragAgg5k/fix-email-otp
fix: disabling of email-otp when user wants to
2025-01-10 07:23:20 -08:00
Fabian Gruber
26c86d465b
Merge branch '1.6.x' into PLA-1958 2025-01-10 13:18:53 +01:00
Christy Jacob
f153e1bebf
Merge pull request #9138 from appwrite/fix-installation-oauth-collision
Fix: VCS identity collision
2025-01-10 17:08:31 +05:30
ChiragAgg5k
d86984f6cf chore: used config in auth 2025-01-10 08:42:10 +05:30
loks0n
cc7cef59b3 isset over empty 2025-01-09 19:03:25 +00:00
loks0n
9687fdb0a5 Merge branch 'feat-project-sms-usage' of https://github.com/appwrite/appwrite into feat-project-sms-usage 2025-01-09 18:33:08 +00:00
loks0n
7c9c3d9214 feat: sms rates 2025-01-09 18:33:07 +00:00
Luke B. Silver
7847dfe9c0
Merge branch '1.6.x' into feat-project-sms-usage 2025-01-09 17:20:52 +00:00
loks0n
d068067a98 feat: project sms usage 2025-01-09 16:35:40 +00:00
shimon
f4d2583865 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support 2025-01-08 15:54:46 +02:00
Matej Bačo
78c6766baf
Merge branch '1.6.x' into fix-installation-oauth-collision 2025-01-08 14:06:45 +01:00
ChiragAgg5k
2178bb44cd fix: attribute 2025-01-08 17:14:07 +05:30
ChiragAgg5k
1f240ca27a chore: moved non-countrycode tracking outside abuse 2025-01-08 17:09:55 +05:30
ChiragAgg5k
ff056fa145 chore: shifted authphone usage tracking to api calls 2025-01-08 17:01:01 +05:30
shimon
5c097df56a added operations debug header 2025-01-06 19:07:18 +02:00
shimon
c97b48f443 Merge remote-tracking branch 'origin/usage-db-read-writes-addition' into usage-db-read-writes-addition
# Conflicts:
#	app/controllers/api/databases.php
2025-01-06 19:03:32 +02:00
shimon
a481e958e3 added operations debug header 2025-01-06 18:57:35 +02:00
fogelito
40b407027e Count changes 2025-01-06 18:51:39 +02:00
shimon
b910d795f2 Merge remote-tracking branch 'origin/usage-db-read-writes-addition' into usage-db-read-writes-addition 2025-01-06 18:06:29 +02:00
shimon
d64ea97ee6 added operations debug header 2025-01-06 18:06:18 +02:00
fogelito
fc03075ef8 Update counts 2025-01-06 18:01:44 +02:00
shimon
f70222d41a added operations debug header 2025-01-06 17:19:39 +02:00
shimon
1cfcd53ae3 Merge branch 'usage-db-read-writes-addition' of https://github.com/appwrite/appwrite into usage-db-read-writes-addition 2025-01-06 16:50:54 +02:00
shimon
0814fe49e2 added operations debug header 2025-01-06 16:50:23 +02:00
fogelito
895e79e736 Operations 2025-01-06 12:25:56 +02:00
shimon
1a73847c47 added operations debug header 2025-01-06 11:28:26 +02:00
shimon
4acc2736e4 added operations debug header 2025-01-02 16:46:38 +02:00
shimon
c5a49cc537 added operations debug header 2025-01-02 16:45:21 +02:00
shimon
6b45293f78 file transformations usage 2025-01-02 13:55:30 +02:00
shimon
63cf093020 file transformations usage 2025-01-02 13:53:57 +02:00
shimon
504b7276cb composer 2025-01-02 11:02:53 +02:00
shimon
e7e095907c composer 2025-01-02 10:44:56 +02:00
shimon
c0d48efe18 composer 2025-01-02 10:29:55 +02:00
shimon
fbbc9312ea database crud usage addition 2025-01-02 10:09:44 +02:00
shimon
4cc963d296 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into usage-db-read-writes-addition 2025-01-02 10:00:59 +02:00
shimon
c7841bb36e database crud usage addition 2025-01-02 09:59:59 +02:00
shimon
42589de95e database crud usage addition 2025-01-02 09:56:14 +02:00
shimon
0f2985cec1 database crud usage addition 2025-01-02 09:19:09 +02:00
Steven Nguyen
a502b1c566
Merge branch '1.6.x' into feat-apns-content-available 2024-12-31 22:56:15 +00:00
Matej Bačo
98989d77a2
Merge branch '1.6.x' into fix-installation-oauth-collision 2024-12-30 15:06:32 +01:00
Matej Bačo
ba04a7760b Backwards-compatibility 2024-12-30 14:43:28 +01:00
Bradley Schofield
26bac5a2ea Remove firebase OAuth API endpoints 2024-12-30 09:00:52 +00:00
shimon
dd13e8b3cf database crud usage addition 2024-12-29 18:02:19 +02:00
shimon
8e17fc69b3 database crud usage addition 2024-12-29 17:57:29 +02:00
shimon
c23af8168b database crud usage addition 2024-12-29 17:48:05 +02:00
Matej Bačo
fcb517e679 Fix type error 2024-12-27 13:32:22 +01:00
Matej Bačo
297826a62a Fix git identity collisions 2024-12-27 13:13:14 +01:00
shimon
33a8da45bd rollback project usage changes 2024-12-25 12:34:02 +02:00
shimon
3159e5de0c project usage updates 2024-12-24 18:22:17 +02:00
shimon
e4bdbdd9ba Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support
# Conflicts:
#	composer.lock
2024-12-24 18:18:44 +02:00
Christy Jacob
50601bd454 chore: use redis adapter for abuse 2024-12-20 20:14:50 +05:30
Christy Jacob
b97dea7996
Revert "chore: initial commit" 2024-12-19 20:27:54 +05:30
Christy Jacob
599cc5e19a chore: review comments 2024-12-18 15:57:04 +05:30
Christy Jacob
911edd9457 chore: linter 2024-12-18 13:08:17 +05:30
Christy Jacob
f1a089f8c6 feat: fix tests 2024-12-18 12:57:52 +05:30
Christy Jacob
01393faf0b feat: update abuse library 2024-12-18 11:58:34 +05:30
Fabian Gruber
4c7c4d7c7c
Merge branch '1.6.x' into PLA-1958 2024-12-17 11:04:20 +01:00
Christy Jacob
b55a01c5b3 chore: linter 2024-12-17 10:12:19 +05:30
Christy Jacob
ed918e1748 Merge branch '1.6.x' of github.com:appwrite/appwrite into migrate-to-redis-abuse 2024-12-17 10:09:00 +05:30
Christy Jacob
e8cea70346 feat: cleanup 2024-12-17 10:00:28 +05:30
Christy Jacob
ee05f3d3bc feat: migrate to redis abuse 2024-12-17 09:49:31 +05:30
Christy Jacob
396faa56c2 chore: initial commit 2024-12-17 08:21:38 +05:30
loks0n
a24dc79036 chore: fix endpoint 2024-12-16 12:36:02 +00:00
shimon
e154407fc6 Merge remote-tracking branch 'origin/multi-region-support' into multi-region-support 2024-12-14 20:23:32 +02:00
shimon
06b69360f4 sync with 1.6.x 2024-12-14 20:23:07 +02:00
shimon
aa2a45f142 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support
# Conflicts:
#	app/controllers/api/functions.php
#	app/controllers/api/messaging.php
#	docker-compose.yml
2024-12-14 20:18:06 +02:00
Fabian Gruber
830ad99111 chore: add audit labels to project resources 2024-12-13 14:06:08 +01:00
Vincent (Wen Yu) Ge
46038c9fef update PR fix quote 2024-12-12 21:27:04 +00:00
Vincent (Wen Yu) Ge
bb3143128f Merge branch 'main' into docs-create-document 2024-12-12 21:26:23 +00:00
Matej Bačo
905b4938a4 Fix failing test 2024-12-12 20:55:33 +00:00
Matej Bačo
8b3f09a981 Env var for function abuse limit 2024-12-12 21:10:22 +01:00
Matej Bačo
ab7ea056e6 Increase limit 2024-12-12 21:00:04 +01:00
Matej Bačo
04139d6901 Linter fix 2024-12-12 20:52:31 +01:00
Matej Bačo
a18472507b Add createFunction abuse check + fix abuse 2024-12-12 20:45:49 +01:00
Matej Bačo
6a9eeeb370 Add createFunction abuse labels 2024-12-12 19:39:24 +01:00
Christy Jacob
75b42e134a chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
Jake Barnby
9a89cc1332
Remove logs 2024-12-12 19:06:35 +13:00
Jake Barnby
f4637e1b7d
Create audit/abuse for V2 2024-12-12 18:55:25 +13:00
Jake Barnby
6c83eba693
Fix badge default to allow sending clear badge notifications 2024-12-10 23:34:24 +13:00
Jake Barnby
30fed93e2a
Remove variable variable usage 2024-12-10 23:33:49 +13:00
Jake Barnby
8649032b73
Fix badge param type 2024-12-10 22:52:39 +13:00
Jake Barnby
98149f56b5
Default empty title and body 2024-12-05 17:20:20 +13:00
Jake Barnby
f4917f7bc6
Reorder params 2024-12-05 17:04:11 +13:00
Jake Barnby
a461198547
Add critical and priority params 2024-12-04 19:27:55 +13:00
shimon
b04a85491b debug 2024-12-03 17:36:19 +02:00
shimon
d06e41f81e debug 2024-12-03 15:00:45 +02:00
Jake Barnby
fa49244b4b
Fix param type 2024-12-03 22:50:40 +13:00
Jake Barnby
ab900d16d4
Allow apns content available 2024-12-03 17:19:06 +13:00
shimon
1a6f23c3a1 debug 2024-12-02 10:13:10 +02:00
shimon
ba510a5641 debug 2024-12-01 20:07:40 +02:00
shimon
1d49d8284c Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support 2024-11-29 15:02:56 +02:00
Christy Jacob
16b5a8507e
Merge pull request #9037 from appwrite/lohanidamodar-patch-4
Update storage.php
2024-11-28 12:10:41 +01:00
Christy Jacob
4dbf11e236 feat: review comments and linter 2024-11-28 14:33:02 +04:00
Christy Jacob
48d20b2c67 feat: update proxy and certificates files 2024-11-28 14:18:37 +04:00
Damodar Lohani
a4ff1bf3be
Update storage.php 2024-11-28 15:47:09 +05:45
fogelito
98864b04e1 fix $options 2024-11-27 18:02:37 +02:00
shimon
b1e5a5b987 Merge branch 'multi-region-support' of https://github.com/appwrite/appwrite into multi-region-support 2024-11-26 11:11:51 +02:00
shimon
6f8c38dfa0 debug 2024-11-26 09:26:14 +02:00
Jake Barnby
ddb86127b7
Fix lint 2024-11-26 18:29:10 +13:00
shimon
7656ba11ff debug 2024-11-25 12:31:06 +02:00
shimon
7ae7ccbe49 debug 2024-11-25 12:02:00 +02:00
shimon
6d376df00a updates 2024-11-25 09:44:57 +02:00
shimon
aa8af5a213 env var 2024-11-24 23:09:22 +02:00
shimon
f1a3cd13ff env var 2024-11-24 22:52:20 +02:00
shimon
00989fcdde env var 2024-11-24 20:40:06 +02:00
shimon
c677374a11 env var 2024-11-24 19:39:44 +02:00
shimon
3f0a8fbe21 env var 2024-11-24 19:03:46 +02:00
shimon
7d5ae2f1c3 env var 2024-11-24 19:01:24 +02:00
shimon
e91c762953 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support 2024-11-24 10:30:54 +02:00
Steven Nguyen
014c613c93
fix: update secret returned from users.createSession()
1. Include at least 1 factor because the minumum number of factors
   required when mfa is disabled is 1.
2. Purge the cached user document to ensure the new session is included
   in subsequent requests for the user.
3. Fix the encoding of the secret to match other parts of the codebase.
2024-11-22 21:52:27 +00:00
Christy Jacob
ae7cb36240 chore: linter 2024-11-22 17:18:23 +00:00
Christy Jacob
33dd4df694 chore: backwards compatibility for 1.6.x 2024-11-22 17:16:51 +00:00
Christy Jacob
44a0469d18
Merge branch '1.6.x' into fix-team-invite-session-creation 2024-11-22 09:21:54 +01:00
shimon
d802639b0e Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support
# Conflicts:
#	.github/workflows/tests.yml
#	app/controllers/api/projects.php
#	app/init.php
#	composer.lock
#	docker-compose.yml
#	src/Appwrite/Platform/Workers/Deletes.php
2024-11-21 22:11:35 +02:00
shimon
3d333633e4 Merge branch 'debug-whitelist-console' of https://github.com/appwrite/appwrite into multi-region-support 2024-11-21 22:00:17 +02:00
Jake Barnby
018c865d04
Skip all project db calls on project create if shared tables v2 2024-11-21 16:46:36 +13:00
Steven Nguyen
f6e7c12b02
Merge pull request #8922 from appwrite/lohanidamodar-patch-4
Improve compression param checks
2024-11-21 14:17:52 +13:00
Christy Jacob
f490d4edaf
Merge pull request #8797 from appwrite/feat-migration
Feat migration
# Conflicts:
#	composer.lock
2024-11-21 14:08:20 +13:00
Torsten Dittmann
c97a94ec98 chore: run formatter 2024-11-19 17:18:51 +01:00
Torsten Dittmann
5f56c45c6c fix: team invites with existing session 2024-11-19 17:18:51 +01:00
fogelito
abf97e391e formatting 2024-11-14 14:19:33 +02:00
fogelito
d8799e5a9c Remove comment 2024-11-14 14:13:28 +02:00
fogelito
217e471a41 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into unset-index-length 2024-11-14 14:12:03 +02:00
fogelito
72e491ac69 Remove unsetting index length for strings 2024-11-14 14:11:36 +02:00
fogelito
8f845aef53 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-alter-attributes
# Conflicts:
#	src/Appwrite/Platform/Workers/Databases.php
2024-11-13 18:34:57 +02:00
fogelito
68e96e9851 comment 2024-11-13 18:32:20 +02:00
fogelito
71f2c6c131 Remove purgeCachedCollection 2024-11-13 14:55:56 +02:00
loks0n
ca533f40c9 fix: memberships-privacy mfa only 2024-11-13 10:45:50 +01:00
Christy Jacob
900f64bf8d feat: hack for multi region 2024-11-12 18:00:38 +01:00
Jake Barnby
aa2385ffb9
Merge branch 'revert-revert-8946-chore-update-database' into feat-migration
# Conflicts:
#	composer.json
#	composer.lock
2024-11-12 13:36:05 +13:00
Jake Barnby
33037a3ae5
Update database 2024-11-12 13:34:40 +13:00
fogelito
bae6e465fa updateAttributes 2024-11-11 18:46:47 +02:00
Jake Barnby
09da4378c6
Merge remote-tracking branch 'origin/1.6.x' into feat-migration 2024-11-11 23:13:35 +13:00
Jake Barnby
a85b43654c
Reapply "Update database"
This reverts commit b1a1ad618a.
2024-11-11 15:22:57 +13:00
shimon
ad8693c018 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support
# Conflicts:
#	Dockerfile
2024-11-10 19:39:27 +02:00
Christy Jacob
9334002214 Merge branch '1.6.x' of github.com:appwrite/appwrite into update-rules-fetching 2024-11-09 16:35:03 +01:00
Christy Jacob
e04551ab6e feat: adjust more proxy queries 2024-11-09 11:43:52 +01:00
Christy Jacob
6ae9952fa6 chore: linter 2024-11-08 22:18:05 +01:00
Christy Jacob
5f29af2c27 feat: use getDocument instead of find() for rules 2024-11-08 22:08:13 +01:00
Christy Jacob
b1a1ad618a
Revert "Update database" 2024-11-09 01:01:14 +04:00
shimon
a6e9d58f12 Merge branch 'feat-migration' of https://github.com/appwrite/appwrite into multi-region-support
# Conflicts:
#	app/cli.php
#	app/controllers/api/projects.php
2024-11-08 14:12:48 +02:00
Jake Barnby
14532acb37
Update limit errors 2024-11-08 21:43:25 +13:00
Jake Barnby
21bff77c50
Merge remote-tracking branch 'origin/feat-custom-cf-hostnames' into feat-migration
# Conflicts:
#	composer.json
#	composer.lock
2024-11-08 16:32:55 +13:00
loks0n
472f167b4a Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-custom-cf-hostnames 2024-11-07 20:31:41 +01:00
loks0n
33a441421e chore: enabled privacy by default 2024-11-07 18:23:13 +01:00
loks0n
c19d6a6dda chore: description 2024-11-07 15:33:44 +01:00
shimon
f3315c69a0 projects.php 2024-11-07 13:19:52 +02:00
shimon
2cc73151d1 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into multi-region-support
# Conflicts:
#	composer.json
#	composer.lock
2024-11-07 13:02:45 +02:00
loks0n
e7e1a5b11f fix: tests 2024-11-07 11:13:20 +01:00
shimon
36bff12939 project creation fix 2024-11-07 11:56:09 +02:00
loks0n
d4de44429f fix: tests 2024-11-07 10:33:40 +01:00
loks0n
b7397617e6 fix: tests 2024-11-07 10:19:22 +01:00
loks0n
e4c6e97ded feat: memberships privacy 2024-11-06 21:15:31 +01:00
loks0n
a6ae565093 fix: tests 2024-11-06 17:54:02 +01:00
Luke B. Silver
bb174b19b4
Merge branch '1.6.x' into feat-list-memberships-as-client 2024-11-06 16:49:08 +01:00
loks0n
7fd5f8c934 docs 2024-11-06 16:00:27 +01:00
loks0n
12b60e01cf fix: tests 2024-11-06 15:51:15 +01:00
Fabian Gruber
b4c986839e Merge branch '1.6.x' into feat-custom-cf-hostnames 2024-11-06 12:40:56 +01:00
Fabian Gruber
b410b17ba6 feat: redis-cluster support 2024-11-06 12:27:03 +01:00
fogelito
231c181dc8 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into validate-string-permissions 2024-11-06 09:41:44 +02:00
fogelito
46af6dc3f0 Fix permissions 2024-11-06 09:36:27 +02:00
Steven Nguyen
e3e20d2923
Merge pull request #8922 from appwrite/lohanidamodar-patch-4
Improve compression param checks
2024-11-05 17:35:39 -08:00
loks0n
d27a7189c7 fix: stash 2024-11-05 19:46:22 +01:00
loks0n
0e254618f6 fix: tests 2024-11-05 18:37:48 +01:00
loks0n
6fd54d646a fix: tests 2024-11-05 18:05:33 +01:00
loks0n
9d1f366161 fix: console 2024-11-05 17:59:14 +01:00
loks0n
71879236b8 fix: disable test 2024-11-05 17:42:01 +01:00
Luke B. Silver
65fa578c3a
Merge branch '1.6.x' into feat-list-memberships-as-client 2024-11-05 17:07:00 +01:00
loks0n
69e8fdf077 chore: refactor 2024-11-05 17:05:21 +01:00
shimon
c3a8db0ea4 Rollback cross regions connections 2024-11-05 17:14:23 +02:00
shimon
2b3e7f67a4 Rollback cross regions connections 2024-11-05 12:21:16 +02:00
Damodar Lohani
028c5366c2 make compression nullable and assign default in action
- also update the `update bucket` endpoint
2024-11-05 08:12:58 +00:00