1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00
Commit graph

895 commits

Author SHA1 Message Date
Christy Jacob 20985c7ee4
Merge pull request #6946 from appwrite/remove-resque
chore: remove resque library and update health check endpoints
2023-10-18 16:59:44 -04:00
Christy Jacob be26e4b729 chore: remove resque library and update health check endpoints 2023-10-18 19:44:06 +00:00
Christy Jacob f822f86517
Merge branch '1.4.x' into refactor-workers-sn 2023-10-18 15:26:45 -04:00
Christy Jacob 67642f9f91 chore: update docker compose config 2023-10-18 01:56:05 +04:00
shimon b42a9e94e2 some fixes 2023-10-17 18:12:24 +03:00
shimon 3d5930c104 some fixes 2023-10-17 16:55:08 +03:00
Matej Bačo 97ea29bba2 Add dart 3.1 support 2023-10-17 10:18:29 +02:00
shimon 9a6d88a819 addressing some comments 2023-10-17 06:44:36 +03:00
Prateek Banga 4ccffb6649 adds graphql tests for topics, subcribers, email 2023-10-17 03:41:42 +05:30
shimon a8f5886474 minor fix 2023-10-16 18:17:02 +03:00
shimon 0e2c1c1f2d small fixes 2023-10-16 16:20:41 +03:00
shimon 0c776e0a44 comparing $workersCount via worker.php vs init php 2023-10-16 11:04:44 +03:00
shimon 94178f8eaf rollback to Usage 2023-10-15 20:41:09 +03:00
Jake Barnby 48bc369149
Hardcode default queue for db worker only 2023-10-12 21:32:33 +13:00
Jake Barnby 8c92170cb6
Add missing workers num 2023-10-12 20:22:26 +13:00
Jake Barnby dc580c3d0d
Change name 2023-10-12 20:15:16 +13:00
Jake Barnby 34e7af806a
Fix typo 2023-10-12 20:10:44 +13:00
Jake Barnby 855fe5b893
Remove redundant postfix 2023-10-12 19:12:26 +13:00
Jake Barnby 6a05d9606e
Remove default number postfix 2023-10-12 18:55:01 +13:00
Jake Barnby 1ac3372239
Set queue name per worker 2023-10-12 17:55:30 +13:00
Jake Barnby 69abd222e8
Simplify 2023-10-12 15:26:01 +13:00
Jake Barnby 7a78f49eb9
Allow multiprocess for db queue 2023-10-12 15:23:16 +13:00
Jake Barnby c0c6197cff
Remove static queue set for database worker 2023-10-12 15:19:42 +13:00
Jake Barnby d7b87d7bae
Add env var for db queues 2023-10-12 15:19:17 +13:00
shimon 893b1d0ba7 Merge branch 'main' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	.gitmodules
	app/controllers/api/functions.php
	app/controllers/api/health.php
	app/init.php
	app/views/install/compose.phtml
	composer.lock
	src/Appwrite/Migration/Migration.php
	src/Appwrite/Platform/Workers/Builds.php
	src/Appwrite/Platform/Workers/Deletes.php
	src/Appwrite/Platform/Workers/Functions.php
	src/Executor/Executor.php
2023-10-11 12:08:13 +03:00
Prateek Banga bb52647366 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mailgun-provider 2023-10-10 19:06:39 +05:30
Prateek Banga d842191cc6 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mailgun-provider 2023-10-06 03:53:16 +05:30
Steven Nguyen 623b2f97da
Ensure openruntimes-executor restarts after a server reboot
Every other service restarts automatically after a server reboot so
the openruntimes-executor should too. Otherwise, function executions
will fail as the executor is unavailable.
2023-10-05 14:25:50 -07:00
shimon 948f36a023 sync with 1.4 2023-10-05 16:15:39 +03:00
shimon 7f1507f810 sync with 1.4 2023-10-04 11:20:32 +03:00
Matej Bačo 0f3ce658c2 Upgrade executor 2023-10-04 09:10:50 +02:00
shimon 2bb4d8fb89 sync with 1.4 2023-10-02 17:02:48 +03:00
Steven Nguyen 43f491c5bf
Bump appwrite-assistant to prevent it from crashing w/o open ai key 2023-09-27 10:46:48 -07:00
shimon c4bd6e008e Merge branch 'master' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	.env
	app/cli.php
	app/config/collections.php
	app/console
	app/controllers/api/account.php
	app/controllers/api/databases.php
	app/controllers/api/functions.php
	app/controllers/api/projects.php
	app/controllers/api/storage.php
	app/controllers/api/teams.php
	app/controllers/api/users.php
	app/controllers/general.php
	app/controllers/shared/api.php
	app/init.php
	app/worker.php
	app/workers/audits.php
	app/workers/builds.php
	app/workers/certificates.php
	app/workers/databases.php
	app/workers/deletes.php
	app/workers/functions.php
	app/workers/mails.php
	bin/worker-usage
	composer.json
	composer.lock
	docker-compose.yml
	src/Appwrite/Event/Delete.php
	src/Appwrite/Event/Mail.php
	src/Appwrite/Platform/Tasks/Maintenance.php
2023-09-27 18:51:17 +03:00
Prateek Banga 234f7f003b updated test cases for msg91 provider, moves worker to use provider from settings 2023-09-27 18:58:00 +05:30
Prateek Banga e2acb608fa fix tests with real sms providers 2023-09-21 22:16:02 +05:30
Christy Jacob 864092d81c
Merge pull request #6272 from appwrite/feat-router-protection
Feat: router protection
2023-09-21 05:13:34 -04:00
Christy Jacob f78b520f12
Merge pull request #6269 from appwrite/feat-https-function-domains
Feat: Function domains force https
2023-09-21 05:11:06 -04:00
Matej Bačo 91e3f37443 Upgrade executor 2023-09-21 10:31:44 +02:00
Prateek Banga a2e34b5b64 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mailgun-provider 2023-09-20 16:59:07 +05:30
Matej Bačo 8926d24a0d One more env var rename 2023-09-19 09:35:32 +02:00
Matej Bačo d87dbad768 PR review changes 2023-09-19 09:31:57 +02:00
Khushboo Verma 6a32bb14d7 Throw error if repo size is larger than allowed limit 2023-09-18 23:39:22 +05:30
Matej Bačo a1049bd2d5 Implement router protection 2023-09-18 13:18:58 +02:00
Matej Bačo 6a7950aa34 Add function domains force https 2023-09-18 12:27:47 +02:00
Christy Jacob 2ea8dbff29 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into feat-bun-support 2023-09-14 15:21:31 +00:00
Matej Bačo 8728171728 Add Bun support 2023-09-13 19:29:58 +02:00
Matej Bačo 8b7147965e Fix git deploys with S3 storage 2023-09-13 14:45:19 +02:00
Steven Nguyen d18788ffde
Add _APP_OPENSSL_KEY_V1 to the compose file
The appwrite-schedules container fetches functions and needs the
openssl key to decrypt function variables. Without this, the variables
may end up being false.
2023-09-08 12:08:18 -07:00
Christy Jacob acffd56ca9 chore: address review comments 2023-09-07 17:15:12 -04:00
Christy Jacob defe0f2e9f fix: enable ci trigger 2023-09-07 02:04:36 -04:00
Christy Jacob 713eb68c8a fix: test failures 2023-09-07 01:18:06 -04:00
Christy Jacob 329889e317 chore: add runtime versions variable 2023-09-06 23:15:15 +00:00
Christy Jacob 8dfd41c31d
Merge pull request #6116 from appwrite/fix-migrations-worker
Fix migrations worker
2023-09-06 13:17:42 -04:00
Christy Jacob db763b180c
Merge pull request #6142 from appwrite/fix-v2-functions
Fix: v2 functions
2023-09-06 12:43:51 -04:00
Matej Bačo 1268427c5f Upgrade OPR versions 2023-09-06 10:26:27 +02:00
Steven Nguyen 970c586c76
Change executor hostname back to appwrite-executor 2023-09-05 16:43:59 -07:00
prateek banga 78a53aee37 adds messaging event and updates messaging worker 2023-09-05 22:40:48 +05:30
Matej Bačo 268bfca928 Fix differences between compose files 2023-09-05 12:28:08 +02:00
Jake Barnby 3f3d518f36
Merge remote-tracking branch 'origin/1.4.x' into feat-git-integration
# Conflicts:
#	docker-compose.yml
2023-08-29 14:40:46 -04:00
prateek banga d1e6f1b535 update assistant version 2023-08-28 15:00:42 +05:30
prateek banga 655f7b7563 updates appwrite assistant docker image version 2023-08-28 14:08:21 +05:30
Khushboo Verma 9fcfca78f8 Remove GitHub signup env variables from docker-compose 2023-08-25 13:17:51 +05:30
Matej Bačo 293e44e91e Introduce SMTP ping timeout 2023-08-24 13:04:49 +02:00
Matej Bačo fce0a9d4ca Re-add env vars 2023-08-24 10:28:30 +02:00
Jake Barnby 55deaec8b2
Fix missing env 2023-08-23 17:53:24 -04:00
Khushboo Verma ff2ec8a93b Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-24 01:09:40 +05:30
Khushboo Verma 46852392b3 Added github console env variables to docker-compose 2023-08-24 01:09:02 +05:30
Jake Barnby 0a5b0fa06b
Fix functions worker crash 2023-08-23 15:08:26 -04:00
Matej Bačo 8802e318d5 Fix pools resource 2023-08-23 13:52:17 +02:00
Matej Bačo d3a9766c4f Sync env & storage setup with 1.4.x 2023-08-23 12:08:48 +02:00
Matej Bačo 4fbb98b705 upgrade executor 2023-08-22 17:20:23 +02:00
Eldad A. Fux 8e46bdf7cb
Merge branch 'feat-git-integration' into feat-usage-rollback 2023-08-21 22:46:09 +03:00
Matej Bačo 7c184498bb Fix GitHub app auth and migrations 2023-08-21 15:16:02 +02:00
Bradley Schofield 9418ba8775
Update docker-compose.yml 2023-08-21 13:43:21 +01:00
shimon e86286e7e3 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-usage-rollback
 Conflicts:
	composer.lock
2023-08-20 18:07:57 +03:00
shimon 8147f3ee7d rolling back usage flow 2023-08-20 15:29:43 +03:00
Matej Bačo 60d24e0072 Downgrade assistant 2023-08-20 11:42:17 +02:00
Matej Bačo 46c7010908 Uprade dependencies 2023-08-20 11:04:42 +02:00
Matej Bačo 20a2d3755e Add vars for Console 2023-08-20 10:10:42 +02:00
Matej Bačo efe3793679 PR review changes, fix node test 2023-08-19 20:26:47 +02:00
Matej Bačo 69cf0161ff Fix more tests 2023-08-19 10:05:49 +02:00
Jake Barnby a848322687
Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration
# 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-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	composer.json
#	composer.lock
2023-08-18 13:23:35 -04:00
Jake Barnby a88f90dd90
Merge remote-tracking branch 'origin/1.4.x' into chore-1.4.x-upgrade
# 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-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	composer.lock
2023-08-17 19:51:36 -04:00
Bradley Schofield 6577fc17a9
Remove ./vendor import and add missing envvars 2023-08-17 15:54:19 +01:00
Matej Bačo 01cb386566 Upgrade assistant 2023-08-13 10:28:34 +02:00
Matej Bačo ec82fec59f Re-enable assistant 2023-08-12 21:08:44 +02:00
Matej Bačo c6684ee7f8 PR review changes 2023-08-11 16:45:36 +02:00
prateek banga 6ef7416fff fixes debugger usage 2023-08-11 15:47:33 +05:30
Matej Bačo 5032fd7d08 Fix AI endpoints 2023-08-11 09:52:08 +02:00
Matej Bačo 899bc38069 Merge branch 'cl-1.4.x' into feat-git-integration 2023-08-10 01:12:09 +02:00
Bradley Schofield d001f14249
Add Service Account Role Assignment 2023-08-09 23:46:23 +01:00
Christy Jacob 7d60e4272d Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into feat-implement-migrations 2023-08-09 13:59:44 +00:00
Matej Bačo 2797c5bd22 Update docker-compose.yml 2023-08-09 15:06:21 +02:00
Matej Bačo 93735ac4a7 Merge remote-tracking branch 'origin/cl-1.4.x' into feat-git-integration 2023-08-09 12:30:45 +02:00
Matej Bačo a60b54f434 Use identities table 2023-08-09 11:52:34 +02:00
Christy Jacob c009a12a25 Merge branch 'cl-1.4.x' of https://github.com/appwrite/appwrite into 1.4.x 2023-08-08 20:51:31 +00:00
Bradley Schofield 31ac9b8367 Update docker-compose.yml 2023-08-08 11:18:29 +01:00
Matej Bačo 11068696c9 QA changes 2023-08-07 17:37:36 +02:00
Bradley Schofield 91c82f0d7d Merge remote-tracking branch 'origin/cl-1.4.x' into feat-implement-migrations 2023-08-07 16:09:28 +01:00
Damodar Lohani 72ebccfd7f update assistant 2023-08-07 07:55:24 +00:00
Matej Bačo 345df3f2ca More QA fixes 2023-08-06 12:30:38 +02:00
Matej Bačo 906f86fbb8 Merge branch 'cloud-1.4.x' into feat-git-integration 2023-08-06 09:31:32 +02:00
Matej Bačo 8a9f3f1b54 Update build to use 1 logs attribute 2023-08-05 16:50:28 +02:00
Steven Nguyen d960f85da6
Merge branch '1.4.x' into cloud-1.4.x 2023-08-04 18:07:33 -07:00
Steven Nguyen aa3c2faed9
Merge tag '1.3.8' into cloud-1.3.x-2 2023-08-04 13:55:07 -07:00
Bradley Schofield 8f5d79e668 Move to new branch 2023-08-04 17:21:41 +01:00
Damodar Lohani 64321cfb0b remove authorization 2023-08-04 13:08:59 +00:00
Damodar Lohani 45afea9175 moved assistant endpoint to console, and add env support 2023-08-04 01:42:22 +00:00
Khushboo Verma 0b6fb471f6 Updated GitHub comment table 2023-08-04 01:04:04 +05:30
Damodar Lohani 2a7ec490af setup appwrite assistant for test 2023-08-03 10:29:36 +00:00
Matej Bačo f13d70d5be Rename env vars 2023-07-28 10:53:07 +02:00
Matej Bačo 930f9d9526 Upgrade executor & console 2023-07-28 00:13:49 +02:00
Matej Bačo 74bafb9379 Fix RAM issues on runtime 2023-07-26 17:09:56 +02:00
Matej Bačo 743c214a66 PR review changes 2023-07-24 15:12:36 +02:00
loks0n 611fbf6b32 feat: X domain console cookie 2023-07-21 11:08:34 +01:00
shimon d1d1392bb3 small adjustments 2023-07-12 11:12:56 +03:00
shimon 89f0146c45 users addition 2023-07-10 11:03:59 +03:00
Damodar Lohani f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
Matej Bačo ceb9f19991 Remove dir link 2023-06-23 11:07:44 +02:00
Matej Bačo 162cb596b1 Remove test worker 2023-06-23 09:05:08 +02:00
Matej Bačo cc06a4bdaa log streaming, locking GH comments, execution headers, locale header, redeploy logic 2023-06-22 12:59:41 +02:00
Matej Bačo a174562c4e vcs.createRepository() 2023-06-18 13:38:37 +02:00
Matej Bačo ec6a817aa4 Code cleanup 2023-06-17 12:15:57 +02:00
Matej Bačo 5237e24739 VCS integration edge cases fix 2023-06-17 12:07:30 +02:00
Matej Bačo 7d79e4146f Add vcs webhook verification 2023-06-15 12:37:28 +02:00
Matej Bačo 039bfbaf06 WIP: Log streaming 2023-06-13 08:26:36 +02:00
shimon 57bc7d0584 functions/builds/deletes worker 2023-06-11 17:08:48 +03:00
Matej Bačo 04f3d81ab8 Fix failing executions 2023-06-07 10:43:17 +02:00
shimon 62c619434e functions/builds/deletes worker 2023-06-05 19:13:00 +03:00
Torsten Dittmann 92cda20448 chore: revert docker compose changes 2023-06-02 15:21:20 +02:00
Torsten Dittmann 21b41c475d chore: prepre 1.3.6 2023-06-02 15:21:05 +02:00
shimon 6e7c160249 changing event signature 2023-06-02 06:54:34 +03:00
shimon f1466c05cf refactor workers 2023-05-29 16:58:45 +03:00
Christy Jacob 7d19fe87f5
Merge pull request #5577 from appwrite/feat-improve-logs
Feat: Improve logs
2023-05-25 00:52:47 +05:30
Matej Bačo 3614cb384a Fix error logging 2023-05-24 21:07:41 +02:00
shimon ab83dfedac downgraded csv writer ver 2023-05-24 21:38:35 +03:00
shimon adca405d74 downgraded csv writer ver 2023-05-24 14:10:32 +03:00
shimon 98dc1db878 re-working worker flow 2023-05-23 16:43:03 +03:00
shimon 432ee72071 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into refactor-workers
 Conflicts:
	app/cli.php
	app/console
	app/controllers/api/account.php
	app/controllers/api/functions.php
	app/controllers/api/teams.php
	app/controllers/shared/api.php
	app/init.php
	app/worker.php
	app/workers/builds.php
	app/workers/certificates.php
	app/workers/deletes.php
	app/workers/functions.php
	app/workers/mails.php
	src/Appwrite/Event/Event.php
	src/Appwrite/Event/Mail.php
2023-05-22 18:41:24 +03:00
Matej Bačo 6e515e3cc4 Copy Khushboo's integration from feat-peach-q1-kh 2023-05-22 12:58:13 +02:00
Matej Bačo 998c2749cb Merge branch 'feat-db-pools-master' into feat-executor-v3 2023-05-11 21:59:49 +02:00
Matej Bačo a8cd99873f Add cache, fix miss-align 2023-04-26 11:10:06 +02:00
Jake Barnby 7fe14ca10b
Merge remote-tracking branch 'origin/master' into sync-master
# 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-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/console
#	app/controllers/api/storage.php
#	composer.lock
2023-04-12 00:50:31 +12:00
Steven Nguyen a86c1c0a2b
Fix yasd so that the debugger works
* Update the base image since the yasd extension wasn't installed correctly
* Fix the path to the yasd_init.php file
* Use `host.docker.internal` as the remote host because that should always work inside docker
* Mount the dev folder into the appwrite container so the yasd_init.php file is picked up.
2023-03-29 18:04:24 -07:00
Matej Bačo 3916e4c0c5 Fix usage with Proxy 2023-03-24 09:26:21 +01:00
Christy Jacob 5f10ff4d3b Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into feat-db-pools-sync 2023-03-24 06:35:30 +00:00
Jake Barnby b6cfe43681
Clean up 2023-03-24 16:46:02 +13:00
Matej Bačo 55d94302db Update docker-compose.yml 2023-03-22 08:45:38 +01:00
Christy Jacob 39388e9b92 feat: use env vars for the hamster time 2023-03-20 12:58:11 +05:30