1
0
Fork 0
mirror of synced 2024-08-04 13:01:45 +12:00
Commit graph

577 commits

Author SHA1 Message Date
Jake Barnby
ce38e74ba2 Update remaining services to new permissions 2022-08-02 21:21:53 +12:00
Bradley Schofield
66fcbee0df Start working on adding UI 2022-08-01 15:13:47 +00:00
Damodar Lohani
f555568d50
Update app/controllers/api/functions.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2022-07-28 12:40:14 +05:45
Bradley Schofield
3c808ca895 Fix problem with Exception class 2022-07-26 15:56:59 +01:00
Bradley Schofield
96c6c0ff00 Migrate all exceptions to new signature 2022-07-26 15:24:32 +01:00
Matej Bačo
183a18f618 Implement functions CRUD operations 2022-07-20 07:18:49 +00:00
Bradley Schofield
35c546782f Change more status codes to 202 2022-07-18 10:43:51 +01:00
Bradley Schofield
88064cdbaf Merge branch 'master' into fix-update-status-codes 2022-07-18 10:37:07 +01:00
Damodar Lohani
f9d62599a4 fix get usage on Functions 2022-07-17 10:43:10 +00:00
Damodar Lohani
dbd941f464 fix param 2022-07-17 10:39:44 +00:00
Damodar Lohani
ff8e730b8a new function usages endpoint 2022-07-17 10:30:58 +00:00
Torsten Dittmann
5604a6837f Merge branch '0.16.x' of https://github.com/appwrite/appwrite into origin/datetime-attributes 2022-07-14 14:14:05 +02:00
Bradley Schofield
5f0032bb7f Use 202 when resources are created asyncronously 2022-07-14 10:52:55 +01:00
fogelito
45ac40cc85 change function names 2022-07-13 17:02:49 +03:00
Matej Bačo
d93ac31b4e Fix function usage missing 2022-07-13 08:57:57 +00:00
fogelito
f384a3352b change class from database:: to dateTime:: 2022-07-12 16:32:39 +03:00
fogelito
7e08575245 builds, stats 2022-07-11 18:12:41 +03:00
Matej Bačo
aae7ec6146 Upgrade to use new permissiosn validator features 2022-07-10 17:25:27 +00:00
fogelito
10ca7de6ba workers functions 2022-07-07 12:54:46 +03:00
fogelito
e0f2d59864 scheduleNext + schedulePrevious functions changes 2022-07-07 12:26:30 +03:00
Jake Barnby
d13afe0b2e Fix get deployment response type 2022-07-07 16:51:37 +12:00
fogelito
73a19614e1 functions api 2022-07-02 17:38:53 +03:00
fogelito
cff5bab403 functions api 2022-07-02 17:25:44 +03:00
Torsten Dittmann
e83cf382fd fix: all sdks and specs 2022-06-28 13:21:28 +02:00
Torsten Dittmann
ef1daf8f1c Merge branch 'master' of https://github.com/appwrite/appwrite into 0.15.x 2022-06-24 14:15:42 +02:00
Damodar Lohani
2750e60768
fix for ruby and go SDK as file params seems to be string 2022-06-24 15:24:44 +05:45
Damodar Lohani
8f14f5aa21
Database layer (#3338)
* database response model

* database collection config

* new database scopes

* database service update

* database execption codes

* remove read write permission from database model

* updating tests and fixing some bugs

* server side tests are now passing

* databases api

* tests for database endpoint

* composer update

* fix error

* formatting

* formatting fixes

* get database test

* more updates to events and usage

* more usage updates

* fix delete type

* fix test

* delete database

* more fixes

* databaseId in attributes and indexes

* more fixes

* fix issues

* fix index subquery

* fix console scope and index query

* updating tests as required

* fix phpcs errors and warnings

* updates to review suggestions

* UI progress

* ui updates and cleaning up

* fix type

* rework database events

* update tests

* update types

* event generation fixed

* events config updated

* updating context to support multiple

* realtime updates

* fix ids

* update context

* validator updates

* fix naming conflict

* fix tests

* fix lint errors

* fix wprler and realtime tests

* fix webhooks test

* fix event validator and other tests

* formatting fixes

* removing leftover var_dumps

* remove leftover comment

* update usage params

* usage metrics updates

* update database usage

* fix usage

* specs update

* updates to usage

* fix UI and usage

* fix lints

* internal id fixes

* fixes for internal Id

* renaming services and related files

* rename tests

* rename doc link

* rename readme

* fix test name

* tests: fixes for 0.15.x sync

Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2022-06-22 12:51:49 +02:00
Torsten Dittmann
bbdf70ee90 feat: use new $createdAt and $updatedAt attributes 2022-06-15 14:46:52 +02:00
Everly Precia Suresh
95615416a6 formate function.php 2022-05-31 13:50:27 +00:00
Everly Precia Suresh
318df0d3f3 Merge branch 'master' of https://github.com/appwrite/appwrite into introduce-formatter-and-linter 2022-05-31 11:55:30 +00:00
Everly Precia Suresh
eb6b8d408a update refactor 2022-05-24 15:04:28 +00:00
Everly Precia Suresh
07bf57b161 update refactor 2022-05-24 14:57:12 +00:00
Everly Precia Suresh
e2bd17d253 update refactor 2022-05-24 14:28:27 +00:00
Everly Precia Suresh
35e762453b pull latest 2022-05-24 14:04:55 +00:00
Everly Precia Suresh
107513c4c8 refactor func 2022-05-24 13:56:57 +00:00
Everly Precia Suresh
19300ccdd7 format files in app, src, tests 2022-05-23 14:54:50 +00:00
Everly Precia Suresh
eeb7ba120f add param types for vars and file 2022-05-14 10:11:38 +00:00
Everly Precia Suresh
6d3e4b3757 fix tests 2022-05-13 15:12:21 +00:00
Everly Precia Suresh
1b9e5bc086 fix tests 2022-05-13 15:05:10 +00:00
Everly Precia Suresh
1f139d9337 fix tests 2022-05-13 12:27:12 +00:00
Everly Precia Suresh
3e41a3a5f9 refactor functions.php 2022-05-13 12:05:42 +00:00
Torsten Dittmann
5a9a967f35 fix: delete all sessions event 2022-05-12 21:31:15 +02:00
Torsten Dittmann
158ecce959 Merge branch 'master' of https://github.com/appwrite/appwrite into 0.14.x 2022-05-12 20:41:04 +02:00
Torsten Dittmann
6c9e17ec74 Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-use-build-timeout 2022-05-12 19:57:20 +02:00
Torsten Dittmann
9455a7c573
Merge pull request #3144 from appwrite/feat-array-limits
Feat: Array API limits
2022-05-12 19:03:29 +02:00
Matej Bačo
f28597bc17 Fix wording 2022-05-09 06:43:37 +00:00
Torsten Dittmann
3692ff0bf6
Merge branch '0.14.x' into feat-use-build-timeout 2022-05-08 20:42:36 +02:00
Torsten Dittmann
2cc2a40377 Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-05-08 15:11:14 +02:00
Matej Bačo
5aa009d843 Rename const 2022-05-01 07:54:58 +00:00
Matej Bačo
4d2d7eddaf PR review changes 2022-05-01 07:53:59 +00:00
Matej Bačo
dd8f96ea63 Define const APP_LIMIT_ATTRIBUTE_COUNT 2022-04-26 13:29:23 +00:00
Bradley Schofield
d981c8f5e5 Rename 'stdout' in executions to 'response' 2022-04-25 10:12:58 +01:00
Matej Bačo
d36a2602ed Add limits, add docs 2022-04-25 07:23:25 +00:00
Torsten Dittmann
0552f92d50 Merge branch '0.14.x' of https://github.com/appwrite/appwrite into feat-new-event-model 2022-04-19 15:16:43 +02:00
Torsten Dittmann
033bbec261 fix: usage and build 2022-04-19 15:13:55 +02:00
Torsten Dittmann
7790d72c0c fix: realtime, tests and webhooks 2022-04-18 18:21:45 +02:00
Torsten Dittmann
8ec435ed1f sync: changes 2022-04-17 22:34:32 +02:00
Andrey
e37d1be6a6 * Move default host value from code to env variables
* Add validation for host value
2022-04-13 18:15:25 +02:00
Torsten Dittmann
87b8fc3c41 feat: event classes for different cases 2022-04-13 14:39:31 +02:00
Andrey
ade4024593 Added configurable host for Executor service:
* Add `_APP_EXECUTOR_HOST` env variable.
* Use `_APP_EXECUTOR_HOST` (or fallback to default) as host value to Executor service.
2022-04-11 20:45:47 +02:00
Christy Jacob
13b28e0051 feat: update test message 2022-03-15 18:51:32 +04:00
Christy Jacob
ee056e582f feat: function execution time for failed executions 2022-03-15 17:06:05 +04:00
Matej Bačo
942bdbd25a Improved runtimes docs 2022-03-02 12:21:03 +00:00
Christy Jacob
c0ff59b916
Merge pull request #2869 from appwrite/fix-deployment-activate-param
Fix: Deployment activate param
2022-03-01 22:13:11 +04:00
Christy Jacob
2cf9364498 feat: fix throw 2022-03-01 21:53:28 +04:00
Matej Bačo
0d2c8d8b39 Fix activate pram 2022-03-01 15:09:21 +00:00
Christy Jacob
1490b7353c feat: print correct error messages 2022-03-01 18:19:47 +04:00
Matej Bačo
0dec387f85
Merge branch 'feat-functions-refactor' into fix-rename-sum 2022-02-28 19:50:54 +01:00
Christy Jacob
8495bbd072
Update app/controllers/api/functions.php
Co-authored-by: Matej Bačo <matejbacocom@gmail.com>
2022-02-27 21:13:55 +04:00
Christy Jacob
0bcd8bff23 feat: add missing error codes 2022-02-27 18:26:46 +04:00
Christy Jacob
f8a445294c feat: add missing error codes 2022-02-27 15:57:41 +04:00
Matej Baco
56bf7a51df Refactored 'sum' to 'total' 2022-02-27 10:57:09 +01:00
Christy Jacob
a6682a602d feat: fix activate issue 2022-02-25 18:27:50 +04:00
Christy Jacob
21887e6401 feat: fix retry deployment endpoint 2022-02-25 15:12:44 +04:00
Christy Jacob
16a46ad99a feat: fix retry deployment endpoint 2022-02-25 15:06:58 +04:00
Christy Jacob
8d0ff927a7 feat: fix tests 2022-02-24 21:00:05 +04:00
Bradley Schofield
b2217f6950 Use execution directly 2022-02-24 13:22:20 +00:00
Bradley Schofield
06448bbdc5 Remove Synchronous execution model 2022-02-24 12:58:10 +00:00
Jake Barnby
2c2b9668d2 Avoid potential scope bug 2022-02-24 15:18:11 +13:00
Damodar Lohani
d63cd6950a functions isze limit 2022-02-22 12:36:43 +00:00
Damodar Lohani
a58251baca fix size 2022-02-22 12:31:04 +00:00
Damodar Lohani
56241b5789
Update app/controllers/api/functions.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-02-22 18:12:18 +05:45
Damodar Lohani
2e0a91a3a8
Update app/controllers/api/functions.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-02-22 18:12:13 +05:45
Damodar Lohani
5d9a9f53d8 update 2022-02-22 11:28:26 +00:00
Damodar Lohani
372baa51e9 fix redis queue 2022-02-22 11:18:18 +00:00
Damodar Lohani
b0096c94e6
Update app/controllers/api/functions.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2022-02-22 16:19:51 +05:45
Damodar Lohani
6c49811d14 use deployment limit instead 2022-02-22 06:32:31 +00:00
Damodar Lohani
d8a510aa22 Merge branch 'feat-functions-refactor-merge' of https://github.com/appwrite/appwrite into feat-func-storage-sync 2022-02-22 05:49:45 +00:00
Damodar Lohani
0990448dda Merge branch 'feat-functions-refactor' into feat-functions-refactor-merge 2022-02-22 05:48:03 +00:00
Christy Jacob
2f944e9abc Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-executor-improvements 2022-02-21 15:01:13 +04:00
Christy Jacob
33c58bfc65 fix: issue with auto deploy flag 2022-02-21 14:41:50 +04:00
Damodar Lohani
045ba04124 fix resource type 2022-02-18 21:23:48 +05:45
Damodar Lohani
27a2e80ad1 extend exception import 2022-02-18 12:36:24 +00:00
Damodar Lohani
96b8ac7392 Merge branch 'feat-functions-refactor-merge' of https://github.com/appwrite/appwrite into feat-func-storage-sync 2022-02-18 11:46:37 +00:00
Damodar Lohani
eb916e58d4 Merge branch '0.13.x' of https://github.com/appwrite/appwrite into feat-func-storage-sync 2022-02-18 11:43:29 +00:00
Christy Jacob
3c65d40234 Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-functions-refactor-merge 2022-02-18 15:16:10 +04:00
Christy Jacob
4ad47061dd Merge branch 'master' of github.com:appwrite/appwrite into feat-functions-refactor 2022-02-18 13:38:54 +04:00
Damodar Lohani
9d5b6ef096 fix permission and other fixes for chunked upload 2022-02-17 12:47:26 +00:00
Damodar Lohani
53f7301ade Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-func-storage-sync 2022-02-17 14:11:24 +05:45
Christy Jacob
c5e37f439b feat: do not enque build 2022-02-17 04:12:45 +04:00
Christy Jacob
da7512e050 Merge branch '0.13.x' of github.com:appwrite/appwrite into feat-add-error-codes 2022-02-17 02:25:29 +04:00
Christy Jacob
9115aa392d feat: create build when activating a deployment 2022-02-17 00:38:58 +04:00
Christy Jacob
75f4061698 feat: fix retry build 2022-02-17 00:06:22 +04:00
Christy Jacob
1c0c5e1b18 feat: change default value of build status 2022-02-16 20:00:45 +04:00
Christy Jacob
cef5264c48 feat: propogate errors in Executor 2022-02-16 15:43:21 +04:00
Christy Jacob
e40821393c
Merge pull request #2792 from appwrite/feat-rename-autodeploy
Renamed 'deploy' to 'activate'
2022-02-16 13:33:54 +04:00
Christy Jacob
c90581e469
Merge pull request #2793 from appwrite/feat-rename-deploymentid
Improved deployment and build path structure
2022-02-16 13:22:38 +04:00
Christy Jacob
123c47fb9a feat: handle build and execution errors 2022-02-15 21:39:03 +04:00
Matej Baco
07f0eb46b2 Improved deployment and build path structure 2022-02-15 10:16:32 +01:00
Matej Baco
166cd6e748 Renamed deploy to activate 2022-02-15 09:46:21 +01:00
Christy Jacob
0276d94ef1 feat: add remaninig endpoints 2022-02-13 02:34:16 +04:00
Damodar Lohani
d73d3015eb Merge branch 'master' into feat-storage-buckets 2022-02-10 01:20:16 +00:00
Christy Jacob
f18f96e816 feat: fix tests 2022-02-10 00:20:28 +04:00
Christy Jacob
1ab27083c4 feat: update cursor errors 2022-02-09 02:56:11 +04:00
Christy Jacob
661630c1c6 Merge branch 'master' of github.com:appwrite/appwrite into feat-add-error-codes 2022-02-08 20:56:03 +04:00
Torsten Dittmann
6796aabf9c
Merge pull request #2637 from appwrite/feat-migration-0-13
feat: migration for 0.13
2022-02-08 11:17:44 +01:00
Christy Jacob
e7cfa206e5 feat: update descriptions of functions errors 2022-02-08 03:04:06 +04:00
Christy Jacob
1613b3f79e feat: use general server errors in functions API 2022-02-07 00:53:26 +04:00
Christy Jacob
c57d42e686 feat: update error codes in the functions API 2022-02-06 20:12:28 +04:00
Christy Jacob
1ca2cc7bc0 feat: update error codes in the functions API 2022-02-06 20:12:15 +04:00
Christy Jacob
a9c1b96de5 feat: update comment 2022-02-06 13:19:11 +04:00
Christy Jacob
a96c6c84ee feat: update comment 2022-02-06 13:15:52 +04:00
Christy Jacob
1b0a02e20d feat: fix executor issues 2022-02-05 23:49:57 +04:00
Christy Jacob
f83fdc92de feat: fix executor issues 2022-02-05 14:08:05 +04:00
Christy Jacob
6610bf9873 feat: add executor class 2022-02-04 05:29:40 +04:00
Christy Jacob
7f1df839ec feat: remove database dependencies from the create execution endpoint 2022-02-03 04:05:03 +04:00
Christy Jacob
7d82c1006a feat: fix tests 2022-02-01 03:44:55 +04:00
Christy Jacob
b1a659be77 Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-add-deletes-worker 2022-01-31 18:04:49 +04:00
Christy Jacob
9dcab06015 Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-cleanup-collections 2022-01-31 16:01:46 +04:00
Bradley Schofield
d2ec314ef0 Remove Search and add resourceType to indexes 2022-01-31 11:36:22 +00:00
Bradley Schofield
8e639d4f5f Fix UI 2022-01-31 11:29:31 +00:00
Christy Jacob
fa006e9963 feat: replace strings with constant 2022-01-31 13:46:24 +04:00
Christy Jacob
8f51bf4763 feat: linting 2022-01-28 16:29:06 +04:00
Christy Jacob
6e44812d99 feat: remove unused injection 2022-01-28 05:30:24 +04:00
Christy Jacob
8e10d5cad9 feat: remove unused injection 2022-01-28 05:29:36 +04:00
Christy Jacob
09de5ed256 feat: delete deployment deletion to the worker 2022-01-28 05:29:20 +04:00
Christy Jacob
dbcf479cd9 feat: remove curl request from DELETE /function 2022-01-28 04:26:19 +04:00
Christy Jacob
a82562c16e feat: add deploymentId property to builds collection 2022-01-28 03:36:30 +04:00
Christy Jacob
2c91a24928 feat: fix failing tests 2022-01-27 03:19:02 +04:00
Christy Jacob
c595f4eea9 feat: rename tag to deployments across worker 2022-01-26 17:09:32 +04:00
Christy Jacob
c1d71904e8 Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-add-builds-worker 2022-01-26 16:59:24 +04:00
Bradley Schofield
ee2670fcd7 Merge branch 'feat-functions-refactor' into feat-cleanup-collections 2022-01-26 09:59:46 +00:00
Christy Jacob
b5d75de5ab feat: remove var_dump 2022-01-26 13:23:29 +04:00
Damodar Lohani
0d51236f98 Merge branch 'master' into fix-cache 2022-01-26 13:53:18 +05:45
Christy Jacob
ebc55e7e8e feat: refactor 2022-01-26 03:45:41 +04:00
Christy Jacob
e2bc4e748f Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-add-builds-worker 2022-01-25 21:11:29 +04:00
Christy Jacob
3685d8ef31 Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-rename-tags 2022-01-25 21:02:48 +04:00
Bradley Schofield
3c17afbaed Cleanup Collections
- Rename functionId to resourceId on Deployments
 - Add a resourceType to Deployments
 - Remove status, buildStdout and buildStderr from deployments
 - Rename dateCreated on Builds to startTime
 - Rename time on Builds to endTime
 - Added a deploymentId to Builds
 - Added duration to builds
 - Remove Vars from Build
2022-01-25 16:51:05 +00:00
Torsten Dittmann
0763e9eeb7 Merge branch 'feat-functions-refactor' of https://github.com/appwrite/appwrite into feat-fx-review 2022-01-25 17:35:53 +01:00
Christy Jacob
88a149384b feat: fix response model, generate console SDK 2022-01-25 13:40:44 +04:00
Christy Jacob
1b42033cda feat: fix response model, generate console SDK 2022-01-25 04:54:44 +04:00
Christy Jacob
7a30446197 feat: update FunctionCustomServerTest 2022-01-25 03:46:13 +04:00
Christy Jacob
da4655df32 feat: update retry build endpoint 2022-01-25 03:17:10 +04:00
Christy Jacob
f712345677 feat: update create-execution endpoint 2022-01-25 03:16:53 +04:00
Christy Jacob
43e3f23a4e feat: update create-deployment endpoint 2022-01-25 03:15:53 +04:00
Christy Jacob
9b77485bcd feat: reneame delete-tag endpoint 2022-01-25 03:14:21 +04:00
Christy Jacob
37d30154f3 feat: reneame get-tag endpoint 2022-01-25 03:11:33 +04:00
Christy Jacob
988634eb79 feat: reneame list-tags endpoint 2022-01-25 03:09:24 +04:00
Christy Jacob
8f69eafd89 feat: reneame create-tag endpoint 2022-01-25 03:06:54 +04:00
Christy Jacob
831a94a0c5 feat: reneame create-tag endpoint 2022-01-25 03:06:16 +04:00
Christy Jacob
f7e44a31be feat: reneame create-tag endpoint 2022-01-25 03:05:41 +04:00
Christy Jacob
f6411cd213 feat: reneame create-tag endpoint 2022-01-25 03:05:17 +04:00
Christy Jacob
e6fdeb3d9d feat: reneame update-function-tags endpoint 2022-01-25 02:59:02 +04:00
Bradley Schofield
f68723a518 Various Improvements
+ Updated build list
+ Added search attribute to builds
+ Renamed automaticDeploy to deploy
+ Added tests for build list
2022-01-24 15:54:07 +00:00
Bradley Schofield
9a0b7ce142 Merge branch 'feat-functions-refactor' of https://github.com/appwrite/appwrite into feat-functions-refactor 2022-01-24 09:37:46 +00:00
Bradley Schofield
5ba45abadc Implement Some of Eldad's Changes 2022-01-24 09:37:14 +00:00
Christy Jacob
046797e48f feat: refactor auth::skip 2022-01-24 03:05:07 +04:00
Christy Jacob
b59566a815 feat: move retry build call to builds worker 2022-01-24 03:01:42 +04:00
Christy Jacob
abd54938ef feat: add build worker 2022-01-24 02:25:46 +04:00
Torsten Dittmann
8b67fa76f8 fix: default vars param on function 2022-01-23 21:45:12 +01:00
Eldad Fux
029e1dc6f6 Hiding port 8080 2022-01-23 19:21:23 +02:00
Christy Jacob
12ed89b49c Merge branch 'feat-functions-refactor' of github.com:appwrite/appwrite into feat-functions-refactor 2022-01-23 20:53:33 +04:00
Torsten Dittmann
bae6353bcf Merge branch 'master' of https://github.com/appwrite/appwrite into feat-functions-refactor 2022-01-21 19:58:24 +01:00
Christy Jacob
4f87ebe586 fix: patch version 2022-01-21 22:02:02 +04:00
Matej Baco
d9eb1e9545 Use dynamic value in controller 2022-01-21 09:05:41 +01:00
Bradley Schofield
2e3c904385 Fix a few bugs 2022-01-20 14:41:27 +00:00
Torsten Dittmann
4cc89ae597 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-migration-0-13 2022-01-19 12:17:19 +01:00
Bradley Schofield
e79578570e Merge branch 'master' into the-executor-poc 2022-01-18 15:24:33 +00:00
Bradley Schofield
f85970fa3d Fix functions vars default response
Changed default from array to class
2022-01-18 15:12:26 +00:00
Torsten Dittmann
d3150afebc feat: migration for 0.13 2022-01-18 12:05:04 +01:00
Jake Barnby
0f209f8430 Fix function authorization exception when missing permission 2022-01-18 19:38:10 +13:00
Damodar Lohani
30fdb9f66d
Apply suggestions from code review
Co-authored-by: Matej Bačo <matejbaco2000@gmail.com>
2022-01-16 13:01:06 +05:45
Vincent Ge
a102ee6f14 Wrap unique() in double quotes to better indicate that it's a literal string 2022-01-12 17:19:30 -05:00
Bradley Schofield
e1b5809779 Update functions.php 2022-01-10 14:45:05 +00:00
Bradley Schofield
504cee8fd9 Update functions.php 2022-01-10 14:21:48 +00:00
Bradley Schofield
4e14d892b0 Implement Suggestions 2022-01-10 14:18:33 +00:00
Bradley Schofield
e866a352a7 Implement Suggestions 2022-01-10 14:13:23 +00:00
Bradley Schofield
58e68088fa Remove 'pending' build state, update version numbers 2022-01-10 14:00:11 +00:00
Damodar Lohani
2239e4a5e6 Merge branch 'feat-s3-integration' into feat-refactor-storage-resource 2022-01-07 15:47:38 +05:45
Damodar Lohani
f3bd94b26f fix tags 2022-01-06 15:36:24 +05:45
Damodar Lohani
6a735ad232 Merge branch 'feat-large-file' into feat-s3-integration 2022-01-06 15:33:44 +05:45
Bradley Schofield
58c7871388 Fix Merge Issues 2022-01-06 09:45:56 +00:00
Damodar Lohani
d20062f63a Merge branch 'feat-storage-buckets' into feat-large-file 2022-01-06 15:01:21 +05:45
Bradley Schofield
e2c4272ebd Merge branch 'master' into the-executor-poc 2022-01-05 13:38:51 +00:00
Matej Baco
69b4d074f5 Migrated all imports to new request class 2021-12-31 16:50:07 +01:00
Torsten Dittmann
693b8c7185 fix: replace internal and external database with project database 2021-12-27 13:45:23 +01:00
Damodar Lohani
da72a67687 Merge branch 'feat-s3-integration' into feat-refactor-storage-resource 2021-12-19 13:21:19 +05:45
Damodar Lohani
4de4e87c49 Merge branch 'feat-large-file' into feat-s3-integration 2021-12-19 13:19:54 +05:45
Damodar Lohani
879bff2bb1 Merge branch 'feat-storage-buckets' into feat-large-file 2021-12-19 13:01:09 +05:45
Torsten Dittmann
8826984b1f refactor: replace disable with skip calls for authorization 2021-12-17 16:25:05 +01:00
Torsten Dittmann
d1f901e7a8 feat: use arrow functions on authorization skip method 2021-12-16 12:30:43 +01:00
Torsten Dittmann
af5fb8751e fix: paginatio docs on endpoints 2021-12-14 12:21:44 +01:00
Torsten Dittmann
cb37a69c3e Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into feat-database-controller-docs-refactor 2021-12-14 12:16:05 +01:00
Damodar Lohani
d9883fe9eb use storage from resources in functions 2021-12-13 13:53:36 +05:45
Torsten Dittmann
adffae7cf7 docs(api): reviewed in-line docs of endpoints 2021-12-10 13:27:11 +01:00
Bradley Schofield
3c26a08202 Change exitCode to statusCode and move build to tag create
Change exitCode to statusCode and move build to tag create instead of tag deploy
2021-12-10 10:43:56 +00:00
Christy Jacob
653dfb292b feat: address review comments 2021-12-09 19:53:37 +04:00
Christy Jacob
43ef3c060b feat: add new endpoint 2021-12-09 17:02:12 +04:00
Bradley Schofield
37da3c5651 Implement Automatic Deploy
+ Implemented Automatic Deploy
+ Tags will now build automatically
+ You can now restart builds that failed
+ Builds now have their own storage device
+ Added a retry build endpoint
2021-12-08 15:08:53 +00:00
Bradley Schofield
885f57438d Fix Tests 2021-12-07 10:42:33 +00:00
Bradley Schofield
7de975ea95 Fix Bugs from merge 2021-12-06 15:04:00 +00:00
Bradley Schofield
1e76c03fd7 Merge remote-tracking branch 'upstream/feat-database-indexing' into the-executor-poc 2021-12-06 14:18:50 +00:00
Bradley Schofield
f30169dcc4 Move Build data into it's own collection
Move Build data into it's own collection
2021-12-06 14:12:41 +00:00
Damodar Lohani
08cec63c3e Merge branch 'feat-sb-uis' into feat-s3-integration 2021-12-03 13:52:10 +05:45
Damodar Lohani
5ea1ab714e function tags upload chunk begin from 1 2021-12-03 11:43:41 +05:45
Damodar Lohani
9e9256386b Merge branch 'feat-storage-buckets' into feat-large-file 2021-12-03 10:31:30 +05:45
Torsten Dittmann
f11a6325ff fix(api): use constant for maximum offset range 2021-12-01 14:05:01 +01:00
Damodar Lohani
ce07c464f8 fix chunks 2021-11-30 14:25:21 +05:45
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