Commit graph

247 commits

Author SHA1 Message Date
Jake Barnby
f7c1a6c4a6
IDE method hint 2022-05-04 21:17:19 +12:00
Jake Barnby
dbb49ac7bf
Async resolution fixes 2022-04-26 19:49:36 +12:00
Jake Barnby
48c610348e
Merge remote-tracking branch 'origin/master' into feat-graphql-support
# Conflicts:
#	app/controllers/api/account.php
#	app/controllers/api/graphql.php
#	app/controllers/api/projects.php
#	app/controllers/api/users.php
#	app/controllers/general.php
#	app/http.php
#	app/init.php
#	composer.lock
#	src/Appwrite/Utopia/Response.php
2022-04-05 16:44:38 +12:00
Matej Baco
56bf7a51df Refactored 'sum' to 'total' 2022-02-27 10:57:09 +01: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
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
Damodar Lohani
7e2b79f0f5 Merge branch 'master' into feat-storage-buckets 2022-01-28 13:23:22 +05:45
Christy Jacob
1b42033cda feat: fix response model, generate console SDK 2022-01-25 04:54:44 +04:00
Christy Jacob
8307c8d432 feat: rename tags response model to deployment 2022-01-25 02:54:13 +04:00
Bradley Schofield
e79578570e Merge branch 'master' into the-executor-poc 2022-01-18 15:24:33 +00:00
Torsten Dittmann
66f67cceb8 revert: adding documentlist response model 2022-01-17 18:54:46 +01:00
Torsten Dittmann
ba2790221c fix: hide internal id from documents 2022-01-17 17:25:20 +01:00
Damodar Lohani
ba82839128 Merge branch 'master' into feat-storage-buckets 2022-01-06 13:11:23 +05:45
Bradley Schofield
e2c4272ebd Merge branch 'master' into the-executor-poc 2022-01-05 13:38:51 +00:00
Matej Baco
592ab3ab00 WIP: Request filters refactor (into HTTP.php) 2021-12-30 17:17:01 +01:00
Matej Baco
e065470ffc Merge branch 'feat-database-indexing' into feat-health-api-response-models 2021-12-20 12:09:50 +01:00
Matej Baco
29076758ac Updated tests, fixed response models 2021-12-16 13:19:04 +01:00
Damodar Lohani
f3e6dfb71d
Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-15 15:43:14 +05:45
Matej Baco
5d373e1ce7 Created Response models + applied them 2021-12-14 15:17:55 +01:00
Torsten Dittmann
aaab9ead70 feat: remove func permission models 2021-12-14 11:42:34 +01:00
Damodar Lohani
2f582f6e18 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-14 11:30:52 +05:45
Bradley Schofield
65a58689fb Merge remote-tracking branch 'upstream/feat-database-indexing' into the-executor-poc 2021-12-10 13:48:04 +00:00
Christy Jacob
43ef3c060b feat: add new endpoint 2021-12-09 17:02:12 +04:00
Damodar Lohani
f5e48033ec Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-12-08 14:24:05 +05:45
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
Torsten Dittmann
f04cb72cfb Merge branch 'master' of https://github.com/appwrite/appwrite into feat-db-main-rebase 2021-12-01 14:19:41 +01:00
Damodar Lohani
8728668e21 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-11-25 13:33:55 +05:45
Torsten Dittmann
3a25532524 fix response model 2021-11-16 16:06:51 +01:00
Christy Jacob
8141043946 Merge branch 'master' into feat-graphql-support 2021-11-16 11:09:21 +04:00
Bradley Schofield
6ba2c4741b Merge remote-tracking branch 'upstream/feat-database-indexing' into the-executor-poc 2021-11-09 15:54:04 +00:00
Damodar Lohani
67884563d5 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-10-28 11:39:04 +05:45
Torsten Dittmann
1fd4e6c3c8 Merge branch 'master' of https://github.com/appwrite/appwrite into feat-database-indexing 2021-10-25 16:01:07 +02:00
Damodar Lohani
0e8645fc13 fix function model permission 2021-10-22 16:17:38 +05:45
Damodar Lohani
3e78abfc85 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-10-17 11:38:33 +05:45
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
9aaf6c27e5 Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-08 12:59:03 +02:00
Torsten Dittmann
8db80e164d Merge branch 'feat-database-indexing' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-10-07 12:08:24 +02:00
kodumbeats
ec5d2ed591 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-enum-attributes 2021-10-06 20:36:25 -04:00
Asmit2952
5a729e0932 Fixed PSR issues in Utopia Library
Signed-off-by: Asmit2952 <asmitbm2952002@gmail.com>
2021-10-06 19:52:38 +05:30
Torsten Dittmann
c3d1dad82c fix stdClass usage 2021-10-05 17:39:39 +02:00
Torsten Dittmann
1ed41f52d3 Merge branch 'master' of https://github.com/appwrite/appwrite into sync-realtime-with-db-refactor 2021-09-30 12:32:10 +02:00
kodumbeats
d305c7c442
Merge pull request #1624 from TorstenDittmann/feat-response-models-new-attributes-torsten
feat(feat-response-models-new-attributes): introduce response type array
2021-09-15 10:28:39 -04:00
Torsten Dittmann
0992576e52 introduce response type array 2021-09-14 10:26:16 +02:00
kodumbeats
d32b877347 Merge remote-tracking branch 'origin/feat-database-indexing' into feat-response-models-new-attributes 2021-09-12 08:57:02 -04:00
kodumbeats
7fbe95de30 Use enum filter to respond with proper enum model 2021-09-10 16:14:12 -04:00
Damodar Lohani
2b55e50c68 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-09-10 14:15:13 +05:45
Bradley Schofield
66d8b0599c Merge branch 'master' into the-executor-poc 2021-09-07 12:51:25 +01:00
Damodar Lohani
91e13572a8 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-09-02 13:37:40 +05:45
Christy Jacob
ac0ff8ea0f feat(response): use recursive function for swagger/openapi spec generation 2021-09-01 02:25:13 +05:30
Christy Jacob
ad81e414d9 feat(response): add metric and metric list to response models 2021-09-01 00:34:01 +05:30
kodumbeats
ddde87f32a Create custom response model for attributeList 2021-08-27 13:11:29 -04:00
kodumbeats
87de870093 Accept callback to get nested type of rule for Document arrays 2021-08-27 13:09:56 -04:00
Christy Jacob
ad99f8bd24 feat(usage): rename all usage response models 2021-08-27 22:15:08 +05:30
Christy Jacob
038aeb01fb feat(usage): added response models for projects API 2021-08-27 01:01:37 +05:30
Christy Jacob
1e30cdba4b feat(usage): added response models for functions API 2021-08-27 00:42:36 +05:30
Christy Jacob
b893190ce5 feat(usage): added response models for users API 2021-08-27 00:23:56 +05:30
Christy Jacob
6d6b0ee024 feat(usage): added response models for storage API 2021-08-27 00:14:32 +05:30
Christy Jacob
3d512e74bf feat(usage): added response models for database api 2021-08-26 23:45:36 +05:30
Christy Jacob
7775daa478 feat(usage): added new response model 2021-08-26 16:30:03 +05:30
Bradley Schofield
82b7e18033 First Test 2021-08-24 10:32:27 +01:00
kodumbeats
741779cdb8 Do not throw exception if rule default is null but not required 2021-08-23 17:33:57 -04:00
kodumbeats
328358654a Instantiate boolean attribute response model 2021-08-16 16:08:18 -04:00
kodumbeats
d2ad1a899e Add response model for boolean attribute 2021-08-16 16:01:20 -04:00
kodumbeats
78d013c109 Prefix all attribute models with Attribute 2021-08-16 15:59:58 -04:00
kodumbeats
6948a75133 Prefix custom string models with Attribute 2021-08-16 15:54:25 -04:00
kodumbeats
9c3f1988bb Instantiate new attribute models, constants, and lists 2021-08-13 16:58:54 -04:00
Damodar Lohani
19c97d7509 fix model task related issue 2021-08-13 14:25:01 +05:45
Eldad Fux
37dd778f86 Removed Rule and Permissions models 2021-08-03 16:34:29 +03:00
Eldad A. Fux
da426cbb2c
Merge pull request #1436 from appwrite/feat-deprecate-tasks
Removed the tasks service
2021-08-02 13:42:34 +03:00
Eldad Fux
fde3c0b112 Added response filter 2021-07-31 22:07:05 +03:00
Eldad Fux
c27fb0f000 work in progress 2021-07-31 07:58:33 +03:00
Damodar Lohani
5d6bd7868b fixes for test 2021-07-29 16:41:25 +05:45
Eldad Fux
95dacecf3a Removed the tasks service 2021-07-27 17:16:12 +03:00
Damodar Lohani
08ba825077 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-07-27 11:40:00 +05:45
Eldad Fux
13c1bb045d Cleanup old db library 2021-07-25 17:47:18 +03:00
Damodar Lohani
57fa41c240 merge feat-database-indexing 2021-07-18 11:29:43 +05:45
Torsten Dittmann
5bccaeb394 fix(response): setStatusCode phpdoc block 2021-07-14 10:52:26 +02:00
Damodar Lohani
5ff4781574 Merge branch 'feat-storage-buckets' into feat-sb-create 2021-06-15 13:38:03 +05:45
Damodar Lohani
fbf1f376c0 Merge branch 'feat-database-indexing' into feat-storage-buckets 2021-06-15 13:36:48 +05:45
Damodar Lohani
22da32a53f fix response model def for bucket 2021-06-15 11:09:39 +05:45
Christy Jacob
e419e4bc1c Merge branch 'master' of github.com:appwrite/appwrite into feat-graphql-support 2021-06-14 21:53:29 +05:30
Damodar Lohani
7a3611f6d5 bucketlist model 2021-06-14 17:25:06 +05:45
Damodar Lohani
c6d43b06c4 bucket response model 2021-06-14 16:43:18 +05:45
kodumbeats
1885a9632d Fix tests for create/delete collection 2021-06-11 14:07:05 -04:00
kodumbeats
6cb89ef955 Create response models for indexes and attributes 2021-06-08 15:30:42 -04: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
019f1e9d57 Fixed specs and code examples 2021-05-19 17:26:06 +03:00
Eldad Fux
d2749524b7 Merge branch 'dev' of github.com:appwrite/appwrite into 0.8.x 2021-05-17 21:27:07 +03:00
Eldad Fux
49fa978de4 Merge branch 'master' of github.com:appwrite/appwrite into dev 2021-05-17 21:24:35 +03:00
Torsten Dittmann
c2849a53eb fix(phpdocs): remove unused char 2021-05-06 17:48:22 +02:00
Torsten Dittmann
b3badfeb8d feat(mock): add text response error 2021-05-06 17:45:32 +02:00
Eldad Fux
3739be31bb Init DB library 2021-05-03 11:28:31 +03:00
Torsten Dittmann
cc34719768 feat: preferences response model 2021-04-21 15:37:51 +02:00
Torsten Dittmann
3ff66179c5 feat: add document response model that extends any type 2021-04-08 10:39:23 +02:00
Christy Jacob
772f110eee feat: refactor noContent() 2021-03-19 00:25:43 +05:30
Christy Jacob
455ba3ff18 feat: support for delete mutation 2021-03-18 02:47:50 +05:30
Christy Jacob
99ade8ec13 feat: added getCurrentModel() 2021-03-18 02:15:47 +05:30
Christy Jacob
b3f96c6b4c feat: refactoring and code clean up 2021-03-11 21:14:04 +05:30
Christy Jacob
f1a7e9092c Merge branch 'feat-graphql-support' of https://github.com/appwrite/appwrite into graphql 2021-03-10 19:36:43 +05:30
Christy Jacob
293b1b3c8a feat: handle document response type 2021-03-08 20:13:28 +05:30
Eldad Fux
c31c7736a1 Updated Mock API 2021-03-05 08:40:29 +02:00
Christy Jacob
42d6194ed9 feat: error handling for graphQL 2021-03-05 00:10:52 +05:30
Christy Jacob
b3a0df734e feat: added content type check in dynamic 2021-02-27 00:55:52 +05:30
Christy Jacob
f11e431341 feat: got locale_getContinents working 2021-02-26 03:26:38 +05:30
Torsten Dittmann
85f6f7957c fix(response-filters): missing response filter model 2021-02-02 17:04:11 +01:00
Eldad Fux
89a5cf94b3 Merge branch '0.7.x' of github.com:appwrite/appwrite into feat-511-jwt-support 2021-01-15 08:24:43 +02:00
Christy Jacob
66e0ecd93c Merge branch '0.7.x' of https://github.com/appwrite/appwrite into feat-na-response-filters 2021-01-11 19:52:09 +05:30
Eldad A. Fux
58b2e2b86c
Merge pull request #809 from appwrite/fix-for-composer-warnings
Minor fixes for composer warnings about autoloading
2021-01-11 16:08:09 +02:00
Christy Jacob
dde064665b fix: output of parse was not being used 2021-01-11 19:20:54 +05:30
Christy Jacob
e03748e74a fix: output of parse was not being used 2021-01-11 19:18:01 +05:30
Eldad Fux
3721910363 Updated empty response result 2021-01-10 13:56:11 +02:00
Eldad Fux
9c421e2dfc Minor fixes for composer warnings about autoloading 2021-01-10 00:29:49 +02:00
Christy Jacob
50bca50d10 feat: review comments 2021-01-03 23:42:11 +05:30
Christy Jacob
9b1b5d3a7e feat: review comments 2021-01-03 23:37:19 +05:30
Christy Jacob
92339fe668 fix: fix failing tests 2021-01-02 21:45:14 +05:30
Christy Jacob
c508657a50 feat: apply parse method if filter is present 2020-12-30 00:42:32 +05:30
Eldad Fux
3caea2a62c New JWT model 2020-12-28 18:41:38 +02:00
Christy Jacob
898d89f322 feat: starter code for Response Filters 2020-12-22 20:54:30 +05:30
Eldad Fux
f5df201e4a Added more missing tests 2020-11-30 23:41:58 +02:00
Eldad Fux
0ff73596b3 Added new models for missing routes 2020-11-12 13:54:16 +02:00
Eldad Fux
e1837c01d5 Added option to hide some models from the docs 2020-11-12 07:12:14 +02:00
Eldad Fux
af643e919d Added empty response model 2020-11-12 00:01:31 +02:00
Eldad Fux
3e1a3e24bb Added missing methods and models 2020-11-08 00:14:36 +02:00
Eldad Fux
ecc32c725d Added docblock to fix IDE errors 2020-10-31 13:06:09 +02:00
Eldad Fux
db7d7dd89e Updated mock method 2020-10-31 11:24:17 +02:00
Eldad Fux
1e1e1a431f Minor cleanups 2020-10-31 10:42:41 +02:00
Eldad Fux
50d404e7a3 Updated latest changes 2020-10-30 00:44:01 +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
0450604d27 Added external swoole lib and extended response class 2020-10-29 15:07:56 +02:00
Eldad Fux
6392ceef55 Updated src folder 2020-10-27 21:44:15 +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
73b53cd5d9 Split FPM and Swoole modes 2020-07-07 07:40:18 +03:00
Eldad Fux
4492be87b7 Added manual static file handler 2020-07-06 22:29:13 +03:00
Eldad Fux
cece99be36 Fixed speed debug 2020-07-04 21:21:42 +03:00
Eldad Fux
ab77d9efae Expirements 2020-06-26 15:27:58 +03:00
Eldad Fux
30d875a6f1 Updated comments 2020-06-25 23:26:02 +03:00
Eldad Fux
6e472d4ef3 Added membership and membership list models 2020-06-24 14:18:59 +03:00
Eldad Fux
8efff7f1e9 Fixed session response 2020-06-24 10:35:59 +03:00
Eldad Fux
dd2c6efbc9 Added team dynamic response 2020-06-24 09:05:43 +03:00
Eldad Fux
dc2d990c29 Added team model 2020-06-24 08:14:42 +03:00
Eldad Fux
e469cccb61 Added models constants 2020-06-23 21:53:24 +03:00
Eldad Fux
2f1e25fc09 Updated naming conventions 2020-06-23 18:01:20 +03:00
Eldad Fux
72edaf7ff5 Added locale object 2020-06-23 00:55:45 +03:00
Eldad Fux
2b4d93b6e4 Added support for default values 2020-06-22 17:33:37 +03:00
Eldad Fux
32f917c78a Updated namespace structure 2020-06-22 15:17:14 +03:00
Renamed from src/Appwrite/Response/Response.php (Browse further)