1
0
Fork 0
mirror of synced 2024-08-03 04:21:46 +12:00
Commit graph

1158 commits

Author SHA1 Message Date
Matej Bačo
27bf18f031 Code formatting 2023-03-14 20:31:23 +01:00
Matej Bačo
72e0ccf6d6 Remove scheduleUpdatedAt 2023-03-14 19:39:40 +01:00
Matej Bačo
a919421b47 Fix scheduler bugs 2023-03-14 15:10:36 +01:00
fogelito
40152fbd6c Model relationshipOptions 2023-03-14 15:18:30 +02: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
fogelito
adcbb08374 deleteRelationship worker 2023-03-13 17:32:51 +02:00
fogelito
341830b3d7 deleteRelationship worker 2023-03-13 17:19:24 +02:00
Matej Baco
e7351f4eec Add logs to rules 2023-03-13 13:35:34 +00:00
fogelito
b1cc4ada4c relationType 2023-03-13 12:11:38 +02:00
fogelito
f5f51c4fc9 Worker $relatedCollection 2023-03-13 11:46:03 +02:00
fogelito
5fc3f5bc3a Worker 2023-03-13 11:34:41 +02:00
Damodar Lohani
20ff1b41a9 use custom smtp config 2023-03-13 01:35:30 +00:00
Matej Bačo
1f409b4e40 Shared variables 2023-03-11 17:06:02 +01:00
Matej Bačo
541cb010a6 Changes after dev-mode QA 2023-03-10 20:36:39 +01:00
Matej Baco
4b0d6d9826 Bug fixes after proxy QA 2023-03-10 12:20:24 +00:00
Matej Baco
04c7db9f7b Bug fixes for proxy rule service 2023-03-10 07:42:52 +00:00
shimon
4839dbbfb0 fix 2023-03-09 17:49:03 +02:00
shimon
294e0e7469 Updates 2023-03-09 14:14:40 +02:00
Matej Bačo
83370c21f7 Improve error logs 2023-03-08 20:50:51 +01:00
Matej Bačo
59f5978fa3 Implement rules 2023-03-08 19:30:01 +01:00
Matej Bačo
f223e8b948 Update failed status 2023-03-06 12:16:34 +01:00
Matej Bačo
056ea0820e QA bug fixing 2023-03-05 09:12:01 +01:00
Matej Bačo
69aa59a1d6 Add more log details to execution 2023-02-27 11:24:21 +01:00
Matej Bačo
d7c5d8bb46 Remove response body & headers 2023-02-27 11:20:37 +01:00
Matej Bačo
464f88634c Add function logging toggle 2023-02-24 10:24:20 +01:00
Matej Bačo
068acef0f6 Add unique url generator 2023-02-22 16:07:34 +01:00
Matej Bačo
3ebef8bd6c Fix functions worker 2023-02-20 11:45:50 +01:00
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
Damodar Lohani
171f30adb1 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-16 00:29:37 +00:00
Matej Bačo
f6ae0a05fa Stream response support 2023-02-15 09:36:20 +01:00
Jake Barnby
b3e29c6086
Fix audit 2023-02-15 17:39:15 +13:00
shimon
074d7dad32 test fix 2023-02-14 21:07:13 +02:00
Matej Bačo
d2ffa3e7c6 Fix cold-start bug 2023-02-14 11:35:49 +00:00
Matej Bačo
20bc1ab00e Merge remote-tracking branch 'origin/feat-db-pools' into feat-executor-v3 2023-02-14 11:16:28 +00:00
Matej Bačo
e4d784c871 Add new V3 parameters 2023-02-14 11:01:38 +00:00
Damodar Lohani
3215e8d8df Merge remote-tracking branch 'origin/feat-db-pools' into feat-db-pools-master-sync 2023-02-14 04:54:02 +00:00
Damodar Lohani
71d2c45a92 Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-02-14 04:35:19 +00:00
Jake Barnby
f6fc9a8d8c
Merge remote-tracking branch 'origin/master' into feat-technical-debt-2
# Conflicts:
#	composer.lock
2023-02-14 14:22:08 +13:00
shimon
794f566fae addressing comments 2023-02-06 16:03:45 +02:00
shimon
53a3223172 addressing comments 2023-02-06 14:54:37 +02:00
shimon
5850a454e0 addressing comments 2023-02-05 22:07:46 +02:00
Matej Bačo
75c7d94633 Implement Open Runtimes v3 support 2023-02-02 19:21:00 +00:00
shimon
1ac935077b addressing comments 2023-02-02 20:16:01 +02:00
shimon
19d04490df removed some unnecessary files 2023-01-31 20:27:34 +02:00
Christy Jacob
c393e130ac
Merge pull request #4983 from appwrite/fix-collection-delete
Fix deletes worker not deleting database collections
2023-01-27 14:40:14 +05:30
Christy Jacob
c56f8277c9
Merge pull request #4984 from appwrite/fix-project-delete
Fix deletes worker not deleting project database tables
2023-01-27 13:45:07 +05:30
Jake Barnby
c9f4b7ca23
Delete project domains and certificates 2023-01-27 16:46:38 +13:00
Christy Jacob
7c2c68c5ec
Merge pull request #4988 from appwrite/fix-storage-device-case
Convert _APP_STORAGE_DEVICE env var to lowercase
2023-01-26 15:24:26 +05:30
Jake Barnby
536d36be7d
Fix delete recursion 2023-01-17 17:31:14 +13:00
fogelito
c4ae047833 Merge branch 'master' of github.com:appwrite/appwrite into feat-technical-debt-2
 Conflicts:
	app/init.php
	composer.json
	composer.lock
2023-01-16 10:24:37 +02:00
shimon
b61e6e0d5a usage test 2023-01-12 19:41:14 +02:00
Jake Barnby
004bb82688
Fix functions + builds not deleted 2023-01-12 22:42:07 +13:00
Jake Barnby
d49de9c6cf
Use getProjectDB instead of new function 2023-01-12 22:27:20 +13:00
Damodar Lohani
f41e3b1e8f Merge remote-tracking branch 'origin/master' into feat-db-pools-master-sync 2023-01-12 07:25:23 +00:00
Steven Nguyen
2b4dbfb4b9
Convert _APP_STORAGE_DEVICE env var to lowercase
This is done for backwards compatibility. Up to utopia-php/storage
version 0.12.X, the devices were not lowercase. Starting 0.13.X, they
are all converted to lowercase, but people would still have the old
case in their .env file. This change makes the value check insensitive
so that the value from older versions still works.
2023-01-11 11:41:26 -08:00
Jake Barnby
4b0ef4598b
Fix deletes worker not deleting project database tables 2023-01-11 19:37:06 +13:00
Jake Barnby
da8af68e1e
Fix deletes worker not deleting database collections 2023-01-11 17:20:43 +13:00
shimon
8941af0677 minor adjustments 2022-12-29 13:32:00 +02:00
shimon
db8b24ee22 moved reduce after delete document to usage-worker 2022-12-28 20:06:57 +02:00
shimon
4198cbfca5 moved reduce after delete document to usage-worker 2022-12-28 18:27:26 +02:00
shimon
0ac5e293b6 add internalId to collections 2022-12-25 14:13:52 +02:00
shimon
586c7fac7c add internalId to collections 2022-12-25 14:07:54 +02:00
shimon
f3dcd6a79f add internalId to collections 2022-12-25 13:06:25 +02:00
shimon
b89e04f561 add internalId to collections 2022-12-22 19:18:54 +02:00
shimon
5e394fed5d refactor usage worker 2022-12-21 21:03:09 +02:00
shimon
c02ef7b340 adding build.storage usage 2022-12-21 11:22:29 +02: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
ff9bccf1ff
Revert "Feat: Build output size" 2022-12-20 18:26:56 +05:30
Matej Bačo
e3737af3fe
Update app/workers/builds.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-12-20 12:49:52 +01:00
shimon
18f192ed65 benchmarks 2022-12-19 10:25:49 +02:00
Matej Bačo
8f363eae7a Fix bugs 2022-12-18 08:35:16 +01:00
Matej Bačo
ab68bb4ea1 Merge branch 'feat-db-pools' into feat-build-size 2022-12-18 08:21:41 +01:00
Matej Bačo
c5da386d67 PR review changes 2022-12-18 08:20:50 +01:00
Damodar Lohani
495da1bfd4 fix: template path 2022-12-16 06:11:12 +00:00
Damodar Lohani
ea241ceaf5
Update app/workers/certificates.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2022-12-16 11:33:16 +05:45
shimon
86638e0079 e2e tests 2022-12-15 19:00:05 +02:00
shimon
7601c9047b e2e tests 2022-12-15 11:45:43 +02:00
Damodar Lohani
5d195659bd refactor: mails refactor 2022-12-15 09:22:05 +00:00
shimon
285bfe9fd7 e2e tests 2022-12-15 09:56:06 +02:00
fogelito
8ade726932 Changing Role + Permissions namespace 2022-12-14 18:04:06 +02:00
fogelito
f96128e14f Changing Id 2022-12-14 17:42:25 +02:00
Matej Bačo
6279784009 Fix expired session, schedule deletes 2022-12-14 09:44:40 +01:00
shimon
961c408885 metric negative / positive values in worker 2022-12-14 09:34:04 +02:00
Damodar Lohani
42c855cb41 feat: make mails event and worker general 2022-12-14 06:23:14 +00:00
shimon
06aee565a8 addressing comments 2022-12-13 13:46:53 +02:00
shimon
141d55bd36 build+functions worker 2022-12-13 09:35:05 +02:00
Matej Bačo
746390e30a Fix missing param 2022-12-13 08:10:51 +01:00
Matej Bačo
b513c2fbad Store build output size to DB 2022-12-12 13:40:04 +01:00
shimon
2f34c566e5 addressing comments 2022-12-12 11:37:10 +02:00
shimon
3242bd9b2a Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-new-usage-stats 2022-12-11 20:07:20 +02:00
shimon
0348472345 usage cleanup 2022-12-11 19:15:38 +02:00
Matej Bačo
46593778c9 Fix event-triggered executions syntax error 2022-12-09 19:51:21 +01:00
shimon
806a775663 Switch to decreaseDocumentAttribute 2022-12-09 13:01:17 +02:00
shimon
e2e3d99410 Switch to decreaseDocumentAttribute 2022-12-09 12:41:22 +02:00
shimon
70394ff1bb nested object calculation 2022-12-08 21:06:55 +02:00
shimon
2d6c0ac844 functions api usage 2022-12-08 15:55:18 +02:00
shimon
4c6b6d00e8 functions api usage 2022-12-07 19:56:38 +02:00
shimon
e1368231b2 updates 2022-12-06 16:17:56 +02:00
shimon
f44ee4ec90 updates 2022-12-06 13:36:17 +02:00
shimon
9c19544c61 updates 2022-12-05 12:43:31 +02:00
shimon
b71bba2a9c updates 2022-12-04 19:06:23 +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
c99ed47e63 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-usage-refactor-fo-db-pools 2022-11-22 22:05:18 +05:30
Matej Baco
95ac8721f0 Revert changes 2022-11-22 16:50:41 +01:00
Matej Baco
2ef43e3249 Improvements during QA 2022-11-22 16:36:15 +01:00
Matej Bačo
dd99ab7b00 Fix session expiration 2022-11-21 14:24:52 +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
Matej Baco
0075956c6c Introduce ENV to disable console invites, fix outdated code after merge 2022-11-18 09:51:28 +01:00
Matej Baco
418a432d6c Merge branch 'feat-db-pools' into fix-init-retry 2022-11-18 08:10:11 +01:00
Christy Jacob
71bb70dec4 Merge branch 'feat-db-pools' of github.com:appwrite/appwrite into feat-add-console 2022-11-17 23:27:26 +05:30
Christy Jacob
6c43b44441 feat: use new storage library 2022-11-17 23:16:49 +05:30
Christy Jacob
c4a5c73717 feat: use new storage library 2022-11-17 23:13:59 +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
Christy Jacob
878021b9a3 feat: disable auth on console project 2022-11-17 18:20:17 +05:30
Christy Jacob
b989a35b62 feat: add todos 2022-11-17 08:04:05 +00:00
Christy Jacob
4271e34b39 feat: review comments 2022-11-17 07:44:54 +00:00
Christy Jacob
261830c122 Merge branch 'feat-db-pools' of https://github.com/appwrite/appwrite into feat-support-dsn 2022-11-17 06:43:49 +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
Matej Baco
2220222f48 Merge branch 'feat-db-pools' into fix-init-retry 2022-11-16 20:43:31 +01:00
Matej Baco
762d52bca8 Fix failing tests 2022-11-16 20:39:35 +01:00
Christy Jacob
657f2bc334 fix: linter 2022-11-16 23:25:27 +05:30
Christy Jacob
a34223748b fix: return types 2022-11-16 17:32:35 +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
153f2424d1 Deleted functions
schedules clean up
2022-11-16 17:14:52 +02:00
Christy Jacob
a976390e5f
Update app/workers/deletes.php 2022-11-16 20:33:57 +05:30
shimon
99823656f0 Deleted functions
schedules clean up
2022-11-16 16:31:49 +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
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
Matej Baco
390f407eb5 Linter fixes 2022-11-16 11:54:21 +01: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
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
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
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
8bcf349c38 addressing some comments 2022-11-15 18:03:42 +02:00
Matej Bačo
8dd5eb09f0 Fix executions usage count 2022-11-15 09:33:07 +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
Matej Bačo
134dba0b43 Fix startup errors 2022-11-12 14:35:42 +00:00
Christy Jacob
72a37516d3 feat: address review comments: 2022-11-11 13:54:05 +00:00
Christy Jacob
d664549495 fix: use getDevice in deletes worker 2022-11-10 13:48:55 +00:00
shimon
1761b77d0f function worker 2022-11-09 19:01:43 +02:00
Everly Precia Suresh
13ea6a5e69 update error attribute 2022-11-08 17:06:50 +00: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
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
Everly Precia Suresh
eece18c9f6 style:run linter 2022-11-03 16:10:39 +00:00
Everly Precia Suresh
9e8dddd70d Push changes 2022-11-03 14:56:20 +00:00
Damodar Lohani
8baa95db1c Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-11-01 04:54:48 +00:00
Torsten Dittmann
983f885b3f fix: builds worker buildTime 2022-10-31 12:47:41 +01:00
Torsten Dittmann
d387f198db Merge branch 'master' of https://github.com/appwrite/appwrite into rebase-1.1.x 2022-10-31 09:45:51 +01:00
Damodar Lohani
982a449143 Merge remote-tracking branch 'origin/feat-db-pools' into feat-usage-refactor-fo-db-pools 2022-10-31 06:49:37 +00:00
Damodar Lohani
4086ba93ad Merge remote-tracking branch 'origin/1.1.x' into feat-usage-refactor 2022-10-31 06:36:26 +00:00
Damodar Lohani
a0a0ef2386 update docblock comments and naming 2022-10-28 08:40:04 +00:00
Torsten Dittmann
eb31bfb78e
Merge pull request #4418 from appwrite/feat-deployment-buildtime
Add build time to deployments
2022-10-26 18:42:53 +02:00
Christy Jacob
9165da14b7 feat: add support for the new DSN class 2022-10-26 12:16:22 +05:30
Everly Precia Suresh
cd0a5b73f8 style:run linter 2022-10-25 19:26:15 +00:00
Everly Precia Suresh
f055e15031 push changes 2022-10-25 18:47:24 +00:00
Everly Precia Suresh
de7fee6790 implement error msg 2022-10-25 17:46:28 +00:00
Everly Precia Suresh
17251b1973 initial implementation 2022-10-25 17:37:07 +00:00
Damodar Lohani
c8b5301267 update maintenance to delete only hourly metrics older than 3 months 2022-10-23 07:29:13 +00:00
Damodar Lohani
3ed3ef9d71 rename variable 2022-10-23 04:46:23 +00:00
Bradley Schofield
60e924b62b Run Linter 2022-10-19 02:50:48 +01:00
Bradley Schofield
fe4028f588 Add tests and add buildTime to worker 2022-10-19 02:43:40 +01:00
Eldad Fux
8437aa894d Removed unused imports 2022-10-16 01:51:11 +03:00
Eldad Fux
7484656be3 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-pools-eldad 2022-10-15 22:08:16 +03:00
Steven Nguyen
5542e5b04c Only delete collection data for correct db
Ensure attributes, indexes, and audit for correct database is deleted.
2022-10-11 22:51:10 +00:00
Jake Barnby
702710aab1
Fix import 2022-10-10 16:20:46 +13:00
Jake Barnby
608f1532a6
Merge remote-tracking branch 'origin/1.0.x' into feat-integrate-messaging
# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-10 14:01:59 +13:00
Jake Barnby
2fbc40e966
Merge fixes 2022-10-03 13:42:53 +13:00
Jake Barnby
2bb8854f61
WIP integrate messaging library
(cherry picked from commit 9a25f77e3e7e76f6c93cc3ce1985f43426a0debf)

# Conflicts:
#	app/workers/messaging.php
#	src/Appwrite/SMS/Adapter/Mock.php
#	tests/e2e/Services/Account/AccountCustomClientTest.php
2022-10-03 13:28:30 +13:00
Torsten Dittmann
637a97c4de Merge branch '1.0.x' of https://github.com/appwrite/appwrite into fix-function-vars-null 2022-09-30 12:06:32 +02:00
Torsten Dittmann
d511c2d2ad
Merge pull request #3858 from appwrite/fix-certificate-fail-mail
Fix: Certificate -> Mail worker communication
2022-09-30 11:54:31 +02:00
Torsten Dittmann
65b4c9f931 fix: default value for optional function vars 2022-09-30 11:52:35 +02:00
Christy Jacob
3b802e9ba6 Merge branch 'master' of github.com:appwrite/appwrite into feat-db-pools 2022-09-27 20:59:50 +05:30
Matej Bačo
46c91899e7
Merge branch '0.16.x' into feat-improve-sms-e2e-tests 2022-09-23 08:23:29 +02:00
Christy Jacob
c38f451c78
Merge pull request #3862 from Faizan-Pasha/master
Fixed the bug #3859
2022-09-23 11:38:39 +05:30
Matej Bačo
96134f2a5e Remove todo 2022-09-20 08:29:34 +00:00
Matej Bačo
89afad1a32 Replace nulls with empty strings 2022-09-19 11:58:41 +00:00
Matej Bačo
e31c7f7740 Improve delete worker for functions 2022-09-19 11:53:34 +00:00
Matej Bačo
6e8a4cc97b Update sms mock to use request catcher 2022-09-19 08:09:48 +00:00
Faizan Pasha
ffe525c5cc Removed unused import 2022-09-17 06:02:11 +05:30
Faizan Pasha
12b6e671b0 Fixed the bug #3859 2022-09-17 05:58:14 +05:30
Matej Baco
81ddc99f7b Improve mail events code quality 2022-09-16 11:54:59 +02:00
Matej Bačo
20bbbfc493 Merge remote-tracking branch 'origin/0.16.x' into fix-function-scheduling 2022-09-13 20:14:42 +00:00