Commit graph

1215 commits

Author SHA1 Message Date
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
Binyamin Yawitz
0ecc61fe9e
refactor: import instead of FQDN 2024-09-05 13:26:26 -04:00
fogelito
6f55068838 Fix getMessage 2024-09-05 19:40:04 +03:00
fogelito
c5b93ce231 Debug info 2024-09-05 19:33:05 +03:00
fogelito
a008c7c67b Debug info 2024-09-05 19:16:15 +03:00
fogelito
626b2390e4 Debug info 2024-09-05 19:06:48 +03:00
fogelito
745968ebd4 Debug info 2024-09-05 19:06:19 +03:00
Matej Bačo
4ae5e82d6f Fix logging behaviour; new tests 2024-09-05 13:23:24 +00:00
Jake Barnby
c58fa78962
Remove tenant in filter 2024-09-05 14:25:11 +12:00
Binyamin Yawitz
feb775d2c4
chore: merge, lint, stan 2024-09-04 14:52:01 -04:00
Jake Barnby
e90b1d219e
Lint 2024-09-04 21:06:59 +12: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
Jake Barnby
6854451565
Fix execution scheduler merge 2024-09-03 15:07:53 +12:00
Jake Barnby
2c2e88f645
Merge remote-tracking branch 'origin/1.6.x' into migrations-backups
# Conflicts:
#	app/init.php
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/ScheduleBase.php
#	src/Appwrite/Specification/Format/Swagger2.php
2024-09-03 14:48:57 +12:00
Jake Barnby
2d03ce598b
Allow overriding request/response types for spec generation 2024-08-28 18:00:44 +12:00
fogelito
d8148c5491 Change TimeLimit namespace 2024-08-25 11:19:25 +03:00
Binyamin Yawitz
5cdb8388a1
chore: versions update 2024-08-23 13:02:54 -04:00
fogelito
c43177093e Merge remote-tracking branch 'origin/migrations-backups' into migrations-backups 2024-08-22 17:31:05 +03:00
fogelito
5f27d75c11 Address comments 2024-08-22 17:30:50 +03:00
Shmuel Fogel
f1da0b2e61
Update src/Appwrite/Platform/Tasks/Maintenance.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2024-08-22 17:21:11 +03:00
Matej Bačo
2a6873b756 Fix test 2024-08-22 10:51:08 +00:00
Matej Bačo
695844faa1 Merge remote-tracking branch 'origin/1.6.x' into feat-separate-function-sizes 2024-08-21 07:17:46 +00:00
fogelito
ff1a679c49 Merge branch 'main' of https://github.com/appwrite/appwrite into migrations-backups-v2
# Conflicts:
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/Maintenance.php
#	src/Appwrite/Platform/Workers/Migrations.php
#	tests/e2e/Services/Databases/DatabasesBase.php
2024-08-20 16:36:54 +03:00
Matej Bačo
35b954c335 Fix empty size, cancelled builds 2024-08-20 11:38:42 +00:00
fogelito
9b20802b4c Only comment 2024-08-20 10:09:02 +03:00
fogelito
42671400bb Remove interface 2024-08-20 10:08:07 +03:00
Bradley Schofield
dc149761d8 Address Jake's Comments 2024-08-20 13:23:11 +09:00
fogelito
04967763e7 Add Iprojects 2024-08-19 18:46:20 +03:00
fogelito
b47fd08f71 Remove interface 2024-08-19 18:26:54 +03:00
fogelito
49b659a9ae Remove interface 2024-08-19 18:01:29 +03:00
Matej Bačo
d87f47ee3c Improve tests 2024-08-19 14:18:57 +00:00
fogelito
aa5ce6200d Appwrite notifyProjects 2024-08-19 16:33:15 +03:00
fogelito
9265ba743e Add implements Projects 2024-08-19 15:19:06 +03:00
fogelito
ccc34b049a notifyProjects 2024-08-19 14:03:49 +03:00
Bradley Schofield
f4bf57efcb Merge remote-tracking branch 'origin/1.6.x' into feat-runtime-controls-1.5.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-1.6.x-client.json
#	app/config/specs/swagger2-1.6.x-console.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
2024-08-19 14:05:56 +09:00
Matej Bačo
d5db9253cd Fix breaking changes in lib 2024-08-16 11:25:01 +00:00
Bradley Schofield
4128d4f221 Merge 1.6.x into feat-runtime-controls 2024-08-16 04:39:21 +00:00
Christy Jacob
22a3508c24
Merge pull request #8217 from appwrite/feat-extract-team-deletion
Feat Sync team deletion
2024-08-15 23:51:36 +04:00
Matej Bačo
d6676c2e4d Fix tests 2024-08-14 16:35:24 +00:00
Matej Bačo
9d8c0d37f6 PR review changes 2024-08-14 16:00:13 +00:00
Bradley Schofield
5285ef9939 Merge remote-tracking branch 'origin/1.6.x' into feat-runtime-controls-1.5.x 2024-08-14 19:36:15 +09:00
Matej Bačo
72e4534025 Merge remote-tracking branch 'origin/1.6.x' into fix-manual-templates 2024-08-14 09:50:46 +00: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
Matej Bačo
380dc8a106 Fix manual templates 2024-08-13 10:50:58 +00:00
Christy Jacob
3da1cc69d7
Merge pull request #8484 from appwrite/fix-missing-build-logs
Fix: missing build logs
2024-08-13 00:38:23 +04:00
Binyamin Yawitz
fbd55eb17e
review: addressing 2024-08-12 16:36:16 -04:00
Binyamin Yawitz
aa27a37064
review: addressing 2024-08-12 16:33:00 -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
5bf9794cb2
chore: pint 2024-08-12 15:00:19 -04:00
Binyamin Yawitz
9b79b14821
fix: github cloning and archiving of functions with space 2024-08-12 14:46:12 -04: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
Christy Jacob
856abeb76b
Merge pull request #8466 from appwrite/feat-adding-email
Feat changing emails
2024-08-12 19:01:33 +04:00
fogelito
ab4ac2e568 Change private to protected 2024-08-12 17:44:05 +03:00
Luke B. Silver
4b5d8b4102
Merge branch '1.6.x' into feat-schedule-execution-improvements 2024-08-12 10:42:52 +01:00
Christy Jacob
70c933f8d8
Merge pull request #8492 from appwrite/feat-dynamic-keys-build
Feat: Dynamic keys in builds
2024-08-12 13:24:30 +04:00
fogelito
919b5ac06d Use document credentials 2024-08-12 11:15:14 +03:00
fogelito
3800ccee1d credentials 2024-08-08 19:46:44 +03:00
Binyamin Yawitz
844ec11bd3
Merge branch 'refs/heads/1.6.x' into feat-extract-team-deletion 2024-08-08 09:58:30 -04:00
Binyamin Yawitz
8e7cc6ed14
fix: Moving migration to be inside coroutine completely 2024-08-08 09:25:56 -04:00
fogelito
d29740f0d7 credentials 2024-08-08 15:43:11 +03:00
Luke B. Silver
f1013a79e8
Merge branch '1.6.x' into feat-schedule-execution-improvements 2024-08-08 13:32:58 +01:00
fogelito
41beb8af9c credentials 2024-08-08 15:14:43 +03:00
Matej Bačo
25f5c83594 Fix 4XX execution status 2024-08-08 08:38:15 +00:00
Matej Bačo
5b184236c1 Dynamic keys in builds 2024-08-08 09:38:37 +02:00
Bradley Schofield
078b159942
Update src/Appwrite/Platform/Workers/Builds.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-08-08 11:28:03 +09: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
loks0n
f1b40c69cd Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-build-size-limits 2024-08-07 17:31:51 +01:00
Matej Bačo
870cbbb019 Add commments 2024-08-07 15:13:24 +00:00
fogelito
f12a578efe Update on failed 2024-08-07 16:58:00 +03:00
fogelito
0ac5e2aa76 error no params 2024-08-07 16:33:54 +03:00
fogelito
7593537f3d Add error hook 2024-08-07 16:02:24 +03:00
Matej Bačo
8e3fbfc00d Fix missing build logs 2024-08-07 10:53:40 +02:00
Binyamin Yawitz
fc95877177
chore: stan 2024-08-06 15:20:45 -04:00
Binyamin Yawitz
7a1e3ce4d9
chore: merge 2024-08-06 15:05:24 -04: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
Bradley Schofield
9da682ec48 Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-08-06 18:57:55 +09:00
Bradley Schofield
e51f912ab1 Address Jake's comments and add 0.5 cpu spec 2024-08-06 18:54:46 +09:00
fogelito
0bb34e0d01 Add resourceType 2024-08-06 12:46:13 +03:00
Christy Jacob
ad9586e7c7
Merge pull request #8434 from appwrite/fix-redeployments
Fix: function redeployments
2024-08-05 17:38:44 +04:00
Christy Jacob
085efb02c5
Merge pull request #8445 from appwrite/fix-template-tags
Fix: template tags
2024-08-05 17:04:12 +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
Bradley Schofield
275ecc9f83 Fix specifications and make builds memory minimum 1024 2024-08-02 16:45:22 +09:00
Bradley Schofield
dcbf8356c0 Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-08-01 19:23:56 +09:00
Christy Jacob
654b73c966 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into feat-schedule-execution-improvements 2024-07-31 20:41:42 +00:00
Bradley Schofield
2060d3f09c Rename everything to use specification instead of size 2024-07-31 20:27:32 +09:00
shimon
00fc34a2a4 get project db key by region 2024-07-31 13:23:51 +03:00
shimon
29e169fe95 Merge branch '1.5.x' of github.com:appwrite/appwrite into migration-clean-cache 2024-07-30 22:29:35 +03:00
Bradley Schofield
f46e210000 Move mbSeconds into 1.5.x 2024-07-30 17:53:28 +09:00
Matej Bačo
cb9e5bd0ae Upgrade VCS and support 0.1.x tags 2024-07-29 19:28:15 +02:00
Binyamin Yawitz
b884059ecd
refactor: Making sure database names remains the same as previous versions 2024-07-29 12:29:21 -04:00
fogelito
4f87d72bcd Migrations errors 2024-07-28 14:44:37 +03:00
fogelito
ebb8d4a23b getTraceAsString 2024-07-28 11:58:36 +03:00
fogelito
1a97848d9c getTraceAsString 2024-07-28 11:58:04 +03:00
fogelito
5620f360c8 dbg error 2024-07-28 09:52:47 +03:00
fogelito
854f243fb1 dbg error 2024-07-28 09:51:22 +03:00
fogelito
a98ff71188 processDestination constructor 2024-07-28 09:29:02 +03:00
fogelito
965cf9aac6 processDestination params 2024-07-28 09:27:18 +03:00
fogelito
1ff717ecef Change to getResourceName 2024-07-25 14:34:19 +03:00
Matej Bačo
75db8946a6 Fix function redeployments 2024-07-25 08:36:11 +00:00
Matej Bačo
0666ce2aad
Merge branch '1.6.x' into fix-router-dynamic-keys 2024-07-24 09:15:13 +02:00
Bradley Schofield
cb0baee4ad
Merge branch '1.5.x' into feat-runtime-controls-1.5.x 2024-07-24 12:00:17 +09:00
Matej Bačo
cb3c7505fe Fix Router dynamic keys 2024-07-23 14:28:13 +02:00
Bradley Schofield
f0c1a62aa2 Remove CPU/Memory from document, add envs, add tests 2024-07-22 18:12:43 +09:00
shimon
2ef358e8dc linter 2024-07-21 09:27:12 +03:00
shimon
088ef769a5 Merge branch '1.5.x' of github.com:appwrite/appwrite into migration-clean-cache 2024-07-21 09:23:33 +03:00
Binyamin Yawitz
916f58cd9d
fixes: Logger and Abuse timelimit 2024-07-19 14:19:30 -04: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
Bradley Schofield
70be40468a Run Linter 2024-07-18 16:26:12 +09:00
Bradley Schofield
f39d654725 Implement Trickle Down calculations 2024-07-18 13:58:02 +09: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
17c708a056
fix: Setting path for vsc function deployments 2024-07-17 13:44:07 -04:00
Bradley Schofield
fe0ea40dc0 Update UsageDump.php 2024-07-17 17:40:28 +09:00
Bradley Schofield
a57cc0a18e Address Christy's comments 2024-07-16 20:00:00 +09:00
Bradley Schofield
372ad6ce43 Update mbSeconds calculation to use cpu cores 2024-07-16 19:12:40 +09:00
Bradley Schofield
29541617de Start implementing database metrics in usage dump worker 2024-07-16 13:14:55 +09:00
Binyamin Yawitz
55d4cd2aa5
refactor: response models to static 2024-07-15 10:34:59 -04:00
fogelito
865d84f4e7 ResourceId default value 2024-07-15 17:28:40 +03:00
fogelito
d9da0dd671 Add resourceId to migration collections.php 2024-07-15 17:22:36 +03:00
loks0n
67fa2c9e39 feat: max build size 2024-07-15 10:53:29 +01: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
Khushboo Verma
e6686bd3dd Add APPWRITE_REGION in env var 2024-07-15 12:40:11 +05:30
Bradley Schofield
8ef309a4aa Run Linter 2024-07-15 11:59:02 +09:00
Bradley Schofield
fce118ff34 Move GBHours to 1.5.x 2024-07-12 19:02:32 +09:00
Bradley Schofield
824a70f936 Move Runtime Controls PR to 1.5.x 2024-07-12 18:25:57 +09:00