Commit graph

13284 commits

Author SHA1 Message Date
Darshan
04b2fc246e
Merge branch '1.6.x' into add-user-types 2025-01-14 13:19:51 +05:30
Darshan
e9479db0fa add: anonymous user type to audit/activity. 2025-01-14 13:18:11 +05:30
Jake Barnby
3fa78e3c3b
Log path with populated parameters 2025-01-14 14:50:40 +13:00
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
Darshan
993686c4d1 Merge branch '1.6.x' into 'split-collections'. 2025-01-13 18:13:12 +05:30
Eldad A. Fux
2ab6ab8cb2
Merge pull request #9163 from ItzNotABug/add-logs-to-db
Add logs db init for consistency
2025-01-13 13:32:44 +01:00
Jake Barnby
1cd7c397de
Revert "Fix dead connections" 2025-01-13 19:24:58 +13:00
Darshan
17311bac6d
Merge branch '1.6.x' into add-logs-to-db 2025-01-13 11:20:31 +05:30
Darshan
d997b558dc
update: there are no multiple connections for logs.
As confirmed by Damodar, Logs DB is similar to Console DB. so no multiple connections.
2025-01-13 11:20:17 +05:30
Christy Jacob
cde1d6e83e
Merge pull request #9190 from appwrite/fix-dead-connections
Fix dead connections
# Conflicts:
#	composer.lock
2025-01-13 18:03:40 +13:00
Darshan
377627118f address comments: change type names. 2025-01-12 18:27:58 +05:30
Darshan
e237f7c05d address comments: make things less complex. 2025-01-12 16:58:38 +05:30
Darshan
1e62e26ef1 add: userType and keyName to Audits. 2025-01-12 12:42:52 +05:30
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
Darshan
4fe2611ccc add: missing scope to template to prevent a crash on console. 2025-01-11 11:07:10 +05:30
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
Christy Jacob
a7fdfc629c
Merge pull request #9198 from appwrite/feat-project-sms-usage
feat project sms usage
2025-01-10 15:42:00 +05:30
Chirag Aggarwal
642eac098c
Merge branch '1.6.x' into fix-email-otp 2025-01-10 14:40:28 +05:30
Jake Barnby
b88d9c51fb
Revert "Fix dead connections" 2025-01-10 20:19:34 +13:00
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
ee9e4f90c1 chore: specs 2025-01-09 18:57:00 +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
76e1b27cef fix: create dummy resource 2025-01-09 16:41:24 +00:00
loks0n
d068067a98 feat: project sms usage 2025-01-09 16:35:40 +00:00
Luke B. Silver
16b32a1069
Merge branch '1.6.x' into feat-free-sms-limit-authphone 2025-01-08 14:07:40 +00:00
Darshan
2ea3bad502
Merge branch '1.6.x' into add-hostname-to-audits 2025-01-08 19:11:23 +05:30
Matej Bačo
78c6766baf
Merge branch '1.6.x' into fix-installation-oauth-collision 2025-01-08 14:06:45 +01:00
Matej Bačo
4226e92387 Improve DB schema 2025-01-08 13:05:49 +00: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
Jake Barnby
941c9f1905
Add connection health check to http error handler 2025-01-08 21:15:33 +13:00
Bradley Schofield
02ab3c850e
Update SDK Generator versions 2025-01-08 06:40:33 +00:00
Jake Barnby
71b892132b
Mark connections as unhealthy on lost connection error from DB 2025-01-08 18:39:06 +13:00
Jake Barnby
2c04ace022
Add connection for project 2025-01-08 18:38:24 +13:00
Christy Jacob
b64eb2df38
Merge pull request #9146 from appwrite/feat-rollback-specifications
Set base specification CPUs to 0.5 again
2025-01-07 12:34:23 +05:30
shimon
347ba4a127 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into usage-db-read-writes-addition 2025-01-06 19:30:20 +02:00
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
Fabian Gruber
1bc419b6a1 feat(swoole): allow configuration override of available cpus 2025-01-06 13:48:01 +01: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
Christy Jacob
bdb6599087 chore: linter 2025-01-04 12:55:20 +05:30
Christy Jacob
56af9d0991 chore: add todo 2025-01-04 12:51:50 +05:30
Christy Jacob
e1c08e33d4 fix: trigger webhooks events only if a project has webhooks 2025-01-04 12:51:42 +05:30
Darshan
7910d5652d fix: collection creation and tests. 2025-01-03 17:20:27 +05:30
Darshan
b7651e4f5e address comment: add files/buckets to common. 2025-01-03 15:56:36 +05:30
Darshan
31f8950b45 add: hostname to audits. 2025-01-03 15:30:55 +05:30
Darshan
0203b67b28 add: logs init. 2025-01-03 10:54:56 +05:30
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
Darshan
e895fd6e0c address comment, change var and file name. 2025-01-02 19:19:39 +05:30
Christy Jacob
bdb93cd323
Update general.php 2025-01-02 19:03:28 +05:30
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
Darshan
c7b2a90a0c feat: split collections. 2025-01-02 10:18:47 +05:30
Steven Nguyen
a502b1c566
Merge branch '1.6.x' into feat-apns-content-available 2024-12-31 22:56:15 +00:00
Bradley Schofield
d3b764a9e2 Set base specification CPUs to 0.5 again 2024-12-30 15:10:27 +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
loks0n
dd19936fa5 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into chore-release-client-sdks 2024-12-30 11:55:52 +00:00
loks0n
dd0658de19 chore: bump versions 2024-12-30 11:26:11 +00: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
4b033d8f00 add webhooks usage stats 2024-12-24 10:50:09 +02:00
shimon
fe19b0205a add webhooks usage stats 2024-12-23 19:44:10 +02:00
Christy Jacob
25953732ab fix: deletes worker abuse retention type 2024-12-23 01:30:20 +05:30
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
5a9dbe9c80 chore: fix realtime test 2024-12-18 20:06:24 +05:30
Christy Jacob
d0f04126f3 chore: add missing resources to workers 2024-12-18 19:59:49 +05:30
Christy Jacob
599cc5e19a chore: review comments 2024-12-18 15:57:04 +05:30
Luke B. Silver
0e56743dca
Merge branch '1.6.x' into chore-release-client-sdks 2024-12-18 10:10:18 +00:00
Christy Jacob
77a8c27153 chore: fix realtime tests 2024-12-18 13:26:31 +05:30
Christy Jacob
911edd9457 chore: linter 2024-12-18 13:08:17 +05:30
Christy Jacob
abbb2b544e Merge branch 'migrate-to-redis-abuse' of github.com:appwrite/appwrite into migrate-to-redis-abuse 2024-12-18 12:58:12 +05:30
Christy Jacob
f1a089f8c6 feat: fix tests 2024-12-18 12:57:52 +05:30
Christy Jacob
e8a3b87f68
Merge branch '1.6.x' into migrate-to-redis-abuse 2024-12-18 12:46:09 +05:30
Christy Jacob
01393faf0b feat: update abuse library 2024-12-18 11:58:34 +05:30
Damodar Lohani
e24cce4e48 refactor 2024-12-17 14:19:26 +00:00
Damodar Lohani
d7d69b63a8 reset worker 2024-12-17 14:15:27 +00:00
Damodar Lohani
0cdb2a98be fix db name 2024-12-17 14:05:37 +00:00
Damodar Lohani
c7713f58dd remove worker hook 2024-12-17 13:52:58 +00:00
Fabian Gruber
4c7c4d7c7c
Merge branch '1.6.x' into PLA-1958 2024-12-17 11:04:20 +01:00
Christy Jacob
cc867e2859 chore: rename variable 2024-12-17 10:23:09 +05:30
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
801f311faf feat: cleanup 2024-12-17 10:08:16 +05:30
Christy Jacob
67996a8a14 feat: cleanup 2024-12-17 10:00:45 +05:30
Christy Jacob
e8cea70346 feat: cleanup 2024-12-17 10:00:28 +05:30
Damodar Lohani
06c09503df update project rsource 2024-12-17 04:27:28 +00:00
Christy Jacob
ee05f3d3bc feat: migrate to redis abuse 2024-12-17 09:49:31 +05:30
Damodar Lohani
f785602a4d
Merge branch '1.6.x' into fix-project-accessed-at 2024-12-17 10:02:20 +05:45
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
Damodar Lohani
ab4a444154 Fix: project accessed at on workers 2024-12-16 06:40:53 +00:00
Damodar Lohani
515b5904b8 update project accessed at from router 2024-12-16 06:39:25 +00:00
Fabian Gruber
830ad99111 chore: add audit labels to project resources 2024-12-13 14:06:08 +01: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
loks0n
eb2c3cd73f chore: platform bump 2024-12-12 18:55:38 +00:00
Matej Bačo
6a9eeeb370 Add createFunction abuse labels 2024-12-12 19:39:24 +01:00
Christy Jacob
9a693ecfb5
Merge pull request #9055 from appwrite/PLA-1990
fix(realtime): decrement connectionCounter only if connection is known
2024-12-12 18:06:32 +04:00
Christy Jacob
75b42e134a chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
Jake Barnby
bb6da36b36
Update versions 2024-12-11 19:15:10 +13:00
Jake Barnby
478e19f52f
Map push priority enum name 2024-12-11 00:26:01 +13:00
Jake Barnby
636dc8fe9f
Update specs 2024-12-10 23:53:56 +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
15855e2406
Fix message search builder subquery 2024-12-10 22:53:03 +13:00
Jake Barnby
8649032b73
Fix badge param type 2024-12-10 22:52:39 +13:00
Jake Barnby
44d3a4f223
Update specs 2024-12-09 15:42:20 +13:00
Jake Barnby
45f6d9c0b9
Specs 2024-12-05 23:12:06 +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
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
Fabian Gruber
6e4b365992 fix(realtime): decrement connectionCounter only if connection is known 2024-12-02 10:39:38 +01: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
Christy Jacob
7e98493324 feat: use environment variable to check rules format 2024-11-28 14:08:26 +04:00
Damodar Lohani
a4ff1bf3be
Update storage.php 2024-11-28 15:47:09 +05:45
Jake Barnby
856be8ce0f
Merge remote-tracking branch 'origin/1.6.x' into 1.6.x-fix-delete-attribute 2024-11-28 16:14:23 +13:00
Steven Nguyen
c062a8f129
Bump console to version 5.2.27 2024-11-27 16:47:32 +00:00
Steven Nguyen
35005657b9
Merge pull request #9026 from appwrite/feat-1.6.1-release-prep
Prepare 1.6.1 release
2024-11-27 08:44:36 -08:00
fogelito
98864b04e1 fix $options 2024-11-27 18:02:37 +02:00
Christy Jacob
441e56f445
Merge pull request #8932 from appwrite/fix-preview-domains-development
Fix: Preview domains locally
2024-11-27 13:13:33 +01:00
Fabian Gruber
f0b6c729c9 feat: add more tags to sentry 2024-11-26 16:13:55 +01:00
Fabian Gruber
98984a8085 refactor: use single adapter 2024-11-26 13:54:52 +01:00
Fabian Gruber
3a9ba8a6ad feat: move certificate generation to Adapter 2024-11-26 13:54:52 +01:00
Damodar Lohani
3a21ed6333 Merge remote-tracking branch 'origin/1.6.x' into fix-project-accessed-at 2024-11-26 11:51:50 +00:00
Damodar Lohani
580a9f331f fix user update 2024-11-26 08:59:03 +00:00
Christy Jacob
533009c1da
Merge branch '1.6.x' into chore-bump-console-5.2.25 2024-11-25 17:21:52 +01:00
Matej Bačo
9d3bc1f80a Fix swoole task warning 2024-11-25 11:04:04 +01:00
Steven Nguyen
07b3cbaec9
Bump appwrite version to 1.6.1 2024-11-22 22:47:02 +00:00
Steven Nguyen
98d78163a2
Bump console to version 5.2.25 2024-11-22 22:39:24 +00: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
Steven Nguyen
54ec39f513
Merge pull request #9016 from appwrite/feat-safe-workers
Feat: Safe workers
2024-11-22 11:07:18 -08: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
Matej Bačo
2fcfd1d7c9 Add safe workers 2024-11-22 13:57:42 +00:00
Christy Jacob
44a0469d18
Merge branch '1.6.x' into fix-team-invite-session-creation 2024-11-22 09:21:54 +01:00
Jake Barnby
f9e518b2b0
Fix shared tables v2 deletes 2024-11-21 16:49:49 +13:00
Jake Barnby
8410710005
Remove redundant DSN construction 2024-11-21 16:47:12 +13:00
Jake Barnby
018c865d04
Skip all project db calls on project create if shared tables v2 2024-11-21 16:46:36 +13:00
Jake Barnby
415dedc135
Create V2 shared tables databases on server start 2024-11-21 16:46:10 +13:00
loks0n
d257fdb045
chore: remove redundant compression 2024-11-21 14:24:56 +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
908adebf74
Merge pull request #8964 from appwrite/debug-whitelist-console
debug: whitelist console
2024-11-21 14:11:20 +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
15a5f8690d sync: 1.6.x with main 2024-11-20 11:33:38 +01:00
Torsten Dittmann
9901c781b7 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6.x 2024-11-20 11:31:52 +01:00
Damodar Lohani
c33c5732e0 move accessed at to init 2024-11-20 04:29:57 +00:00
Damodar Lohani
2da2b5bb7f reset error hook 2024-11-20 04:25:37 +00: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
Damodar Lohani
e8079cfd29 lint 2024-11-19 06:59:30 +00:00
Damodar Lohani
842e23220a
update project last activity on error hook 2024-11-19 07:51:50 +05:45
Matej Bačo
b2cd20bf29
Merge pull request #8934 from appwrite/fix-bandwidth-calculation
Fix: bandwidth calculation
2024-11-18 11:16:51 +01:00
Jake Barnby
d49b0540fd
Merge pull request #8978 from appwrite/unset-index-length
Unset index length
2024-11-18 17:05:00 +13:00
Torsten Dittmann
8e02115828
ci: console sdk previews (#8990) 2024-11-15 13:27:46 +01:00
Steven Nguyen
3a748fbd35
Merge pull request #8972 from appwrite/fix-remove-duplicate-dart-216-runtime-template
Remove duplicate dart-2.16 runtime template
2024-11-14 12:33:33 -08: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
Jake Barnby
bdb0b188ef
Merge pull request #8971 from appwrite/fix-alter-attributes
Fix Patch attribute
2024-11-14 20:55:59 +13:00