1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00
Commit graph

359 commits

Author SHA1 Message Date
Damodar Lohani e1f45b5a2d update naming 2021-11-30 13:51:54 +05:45
Damodar Lohani 2a6bf47bce fix chunked upload for tags - chunk start from 1 2021-11-30 13:46:47 +05:45
Damodar Lohani ec9d4599c4 Merge branch 'feat-storage-buckets' into feat-s3-integration 2021-11-25 13:38:40 +05:45
Damodar Lohani c9595b40dd fix api to account for non-local storage 2021-11-14 18:50:51 +05:45
kodumbeats 6e46e2fb0f Use correct key in metrics array 2021-10-27 18:17:51 -04:00
kodumbeats 79b1fceaf3 Rename to prevent collisions 2021-10-27 18:17:15 -04:00
kodumbeats 656471ced2 Backfill usage stats with empty records when required 2021-10-27 15:57:20 -04:00
Torsten Dittmann 7224520fa8 fix all usage ui 2021-10-26 15:19:28 +02:00
Damodar Lohani d029c94bc8 Merge branch 'feat-storage-buckets' into feat-large-file 2021-10-17 11:45:45 +05:45
Bradley Schofield 7649a2c677 Make new database work with the executor
+ New DB now works with executor
+ events now work with new execution model
2021-10-14 10:37:00 +01:00
Bradley Schofield efaa2227e0 start fixing bubgs 2021-10-12 12:54:50 +01:00
Bradley Schofield dd5bdda000 Merge remote-tracking branch 'upstream/feat-database-indexing' into the-executor-poc 2021-10-11 14:59:34 +01:00
Torsten Dittmann 90f30cc743 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-07 21:34:21 +02:00
Torsten Dittmann a585a9090a fix realtime with db refactor 2021-10-07 17:35:17 +02:00
Torsten Dittmann 9941198a7f Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-before-pagination 2021-10-06 16:11:04 +02:00
Torsten Dittmann 33699ea2c4 feat(controllers): implement before cursor pagination 2021-10-05 12:30:33 +02:00
Matej Baco d0b70a9dee Re-added function execution search + added missing tests 2021-09-27 12:12:42 +02:00
Damodar Lohani a4e9f2ece9 chunked upload support on function tags creation 2021-09-27 12:46:04 +05:45
Matej Baco f9423111f3 Merge branch 'feat-database-indexing' into feat-db-search-tests 2021-09-23 08:35:07 +02:00
Bradley Schofield 715a8ac729 Add authentication between appwrite and the executor
+ Add authentication between appwrite and the executor
+ Add built status and build stdout/stderr to tag for later use
+ Changes to executor to implement new build stages
2021-09-22 11:03:04 +01:00
Bradley Schofield da8b4bb9f9 Add build step and more function cleanup 2021-09-13 11:50:45 +01:00
Christy Jacob eccc19e5dc
Apply suggestions from code review
Co-authored-by: Damodar Lohani <lohanidamodar@users.noreply.github.com>
2021-09-06 12:13:20 +05:30
Bradley Schofield bca326dc8d Improvements to executor
- Executor now loads runtimes from php-runtimes package
- Executor now handles timeouts correctly
- Executor can now shutdown and remove containers before shutting down itself preventing a `docker-compose stop` failure due to active network endpoints.
- Fixed a issue with JWT's not working
- Improved general executor reliability
- Tests now pass!
2021-09-06 01:37:20 +01:00
Bradley Schofield 35ed296b75 Add Deno and update UI 2021-09-01 10:48:56 +01:00
Christy Jacob f7d657cc38 feat(model): use the new authorization skip methods 2021-08-28 21:55:48 +05:30
Christy Jacob 6835124af8 feat(usage): rename all usage response models 2021-08-27 23:04:43 +05:30
Bradley Schofield f5e1ce01b7 More Changes 2021-08-27 11:55:22 +01:00
Christy Jacob 1e30cdba4b feat(usage): added response models for functions API 2021-08-27 00:42:36 +05:30
Bradley Schofield 82b7e18033 First Test 2021-08-24 10:32:27 +01:00
Christy Jacob f3074bc024 feat(usage): some refactoring 2021-08-20 15:34:57 +05:30
Christy Jacob cfe49b6892 feat(usage): refactored functions usage endpoint 2021-08-20 13:54:45 +05:30
Damodar Lohani bc05c4d3a5 update custom id description on all services 2021-08-19 10:37:36 +05:45
Eldad Fux 89f55a1727 Re-orgenized controller flow 2021-08-18 16:42:03 +03:00
Eldad A. Fux 52132c22b6
Merge branch 'feat-database-indexing' into feat-db-search-attribute 2021-08-14 21:58:56 +03:00
Eldad Fux a7c4edba95 Updated collection structures to support fulltext search 2021-08-14 21:56:28 +03:00
Torsten Dittmann 1061dc6366 fix(after-pagination): updated descriptions 2021-08-11 15:30:25 +02:00
Torsten Dittmann 8296021b63 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-after-pagination 2021-08-09 12:03:15 +02:00
Torsten Dittmann a49b12c542 feat(functions): add after pagination 2021-08-06 14:36:05 +02:00
Damodar Lohani e0e5e3a818 drop tags custom id support 2021-08-06 15:33:18 +05:45
Damodar Lohani 8c72349a3e drop execution custom id support 2021-08-06 15:22:27 +05:45
Damodar Lohani 8b021a13ef more fixes introducing name 2021-07-29 14:18:38 +05:45
Damodar Lohani 68ea2e2ab1 re introduce name attributes 2021-07-29 13:54:24 +05:45
Damodar Lohani 062e22a708 Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-27 11:45:26 +05:45
Eldad Fux 13c1bb045d Cleanup old db library 2021-07-25 17:47:18 +03:00
Damodar Lohani e91f31991b Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-25 17:03:13 +05:45
Eldad Fux f909b9da1c Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-07-25 14:11:23 +03:00
Eldad Fux d0e4e5cb29 Fixed bug 2021-07-22 17:49:52 +03:00
Damodar Lohani f957c4aa94 remove name on update 2021-07-22 11:53:55 +05:45
Damodar Lohani e06701942c remove name from function 2021-07-21 17:43:05 +05:45
Damodar Lohani 6511d63726 Merge branch 'feat-database-indexing' into feat-custom-id 2021-07-20 11:12:54 +05:45
Damodar Lohani 2f222e136d executions custom id 2021-07-19 13:57:01 +05:45
Damodar Lohani 95e90efcc6 custom id in function and tag 2021-07-19 13:54:37 +05:45
Eldad Fux b4a65c2c1a Removed TODOs, fixed comments 2021-07-16 07:39:31 +03:00
Eldad Fux 03ff844291 Merge branch '0.9.x' of github.com:appwrite/appwrite into feat-database-indexing 2021-06-26 22:47:53 +03:00
Bradley Schofield 22bc391047
Update app/controllers/api/functions.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2021-06-22 11:18:26 +01:00
Bradley Schofield c92a820c6d Renamed env param on /v1/functions to runtime 2021-06-21 15:42:39 +01:00
Eldad Fux 83047e8784 Fixed is empty conditions 2021-06-20 16:59:36 +03:00
Eldad Fux 4dc225a886 Added orderType params 2021-06-12 17:33:23 +03:00
Eldad Fux 26d0d5d3dc Implemented search 2021-05-27 13:09:14 +03:00
Eldad Fux abd0bba8a4 Merge branch 'master' of github.com:appwrite/appwrite into feat-database-indexing 2021-05-27 01:31:29 +03: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 e1ce368f66 Removed getArrayCopy 2021-05-15 23:03:56 +03:00
Eldad Fux 0a3c198e00 Removed boolean check on DB operation 2021-05-09 23:34:32 +03:00
Eldad Fux c173d4a2e3 More cometics 2021-05-09 21:37:47 +03:00
Eldad Fux 7192ead92d Cleanups 2021-05-05 17:52:34 +03:00
Eldad Fux d699c8aba9 Updated functions service 2021-05-05 00:25:17 +03:00
Torsten Dittmann 24705f2d08 Merge branch '0.8.x' of https://github.com/appwrite/appwrite into feat-upgrade-php-version 2021-04-29 09:37:08 +02:00
Torsten Dittmann 4689d0b69f Revert "fix: influx db client"
This reverts commit 5ddcdf1779.
2021-04-27 15:51:35 +02:00
Torsten Dittmann 5ddcdf1779 fix: influx db client 2021-04-27 15:39:40 +02:00
Torsten Dittmann f2426aa473 fix: use authorization control instead of arguments 2021-04-27 09:28:42 +02:00
Torsten Dittmann 4eb298e4e0 fix: executions permission validation 2021-04-27 09:12:59 +02:00
Torsten Dittmann 25b03c90f8 feat: introduce appwrite/php-runtimes 2021-04-21 13:02:54 +02:00
Eldad Fux ce8b3686d8 Replaced sdk.security with sdk.auth 2021-04-16 10:22:17 +03:00
Eldad Fux 8ea83b24c3 Added new JWT as SDK auth method 2021-03-29 00:22:12 +03:00
kodumbeats d33b12bd61 Merge remote-tracking branch 'origin/dev' into feat-962-pass-data-to-function-execution 2021-03-22 12:47:06 -04:00
Eldad Fux a76016fa37 Fixed functions tests 2021-03-22 18:19:05 +02:00
kodumbeats daeed74473
Merge branch '0.8.x' into feat-962-pass-data-to-function-execution 2021-03-18 07:14:16 -04:00
Eldad A. Fux 08dd968ab9
Merge branch '0.8.x' into feat-functions-and-executions-events 2021-03-17 22:55:43 +02:00
Eldad Fux 024fae0d21 Changed execution default permissions 2021-03-14 01:52:05 +02:00
kodumbeats f734fc1de2 Add events for functions and executions 2021-03-11 13:25:46 -05:00
kodumbeats 681ab12f76 Instantiate jwt outside conditionals 2021-03-10 15:25:54 -05:00
kodumbeats f56a63c611 Make JWT for each execution 2021-03-10 12:48:05 -05:00
kodumbeats da8984f66e Pass userId and JWT to function as env vars 2021-03-10 11:58:46 -05: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 Fux e704cc82b5 Remove content type when no content 2021-02-02 08:02:35 +02:00
Eldad Fux 8fc7026cfb Changed file param to code (again) 2021-01-31 21:11:03 +02:00
Eldad Fux 52a37051c9 Fixed tests added new SDK label 2021-01-29 16:29:53 +02:00
Eldad Fux d6df93fb3c Updated param name 2021-01-29 13:37:00 +02:00
Eldad A. Fux 1c361cc094
Merge pull request #854 from appwrite/feat-tag-file-validation
Feat tag file validation
2021-01-28 14:50:56 +02:00
Eldad Fux 9ff0790d44 Fixed validation 2021-01-27 20:08:46 +02:00
Eldad Fux 5e8c7eb3d3 Added a new file extension validator 2021-01-27 15:15:44 +02:00
Eldad Fux 8fddd33f4b Added file type validation 2021-01-27 00:15:20 +02: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
Damodar Lohani d4c7ab045a Switching to utopia-php/storage 2021-01-22 14:13:33 +05:45
Eldad Fux 26faaae5fc Removed log 2021-01-17 02:08:16 +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 17c90846e1 Fixed syntax bug in functions service 2021-01-15 07:30:49 +02:00
Eldad A. Fux bce0933cc2
Merge pull request #817 from lohanidamodar/feat-disable-usage-stats
Feat disable usage stats
2021-01-13 22:38:02 +02:00
Damodar Lohani 379ce3abce refactoring with suggested updates 2021-01-13 12:10:43 +05:45
Damodar Lohani 8da252366d Skip functions usage getting from influx if usage stats disabled 2021-01-13 06:55:52 +05:45
Eldad Fux ac8410d22b Added functions execution abuse limit 2021-01-12 00:21:56 +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 1bb95fd948
Merge pull request #790 from appwrite/feat-update-function-docs
Updated docs
2020-12-31 13:11:34 +02:00
Eldad Fux 05b510786e Updated docs 2020-12-31 10:25:11 +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 4d4336e357 Ability to update execute permissions 2020-12-30 14:25:32 +02:00
Eldad Fux ec8be5eed1 Added new roles for execution 2020-12-30 09:26:01 +02:00
Eldad Fux 6d94c12409 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-execute-functions-from-client 2020-12-30 07:50:54 +02:00
Eldad Fux dd9cbcef62 Enabled client endpoints for CF 2020-12-30 01:00:44 +02:00
Christy Jacob c7306053d1 fix: use orderType in DB query 2020-12-30 01:00:49 +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 e77abfe706 Merge branch '0.7.x' of https://github.com/appwrite/appwrite into feat-na-maintenance-task 2020-12-27 23:30:59 +05:30
Eldad Fux 881b1e71a3 Merge branch '0.7.x' of github.com:appwrite/appwrite into swoole-and-functions 2020-12-27 09:10:43 +02:00
Eldad Fux 4142791fc9 Updated functions controller 2020-12-26 17:20:08 +02:00
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 b40b586342 patch: review comments and some fixes 2020-12-21 23:45:52 +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
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
Eldad Fux c10817859d Minimized all direct API filters 2020-12-13 01:22:55 +02:00
Eldad Fux 4bff1dd5b6 Default limit for function conatiner is 1 cpu 2020-12-06 23:15:01 +02:00
Eldad Fux afd20d96f8 Updated routes lables 2020-11-11 23:02:24 +02:00
Eldad Fux 1e1e1a431f Minor cleanups 2020-10-31 10:42:41 +02:00
Eldad Fux e81fb88736 First commit 2020-10-30 21:53:27 +02:00
Eldad Fux 752c6b4ecb Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-coding-standards 2020-10-30 00:42:46 +02:00
Eldad Fux 07b79c3103 Updated docs 2020-10-29 15:50:49 +02:00
Eldad Fux b8b77822c2 Updated controllers folder 2020-10-27 21:46:15 +02:00
Eldad Fux ca95ee803e Test preloading of all validators 2020-09-10 17:40:14 +03:00
Eldad Fux e399b13639 [BUG] case sensitive country flag code
Fixes #526
2020-09-09 23:29:39 +03:00
Eldad Fux 1d218b213c Updated docs 2020-09-08 00:36:13 +03:00
Eldad Fux 77667be404 Changes all name attributes length to max
of 128 chars
2020-09-08 00:28:40 +03:00
Eldad Fux de32dbe040 Delete tag source not just data 2020-07-19 00:48:28 +03:00
Eldad Fux eec1dd6714 Updated logs UI 2020-07-17 11:14:16 +03:00
Eldad Fux b53afae778 Fixed missing tag error timing 2020-07-17 00:50:37 +03:00
Eldad Fux 2af2484afa Worker now run real functions 2020-07-16 15:04:06 +03:00
Eldad Fux 3c194b5076 Manual function execution 2020-07-15 23:29:55 +03:00
Eldad Fux 1f46f0ef77 Set default tag 2020-07-15 22:09:33 +03:00
Eldad Fux b70e185450 Added functions worker standalone container 2020-07-15 15:49:10 +03:00
Eldad Fux 6251d2b40a Added upload 2020-07-15 06:38:57 +03:00
Eldad Fux 8d5e62a02b Added a new volume 2020-07-15 00:20:46 +03:00
Eldad Fux 436300439d Enabled code upload 2020-07-14 23:33:52 +03:00
Eldad Fux 6d2cd5884d Updated default values 2020-07-14 19:43:34 +03:00
Eldad Fux 8618f4d764 Updated ENV config 2020-07-14 19:13:18 +03:00
Eldad Fux 75254ac9f7 Refactored functions API 2020-07-13 00:18:52 +03:00
Eldad Fux 8e4dd5583a Updated timeout range 2020-05-13 23:59:02 +03:00
Eldad Fux 1d4a6cb99e Functions work in progress 2020-05-13 01:00:48 +03:00
Eldad Fux aebc355848 Changed default timeout 2020-05-11 09:48:07 +03:00
Eldad Fux 13bc97bd7e Updated SDKs 2020-05-11 07:39:00 +03:00
Eldad Fux 839428ce9c Updated SDKs 2020-05-10 23:44:28 +03:00
Eldad Fux 25280cce16 Updated tests 2020-05-06 20:35:56 +03:00
Eldad Fux a3b1e97ebf Updated tests and delete methods 2020-05-06 15:12:52 +03:00
Eldad Fux 4420c85460 Added first e2e test 2020-05-05 23:37:59 +03:00
Eldad Fux 81f4293834 Updated collections structure 2020-05-05 22:42:35 +03:00
Eldad Fux 2213c6622f First draft for API routes 2020-05-05 20:30:12 +03:00
Eldad Fux 09e57b46ce Updated collections 2020-05-04 17:35:01 +03:00