Christy Jacob
75b42e134a
chore: replace occurrences of dbForConsole to dbForPlatform
2024-12-12 14:30:26 +04:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines"
2024-10-08 20:54:40 +13:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head
2024-10-01 10:30:47 -04:00
Binyamin Yawitz
5512340cdd
Revert "Feat eldad4 coroutines"
2024-09-20 12:30:05 -04:00
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
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
Binyamin Yawitz
8e7cc6ed14
fix: Moving migration to be inside coroutine completely
2024-08-08 09:25:56 -04:00
shimon
00fc34a2a4
get project db key by region
2024-07-31 13:23:51 +03:00
shimon
2ef358e8dc
linter
2024-07-21 09:27:12 +03: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
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
aa4bc1c776
feat: Adapting Migrate to DI
2024-06-24 13:31:01 -04: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
321f621132
test: Functions tests
2024-06-07 12:13:12 -04:00
Matej Bačo
db1674811f
Finish fixing code QL warnings
2024-03-08 13:57:20 +01:00
Matej Bačo
005a239932
Auth fixes
2024-03-07 18:24:01 +01:00
Matej Bačo
efeb898be1
Import fixes
2024-03-07 15:29:42 +01:00
Torsten Dittmann
0a1d572c72
chore: run formatter
2024-03-06 18:34:21 +01:00
prateek banga
b2381798ab
migrates enum attribute size to 255
2023-11-20 22:01:20 +05:30
Steven Nguyen
f3fbb2fb56
Fix Migration task after it was converted to a Platform task
2023-08-21 15:53:30 -07:00
Steven Nguyen
aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2
2023-08-04 13:55:07 -07:00
Christy Jacob
080abbbb79
Merge branch 'master' of github.com:appwrite/appwrite into feat-add-console
2022-11-17 20:26:10 +05:30
Damodar Lohani
0570e26a48
revert back callback changes
2022-11-14 10:36:21 +00:00
Damodar Lohani
d15af1ae17
update callback code
2022-11-14 10:24:16 +00:00
Damodar Lohani
ae0b9e78aa
refactor namespace and naming
2022-11-14 10:01:41 +00:00