1
0
Fork 0
mirror of synced 2024-07-03 13:41:01 +12:00
Commit graph

235 commits

Author SHA1 Message Date
Torsten Dittmann 3d896af4bb Merge branch '0.9.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-06-14 16:52:48 +02:00
Eldad Fux f2b5956f30 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-12 13:08:48 +03:00
Torsten Dittmann 665d57106e feat(server): database connection pools 2021-06-11 18:09:46 +02:00
Torsten Dittmann 3f199e1232 refactor(workers): create abstract worker class 2021-06-11 16:20:18 +02:00
Eldad Fux abd0bba8a4 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-05-27 01:31:29 +03:00
Torsten Dittmann 787931b45b Merge branch 'master' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-05-20 09:46:49 +02:00
Eldad Fux 63a92a768a Fixed functions webhooks trigger 2021-05-17 18:52:22 +03:00
Eldad Fux a8cc398c85 Updated functions trigger 2021-05-17 14:32:37 +03:00
Eldad Fux 0a3c198e00 Removed boolean check on DB operation 2021-05-09 23:34:32 +03:00
Eldad Fux f24ae683e6 Migrated functions worker 2021-05-05 00:45:41 +03:00
Torsten Dittmann 3d4c3741a2 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-05-04 17:21:10 +02:00
Torsten Dittmann 6a196716b3 fix: adapt to review 2021-04-29 17:08:59 +02:00
Torsten Dittmann 25b03c90f8 feat: introduce appwrite/php-runtimes 2021-04-21 13:02:54 +02:00
Torsten Dittmann 3b989cf6a7 fix: anonymous account tests 2021-04-16 18:50:16 +02:00
Torsten Dittmann 2f7f8ab03d test: disabling coroutine in functions worker 2021-04-16 17:53:36 +02:00
Torsten Dittmann b7833a862b fix: disable co-routine hooks 2021-04-14 17:56:15 +02:00
Torsten Dittmann 74908f4965 fix: disable co-routine hooks 2021-04-14 17:55:08 +02:00
Torsten Dittmann 32587f9d80 tests: disable test 2021-04-14 17:09:36 +02:00
Torsten Dittmann d97e1674aa tests: fix 2021-04-14 15:07:26 +02:00
Torsten Dittmann e021b8795a fix: enable coroutine in functions worker 2021-04-14 12:40:55 +02:00
Torsten Dittmann 2e3d4fb616 Revert "Merge branch 'refactor-function-docker-exec' of https://github.com/appwrite/appwrite into feat-265-realtime"
This reverts commit 137aa98e19, reversing
changes made to c5ad66839d.
2021-04-13 09:10:07 +02:00
Torsten Dittmann 69bd907729 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-04-12 09:42:46 +02:00
Torsten Dittmann 9dc206051f Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-upgrade-php-version 2021-04-10 16:25:04 +02:00
Eldad A. Fux 19e9582df2
Merge branch '0.7.x' into feat-upgrade-php-version 2021-04-05 14:56:45 +03:00
Torsten Dittmann 137aa98e19 Merge branch 'refactor-function-docker-exec' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-04-01 16:01:31 +02:00
kodumbeats de47622d03 Remove sleep and pass expected vars to logs 2021-04-01 09:31:30 -04:00
kodumbeats 28dece1adf Investigate latency of exec 2021-03-31 15:41:35 -04:00
kodumbeats 1f4529d4e4 Start execution and get status code 2021-03-31 10:58:04 -04:00
kodumbeats af6b90ba83 Testing if the exec must be started 2021-03-30 20:49:23 -04:00
kodumbeats 967d661a59 Pass Content-Length header 2021-03-30 18:13:44 -04:00
kodumbeats c8f9bbc34b Outline calls to docker socket 2021-03-30 16:36:07 -04:00
kodumbeats 456793ebd8 Added space for styling and consistency 2021-03-30 07:42:58 -04:00
Torsten Dittmann d5a3879ede clean up realtime even trigger in functions worker 2021-03-25 16:41:56 +01:00
Torsten Dittmann 373b2dfc13 add realtime event to functions worker 2021-03-24 17:53:44 +01:00
Torsten Dittmann 8922db85e2 add permission to event payload 2021-03-24 17:44:37 +01:00
Torsten Dittmann 24a5536164 add permission to event payload 2021-03-24 17:39:22 +01:00
Torsten Dittmann 410fdecfb4 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-265-realtime 2021-03-24 15:21:19 +01:00
kodumbeats 2f90b5a343 Refactor EVENT_PAYLOAD to EVENT_DATA 2021-03-24 09:36:36 -04:00
Torsten Dittmann 6b5718f32f create seperate init for workers 2021-03-24 13:13:59 +01:00
kodumbeats 90833683fa Update env names for consistency 2021-03-19 11:46:03 -04:00
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
kodumbeats 132baa3e9b Pass projectId to function as env var 2021-03-18 07:46:48 -04:00
kodumbeats daeed74473
Merge branch '0.8.x' into feat-962-pass-data-to-function-execution 2021-03-18 07:14:16 -04:00
kodumbeats c04396b254 Pass userId to function 2021-03-12 14:01:58 -05:00
kodumbeats 731c87d740 Add functions.executions.update 2021-03-12 13:28:29 -05:00
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
Damodar Lohani 077932e1ad disabling functions cpus and memory limit when environment is empty 2021-02-09 14:45:24 +05:45
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
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 e64f0f3c5e fix(functions): fix worker commands for windows 2021-01-21 10:02:06 +01:00
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 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
Eldad Fux 47769cefae Added new env vars 2020-12-14 20:04:57 +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
Christy Jacob 1457d484bb chore: append .appwrite to python enviroment 2020-12-06 23:43:53 +05:30
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 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 ceec386467
Update functions.php 2020-09-30 17:59:48 -04: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 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 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 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