1
0
Fork 0
mirror of synced 2024-08-02 03:52:01 +12:00
Commit graph

8119 commits

Author SHA1 Message Date
shimon
a6fcc59ead Merge remote-tracking branch 'origin/feat-schedules-deletions' into feat-schedules-deletions
# Conflicts:
#	app/config/variables.php
2022-11-16 17:05:27 +02:00
Christy Jacob
a976390e5f
Update app/workers/deletes.php 2022-11-16 20:33:57 +05:30
shimon
29db442b99 Deleted functions
schedules clean up
2022-11-16 17:02:00 +02:00
Christy Jacob
0250754e6f
Update app/config/variables.php 2022-11-16 20:31:36 +05:30
shimon
8edb592138 Deleted functions
schedules clean up
2022-11-16 17:00:27 +02:00
Shimon Newman
bc6731ff6b
Update app/config/variables.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-11-16 16:55:41 +02:00
shimon
99823656f0 Deleted functions
schedules clean up
2022-11-16 16:31:49 +02:00
shimon
dd7bd108cc Deleted functions
schedules clean up
2022-11-16 16:14:45 +02:00
Matej Baco
5f8d3ff6ee More PR reviews 2022-11-16 14:50:12 +01:00
Matej Baco
e37f70246e PR review changes 2022-11-16 14:34:11 +01:00
Matej Baco
3b6174b5a7 Bug fixes 2022-11-16 14:11:00 +01:00
shimon
c67852a7fb Deleted functions
schedules clean up
2022-11-16 14:51:43 +02:00
Matej Baco
3e325afb61 Revert unnessessary changes 2022-11-16 13:44:14 +01:00
Matej Baco
fdbb5b9810 QA bug fixing 2022-11-16 13:19:29 +01:00
Matej Baco
83639ea6f8 Merge branch 'feat-db-pools' into refactor-functions-worker 2022-11-16 12:29:42 +01:00
Christy Jacob
956eab5ab5 Merge branch 'master' of https://github.com/appwrite/appwrite into fix-deletes-worker 2022-11-16 11:11:15 +00:00
Christy Jacob
08a986e433 Merge branch '1.1.x' of https://github.com/appwrite/appwrite into fix-deletes-worker 2022-11-16 11:10:39 +00:00
Christy Jacob
05318b3168
Merge pull request #4679 from appwrite/feat-realtime-dbpools
Simplify pool sizing
2022-11-16 16:35:52 +05:30
Matej Baco
390f407eb5 Linter fixes 2022-11-16 11:54:21 +01:00
Christy Jacob
cf4be51094 feat: review comments 2022-11-16 10:43:26 +00:00
Matej Baco
9e4a65605c Simplify worker 2022-11-16 11:40:41 +01:00
Matej Baco
44875e2d18 QA review changes 2022-11-16 11:33:11 +01:00
Torsten Dittmann
410533be27 chore: generate specs 2022-11-16 11:01:49 +01:00
shimon
0d61a7fcf5 resetting workers-number 2022-11-16 11:00:11 +02:00
shimon
ac70537ece resetting workers-number 2022-11-16 10:50:24 +02:00
shimon
6b88f66d14 removed pools injection in functions controller 2022-11-16 10:46:47 +02:00
shimon
4e3bcd6cd0 Authorization::skip added 2022-11-16 10:41:57 +02:00
Jake Barnby
c4bbf08d52
Revert realtime from workerPools -> pools 2022-11-16 20:20:08 +13:00
Jake Barnby
87bc593570
Pull calculation into pools callback 2022-11-16 20:18:59 +13:00
Jake Barnby
750dcc2a56
Comment out variable 2022-11-16 20:00:20 +13:00
Jake Barnby
c46ba06c51
Update env var name 2022-11-16 19:57:12 +13:00
Christy Jacob
dbb05c46ba fix: event triggers 2022-11-16 11:38:01 +05:30
Christy Jacob
e976bd3cb1 fix: event triggers 2022-11-16 11:22:19 +05:30
Christy Jacob
8b0a78bb36 fix: function events and linter 2022-11-16 11:00:57 +05:30
Christy Jacob
5abe9ad73c feat: refactor execute function to a resource 2022-11-16 10:10:34 +05:30
Christy Jacob
586fd46bcd feat: check async execution 2022-11-16 09:49:35 +05:30
Christy Jacob
4a92db4dc3 feat: check async execution 2022-11-16 09:47:46 +05:30
Jake Barnby
860f077787
Use separate registry entry for worker pools 2022-11-16 12:50:37 +13:00
Matej Baco
6bf370a058 QA bug fixes 2022-11-15 19:43:40 +01:00
Matej Baco
44a82de09b Refactor func event triggering 2022-11-15 19:13:17 +01:00
Torsten Dittmann
3b6035b585 chore: update console 2022-11-15 18:59:04 +01:00
Torsten Dittmann
912636b54c Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 18:22:49 +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
0d79f19dcd addressing some comments 2022-11-15 18:14:52 +02:00
shimon
8bcf349c38 addressing some comments 2022-11-15 18:03:42 +02:00
Torsten Dittmann
50dc4c3790 chore: refresh specs 2022-11-15 16:43:42 +01:00
Torsten Dittmann
841c5479ed Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 16:39:52 +01:00
Torsten Dittmann
1b533daeaa fix: remove manifest endpoint 2022-11-15 16:30:53 +01:00
Torsten Dittmann
29edecf05d fix: tests 2022-11-15 16:19:13 +01:00
shimon
ee0950449a Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions 2022-11-15 17:17:58 +02:00
shimon
18618b8e8b cancel cache via avatar::initials 2022-11-15 17:17:35 +02:00
Torsten Dittmann
006cb4665e
Merge pull request #4674 from appwrite/fix-usage-executions
Fix: usage executions
2022-11-15 15:39:12 +01:00
Torsten Dittmann
aff29ed197 fix: update console 2022-11-15 15:36:37 +01:00
Torsten Dittmann
ef1e5a9674 Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-15 15:36:25 +01:00
Torsten Dittmann
344669db46
Merge pull request #4677 from appwrite/fix-realtime-console-project
chore: prepare release
2022-11-15 15:35:52 +01:00
shimon
390fbc52eb minor changes 2022-11-15 16:33:43 +02:00
Torsten Dittmann
35b7a2ee96 fix: linter 2022-11-15 15:22:57 +01:00
Matej Baco
c07953a640 Linter fix 2022-11-15 14:35:13 +01:00
Matej Baco
b6e4ec822b Add TODO 2022-11-15 14:34:13 +01:00
Matej Baco
bfe8b98008 Attempt to reuse db connections 2022-11-15 14:30:19 +01:00
Matej Baco
727338cb9a Imrpove pools relciam logic 2022-11-15 13:54:54 +01:00
Torsten Dittmann
7288520f38 fix: realtime console project 2022-11-15 13:30:18 +01:00
Matej Baco
1084631d0f Fux reclaim logic in CLI; Prevent early executions 2022-11-15 12:23:08 +01:00
Matej Baco
b031e13997 Improve reclaim of pools in schedule 2022-11-15 11:39:24 +01:00
Matej Baco
30e39f0bcf Merge branch 'feat-db-pools' into refactor-scheduler-improvements 2022-11-15 11:28:54 +01:00
Bradley Schofield
a51288da57 Update projects.php 2022-11-15 10:25:34 +00:00
Bradley Schofield
64b725a6f7 Update Defaults 2022-11-15 10:19:35 +00:00
Matej Bačo
ff06e4b238 Move schedule delete TODO 2022-11-15 10:15:57 +00:00
Matej Bačo
8dd5eb09f0 Fix executions usage count 2022-11-15 09:33:07 +00:00
Christy Jacob
3e4a10f42e
Merge pull request #4673 from appwrite/feat-realtime-dbpools
Feat realtime dbpools
2022-11-15 14:47:51 +05:30
Jake Barnby
dc6c8d9b9a
Use 500 code for pool too small exception 2022-11-15 22:16:25 +13:00
Christy Jacob
5b32f6d9a9
Merge pull request #4672 from appwrite/test-storage-projects
feat: move project endpoint to another service
2022-11-15 14:45:41 +05:30
Jake Barnby
a59336ce95
Update compose template 2022-11-15 21:28:49 +13:00
Jake Barnby
702657ebb4
Merge remote-tracking branch 'origin/feat-db-pools' into feat-realtime-dbpools
# Conflicts:
#	.env
#	CHANGES.md
#	composer.json
#	composer.lock
2022-11-15 21:22:14 +13:00
Jake Barnby
cca33c6c5d
Remove redundant import 2022-11-15 20:39:41 +13:00
Jake Barnby
c4be0260c3
Update env default max connections 2022-11-15 20:36:04 +13:00
Jake Barnby
af391b8f7a
Update default pool size name 2022-11-15 20:30:01 +13:00
Jake Barnby
ada54cacd0
Update default env values 2022-11-15 20:29:27 +13:00
Jake Barnby
7de2f69f38
Revert "Use buffered queries"
This reverts commit 1c24421a95.
2022-11-15 19:43:04 +13:00
Jake Barnby
1c24421a95
Use buffered queries 2022-11-15 15:45:53 +13:00
Torsten Dittmann
c621b66195 fix: upgrade console 2022-11-14 22:54:38 +01:00
Torsten Dittmann
aea13bad72 Merge branch 'chore-prepare-1-1-0' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-14 22:54:23 +01:00
Torsten Dittmann
825738ced9 chore: prepare 1.1.x 2022-11-14 22:42:48 +01:00
Torsten Dittmann
9412013360 feat: remove stuff 2022-11-14 21:58:51 +01:00
Christy Jacob
3ae1d9b8e6 feat: run linter 2022-11-15 00:17:44 +05:30
Christy Jacob
d7d41b4b6b feat: move project endpoint to another service 2022-11-14 23:52:04 +05:30
Bradley Schofield
3c71164741 Merge branch '1.1.x' into feat-implement-session-length-api 2022-11-14 15:30:38 +00:00
Torsten Dittmann
c784cab798 fix: remove asterik 2022-11-14 16:26:10 +01:00
Bradley Schofield
a14ab321bf
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-11-14 15:18:40 +00:00
Torsten Dittmann
310ff90d22 Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-14 15:57:40 +01:00
Torsten Dittmann
465dad522e fix: remove unnecessary files 2022-11-14 15:31:24 +01:00
Matej Bačo
de8122c02f Share coroutines for executions 2022-11-14 13:02:16 +00:00
Damodar Lohani
c92cbbead2 Merge remote-tracking branch 'origin/feat-db-pools' into feat-refactor-tasks-only 2022-11-14 10:48:59 +00:00
Damodar Lohani
2c255a7394 fix cli 2022-11-14 10:46:11 +00:00
Damodar Lohani
5fbf961a9a fix cli 2022-11-14 10:29:10 +00:00
Matej Bačo
c2e8fc5733 Increase timer delay 2022-11-14 10:00:46 +00:00
Bradley Schofield
43d4d6fec3 Address Eldad's Comments 2022-11-14 09:57:37 +00:00
Bradley Schofield
c76057fd37
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-11-14 09:54:49 +00:00
Bradley Schofield
36d4719a3b
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-11-14 09:54:40 +00:00
Matej Bačo
9626d86b22 Merge remote-tracking branch 'origin/refactor-scheduler' into refactor-scheduler-improvements 2022-11-14 09:47:16 +00:00
Bradley Schofield
0b883df5ec Fix Tests 2022-11-14 09:42:18 +00:00
shimon
83e19a37ee minor changes 2022-11-14 11:36:22 +02:00
Bradley Schofield
cdb4c60c3c Run Linter 2022-11-14 09:33:49 +00:00
Bradley Schofield
66b805829c Move authDuration into auths attribute in project 2022-11-14 09:30:45 +00:00
Matej Bačo
5e7de81966 Improve schedule accuracy + simplify 2022-11-14 09:29:30 +00:00
Bradley Schofield
f6b7e0392b Give auth duration it's own endpoint 2022-11-14 09:15:55 +00:00
Christy Jacob
b4bf0cf8d0 Merge branch '1.1.x' of https://github.com/appwrite/appwrite into fix-deletes-worker 2022-11-14 08:11:26 +00:00
Jake Barnby
6d1ae05b64
Fix registry usages 2022-11-14 11:42:35 +13:00
Jake Barnby
702bb413dc
Merge remote-tracking branch 'origin/feat-mysql-test' into feat-realtime-dbpools
# Conflicts:
#	.env
#	app/config/variables.php
#	app/init.php
#	app/realtime.php
#	composer.lock
2022-11-14 11:21:58 +13:00
shimon
250ea93d3f some fixes 2022-11-13 15:14:00 +02:00
Damodar Lohani
22974cea02 Merge remote-tracking branch 'origin/feat-db-pools' into feat-refactor-tasks-only 2022-11-13 08:26:50 +00:00
Matej Bačo
134dba0b43 Fix startup errors 2022-11-12 14:35:42 +00:00
Matej Bačo
f468248f45 Fix typo 2022-11-12 12:51:54 +00:00
Christy Jacob
72a37516d3 feat: address review comments: 2022-11-11 13:54:05 +00:00
shimon
180262d166 Merge branch '1.1.x' of github.com:appwrite/appwrite into fix-cache-permissions 2022-11-11 13:18:33 +02:00
shimon
7723762dd1 cache buster added to cache key 2022-11-11 12:41:41 +02:00
shimon
9e3b9b8e59 addressing comments 2022-11-11 10:21:53 +02:00
shimon
3dc619f57d addressing comments 2022-11-10 21:07:27 +02:00
shimon
745ae7a4c8 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into refactor-scheduler 2022-11-10 20:07:32 +02:00
shimon
aef565c8ff addressing comments 2022-11-10 18:40:12 +02:00
Matej Bačo
902bcfc3be Increase OPR version 2022-11-10 14:23:11 +00:00
Matej Bačo
5d48d2ace0 PR review changes 2022-11-10 14:00:44 +00:00
Christy Jacob
d664549495 fix: use getDevice in deletes worker 2022-11-10 13:48:55 +00:00
Matej Bačo
192cf2e20d PR review changes + fix test 2022-11-10 12:04:49 +00:00
shimon
f9671ee855 enabling file permissions
via cache preview
2022-11-10 12:08:01 +02:00
Matej Bačo
b6a410cc17 Finish changes documentation 2022-11-10 09:40:15 +00:00
Matej Bačo
6c6e1caefc Improve ENV vars documentation 2022-11-10 09:37:49 +00:00
Eldad A. Fux
42cedf8ed0
Merge pull request #3909 from appwrite/feat-usage-refactor
new stats to count resources
2022-11-10 11:05:36 +02:00
Jake Barnby
d3ea95b60e
Remove uneccessary process limits 2022-11-10 19:57:05 +13:00
Jake Barnby
ee69a306a9
Merge remote-tracking branch 'origin/fix-realtime-connections' into feat-cloud-jake 2022-11-10 13:26:19 +13:00
shimon
1761b77d0f function worker 2022-11-09 19:01:43 +02:00
Torsten Dittmann
9f384e016f Merge branch '1.1.x' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-09 15:47:23 +01:00
Torsten Dittmann
9565152ced chore: update console 2022-11-09 15:22:38 +01:00
Torsten Dittmann
ab5ddc263b Merge branch 'feat-console-rewrite' of https://github.com/appwrite/appwrite into feat-console-rewrite 2022-11-09 15:06:32 +01:00
Jake Barnby
be18943fa4
Merge branch 'feat-cloud-test-jake' into feat-cloud-jake 2022-11-09 18:16:20 +13:00
Jake Barnby
b6839fa8f1
Capture pools on init 2022-11-09 16:39:15 +13:00
Jake Barnby
4fe2289e7f
Add max connections variable 2022-11-09 16:24:42 +13:00
Jake Barnby
fafbe71b24
Accept a size parameter when creating db/redis pools 2022-11-09 16:21:27 +13:00
Jake Barnby
e1d80c2b93
Add get worker pool size function 2022-11-09 16:19:01 +13:00
Jake Barnby
958e5424f0
Revert "Revert "WIP fix too many connections" registry changes"
This reverts commit 11c3060682.
2022-11-09 16:12:50 +13:00
Damodar Lohani
5bd4b6e59d Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-usage-refactor-fo-db-pools 2022-11-09 01:21:04 +00:00
shimon
9d641b985a tidy up 2022-11-08 16:00:39 +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
d275fa0111 Fix tests 2022-11-08 12:34:14 +00:00
Torsten Dittmann
4befb19c35 feat: add databases and buckets to projects usage 2022-11-08 13:09:18 +01:00
Matej Bačo
80b49452f4 Fix executor bugs, Add Open Runtimes Proxy 2022-11-08 10:02:22 +00:00
Matej Bačo
a52ff7372a Add Open Runtimes Executor 2022-11-08 08:49:45 +00:00
Jake Barnby
11c3060682
Revert "WIP fix too many connections" registry changes
This reverts commit a6ffab09df.
2022-11-08 12:25:54 +13:00
shimon
3a651adea5 replacing offset with pagination 2022-11-07 17:42:08 +02:00
shimon
711d8061a6 replacing offset with pagination 2022-11-07 17:30:22 +02:00
shimon
3768912412 replacing offset with pagination 2022-11-07 16:39:42 +02:00
Christy Jacob
f5484d4548 feat: update mariadb images 2022-11-07 19:54:50 +05:30
Christy Jacob
682790272f feat: update volume sync 2022-11-07 18:10:56 +05:30
shimon
4409217521 queue 2022-11-07 14:20:02 +02:00
Christy Jacob
f5bf48baa7 feat: update volume sync 2022-11-07 17:36:42 +05:30
Bradley Schofield
842185e45d Update projects.php 2022-11-07 11:58:57 +00:00
Christy Jacob
0c6107990d feat: update volume sync 2022-11-07 17:17:51 +05:30
shimon
9ed6ed69fb queue 2022-11-07 13:22:52 +02:00
Christy Jacob
1d4afd2f6c Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-mysql-test 2022-11-07 16:45:28 +05:30
shimon
6f9dcae858 queue 2022-11-07 12:37:07 +02:00
Jake Barnby
a6ffab09df
WIP fix too many connections 2022-11-07 23:31:54 +13:00
shimon
ef7b53fbc7 queue 2022-11-06 23:41:33 +02:00
shimon
0e99198fa8 queue 2022-11-06 16:40:08 +02:00
shimon
ed505fba7c queue 2022-11-06 15:10:26 +02:00
Damodar Lohani
5756a7e117 Merge remote-tracking branch 'origin/feat-fixes-for-pools' into feat-usage-refactor-fo-db-pools 2022-11-06 08:10:01 +00:00
Bradley Schofield
4dfafd1169 Merge branch 'master' into feat-implement-session-length-api 2022-11-04 16:11:38 +00:00
Bradley Schofield
e1f9a8e0ce Clean up a couple things and fix tests 2022-11-04 14:48:29 +00:00
Bradley Schofield
4cfc3b3a7f Update authDuration fallback value 2022-11-04 10:12:02 +00:00
Bradley Schofield
94676a6c16 Alter sessionVerify to remove expire 2022-11-04 09:50:59 +00:00
Eldad Fux
d31a3ab088 Updated dependencies 2022-11-04 07:26:56 +02:00
Eldad Fux
1ff53bc82a Merge branch 'master' of https://github.com/appwrite/appwrite into feat-fixes-for-pools 2022-11-04 07:26:35 +02:00
shimon
bc631d926e ticker 2022-11-04 07:12:08 +02:00
Damodar Lohani
4ef05e2a16 Merge remote-tracking branch 'origin/master' into feat-usage-refactor-fo-db-pools 2022-11-04 04:22:50 +00:00
Eldad Fux
f6ae1fedd2 Fixed broken call 2022-11-03 22:24:03 +02:00
Eldad Fux
c28edaaa96 Enabled 64 connections 2022-11-03 18:30:55 +02:00
Eldad Fux
1d59b8bd54 Leftovers 2022-11-03 18:28:28 +02:00
Eldad Fux
995283c15d Removed enableCoroutine support 2022-11-03 18:27:41 +02:00
Eldad Fux
be8c145e84 Fix for linter 2022-11-03 18:26:31 +02:00
Eldad A. Fux
44ca7d9459
Merge pull request #4631 from appwrite/feat-fix-account-naming
Updated titles on account routes
2022-11-03 18:19:41 +02:00
Eldad Fux
9bba91fcb8 Update pools library version 2022-11-03 18:07:53 +02:00
Eldad Fux
103469928e Updated routes 2022-11-03 17:24:32 +02:00
Eldad Fux
de610855fe Updates 2022-11-03 17:19:55 +02:00
Bradley Schofield
4b8287c097 Remove 'expire' from sessions 2022-11-03 15:03:39 +00:00
Christy Jacob
0aac303d51 feat: rename rsync to volume-sync worker 2022-11-02 20:38:13 +05:30
Christy Jacob
d162c6b0b2 Merge branch 'feat-mysql-test' of github.com:appwrite/appwrite into feat-mysql-test 2022-11-02 20:28:28 +05:30
Christy Jacob
8ced55bf46 feat: add new rsync worker 2022-11-02 20:26:03 +05:30
Eldad A. Fux
32be6d6816
Merge pull request #4282 from appwrite/doc-unique-id
Update Unique ID references in docs from magic string to ID.unique()
2022-11-02 15:39:46 +02:00
Damodar Lohani
4b5d537eee
Apply suggestions from code review
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-11-02 15:41:50 +05:45
Damodar Lohani
41d31c28d0
remove buildTime from deployments collection 2022-11-02 15:38:59 +05:45
Damodar Lohani
b66f932b3b Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-11-02 08:43:12 +00:00
Damodar Lohani
fb120be78e get projectdb on CLI 2022-11-02 05:48:17 +00:00
Damodar Lohani
85920e5b14 fix missing mariadb 2022-11-02 05:38:46 +00:00
Damodar Lohani
c4daf33a72 Merge remote-tracking branch 'origin/master' into feat-refactor-tasks 2022-11-02 05:18:23 +00:00
Christy Jacob
c074731615
Merge pull request #4590 from rskbansal/master
fixed grammatical and spelling errors
2022-11-02 07:38:45 +05:30
Jake Barnby
0827d59f21
Merge remote-tracking branch 'origin/1.1.x' into fix-missing-deployment-attributes
# Conflicts:
#	tests/e2e/Services/Functions/FunctionsCustomServerTest.php
2022-11-02 13:33:10 +13:00
Vincent (Wen Yu) Ge
a8a23fb8eb Merge branch 'master' into doc-unique-id 2022-11-01 17:53:48 +00:00
Christy Jacob
b2d884e329 Merge branch 'master' of github.com:appwrite/appwrite into 1.1.x 2022-11-01 22:21:19 +05:30
Bradley Schofield
cddacfbb78 Handle Eldad's Comments 2022-11-01 14:43:18 +00:00
Bradley Schofield
5dc8a2dee0 Add Tests and fix bugs 2022-11-01 11:15:45 +00:00