Commit graph

453 commits

Author SHA1 Message Date
Binyamin Yawitz
cedf3cf28d
chore: format 2024-09-03 19:32:30 -04:00
Binyamin Yawitz
7d6eac4ddb
Merge branch '1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/cli.php
#	app/controllers/api/account.php
#	app/controllers/api/functions.php
#	app/controllers/api/projects.php
#	app/controllers/general.php
#	app/controllers/shared/api.php
#	app/http.php
#	app/init.php
#	app/realtime.php
#	app/worker.php
#	composer.json
#	composer.lock
#	src/Appwrite/Migration/Migration.php
#	src/Appwrite/Platform/Tasks/Migrate.php
#	src/Appwrite/Platform/Tasks/ScheduleExecutions.php
#	src/Appwrite/Platform/Workers/Builds.php
#	src/Appwrite/Platform/Workers/Deletes.php
#	src/Appwrite/Specification/Format/Swagger2.php
#	src/Appwrite/Utopia/Response.php
2024-09-03 19:06:48 -04:00
Christy Jacob
bfa253297b Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main 2024-08-13 15:36:13 +00:00
Steven Nguyen
a52626e5d3
fix(upgrade): fix migration stuck at "Starting Data Migration [...]"
The iterator was in the loop so it was always reset to null and the
same data set to be scanned.

For cases where this happened, the iterator was not empty, but the keys
returned from the scan was empty. According to [redis](https://redis.io/docs/latest/commands/scan/#number-of-elements-returned-at-every-scan-call),
this is expected behavior.

> SCAN family functions do not guarantee that the number of elements returned per call are in a given range. The commands are also allowed to return zero elements, and the client should not consider the iteration complete as long as the returned cursor is not zero.

As such, we must make sure we're using the new iterator returned to
continue scanning the keys.
2024-08-12 19:34:23 +00:00
Christy Jacob
ad43e1c419
Merge pull request #8412 from appwrite/feat-schedule-execution-improvements
feat: schedule execution improvements
2024-08-12 19:59:56 +04:00
Binyamin Yawitz
8e7cc6ed14
fix: Moving migration to be inside coroutine completely 2024-08-08 09:25:56 -04:00
loks0n
e2ed0b2693 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-schedule-execution-improvements 2024-08-07 17:43:07 +01:00
Binyamin Yawitz
9ed43ebbc2
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/controllers/api/functions.php
#	app/controllers/general.php
#	app/init.php
#	composer.lock
#	dev/xdebug.ini
#	src/Appwrite/Utopia/Response.php
2024-08-06 14:57:05 -04:00
Binyamin Yawitz
73ecec099d
feat: adding team email and changing base to noreplay 2024-08-02 08:59:47 -04:00
Matej Bačo
bb1371c1fa Update sdks to 1.6.x 2024-08-02 14:36:29 +02:00
shimon
00fc34a2a4 get project db key by region 2024-07-31 13:23:51 +03:00
Binyamin Yawitz
b884059ecd
refactor: Making sure database names remains the same as previous versions 2024-07-29 12:29:21 -04:00
shimon
2ef358e8dc linter 2024-07-21 09:27:12 +03:00
loks0n
5a56131efa chore: binyamin review 2024-07-19 10:22:50 +01:00
Binyamin Yawitz
850c17dde1
tests: Ensure stability 2024-07-18 11:51:09 -04:00
loks0n
f02bf6ac5a feat: use coroutines delay system 2024-07-18 13:03:24 +01:00
Binyamin Yawitz
b245aab9d8
fix: Adjusting to coroutine 2024-07-17 15:59:25 -04:00
Binyamin Yawitz
19119b573d
chore: Merge and lint 2024-07-17 15:06:06 -04:00
Binyamin Yawitz
927dbc7e11
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
# Conflicts:
#	app/console
#	app/controllers/api/account.php
#	app/controllers/api/functions.php
#	app/controllers/api/projects.php
#	app/controllers/api/users.php
#	app/controllers/api/vcs.php
#	app/controllers/general.php
#	app/controllers/mock.php
#	app/controllers/shared/api.php
#	app/init.php
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/Doctor.php
#	src/Appwrite/Platform/Tasks/ScheduleMessages.php
#	src/Appwrite/Platform/Workers/Builds.php
#	src/Appwrite/Utopia/Response.php
2024-07-17 14:31:13 -04:00
Binyamin Yawitz
55d4cd2aa5
refactor: response models to static 2024-07-15 10:34:59 -04:00
shimon
ada1746466 clean migration project cache 2024-07-15 12:20:01 +03:00
shimon
278fdf5823 clean migration project cache 2024-07-15 12:17:10 +03:00
Binyamin Yawitz
664c3ad466
chore: Cleanup 2024-07-04 15:04:20 -04:00
Binyamin Yawitz
a3682b72e1
Merge remote-tracking branch 'refs/remotes/origin/main' into feat-eldad4-coroutines
# Conflicts:
#	app/cli.php
#	app/console
#	app/controllers/api/projects.php
#	app/controllers/general.php
#	app/init.php
#	app/realtime.php
#	app/worker.php
#	composer.json
#	composer.lock
2024-07-03 17:03:24 -04:00
Binyamin Yawitz
92668fda0d
feat: Moving to coroutine dedicated http server 2024-07-03 16:24:04 -04:00
Torsten Dittmann
5a5609dc0a feat: 1.6.x sdks 2024-07-03 17:25:40 +02:00
Binyamin Yawitz
c5650ba5f0
fix: Ensuring new logger syntax 2024-07-03 09:29:35 -04:00
loks0n
fef22825fb chore: delete schedule if not active 2024-07-01 14:35:37 +01:00
loks0n
bb3ee81065 chore: rename metadata to data 2024-06-28 22:42:55 +01:00
loks0n
303ce498be feat: allow custom path method body 2024-06-26 12:30:23 +01:00
loks0n
878f6c86df chore: matej review p1 2024-06-26 11:01:43 +01:00
Luke B. Silver
dab0a17082
Merge branch '1.6.x' into feat-scheduled-executions 2024-06-25 17:21:44 +01:00
Binyamin Yawitz
aa4bc1c776
feat: Adapting Migrate to DI 2024-06-24 13:31:01 -04:00
Binyamin Yawitz
4ea291705a
feat: Adapting specs to DI 2024-06-24 13:30:51 -04:00
Christy Jacob
a2f27ec15f Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-main 2024-06-21 13:11:35 +00:00
Steven Nguyen
72f8b2001f
fix: Disable validation for project DBs during migration
Skip the validation so that queries that typically fail can pass. This
is fine because the validation is failing on internal attributes such
as an $id for cache key with * and $id for attributes that are too long
because we prefix the $id with the internal database and collection id.
2024-06-20 23:00:49 +00:00
Binyamin Yawitz
6c26e2eb51
Merge branch 'refs/heads/main' into feat-eldad4-coroutines
# Conflicts:
#	app/cli.php
#	composer.json
#	composer.lock
2024-06-20 17:23:15 -04:00
Christy Jacob
fdf44c7bab Merge branch 'main' of https://github.com/appwrite/appwrite into sync-with-main 2024-06-20 15:26:17 +00:00
loks0n
5f144f91ad chore: matej review 2024-06-17 14:12:02 +01:00
loks0n
83ffc41d92 chore: fmt 2024-06-17 13:46:18 +01:00
loks0n
2f0f7bf9c7 fix: test 2024-06-17 13:44:12 +01:00
loks0n
a83d125f54 chore: adjust timers 2024-06-13 13:34:10 +01:00
loks0n
1e9ced2878 test: scheduled status 2024-06-11 13:57:03 +01:00
loks0n
7e8f72d267 feat: implement scheduledAt in schedule 2024-06-11 13:39:38 +01:00
Matej Bačo
b8b81a9bd1 WIP: Schedulded executions 2024-06-07 19:05:29 +00:00
Binyamin Yawitz
321f621132
test: Functions tests 2024-06-07 12:13:12 -04:00
Binyamin Yawitz
d0a55e266c
lint: Linting 2024-06-06 20:54:51 -04:00
Binyamin Yawitz
ba629e94ef
feat: Adjusting Doctor to new pools 2024-06-06 20:52:30 -04:00
ItzNotABug
a34ec72048 fix: delete expired targets per project. 2024-06-06 12:01:32 +05:30
Binyamin Yawitz
6b0892a495
refactor: Adjusting to merge and some code cleanups 2024-06-05 20:41:23 -04:00