1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00
Commit graph

713 commits

Author SHA1 Message Date
kodumbeats da8984f66e Pass userId and JWT to function as env vars 2021-03-10 11:58:46 -05:00
Eldad Fux de17d0d1d3 Test worker wrapers 2021-03-10 10:08:17 +02:00
kodumbeats 59984fa6c0 Pass custom function $data to execution 2021-03-09 14:58:03 -05:00
Eldad Fux dde5a761f9 Updated dependencies 2021-02-21 23:37:22 +02:00
Eldad A. Fux 0237768ebf
Merge branch '0.7.x' into feat-upgrade-php-version 2021-02-21 23:29:37 +02:00
Torsten Dittmann 8bc484dfca fix leftovers 2021-02-19 14:59:36 +01:00
Eldad Fux 05d5d28623 First commit 2021-02-18 18:48:11 +02:00
Damodar Lohani 077932e1ad disabling functions cpus and memory limit when environment is empty 2021-02-09 14:45:24 +05:45
Eldad A. Fux 133235d4a6
Merge pull request #881 from TorstenDittmann/feat-delete-certificates
Delete certificate files with worker
2021-02-08 14:33:18 +02:00
Eldad Fux c8b6a18939 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-upgrade-php-version 2021-02-06 00:19:15 +02:00
Torsten Dittmann 078b5360d3 adds traversal check to deleteion 2021-02-05 12:18:12 +01:00
Torsten Dittmann f97c87a3e9 adds certificates to deletes worker 2021-02-05 11:57:43 +01:00
Torsten Dittmann 9e9fb6414d add certificates to deletion worker 2021-02-05 10:05:26 +01:00
Eldad A. Fux f8e8f54a13
Merge pull request #873 from appwrite/feat-docker-login-from-fucntions
Feat docker login from fucntions
2021-02-04 19:52:21 +02:00
Torsten Dittmann 76eb74b182 adapt ssl issuing for swoole 2021-02-02 15:48:07 +01:00
Eldad Fux be07db5671 Fixed login command 2021-02-02 10:16:08 +02:00
Eldad Fux 8cdb184636 First Attempt 2021-02-02 09:26:11 +02:00
Eldad Fux 8c7cedc240 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-upgrade-php-version 2021-01-30 11:58:58 +02:00
Torsten Dittmann f77c708c72 adjust settings to work dart env in travis and low budget 2021-01-27 19:35:36 +01:00
Torsten Dittmann d184e0eae8
Merge branch '0.7.x' into feat-dart-env 2021-01-27 19:26:49 +01:00
Torsten Dittmann 91e2cae2bc fix(cloud-functions): set memory swap to 256m 2021-01-27 13:28:42 +01:00
Eldad Fux f3677c60e0 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-function-schedule 2021-01-26 22:36:31 +02:00
Eldad Fux fdd413a4b3 Removed not working co-runs 2021-01-26 21:16:03 +02:00
Torsten Dittmann 596c72bb85 Merge remote-tracking branch 'upstream/0.7.x' into feat-dart-env 2021-01-24 15:52:29 +01:00
Damodar Lohani d4c7ab045a Switching to utopia-php/storage 2021-01-22 14:13:33 +05:45
Torsten Dittmann e64f0f3c5e fix(functions): fix worker commands for windows 2021-01-21 10:02:06 +01:00
Christy Jacob 04f14816d7 feat: add filter to delete execution logs older than 2021-01-20 20:58:52 +05:30
Eldad Fux d908606509 Minor patch 2021-01-20 06:49:00 +02:00
Eldad Fux 4e565fbb20 Updated functions worker log 2021-01-19 09:23:31 +02:00
Eldad Fux f16113dbb3 Some minor fixes 2021-01-17 02:07:43 +02:00
Eldad Fux 47f5e871ba Added scheduling 2021-01-17 01:38:13 +02:00
Eldad Fux 8373be65d0 Fix for swoole error 2021-01-15 19:19:48 +02:00
Eldad Fux 0ee954bfeb Cleaning workers 2021-01-15 08:02:48 +02:00
Eldad Fux 17c90846e1 Fixed syntax bug in functions service 2021-01-15 07:30:49 +02:00
Damodar Lohani 379ce3abce refactoring with suggested updates 2021-01-13 12:10:43 +05:45
Damodar Lohani 1cbca0a6a6 disable functions stats collection if usage stats disabled 2021-01-13 11:42:15 +05:45
Eldad A. Fux 7c7d5ce0e2
Merge pull request #796 from appwrite/feat-speedup-tests
Feat speedup tests
2021-01-02 21:15:24 +02:00
Eldad Fux 73e08974e4 Build function locally on dev mode 2021-01-02 01:48:10 +02:00
Eldad A. Fux d6df6b9fdc
Merge pull request #788 from appwrite/feat-execute-functions-from-client
Enabled client endpoints for CF
2021-01-01 10:37:48 +02:00
Eldad A. Fux de70f71114
Merge pull request #766 from christyjacob4/feat-na-maintenance-task
feat: starter for maintenance task
2020-12-30 15:42:04 +02:00
Eldad Fux df96ba2af7 Deleted non-relevant comments 2020-12-30 13:07:14 +02:00
Eldad Fux d0fd81ce91 Fixed container deletion 2020-12-30 12:44:33 +02:00
Eldad Fux bddb720f59 Removed log, force old function deletion 2020-12-30 09:26:52 +02:00
Christy Jacob e28c4feb97 feat: review comments 2020-12-30 00:50:19 +05:30
Eldad A. Fux 8fa19a7a9d
Merge branch '0.7.x' into feat-na-maintenance-task 2020-12-29 16:46:27 +02:00
Christy Jacob dce89663b0 patch: review comments 2020-12-27 23:27:35 +05:30
Christy Jacob e088a9e648 patch: review comments 2020-12-27 23:18:14 +05:30
Christy Jacob 5e686183c6 Merge branch '0.7.x' of https://github.com/appwrite/appwrite into feat-na-maintenance-task 2020-12-24 20:10:03 +05:30
Christy Jacob ec21e74813 feat: address review comments 2020-12-24 19:49:09 +05:30
Christy Jacob 1fe931410d feat: address review comments 2020-12-24 19:46:31 +05:30
Christy Jacob c714ada6ff patch: added delete for project Ids by group 2020-12-22 19:34:09 +05:30
Christy Jacob b40b586342 patch: review comments and some fixes 2020-12-21 23:45:52 +05:30
Christy Jacob 2085c16f91 patch: added logs for maintenance task 2020-12-21 20:16:31 +05:30
Christy Jacob 4049f6470d patch: added logs for maintenance task 2020-12-19 13:38:03 +05:30
Christy Jacob 9a05fedb6a patch: deletes worker for abuse logs 2020-12-18 19:38:28 +05:30
Christy Jacob 62885aa13a patch: deletes worker refactoring 2020-12-18 19:35:20 +05:30
Christy Jacob 1ecbf8bc5d patch: refactor delete worker invocation 2020-12-18 17:58:08 +05:30
Christy Jacob e3a6c899c3 patch: delete based on collection 2020-12-18 16:38:58 +05:30
Christy Jacob c6a105db7e patch: review comments 2020-12-18 16:18:00 +05:30
Christy Jacob f395c2e92c feat: added notifiers for delete abuse and audit logs 2020-12-17 20:45:47 +05:30
Eldad Fux f6c8630a1d Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-12-17 00:08:47 +02:00
Christy Jacob f10caa28ba feat: added maintenance worker for deleting execution logs 2020-12-15 19:08:41 +05:30
Christy Jacob 4f997d3770 feat: publish delete events to resque 2020-12-15 02:56:37 +05:30
Eldad Fux 47769cefae Added new env vars 2020-12-14 20:04:57 +02:00
Eldad Fux c10817859d Minimized all direct API filters 2020-12-13 01:22:55 +02:00
Eldad Fux 5986d61a47 Fixed functions errors 2020-12-12 16:24:53 +02:00
Eldad Fux 6d25b83cc7 Fixed tests 2020-12-10 19:47:32 +02:00
Eldad Fux 4556f4d8e8 Debug CI 6 2020-12-10 18:17:18 +02:00
Eldad Fux e5c4660efe Debug CI 5 2020-12-10 18:10:49 +02:00
Eldad Fux 732b1e7025 Debug CI 5 2020-12-10 17:26:07 +02:00
Eldad Fux b51945b3c8 Debug CI 4 2020-12-10 16:57:36 +02:00
Eldad Fux 0393555c94 Debug CI 2 2020-12-10 16:35:39 +02:00
Eldad Fux 9a0bdc029e Debug container logs 2020-12-10 14:04:12 +02:00
Eldad Fux 2dcb7fea1a DEBUG CI 2020-12-10 13:45:38 +02:00
Eldad Fux d48c103858 Added default values to all env keys 2020-12-09 00:23:15 +02:00
Eldad Fux 31f125743f Fixed minor bug 2020-12-07 19:43:39 +02:00
Eldad Fux 4bff1dd5b6 Default limit for function conatiner is 1 cpu 2020-12-06 23:15:01 +02:00
Eldad Fux 2ab7e520b9 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-12-06 21:44:20 +02:00
Eldad A. Fux da5c404c1d
Merge branch 'swoole-and-functions' into swoole-and-functions 2020-12-06 21:36:00 +02:00
Christy Jacob 1457d484bb chore: append .appwrite to python enviroment 2020-12-06 23:43:53 +05:30
Eldad Fux b43c9ac19e Removed debug log 2020-12-06 19:44:08 +02:00
Eldad A. Fux 8f65ff1086
Merge pull request #751 from christyjacob4/delete-collection-documents
feat: delete documents using delete worker
2020-12-05 09:54:24 +02:00
Christy Jacob d0f7558ddf chore: review comments 2020-12-05 11:03:14 +05:30
Eldad Fux 99c10508e5 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-12-05 07:18:11 +02:00
Christy Jacob d44c2ead0e feat: delete documents using delete worker 2020-12-05 02:17:02 +05:30
Eldad A. Fux 1ca28e9648
Merge pull request #750 from appwrite/feat-730-new-webhook-events
Feat 730 new webhook headers
2020-12-03 21:32:49 +02:00
Eldad Fux b2ccc65813 Added new webhooks headers 2020-12-03 19:56:07 +02:00
Eldad A. Fux a3f4cbb534
Merge pull request #737 from appwrite/feat-730-new-webhook-events
Feat 730 new webhook events
2020-12-03 19:48:01 +02:00
Eldad Fux 47a5a4a8ed Fixed userid header name standard 2020-11-26 08:12:51 +02:00
Eldad Fux beb8a00c74 Added User ID to webhook headers 2020-11-22 22:10:51 +02:00
Eldad Fux 1afd9f2c5b Updated log description 2020-11-21 08:26:22 +02:00
Eldad Fux ffdfc36229 Skip mail when no SMTP hostname set 2020-11-21 01:44:00 +02:00
Eldad Fux 2596c2c1f8 Added user ID to webhook payload 2020-11-19 00:08:01 +02:00
Eldad Fux af41aca527 List containers only on startup 2020-11-03 08:53:32 +02:00
Eldad Fux 67ddfbed34 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-10-27 02:22:16 +02:00
Eldad A. Fux 042660b15c
Feat psalm analysis (#699)
* Added static code analysis
* Updated code to solve psalm issue
2020-10-27 02:08:29 +02:00
Eldad Fux 13c1dc9c44 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-10-27 02:06:18 +02:00
Eldad Fux 527f65277a Fixed spelling 2020-10-25 16:43:23 +02:00
Eldad Fux 4f28f1c773 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-10-15 11:01:54 +03:00
Eldad Fux 95cafb9f1b Updated controllers and workers 2020-10-15 00:34:57 +03:00
Eldad Fux 45faedde84 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-10-03 20:08:19 +03:00
Eldad Fux 07280098d6 Shifted comment location 2020-10-02 11:25:57 +03:00
Mou Ikkai e12bfd7269
Update webhooks.php 2020-09-30 18:01:39 -04:00
Mou Ikkai 6b357c6662
Update usage.php 2020-09-30 18:01:25 -04:00
Mou Ikkai 00b78ea142
Update tasks.php 2020-09-30 18:01:09 -04:00
Mou Ikkai dcb8a46a4e
Update mails.php 2020-09-30 18:00:46 -04:00
Mou Ikkai ceec386467
Update functions.php 2020-09-30 17:59:48 -04:00
Mou Ikkai f3f3ec7137
Update deletes.php 2020-09-30 17:59:10 -04:00
Mou Ikkai ed9705d866
Update certificates.php 2020-09-30 17:58:50 -04:00
Mou Ikkai 40e2c8c25a
Update audits.php 2020-09-30 17:58:30 -04:00
Eldad Fux 1423bb94f9 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-09-28 02:09:47 +03:00
Eldad Fux 6a7f0b9c8f Added missing env vars 2020-09-27 17:29:06 +03:00
Eldad Fux 8625f692b5 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-08-30 08:09:14 +03:00
Eldad Fux f12aba4bc7 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-delete-user 2020-08-29 23:40:40 +03:00
Eldad A. Fux dbadacfae1
Merge pull request #464 from TorstenDittmann/delete-user
Delete user endpoint
2020-08-29 23:32:47 +03:00
Eldad Fux c8d08ac29e Updated all response structures 2020-08-08 13:41:17 +03:00
Eldad Fux c97b61d8ae New env vars for event triggers 2020-08-05 16:12:23 +03:00
Eldad Fux a361b3d181 Fixed event triggers 2020-08-05 08:18:45 +03:00
Eldad Fux 05c01dc1a7 Added event exectuions for cloud functions 2020-08-04 23:09:01 +03:00
Eldad Fux e3086ba789 Merge branch 'upgraded-webhooks' of github.com:appwrite/appwrite into swoole-and-functions 2020-08-04 08:27:40 +03:00
Eldad Fux 2f6a3c6610 Updated webhook event label and func stracture 2020-08-04 08:23:38 +03:00
Eldad Fux 263d5e4cc1 Added new monitors 2020-07-23 17:59:44 +03:00
Eldad Fux 4a9f0a5ebb Added function trigger 2020-07-23 08:52:03 +03:00
Eldad Fux 3c44747cae Added ability to update env var when func is already alive 2020-07-22 17:50:17 +03:00
Eldad Fux 9cc5b50b6d Lazy delete for tags, executions and code files 2020-07-22 11:55:38 +03:00
Eldad Fux 2b78257021 Input validation 2020-07-21 23:10:31 +03:00
Eldad Fux c5a62946e9 Properly escape env vars 2020-07-21 21:43:53 +03:00
Eldad Fux f5accf66f3 Added comment 2020-07-21 14:57:02 +03:00
Eldad Fux 471f8d4454 Activated usage tracking 2020-07-21 14:53:48 +03:00
Eldad Fux c65ef9e6a8 Added function usage tracking 2020-07-21 13:33:23 +03:00
Eldad Fux 8e290731e4 Async warmup 2020-07-21 10:57:28 +03:00
Eldad Fux b9c848f531 Updated usage tracking vars 2020-07-20 09:43:25 +03:00
Eldad Fux 50ab0ece71 Added new env var 2020-07-20 06:59:33 +03:00
Eldad Fux ada7816148 Added Deno functions env 2020-07-19 17:43:59 +03:00
Eldad Fux 03e97c68f2 Added tagId to execution log 2020-07-18 16:49:20 +03:00
Eldad Fux 4df80aa541 Updated tests 2020-07-18 11:13:15 +03:00
Eldad Fux 16bc34ec0e Speedup execution, max 10 containers per host 2020-07-17 23:41:01 +03:00
Eldad Fux d9565a39c5 Updated vars 2020-07-17 13:30:08 +03:00
Eldad Fux eec1dd6714 Updated logs UI 2020-07-17 11:14:16 +03:00
Eldad Fux 2caf909419 Added function execution logs 2020-07-17 00:51:26 +03:00
Eldad Fux 93a58f54c3 Added support for env vars 2020-07-16 18:20:51 +03:00
Eldad Fux 0fe5e9bdcf Updated safety factor 2020-07-16 15:13:15 +03:00
Eldad Fux 2af2484afa Worker now run real functions 2020-07-16 15:04:06 +03:00
Eldad Fux f38331f7a8 Added env images 2020-07-16 07:30:08 +03:00
Eldad Fux 3c194b5076 Manual function execution 2020-07-15 23:29:55 +03:00
Eldad Fux abb7c04994 Switched to alpine images 2020-07-15 16:34:28 +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 e31cf70171 Merge branch 'master' of github.com:appwrite/appwrite into functions 2020-07-07 00:08:03 +03:00
Eldad Fux b0e8dfc583 Tests fixed? 2020-07-06 00:54:41 +03:00
Eldad Fux fe8e276d3c Updated worker dependencies 2020-07-05 22:46:04 +03:00
Eldad Fux ea3108acda Updated workers 2020-07-05 22:19:14 +03:00
Eldad Fux f20851c4a1 Removed unused namespaces and globals 2020-07-05 11:03:57 +03:00
Eldad Fux 6c102880ec Don't enable -> reset 2020-07-03 08:58:19 +03:00
Eldad Fux e2518ce99a Dont enable -> reset 2020-07-03 08:57:41 +03:00
Torsten Dittmann 7484bdc347 outsource user leftovers to delete worker 2020-07-03 00:42:21 +02:00
Eldad Fux 6824cf560f Added env vars and new request methods 2020-06-30 14:09:28 +03:00
Eldad Fux 8596937210 Removed env config 2020-06-30 00:42:21 +03:00
Eldad Fux 0caff20e80 Removed more global vars 2020-06-28 23:45:36 +03:00
Eldad Fux ad9dce7717 Merge branch 'master' of github.com:appwrite/appwrite into functions 2020-06-27 07:23:06 +03:00
Eldad Fux 7c2969b967 Removed first and last from internal functions 2020-06-26 17:41:13 +03:00
Eldad Fux 8c33a729bc Same for app directory 2020-06-20 14:20:49 +03:00
Eldad A. Fux 3ec94dfa1c
Merge pull request #431 from TorstenDittmann/patch-1
Add system email to certification obtaining
2020-06-20 00:16:44 +03:00
Torsten Dittmann 64767c09a8
Add system email to certification obtaining 2020-06-19 18:39:13 +02:00
Eldad Fux 0266e1a667 Updated env to mode 2020-06-19 02:07:41 +03:00
Torsten Dittmann 9ec49b90b3 add event property to mail worker 2020-06-14 01:06:05 +02:00
Torsten Dittmann 9aa9008f82 add mail background worker 2020-06-14 00:38:46 +02:00
Eldad Fux 02bb42c9a2 Merge branch 'master' of github.com:appwrite/appwrite into functions 2020-06-13 18:18:26 +03:00
Eldad Fux 1a60a6a8fe Updated namespace conventions 2020-06-11 22:36:10 +03:00
Eldad Fux 3aca35c130 Updated docs 2020-05-28 10:00:19 +03:00
Eldad Fux 0b3cb1c302 Added option to delete project #340 2020-05-26 22:12:40 +03:00
Eldad Fux 419fabd80a Updated delete method to support recrusive deletes 2020-05-26 20:11:20 +03:00
Eldad Fux 1d4a6cb99e Functions work in progress 2020-05-13 01:00:48 +03:00
Eldad Fux f810643512 Notes for container isolation 2020-05-11 09:48:26 +03:00
Eldad Fux ed468a3273 Demo worker 2020-05-10 22:56:36 +03:00
Eldad Fux 98b04976c1 Updated server commands 2020-05-10 13:30:07 +03:00
Eldad Fux ca52947203 Updated config files 2020-05-10 01:12:00 +03:00
Eldad Fux 3e8b3752fd Updated workers logs 2020-05-09 19:39:50 +03:00
Eldad Fux d4a34253f2 Optimized dockerfile 2020-05-09 09:26:18 +03:00
Eldad Fux 81f4293834 Updated collections structure 2020-05-05 22:42:35 +03:00
Eldad Fux a79af138ff Initi cloud functions module 2020-05-04 16:34:31 +03:00
Eldad Fux 4548622386 Added config manager 2020-03-28 15:42:16 +03:00
Eldad Fux 8d3465e29f Added a vendor namespace to all local libs 2020-03-24 19:56:32 +02:00
Eldad Fux 27850c660f Updated env vars 2020-03-01 19:05:51 +02:00
Eldad Fux 16359cca7f test cert 2020-03-01 14:10:38 +02:00
Eldad Fux 6c4f9a2277 test cert 2020-03-01 14:04:29 +02:00
Eldad Fux 28928f09b0 test cert 2020-03-01 13:28:30 +02:00
Eldad Fux 19a1ad202e cert test 2020-03-01 13:26:07 +02:00
Eldad Fux 84e3ef2634 test cert 2020-03-01 13:22:18 +02:00
Eldad Fux 8158648016 Cert test 2020-03-01 13:20:39 +02:00
Eldad Fux e937c0c4f8 Redis debugger 2020-03-01 13:14:55 +02:00
Eldad Fux eef5125077 Added master domain SSL cert 2020-03-01 08:33:19 +02:00
Eldad Fux cb5952c6c2 Added domain renewals task 2020-02-29 08:24:46 +02:00
Eldad Fux 333ec49ee9 Updated cert configs 2020-02-25 12:04:12 +02:00
Eldad Fux 41b0076623 Fix for missing paths 2020-02-25 11:21:56 +02:00
Eldad Fux d5f415fe59 Updated permissions 2020-02-25 10:42:14 +02:00
Eldad Fux b326d2faee Added loadbalancer 2020-02-25 09:55:55 +02:00
Eldad Fux 8f473426c0 Updated worker 2020-02-24 19:02:23 +02:00
Eldad Fux 81ba228810 Updates permissions 2020-02-24 18:47:45 +02:00
Eldad Fux 832414ca49 Updated errors 2020-02-24 14:55:24 +02:00
Eldad Fux 6d06444d31 Updated routes 2020-02-23 19:45:51 +02:00
Eldad Fux 92409bf4f1 Added mv check 2020-02-23 19:05:42 +02:00
Eldad Fux b93b4be4cf Added certificate genarator worker 2020-02-23 10:58:11 +02:00
Eldad Fux fe5d9107c0 Added volumes constants 2020-02-19 14:41:23 +02:00
Eldad Fux 7faedecbe4 Added empty certs worker 2020-02-19 14:12:48 +02:00
Eldad Fux 46cfa9ee92 Updated $uid to $id 2020-02-17 09:16:11 +02:00
Eldad Fux 0f2de5ed22 Updated webhooks headers 2020-02-02 21:06:16 +02:00
Eldad Fux 7ef71ce790 Moved audit library to a standalone repo 2019-12-29 11:47:55 +02:00
eldadfux e4e334e9e6 Removed old version constant 2019-11-29 09:35:18 +02:00
Eldad A. Fux bae5407143
Minor code refactoring 2019-11-25 22:25:54 +02:00
Christy Jacob 4158c3ea21 refactor: code refactoring using php-cs-fixer 2019-09-30 11:43:40 +05:30
eldadfux 586aa0bbd4 Updated coding standards using PHP-CS-FIXER 2019-09-06 20:08:48 +03:00
eldadfux 36358e90b5 Added source code 2019-05-09 09:54:42 +03:00