Commit graph

267 commits

Author SHA1 Message Date
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
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
62c619434e functions/builds/deletes worker 2023-06-05 19:13:00 +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
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
Bradley Schofield
c0daed3644 Refactor names and cleanup code 2022-12-20 16:11:30 +00:00
Bradley Schofield
e577c04fae Update Maintenance.php 2022-12-20 12:49:33 +00:00
Bradley Schofield
169386d0b3 Merge branch 'refactor-sceduler-certificates' into refactor-schedulers-workers 2022-12-20 11:20:52 +00:00
Bradley Schofield
a09e23d0b9 Start work on porting webhooks 2022-12-20 11:07:49 +00:00
Matej Bačo
3d07600a48 PR review changes 2022-12-14 10:44:46 +01:00
Matej Bačo
41a6a6dbf7 Add patch CLI task 2022-12-14 09:51:28 +01:00
Bradley Schofield
02271c5329 Remove debug force true 2022-12-13 15:54:37 +00:00
Bradley Schofield
21afa43127 Port Certificates to new Queue system 2022-12-13 11:16:12 +00:00
shimon
2f34c566e5 addressing comments 2022-12-12 11:37:10 +02:00
shimon
0348472345 usage cleanup 2022-12-11 19:15:38 +02:00
shimon
d3bc4da15c Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats 2022-12-04 10:35:56 +02:00
Christy Jacob
f239296059 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools 2022-11-23 19:05:19 +00:00
Eldad Fux
95e835a902 Deprecated Usage stats 2022-11-23 19:08:42 +02:00
Christy Jacob
dd8a64b3a3 feat: update branch 2022-11-22 14:10:41 +00:00
Damodar Lohani
14ea8b2197 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-usage-refactor-fo-db-pools 2022-11-21 14:12:22 +00:00
Christy Jacob
373e230ab0 fix: issues with usage 2022-11-18 00:28:57 +05:30
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
3439978253 formatting 2022-11-17 00:39:33 +00:00
Damodar Lohani
baddbf7f03 remove unused code 2022-11-17 00:38:44 +00:00
Damodar Lohani
9f92214c9d update usage 2022-11-17 00:36:51 +00:00
Damodar Lohani
96e67f968f Merge remote-tracking branch 'origin/feat-db-pools' into feat-usage-refactor-fo-db-pools 2022-11-17 00:31:57 +00:00
Christy Jacob
a233a30d28
Merge pull request #4691 from appwrite/feat-schedules-deletions
Deleted functions
2022-11-16 20:49:14 +05:30
Shimon Newman
61d3d6755e
Update src/Appwrite/Platform/Tasks/Maintenance.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-11-16 17:08:58 +02:00
shimon
6a79bea5df Deleted functions
schedules clean up
2022-11-16 16:56:47 +02:00
Matej Baco
e37f70246e PR review changes 2022-11-16 14:34:11 +01:00
shimon
b1372a39b0 Deleted functions
schedules clean up
2022-11-16 14:54:42 +02:00
shimon
c67852a7fb Deleted functions
schedules clean up
2022-11-16 14:51:43 +02:00
Matej Baco
fdbb5b9810 QA bug fixing 2022-11-16 13:19:29 +01:00
Matej Baco
44875e2d18 QA review changes 2022-11-16 11:33:11 +01:00
Matej Baco
44a82de09b Refactor func event triggering 2022-11-15 19:13:17 +01:00
Matej Baco
855c3d3b84 Re-implement removed stuff during merge 2022-11-15 17:37:16 +01:00