Commit graph

307 commits

Author SHA1 Message Date
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
shimon
948f36a023 sync with 1.4 2023-10-05 16:15:39 +03:00
shimon
a643a8c907 sync with 1.4 2023-10-04 13:43:21 +03:00
shimon
e3668a4d06 sync with 1.4 2023-10-03 21:56:36 +03:00
shimon
429dabaaee sync with 1.4 2023-10-03 19:50:48 +03:00
shimon
3b00e396d5 sync with main 2023-10-03 15:15:13 +03:00
shimon
6d60b0bd8c sync with 1.4 2023-10-03 11:40:34 +03:00
shimon
2bb4d8fb89 sync with 1.4 2023-10-02 17:02:48 +03:00
shimon
75d8741eaa sync against master 2023-10-01 21:30:52 +03:00
shimon
b1da87f970 migrations worker 2023-10-01 21:06:25 +03:00
shimon
b02d51c794 migrations worker 2023-10-01 20:39:26 +03:00
shimon
47d27096db deletes & databases workers 2023-10-01 11:04:12 +03:00
shimon
9cf83151cd certificates worker 2023-09-28 20:37:07 +03:00
shimon
a10246a9bd build && audit && usage workers 2023-09-28 13:45:15 +03:00
shimon
dcf0107a79 sync with master 2023-09-27 20:10:21 +03: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
Christy Jacob
79d7bd8379 chore: linter 2023-09-26 00:10:17 +04:00
Christy Jacob
39dc153a22 chore: remove comments 2023-09-26 00:05:01 +04:00
Christy Jacob
d4debddc46 chore: update hamster script 2023-09-26 00:01:42 +04:00
Christy Jacob
d1d523e1dc chore: update hamster script 2023-09-26 00:01:34 +04:00
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
Matej Bačo
6a7950aa34 Add function domains force https 2023-09-18 12:27:47 +02:00
Jake Barnby
9ba609c46e
Merge pull request #6238 from appwrite/1.4.x
1.4.x
2023-09-15 18:49:55 -04:00
Christy Jacob
bede0d43d4 fix: add try catch block in the schedules task 2023-09-15 05:24:00 +00:00
Christy Jacob
50405f838e Merge branch '1.4.x' of https://github.com/appwrite/appwrite into chore-cleanup-dockerfile 2023-09-14 18:07:53 +00:00
Jake Barnby
d4f6b99ee2
Fix mock enum endpoint 2023-09-07 19:25:42 -04:00
Christy Jacob
53b1c87c6e
Merge pull request #6141 from appwrite/fix-overwrite-executor-variable
Fix _APP_EXECUTOR_HOST for upgrades
2023-09-05 19:35:31 -04:00
Steven Nguyen
4c90b6bb1c
Add required params for scheduled functions 2023-09-04 17:02:17 -07:00
Steven Nguyen
3c7c44adda
Fix _APP_EXECUTOR_HOST for upgrades
As of 1.4.0, the hostname of the executor should be executor rather than
appwrite-executor. The problem is our install command always uses the
existing installation's variable values as the default for the upgrade.
This means the _APP_EXECUTOR_HOST will retain it's old value.

This PR Adds an overwrite key to variables.php to allow overwriting the
variable value regardless of whatever was in the previous installation.
2023-09-04 11:06:43 -07:00
Christy Jacob
31a7cca906 chore: add missing env variable 2023-09-01 17:08:51 -04:00
Steven Nguyen
dcc676a0c9
Make install confirmation case insensitive
When a previous installation is found during installation/upgrade, the
user is prompted to confirm whether they want to overwrite it. We
originally only accepted 'Y', but this PR changes it to accept 'y' as
well to reduce friction.
2023-08-31 12:25:42 -07:00
Steven Nguyen
917f2f1d74
Update installation confirmation text
Let the user know a backup will be created.
2023-08-30 12:32:10 -07:00
Steven Nguyen
2f2edd41d5
Update install.php not specify docker-compose.yml file
By not specifying a docker-compose.yml file, docker compose
automatically uses the docker-compose.yml file in the project directory
and a docker-compose.override.yml file if one is present.
2023-08-30 10:17:37 -07:00
Steven Nguyen
7d56c6f37e
Prompt developer to confirm installing over existing install 2023-08-30 09:55:27 -07:00
Steven Nguyen
75f7459c40
Create a dedicated upgrade task
Before, we used the same command for both installation and upgrades.
This lead to problems because developers would try to upgrade in the
wrong folder and end up creating a new installation.

This new upgrade command validates the existence of an existing
installation before proceeding with the upgrade to ensure no new
installation is created when upgrading.
2023-08-30 09:55:18 -07:00
Steven Nguyen
48f0ff86ba
Make the install path a class property
This makes it so the property can be used by subclasses.
2023-08-30 09:50:47 -07:00
Torsten Dittmann
48c5a09b4f fix: string interpolation 2023-08-30 11:21:28 +02:00
Jake Barnby
ece93a14e5
Fix install task 2023-08-28 18:09:37 -04:00
Matej Bačo
8802e318d5 Fix pools resource 2023-08-23 13:52:17 +02:00
Steven Nguyen
f3fbb2fb56
Fix Migration task after it was converted to a Platform task 2023-08-21 15:53:30 -07: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
dedacecb52 Enable coroutines for VCS, upgrade version to 1.4 2023-08-20 10:46:44 +02:00
Matej Bačo
906f86fbb8 Merge branch 'cloud-1.4.x' into feat-git-integration 2023-08-06 09:31:32 +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
Matej Bačo
ac2ca267d7 Address more PR reviews 2023-07-31 08:47:47 +02:00
shimon
1fd7f0c5d7 SSl task 2023-07-18 10:54:11 +03:00
Shimon Newman
1358d6c455
Update src/Appwrite/Platform/Workers/Audits.php
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2023-07-10 11:13:35 +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
shimon
e9f8a33515 users addition 2023-06-20 13:28:26 +03:00
shimon
48bf74b881 users addition 2023-06-20 13:24:26 +03:00
Christy Jacob
702c92fb5d
Merge pull request #5728 from appwrite/fix-hamster-script
fix: missing collection error
2023-06-19 20:26:21 +05:30
shimon
38cf901579 fix 2023-06-19 17:30:21 +03:00
Christy Jacob
b56603958a chore: linter 2023-06-19 13:41:37 +00:00
Christy Jacob
4d7611f569 fix: missing collection error 2023-06-19 13:28:43 +00:00
shimon
9ff6faa2d2 fix 2023-06-19 15:50:48 +03:00
shimon
5e836691e2 fix 2023-06-19 13:55:16 +03:00
shimon
0a92e3dc55 fix 2023-06-19 13:54:04 +03:00
shimon
9179a70992 fix 2023-06-19 13:37:16 +03:00
shimon
e633389707 delete unnecessary project collections task 2023-06-15 15:45:40 +03:00
shimon
428e9e73fe delete unnecessary project collections task 2023-06-15 11:59:43 +03:00
shimon
ce596b2f2b delete unnecessary project collections task 2023-06-15 11:53:19 +03:00
shimon
f5e9094bdc delete unnecessary project collections task 2023-06-15 09:51:11 +03:00
shimon
579a95aecc delete unnecessary project collections task 2023-06-14 19:21:48 +03:00
shimon
3286279d3c delete unnecessary project collections task 2023-06-14 19:01:34 +03:00
shimon
f2705c30a3 delete unnecessary project collections task 2023-06-14 18:59:46 +03:00
shimon
7196114339 delete unnecessary project collections task 2023-06-14 18:58:29 +03:00
shimon
2432210bbb delete unnecessary project collections task 2023-06-14 17:45:18 +03:00
shimon
e225bbe3c9 delete unnecessary project collections task 2023-06-14 17:42:23 +03:00
shimon
57bc7d0584 functions/builds/deletes worker 2023-06-11 17:08:48 +03:00
shimon
fd4f86b1c1 functions/builds/deletes worker 2023-06-11 13:29:04 +03:00
shimon
62c619434e functions/builds/deletes worker 2023-06-05 19:13:00 +03:00
shimon
d820d93ac7 databases worker 2023-06-04 19:25:56 +03:00
shimon
0d2987620c refactor workers 2023-06-04 11:19:49 +03:00
shimon
6e7c160249 changing event signature 2023-06-02 06:54:34 +03:00
shimon
0fd7db3c36 addressing comments 2023-05-30 20:11:25 +03:00
shimon
9ac4a2bfd5 minor fix 2023-05-30 18:46:36 +03:00
shimon
8ce6d38922 minor fix 2023-05-30 18:30:15 +03:00
shimon
da75a2e409 calc tier stats 2023-05-30 18:13:30 +03:00
shimon
1225c8b7c3 calc tier stats 2023-05-30 18:06:51 +03:00
shimon
73f3f0aee6 Messaging 2023-05-30 16:19:44 +03:00
shimon
478e83a4bf Messaging 2023-05-30 11:53:52 +03:00
shimon
06ca9ce815 Messaging 2023-05-29 19:32:33 +03:00
shimon
5a22d17459 Mails 2023-05-29 18:03:09 +03:00
shimon
f1466c05cf refactor workers 2023-05-29 16:58:45 +03:00
shimon
ef35526a69 downgraded csv writer ver 2023-05-24 21:52:08 +03:00
shimon
ab83dfedac downgraded csv writer ver 2023-05-24 21:38:35 +03:00
shimon
d7b32cfc3e downgraded csv writer ver 2023-05-24 21:36:08 +03:00
shimon
77971a4eb5 downgraded csv writer ver 2023-05-24 21:27:06 +03:00
shimon
99b56b3584 downgraded csv writer ver 2023-05-24 12:17:14 +03:00
shimon
3545e0740f downgraded csv writer ver 2023-05-23 21:02:23 +03:00
shimon
5163ce7cc9 calculating users per project task 2023-05-23 19:46:45 +03:00
shimon
e79cb913ed calculating users per project task 2023-05-23 18:58:49 +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
998c2749cb Merge branch 'feat-db-pools-master' into feat-executor-v3 2023-05-11 21:59:49 +02:00
Matej Bačo
56172ac196 Update ClearCardCache.php 2023-05-02 13:35:53 +02:00
Matej Bačo
b9efa52a92 Revert changes 2023-05-02 13:25:38 +02:00
Matej Bačo
ecbc9aecb3 Migrated cache buster to a script 2023-05-02 13:21:08 +02:00
Christy Jacob
d87e198913 feat: upgrade hamster script 2023-04-20 16:00:50 +04:00
Damodar Lohani
41d22fb50b Merge remote-tracking branch 'origin' into feat-db-pools-master-sync-2 2023-03-30 08:02:31 +00: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
Christy Jacob
55e53abcfc
Merge pull request #5268 from appwrite/upgrade-hamster-script
feat: update appwrite image
2023-03-23 15:55:45 +05:30
Christy Jacob
f6ae33aeba feat: update appwrite image 2023-03-23 14:23:49 +04:00
Christy Jacob
ffa683e932
Merge pull request #5267 from appwrite/upgrade-hamster-script
feat: fix hamster script
2023-03-23 13:55:19 +05:30
Christy Jacob
65c6123ccd feat: fix hamster script 2023-03-23 12:22:38 +04:00
Christy Jacob
bafe948578
Merge pull request #5247 from appwrite/feat-db-pools-master-schduler-fix
Fix: scheduler env variables
2023-03-23 01:16:06 +05:30
Matej Bačo
567cb01b99 add reclaim logic 2023-03-22 20:35:04 +01:00
Matej Bačo
cf39092c98 Add patch task for scheduleUpdatedAt 2023-03-22 19:52:43 +01:00
Christy Jacob
9723792a29 feat: add new stats 2023-03-22 20:22:56 +04:00
Christy Jacob
07e3a29b63 feat: add new stats 2023-03-22 20:19:28 +04:00
Christy Jacob
6c15326f8f feat: add new stats 2023-03-22 20:18:23 +04:00
Christy Jacob
deab7caed9 feat: update docker image 2023-03-20 15:57:14 +05:30
Christy Jacob
f951da2f55 feat: update hamster scrpipt 2023-03-20 14:30:24 +05:30
Christy Jacob
39388e9b92 feat: use env vars for the hamster time 2023-03-20 12:58:11 +05:30
Christy Jacob
7e06115686 feat: remove unused csv library 2023-03-20 11:44:43 +05:30
Christy Jacob
a164991c75 feat: linter 2023-03-17 21:44:29 +05:30
Christy Jacob
42ebaf6541 feat: store token in env var 2023-03-17 21:37:29 +05:30
Christy Jacob
ac08640bc4 feat: update hamster script 2023-03-17 11:26:16 +05:30
Matej Bačo
d10c7c7775 Merge branch 'feat-db-pools-master' into feat-executor-v3-sync 2023-03-15 08:59:42 +01:00
Matej Bačo
c01fcb130c Merge branch 'feat-db-pools-master' into feat-db-pools-sync 2023-03-14 12:58:54 +01:00
Matej Baco
ed610fcdd4 Address TODOs 2023-03-14 11:13:03 +00:00
Matej Bačo
59f5978fa3 Implement rules 2023-03-08 19:30:01 +01:00
Christy Jacob
66daa80c07 feat: upgrade hamster script 2023-02-19 22:26:46 +05:30
Damodar Lohani
5acd78463a Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-16 00:44:29 +00:00
Matej Bačo
04e734f8af Console UI update 2023-02-15 15:50:18 +01:00
Matej Bačo
6f8420cff4 Fix sdks and specs commands 2023-02-15 12:55:01 +01:00
shimon
f00cc06daf addressing comments 2023-02-08 18:34:22 +02:00
Christy Jacob
b0d4d9183d feat: clear mail attachments 2023-02-07 20:07:35 +05:30
Christy Jacob
5c1adf1f68 feat: add hamster background task 2023-02-06 19:44:47 +05:30
Christy Jacob
4672b31685 feat: linter 2023-02-06 15:30:21 +05:30
Christy Jacob
38d7401aa9 feat: automate hamster 2023-02-06 15:23:33 +05:30
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
shimon
1ac935077b addressing comments 2023-02-02 20:16:01 +02:00
shimon
abdd5f016a addressing comments 2023-02-02 13:55:23 +02:00
Christy Jacob
45a2268910 feat: add hamster script 2023-01-26 18:25:41 +05:30
Christy Jacob
b1f624bc0d feat: add hamster script 2023-01-26 18:24:32 +05:30
Christy Jacob
304cb16553 feat: add hamster script 2023-01-26 17:28:17 +05:30
Christy Jacob
cdf9745a2a feat: add hamster script 2023-01-26 17:15:29 +05:30
Christy Jacob
73370ca746 feat: add hamster script 2023-01-26 17:13:39 +05:30
Christy Jacob
a15d03f19e Merge branch 'feat-aggregate-stats' of github.com:appwrite/appwrite into feat-aggregate-stats 2023-01-26 16:29:50 +05:30
Christy Jacob
ac2e7efb3c feat: linter fixes 2023-01-26 16:29:24 +05:30
Christy Jacob
f6bef128e4
Update src/Appwrite/Platform/Tasks/Hamster.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2023-01-26 15:36:34 +05:30
Christy Jacob
a3cf72bc15
Update src/Appwrite/Platform/Tasks/Hamster.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2023-01-26 15:36:28 +05:30
Christy Jacob
c97e7ce328 feat: update scripts 2023-01-26 02:26:33 +05:30
Damodar Lohani
f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00:00
shimon
c6b3fb39b1 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats
 Conflicts:
	app/console
	app/workers/builds.php
	docker-compose.yml
	src/Appwrite/Usage/Stats.php
2022-12-21 09:58:22 +02:00
Christy Jacob
7ea8d761e4 feat: aggregate stats 2022-12-21 02:08:37 +05:30