Commit graph

160 commits

Author SHA1 Message Date
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
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
shimon
8147f3ee7d rolling back usage flow 2023-08-20 15:29:43 +03: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
Bradley Schofield
8f5d79e668 Move to new branch 2023-08-04 17:21:41 +01: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
f5e9094bdc delete unnecessary project collections task 2023-06-15 09:51:11 +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
d820d93ac7 databases worker 2023-06-04 19:25:56 +03:00
shimon
6e7c160249 changing event signature 2023-06-02 06:54:34 +03:00
shimon
1225c8b7c3 calc tier stats 2023-05-30 18:06:51 +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
99b56b3584 downgraded csv writer ver 2023-05-24 12:17:14 +03:00
shimon
e79cb913ed calculating users per project task 2023-05-23 18:58:49 +03:00
Matej Bačo
ecbc9aecb3 Migrated cache buster to a script 2023-05-02 13:21:08 +02: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
Matej Bačo
bd620cc924 Remove old patch bin file 2023-03-22 20:39:56 +01:00
Matej Bačo
b558a284f3 Add bin files 2023-03-22 20:15:01 +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
shimon
e278732481 removed some unnecessary files 2023-01-31 16:50:52 +02:00
Christy Jacob
c97e7ce328 feat: update scripts 2023-01-26 02:26:33 +05:30
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
shimon
e748bb20e4 benchmarks 2022-12-15 19:38:25 +02: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
shimon
0348472345 usage cleanup 2022-12-11 19:15:38 +02:00
shimon
b71bba2a9c updates 2022-12-04 19:06:23 +02:00
Matej Baco
9e4a65605c Simplify worker 2022-11-16 11:40:41 +01:00
Matej Baco
280a44e1cd Fix bugs during QA 2022-11-15 17:55:30 +01:00
Matej Baco
eb47894970 Merge branch 'refactor-scheduler' into refactor-functions-worker 2022-11-15 17:37:04 +01:00
shimon
797c3f2443 addressing some comments 2022-11-15 18:21:54 +02:00
shimon
11915e1667 addressing some comments 2022-11-15 18:20:50 +02:00
shimon
3682c1d05b addressing some comments 2022-11-15 18:07:13 +02:00
Christy Jacob
98fbe18ac4 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into refactor-scheduler 2022-11-15 12:13:44 +00:00
shimon
745ae7a4c8 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into refactor-scheduler 2022-11-10 20:07:32 +02:00
Matej Bačo
940eee0562 Merge remote-tracking branch 'origin/feat-decouple-executor' into feat-db-pools-opr 2022-11-08 12:39:25 +00:00
Matej Bačo
a52ff7372a Add Open Runtimes Executor 2022-11-08 08:49:45 +00:00
shimon
ef7b53fbc7 queue 2022-11-06 23:41:33 +02:00
shimon
bc631d926e ticker 2022-11-04 07:12:08 +02:00
Christy Jacob
0aac303d51 feat: rename rsync to volume-sync worker 2022-11-02 20:38:13 +05:30
Christy Jacob
8ced55bf46 feat: add new rsync worker 2022-11-02 20:26:03 +05:30
Damodar Lohani
8f14f5aa21
Database layer (#3338)
* database response model

* database collection config

* new database scopes

* database service update

* database execption codes

* remove read write permission from database model

* updating tests and fixing some bugs

* server side tests are now passing

* databases api

* tests for database endpoint

* composer update

* fix error

* formatting

* formatting fixes

* get database test

* more updates to events and usage

* more usage updates

* fix delete type

* fix test

* delete database

* more fixes

* databaseId in attributes and indexes

* more fixes

* fix issues

* fix index subquery

* fix console scope and index query

* updating tests as required

* fix phpcs errors and warnings

* updates to review suggestions

* UI progress

* ui updates and cleaning up

* fix type

* rework database events

* update tests

* update types

* event generation fixed

* events config updated

* updating context to support multiple

* realtime updates

* fix ids

* update context

* validator updates

* fix naming conflict

* fix tests

* fix lint errors

* fix wprler and realtime tests

* fix webhooks test

* fix event validator and other tests

* formatting fixes

* removing leftover var_dumps

* remove leftover comment

* update usage params

* usage metrics updates

* update database usage

* fix usage

* specs update

* updates to usage

* fix UI and usage

* fix lints

* internal id fixes

* fixes for internal Id

* renaming services and related files

* rename tests

* rename doc link

* rename readme

* fix test name

* tests: fixes for 0.15.x sync

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02:00
Torsten Dittmann
70c98b0cfc feat: messaging worker 2022-06-08 15:57:34 +02:00
Christy Jacob
e2bc4e748f Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-add-builds-worker 2022-01-25 21:11:29 +04:00
Bradley Schofield
bfc4f72673 Update docker-compose in docs and make executor a executable
Update docker-compose in docs and make executor a executable
2022-01-24 10:32:40 +00:00
Christy Jacob
abd54938ef feat: add build worker 2022-01-24 02:25:46 +04:00
Eldad Fux
d1b5f310e3 Added spec generator CLI command, remove old HTTP endpoint 2022-01-01 14:07:11 +02:00
Torsten Dittmann
1ed41f52d3 Merge branch 'master' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-09-30 12:32:10 +02:00
Damodar Lohani
26c4fe7009 Merge branch 'feat-database-indexing' into feat-usage-daemon 2021-08-15 10:53:53 +05:45
Eldad A. Fux
2fbc434e25
Merge pull request #1475 from appwrite/feat-delete-attribute-index-tests
feat(refactor-db): tests for attribute and index deletion
2021-08-10 21:49:40 +03:00
Damodar Lohani
e87435dd61 wip usage tasks 2021-08-10 14:29:31 +05:45
kodumbeats
e609954659 Fix logic for finding matching attribute 2021-08-08 18:07:59 -04:00
Damodar Lohani
35394e5849 Merge branch 'feat-database-indexing' into feat-depricate-usage-worker 2021-08-08 12:18:31 +05:45
Damodar Lohani
ab841925ff drop usage worker 2021-08-02 11:58:42 +05:45
Eldad Fux
95dacecf3a Removed the tasks service 2021-07-27 17:16:12 +03:00
kodumbeats
a912e2f20e Merge branch 'feat-database-indexing' of github.com:appwrite/appwrite into feat-db-refactor-routes 2021-06-30 14:24:48 -04:00
Torsten Dittmann
a2d0c910c1 Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-29 13:34:35 +02:00
Matej Baco
b7e9efb3d7 Updated interval of an usage worker 2021-06-20 00:01:01 +02:00
Matej Baco
a1d4e35375 Updated INTERVALS of php-resque 2021-06-19 23:46:20 +02:00
kodumbeats
90b280a014 Outline database resque worker 2021-06-17 14:22:06 -04:00
Torsten Dittmann
288d7d3701 Merge branch 'dev' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-03-24 12:11:45 +01:00
Damodar Lohani
40680188b2 Merge branch 'dev' into fix-redis-auth-on-workers 2021-03-23 12:37:06 +05:45
Torsten Dittmann
900a642255 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-03-19 11:48:49 +01:00
Damodar Lohani
185970a123 fix workers for redis - user can be null 2021-03-18 17:07:12 +05:45
Eldad A. Fux
48abfb68d7
Merge pull request #975 from appwrite/0.7.x
0.7.x
2021-03-17 14:50:03 +02:00
Eldad Fux
925772486d Debug tests 2021-03-13 00:52:07 +02:00
Eldad Fux
002bcf1403 Merge branch 'dev' of github.com:appwrite/appwrite into feat-265-realtime-support 2021-02-21 18:36:04 +02:00
Damodar Lohani
0475d87a72 fix issue with mails worker 2021-02-15 13:22:13 +05:45
Damodar Lohani
4b59738ec0 Merge branch '0.7.x' into feat-redis-connection-password 2021-02-14 17:13:00 +05:45
Damodar Lohani
3a7285a845 fix worker schedule not starting issue 2021-02-07 13:42:15 +05:45
Eldad Fux
3c9b08230d Updated tests 2021-02-07 09:20:00 +02:00
Eldad Fux
82c2fab68e Verbose tests 2021-02-07 08:37:56 +02:00
Damodar Lohani
19c870b2aa fix issue with QUEUE not being set 2021-02-01 18:09:25 +05:45
Damodar Lohani
7ac826b355 updating checks for both user and pass 2021-02-01 12:06:42 +05:45
Damodar Lohani
26500f82ef updating redis auth environment 2021-01-31 20:41:06 +05:45
Damodar Lohani
4023e5efca supporting redis auth 2021-01-31 11:09:38 +05:45
Eldad Fux
99d5794f14 Deprecated old Nginx stuff 2021-01-15 00:20:31 +02:00
Eldad Fux
fd8fc3b8cd Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-265-realtime-support 2021-01-09 23:57:23 +02:00
Christy Jacob
408ae68e7a feat: starter for maintenance task 2020-12-14 22:09:44 +05:30
Eldad Fux
1668da931f Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-265-realtime-support 2020-10-31 16:59:00 +02:00
Eldad Fux
5fd13990aa Fixed command 2020-10-29 13:25:42 +02:00
Eldad Fux
ef3822e6d8 Added missing bin file 2020-10-29 13:24:46 +02:00
Eldad Fux
10e39abeae Basic structure 2020-10-16 10:31:09 +03:00
Eldad Fux
56d4c84cd3 Added vars debugger 2020-10-15 08:03:38 +03:00
Eldad Fux
dc1655b7f5 Work in progress 2020-07-28 22:48:51 +03:00
Eldad Fux
a295b9c3c6 Fixed scripts, removed build packages 2020-07-20 23:05:36 +03:00
Eldad Fux
b70e185450 Added functions worker standalone container 2020-07-15 15:49:10 +03:00
Eldad Fux
db0dcf5eaa Merge branch 'functions' of github.com:appwrite/appwrite into swoole-and-functions 2020-07-12 23:43:03 +03:00
Eldad Fux
5962d45844 Updated Nginx 2020-07-07 00:18:36 +03:00
Eldad Fux
5b624419b7 Fixed workers env vars 2020-07-06 10:38:56 +03:00
Eldad Fux
ea3108acda Updated workers 2020-07-05 22:19:14 +03:00
Eldad Fux
a68e86464b Added workers as containers 2020-07-05 16:51:20 +03:00
Eldad Fux
a89aecb524 Fixed test command 2020-07-05 16:49:59 +03:00
Eldad Fux
c37725ae37 Added worker CLI 2020-07-03 20:56:41 +03:00
Eldad Fux
6d47b1daa2 Updated CLI commands 2020-07-03 19:33:56 +03:00