Commit graph

1345 commits

Author SHA1 Message Date
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
Steven Nguyen
a26f08a32b
fix(messaging): ensure metric includes provider name 2024-09-17 12:20:30 -07:00
Steven Nguyen
9c088f974a
fix(messaging): use count of delivery errors for metrics
`$deliveryErrors` is an array so we need to get a count before using it
in metrics.
2024-09-17 11:57:22 -07:00
shimon
4654c09edc fix 2024-09-17 14:13:09 +03:00
shimon
4cbbd19cf9 linter 2024-09-17 12:33:06 +03:00
shimon
25f82895c5 adding external messages usage 2024-09-17 12:20:55 +03:00
shimon
0791b68149 adding external messages usage 2024-09-17 11:45:07 +03:00
Binyamin Yawitz
de95bf677e
fix: removing unneeded coroutine 2024-09-16 15:05:20 -04:00
Binyamin Yawitz
e246005c51
chore: merge 2024-09-16 11:17:40 -04:00
Matej Bačo
c4991b9941 Merge remote-tracking branch 'origin/1.6.x' into fix-scheduled-executions 2024-09-14 10:28:30 +00:00
Christy Jacob
a00c771be0
Merge pull request #8643 from appwrite/chore-prettyprint-specs
Chores: Prettyprint specs
2024-09-10 14:52:43 +04:00
Matej Bačo
d25ac4998a Merge remote-tracking branch 'origin/1.6.x' into chore-prettyprint-specs 2024-09-10 10:50:26 +00:00
Christy Jacob
ca9af0510a
Merge pull request #8627 from appwrite/fix-functions-logging
Fix: logging behaviour for Functions
2024-09-10 14:49:06 +04:00
Christy Jacob
876bb6e2c8
Merge pull request #8631 from appwrite/feat-vcs-env-vars
Feat: VCS vars to deployments & executions
2024-09-10 14:48:22 +04:00
Matej Bačo
8a2083feb5 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-scheduled-executions 2024-09-10 10:38:01 +00:00
Christy Jacob
d82572acbe
Merge pull request #8640 from appwrite/fix-vcs-deployment-size
Fix: vcs deployment size
2024-09-10 14:37:59 +04:00
Christy Jacob
e744a7e022
Merge pull request #8641 from appwrite/fix-scheduler-across-projects
Fix: cross-project scheduler stability
2024-09-10 14:23:26 +04:00
Binyamin Yawitz
3ca7672726
chore: merge 2024-09-09 17:59:38 +02:00
Christy Jacob
c7dd8574e4
Merge pull request #8648 from appwrite/phone_auth_metric_rename
Phone auth metric rename
2024-09-09 17:42:11 +04:00
shimon
de8e82926a sms messages rename 2024-09-09 14:54:32 +02:00
Binyamin Yawitz
ef1380bf61
chore: merge 2024-09-09 14:52:47 +02:00
Jake Barnby
af7bd705f4
Update console SDK version 2024-09-09 19:17:47 +12:00
Matej Bačo
8160e39154 Prettyprint specs 2024-09-08 07:24:17 +00:00
Matej Bačo
3aa2bd6aa3 Use schedule ID as unique memory cache key 2024-09-07 17:31:17 +00:00
Matej Bačo
da4c4184bc Fix vcs deployment size 2024-09-07 17:08:09 +00:00
Matej Bačo
b3ada0b017
Update src/Appwrite/Platform/Tasks/ScheduleExecutions.php 2024-09-07 19:02:38 +02:00
Matej Bačo
b1769ed5ca Fix scheduled executions data 2024-09-07 12:20:23 +02:00
Binyamin Yawitz
b390485dd9
fix: coroutine access in schedulers 2024-09-06 15:52:20 -04:00
Matej Bačo
ff1d64a36a Add VCS vars to deployments & executions 2024-09-06 10:50:29 +00:00