Commit graph

1473 commits

Author SHA1 Message Date
Jake Barnby
cf8da3495c
Merge branch '1.6.x' into feat-1.6.x-new-sdk-class 2025-01-21 00:50:16 +13:00
Christy Jacob
2533a95b8b chore: add missing case for executions 2025-01-20 15:13:50 +05:30
Christy Jacob
b87c750536 chore: add temporary check to deletes worker to prevent it from throwing an exception 2025-01-20 14:31:22 +05:30
Bradley Schofield
e7b119abae Merge branch '1.6.x' into feat-1.6.x-new-sdk-class 2025-01-20 14:21:26 +09:00
Christy Jacob
dc651f632a fix: maintenance job missing type 2025-01-17 22:55:16 +05:30
Christy Jacob
e4efaf1efa fix: maintenance job missing type 2025-01-17 22:53:31 +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
Bradley Schofield
20e87cb82f Run Linter 2025-01-17 13:39:16 +09:00
Bradley Schofield
95dcb67747 Implement new SDK Class on 1.6.x 2025-01-17 13:31:39 +09:00
Christy Jacob
f52b2d5dcd chore: review comments 2025-01-16 16:59:30 +05:30
Jake Barnby
2b8772fad2
Merge pull request #9060 from appwrite/feat-apns-content-available
Add new push message parameters
2025-01-16 22:21:46 +13:00
Christy Jacob
e8f97baf26 fix: incorrect project payloads 2025-01-16 13:14:47 +05:30
Christy Jacob
8ea1f436c1 feat: linter 2025-01-16 11:37:02 +05:30
Christy Jacob
de6fced412 feat: optimise events payloads 2025-01-16 11:35:22 +05:30
fogelito
bbeb9d4719 Add relatedCollection default 2025-01-15 10:13:30 +02: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
Darshan
377627118f address comments: change type names. 2025-01-12 18:27:58 +05:30
Darshan
f4f0b3f0fe add: userTypeto audit data. 2025-01-12 17:06:27 +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
ChiragAgg5k
ff056fa145 chore: shifted authphone usage tracking to api calls 2025-01-08 17:01:01 +05:30
Jake Barnby
077313fe2d
Update src/Appwrite/Platform/Workers/Databases.php 2025-01-08 15:46:35 +13:00
fogelito
06a5876f35 No throwing Exception 2025-01-02 17:06:22 +02:00
Steven Nguyen
a502b1c566
Merge branch '1.6.x' into feat-apns-content-available 2024-12-31 22:56:15 +00:00
loks0n
769772a0a8 fix: remove abuse delete trigger 2024-12-27 20:30:03 +00:00
loks0n
53860d2b96 chore: remove abuse cleanup 2024-12-27 10:07:53 +00:00
shimon
dae5bf593c add webhooks usage stats 2024-12-24 11:09:41 +02: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
cddace70a4 fix: deletes worker abuse retention type 2024-12-23 01:45:57 +05:30
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
53d8e2b0c3 chore: optimise webhooks payload 2024-12-19 16:43:05 +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
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
2fb9ebe71d update project accessed at in schedules 2024-12-17 14:05:49 +00:00
Christy Jacob
cc867e2859 chore: rename variable 2024-12-17 10:23:09 +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
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
shimon
01019f5055 Usage payload debug 2024-12-12 21:54:59 +02:00
shimon
177fd92094 Usage payload debug 2024-12-12 21:20:55 +02:00
shimon
717b06950e Usage payload debug 2024-12-12 20:20:47 +02:00
shimon
158954df0b Usage payload debug 2024-12-12 18:55:45 +02:00
shimon
c5605ac8be payload bug fix 2024-12-12 17:46:27 +02:00
shimon
dc64fe85e9 payload bug fix 2024-12-12 17:46:04 +02:00
shimon
6a28d4eee6 payload bug fix 2024-12-12 16:55:14 +02:00
shimon
f6157dd2c0 payload bug fix 2024-12-12 16:44:41 +02:00
Christy Jacob
3949ce5f6b
Merge pull request #9096 from appwrite/refactor-db-for-console
chore: replace occurrences of dbForConsole to dbForPlatform
2024-12-12 15:15:19 +04:00
shimon
ed66e8e41b payload bug fix 2024-12-12 12:36:34 +02:00
shimon
6dcd679412 payload bug fix 2024-12-12 12:34:39 +02:00
shimon
b145477114 payload bug fix 2024-12-12 12:30:36 +02:00
Christy Jacob
75b42e134a chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
Jake Barnby
0c3ed7f81b
Merge pull request #9092 from appwrite/migration-throw-error
Migration throw error
2024-12-12 20:01:30 +13:00
fogelito
17b5b3cf4b Remove comments 2024-12-11 17:06:19 +02:00
fogelito
4984abb0dd tests nulls 2024-12-11 16:58:00 +02:00
fogelito
66c5f959c0 Sentry Console::error 2024-12-11 16:34:13 +02:00
fogelito
142782825d Add throwable migration error 2024-12-11 13:31:17 +02:00
fogelito
071f050aaf Add throwable migration error 2024-12-11 12:57:25 +02:00
Jake Barnby
d80731e7db
Allow pushing SDK to new branches 2024-12-11 19:14:10 +13:00
loks0n
13157837ec Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-dont-checkout-git-history 2024-12-10 13:27:54 +00:00
shimon
834c237cd5 handling map size 2024-12-10 15:18:21 +02:00
Jake Barnby
f2b202aa52
Update push message builder 2024-12-10 22:53:40 +13:00
shimon
5ffb81df43 update usage project attr 2024-12-09 17:42:05 +02:00
Jake Barnby
44d3a4f223
Update specs 2024-12-09 15:42:20 +13:00
loks0n
2c87e3f4e5 feat: delete git folder 2024-12-06 13:51:24 +00:00
Jake Barnby
526f54cf06
Update src/Appwrite/Platform/Workers/Messaging.php
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2024-12-05 21:09:52 +13:00
Jake Barnby
98149f56b5
Default empty title and body 2024-12-05 17:20:20 +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
Jake Barnby
3ce63b3d7d
Merge pull request #9038 from appwrite/1.6.x-fix-delete-attribute
Fix delete notFound attribute
2024-12-02 13:49:42 +13: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
fogelito
6be15eee0c try catch not found 2024-11-28 11:59:43 +02:00
fogelito
ca6cd349fb Remove failed attribute 2024-11-27 14:35:58 +02: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
Christy Jacob
33dd4df694 chore: backwards compatibility for 1.6.x 2024-11-22 17:16:51 +00:00
Jake Barnby
f9e518b2b0
Fix shared tables v2 deletes 2024-11-21 16:49:49 +13:00
Christy Jacob
6e6899c1e9
Merge pull request #8988 from appwrite/fix-deletes
Fix project type delete checks
2024-11-21 14:09:02 +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
9901c781b7 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6.x 2024-11-20 11:31:52 +01:00
Torsten Dittmann
8e02115828
ci: console sdk previews (#8990) 2024-11-15 13:27:46 +01:00
Jake Barnby
bdb0b188ef
Merge pull request #8971 from appwrite/fix-alter-attributes
Fix Patch attribute
2024-11-14 20:55:59 +13: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
71f2c6c131 Remove purgeCachedCollection 2024-11-13 14:55:56 +02:00
Bradley Schofield
54db5655a1 Run Linter 2024-11-13 13:42:49 +09:00
Bradley Schofield
91cc0e627a Address Comments 2024-11-13 10:29:43 +09:00
Bradley Schofield
29e7d1f7d0 Address Comments 2024-11-13 09:13:00 +09:00
Bradley Schofield
1337ea77b1 Fix Optionals 2024-11-12 16:18:09 +09:00
Bradley Schofield
a460a41fe5 Run Linter 2024-11-12 11:33:13 +09:00
Bradley Schofield
b62640489d Fire logs for each individual migration error 2024-11-12 11:29:19 +09:00
fogelito
fcf018580c Merge branch '1.6.x' of https://github.com/appwrite/appwrite into database-worker-errors 2024-11-11 18:53:36 +02:00
fogelito
8cca88f2b8 Remove Sentry comment 2024-11-11 18:52:15 +02:00
Bradley Schofield
d9e2ecff54 Remove get document from worker 2024-11-11 16:45:17 +09:00
fogelito
06e3afcf88 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into database-worker-errors 2024-11-10 16:42:34 +02:00
fogelito
e5730506eb Remove var dumps 2024-11-10 16:37:44 +02:00
Christy Jacob
5f29af2c27 feat: use getDocument instead of find() for rules 2024-11-08 22:08:13 +01:00
fogelito
06274764c6 Remove extra lines 2024-11-08 07:12:23 +02:00
fogelito
fb40970eba line 2024-11-07 17:35:03 +02:00
fogelito
cd0d1d94db Add to finally 2024-11-07 17:27:56 +02:00
fogelito
19667f78a9 Add try catch on delete Attribute 2024-11-07 17:23:46 +02:00
fogelito
a6779caa5e Trigger sentry 2024-11-07 14:28:39 +02:00
Fabian Gruber
b410b17ba6 feat: redis-cluster support 2024-11-06 12:27:03 +01:00
Bradley Schofield
40b8af0671 Further cleanup code now findOne returns empty doc 2024-10-31 17:13:23 +09:00
Bradley Schofield
e15ac03c59 Merge branch '1.6.x' into chore-update-databases-findone
# Conflicts:
#	composer.json
#	composer.lock
2024-10-31 16:57:45 +09:00
Bradley Schofield
10b9887c74 Continue work on migration tests 2024-10-31 14:35:54 +09:00
Bradley Schofield
bb72fd8834 Fix source creds being over written and begin implementing migrations tests 2024-10-30 14:23:24 +09:00
Fabian Gruber
fed9cdb408 use resource type constants 2024-10-29 16:10:57 +01:00
Fabian Gruber
3d463c5c81 fix: revert function execution order 2024-10-29 13:52:06 +01:00
Fabian Gruber
4313162b5e fix(blocks): check if resource is blocked inside functions worker 2024-10-25 13:25:54 +02:00
Matej Bačo
408dcbc263 Add async exec doc test 2024-10-14 13:06:08 +00:00
Matej Bačo
16a8fdce4e
Merge branch '1.6.x' into fix-move-write-execution-to-worker 2024-10-13 21:08:13 +02:00
Steven Nguyen
c247f4cc88
Merge pull request #8766 from appwrite/remove-audit-deletes
remove audits deletion
2024-10-11 16:25:26 -07:00
Matej Bačo
8fea73d3bf Fix db issues 2024-10-11 13:32:48 +00:00
Jake Barnby
4fa8f01ce2
Call migration success on success 2024-10-10 21:15:18 +13:00
Khushboo Verma
d1ab8c4df8 Move createDocument from api to worker 2024-10-09 14:04:08 +05:30
shimon
24283dff7f removed audit deletion leftovers in deletes worker 2024-10-09 10:13:49 +03:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines" 2024-10-08 20:54:40 +13:00
Binyamin Yawitz
c34f8afa81
fix: wrong document check 2024-10-07 20:34:27 -04:00
Binyamin Yawitz
c06948b266
fixes: phpstan 2024-10-07 12:57:07 -04:00
Binyamin Yawitz
16835f96bf
chore: merge 2024-10-07 11:02:18 -04:00
Bradley Schofield
4c5b202f8d Merge branch '1.6.x' into chore-update-databases-findone
# Conflicts:
#	composer.json
#	composer.lock
2024-10-07 11:42:43 +09:00
Bradley Schofield
91b78a70ae Remove redundancy 2024-10-07 11:40:01 +09:00
shimon
e06b77cf39 remove audits deletion 2024-10-06 20:25:51 +03:00
shimon
a7c0ef3d09 remove audits deletion 2024-10-06 20:22:25 +03:00
Torsten Dittmann
4f4edc48af Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups 2024-10-02 17:38:50 +02:00
Binyamin Yawitz
6ce8c6a73d
chore: merge 2024-10-01 21:39:40 -04:00
shimon
7e2fde3a0a update validation 2024-10-01 22:53:08 +03:00
shimon
49a0095cd5 Merge branch '1.6.x' of github.com:appwrite/appwrite into messaging-adapter-default-values 2024-10-01 22:19:54 +03:00
shimon
32dbafa353 update validation 2024-10-01 22:00:45 +03:00
shimon
3cb27d7b2c update validation 2024-10-01 21:01:48 +03:00
Christy Jacob
d9946c399b chore: linter and specs 2024-10-01 21:55:01 +04:00
Christy Jacob
4069ae7165 chore: remove db disk storage calculation 2024-10-01 21:45:34 +04:00
shimon
2af4ef705d composer 2024-10-01 19:09:43 +03:00
shimon
1551de729b messaging adapter default values 2024-10-01 18:56:59 +03:00
Binyamin Yawitz
579d3d7f14
chore: lint & updates 2024-10-01 10:39:43 -04:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head 2024-10-01 10:30:47 -04:00
fogelito
51152ae879 Ignore junction tables 2024-09-30 23:07:37 +03:00
Torsten Dittmann
333682c4dc tests: add projects channel assertions 2024-09-30 16:53:25 +02:00
Torsten Dittmann
bb20b3f52c feat(realtime): projects channels 2024-09-30 16:32:50 +02:00
fogelito
6625d4e4a8 Add console error 2024-09-30 11:01:01 +03:00
fogelito
032fec3cae Add id 2024-09-30 10:43:50 +03:00
fogelito
0b6467291b Ignore junction tables 2024-09-27 15:43:21 +03:00
fogelito
d5bf134c92 delete deleteCollection 2024-09-27 13:14:38 +03:00
fogelito
e627cab92e Check deviceForFiles 2024-09-27 11:43:22 +03:00
fogelito
7389c9a5fe Catch Throwable 2024-09-27 10:50:09 +03:00
fogelito
26f0efc34d Ignore junction tables 2024-09-27 10:45:23 +03:00
fogelito
a8bb54a33e var_dump $junctions 2024-09-26 18:24:40 +03:00
fogelito
d642111bfa relatedCollection 2024-09-26 18:13:27 +03:00
fogelito
e000234dbd relatedCollection 2024-09-26 18:11:41 +03:00
fogelito
2b08fb59c3 relations 2024-09-26 16:50:42 +03:00
fogelito
b1cfd1c0ff Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
2024-09-26 10:42:15 +03:00
fogelito
226c3c0372 Remove var_dumps 2024-09-26 10:38:36 +03:00
fogelito
5c7e4393a7 revert 2024-09-26 09:54:26 +03:00
fogelito
17d0053f37 use Authorization skip 2024-09-26 09:45:00 +03:00
fogelito
1cf26b1f46 Dbg $projectCollectionIds 2024-09-25 19:08:24 +03:00
fogelito
0ace58f00b Dbg $projectCollectionIds 2024-09-25 19:04:47 +03:00
fogelito
3228ccb4f9 Dbg $projectCollectionIds 2024-09-25 18:21:47 +03:00
fogelito
868c416202 Dbg $projectCollectionIds 2024-09-25 18:19:41 +03:00
fogelito
7116405793 Dbg $projectCollectionIds 2024-09-25 18:16:57 +03:00
fogelito
a9469e8734 projectId schedules 2024-09-25 16:49:49 +03:00
fogelito
71ffe2bf52 Deletes schedules 2024-09-25 16:39:31 +03:00
fogelito
a42a669d6e equal equal 2024-09-24 22:02:38 +03:00
fogelito
12d119069e equal 2024-09-24 22:02:18 +03:00
fogelito
75d681e6e2 Remove Breadcrumb 2024-09-24 19:01:01 +03:00
Shmuel Fogel
3121cd1c07
Update src/Appwrite/Platform/Workers/Migrations.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-09-24 18:52:38 +03:00
Bradley Schofield
46bef5a61d
Merge branch '1.6.x' into 1.5.x-db-storage-metrics 2024-09-24 18:12:11 +09:00
Bradley Schofield
fb1c0c85b0 Handle missing database 2024-09-24 16:10:52 +09:00
Bradley Schofield
001d13d7e9 Improve Stability, handle cases of deleted collections or databases 2024-09-24 16:08:46 +09:00
Bradley Schofield
585ee4b88e Get tests passing 2024-09-24 15:18:35 +09:00
Bradley Schofield
3a68c77406 Try and get tests working 2024-09-24 14:28:11 +09:00
Bradley Schofield
9db6f4cbee Address Comments 2024-09-24 00:54:27 +09:00
Bradley Schofield
00acc2f73b Address Comments 2024-09-24 00:07:54 +09:00
Bradley Schofield
f9d0f8fc38 Run Linter 2024-09-23 18:16:18 +09:00
Bradley Schofield
a309f31a33 Add tests, move hooks to API Layer 2024-09-23 18:08:48 +09:00
fogelito
6f5b144e70 Add info resourceType 2024-09-22 14:15:01 +03:00
fogelito
8213b37cf4 Add info resourceType 2024-09-22 13:29:42 +03:00
fogelito
0eb0054f38 Add info resourceType 2024-09-22 10:50:13 +03:00
fogelito
4d24c08220 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
# Conflicts:
#	src/Appwrite/Platform/Tasks/ScheduleBase.php
2024-09-22 10:44:06 +03:00
Binyamin Yawitz
5ffca0f6fa
fix: typo in scheduler base 2024-09-20 12:37:45 -04:00
Binyamin Yawitz
5512340cdd
Revert "Feat eldad4 coroutines" 2024-09-20 12:30:05 -04:00
Binyamin Yawitz
d2aaa99076
Revert "Fix typo in scheduler base" 2024-09-20 12:26:17 -04:00
Binyamin Yawitz
0702d7ec9c
chore: merge 2024-09-19 14:25:05 -04:00
Binyamin Yawitz
fe7f39d7a5
fix: reviews 2024-09-19 13:48:15 -04:00
fogelito
2517605cd1 Add this 2024-09-19 18:45:00 +03:00
fogelito
d6d7cf1d9f Pull 1.6.x 2024-09-19 18:27:02 +03:00
fogelito
b519f5e23a Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
# Conflicts:
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/ScheduleBase.php
#	src/Appwrite/Specification/Format/Swagger2.php
2024-09-19 18:19:45 +03:00
Bradley Schofield
82687c8ca4 Merge branch 'main' into 1.5.x-db-storage-metrics
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-latest-console.json
#	app/controllers/api/project.php
#	src/Appwrite/Utopia/Response/Model/UsageProject.php
#	tests/e2e/General/UsageTest.php
2024-09-19 15:37:27 +09:00
Binyamin Yawitz
1581a8c654
chore: merge 2024-09-18 09:28:55 -04:00
Bradley Schofield
e88cfed03a Normalize algorithm being used 2024-09-18 16:30:02 +09:00
Bradley Schofield
be3e3790c9 Update Database lib, update instances where findOne is used to ensure we check document is empty. 2024-09-18 14:47:36 +09:00
Christy Jacob
af126a28ae
Merge pull request #8639 from appwrite/fix-scheduled-executions
Fix: scheduled executions data
2024-09-18 01:40:31 +04:00