150 Commits

Author SHA1 Message Date
Aurélien Georget
fc2f037e81 Use index file instead of dedicated file per ORM & fix some issues 2016-03-09 17:57:39 +01:00
Aurélien Georget
f72e033b11 Merge branch 'v2' of github.com:wistityhq/strapi into feature/json 2016-03-09 17:37:27 +01:00
Aurélien Georget
351b59eab2 Enabled JSON API only with application/vnd.api+json content-type header & open GraphiQL server 2016-03-09 16:13:19 +01:00
Aurélien Georget
47f0731df6 Improve JSON API pagination 2016-03-07 18:34:27 +01:00
Aurélien Georget
6221cd48bc Add strapi.services & prevent merging issue 2016-03-07 17:35:07 +01:00
Aurélien Georget
8c2f7cf8a6 Send context in rootValue variable 2016-03-02 17:53:07 +01:00
Aurélien Georget
112a956bab Fix relationships request 2016-03-02 17:07:59 +01:00
Aurélien Georget
0e26dc48e9 Remove useless todo 2016-03-02 16:44:38 +01:00
Aurélien Georget
93572c4e02 Support pagination with JSON API 2016-03-02 16:20:36 +01:00
loicsaintroch
465aff6c1e Use authentication without the user API 2016-03-02 14:44:45 +01:00
loicsaintroch
f681c1be7c Remove deprecated restart function 2016-03-02 14:40:18 +01:00
Aurélien Georget
f08409d336 Allow POST requests with GraphQL 2016-02-29 15:41:31 +01:00
Aurélien Georget
c89bad4949 Add koa-graphql && fix orm load with GraphQL server 2016-02-24 16:33:42 +01:00
Aurélien Georget
f5a72e1198 Start GraphQL server in the router 2016-02-23 19:01:22 +01:00
Aurélien Georget
9a32907282 Split JSON API utils to support multiple ORM 2016-02-22 17:36:58 +01:00
Aurélien Georget
0cdcca122a Merge branch 'v2' of github.com:wistityhq/strapi into feature/json 2016-02-09 10:40:50 +01:00
Aurélien Georget
2da3adc1be Handle relationships update 2016-02-08 12:07:58 +01:00
loicsaintroch
95d7b61057 Remove deprecated templates 2016-02-08 11:05:06 +01:00
Aurélien Georget
047f68383f Write some TODOs 2016-02-05 18:00:47 +01:00
Aurélien Georget
8b7aa8ebce Merge branch 'v2' of github.com:wistityhq/strapi into feature/json 2016-02-05 17:15:32 +01:00
Aurélien Georget
eee53028de Draft for JSON API pagination support 2016-02-03 16:53:30 +01:00
Aurélien Georget
d318f1cc65 Handle fields selection in query 2016-02-01 17:38:08 +01:00
Aurélien Georget
5995bccf8d Update jsonapi-serializer and consider configuration on relationships 2016-02-01 16:00:54 +01:00
Aurélien Georget
4725e87cc4 Update list of unsupported query parameters 2016-02-01 14:56:17 +01:00
Aurélien Georget
3fa303fa8b Fire error when query parameter is not supported 2016-02-01 14:54:31 +01:00
Aurélien Georget
3d0f801b3a Handle display JSON API version support 2016-02-01 14:38:55 +01:00
Aurélien Georget
348428132c Support X-HTTP-Method-Override for old clients 2016-02-01 14:22:29 +01:00
Aurélien Georget
06549e6bb7 Improve errors display and display only existing link 2016-01-29 17:56:57 +01:00
Aurélien Georget
744bf74069 Enabled or not JSON API support thanks to configuration 2016-01-29 16:01:10 +01:00
Aurélien Georget
9ba5137777 Clean code and improve administration routes exclusion 2016-01-29 14:52:11 +01:00
Aurélien Georget
bd2ae13859 Remove logs, handle DELETE method and add some verifications 2016-01-29 13:17:38 +01:00
Aurélien Georget
42c06950e2 Migrate utils functions 2016-01-28 16:21:25 +01:00
Aurélien Georget
37b937a4de Handle POST method with JSON API request and response 2016-01-28 16:12:16 +01:00
Aurélien Georget
c7049253d6 Use generators, send strapi instance in parser and optimizations 2016-01-27 16:45:44 +01:00
Aurélien Georget
fad6c2af6d Apply on GET routes and dirty way to verify request body object 2016-01-27 14:20:09 +01:00
loicsaintroch
1d1cba79a5 Remove deprecated messy config solution for Waterline 2016-01-27 00:28:39 +01:00
Aurélien Georget
9dd94e72a2 Add middleware to parse data request 2016-01-26 18:03:52 +01:00
Aurélien Georget
8408538f21 Reject related request with include parameter 2016-01-26 16:30:31 +01:00
Aurélien Georget
38f9239ec9 Handle related ressource without include parameter 2016-01-26 16:24:43 +01:00
Aurélien Georget
fc970e6538 Handle relationships requests 2016-01-26 15:35:25 +01:00
Aurélien Georget
23b306c576 Support relationships for collection and ressource 2016-01-25 16:48:15 +01:00
Aurélien Georget
2868ce08ee Writting some TODOs, adding support for single ressource fetch 2016-01-22 18:36:15 +01:00
Aurélien Georget
684acb6f7d Serialize data for collections and ressources 2016-01-22 17:59:46 +01:00
Aurélien Georget
03400e82f5 Build interceptor and JSON API helpers 2016-01-22 15:40:43 +01:00
loicsaintroch
3bd7d2ea4b Do not load Grant middleware without user API 2016-01-20 16:26:31 +01:00
loicsaintroch
96c2407d69 Remove GraphQL support 2016-01-20 15:52:05 +01:00
loicsaintroch
3fa66a1aaf Load external hooks 2016-01-20 11:09:11 +01:00
loicsaintroch
c45ea07a27 Merge branch 'v2' of github.com:wistityhq/strapi into v2 2016-01-20 11:01:35 +01:00
Aurélien Georget
cfd473e4ff Fix path to update setting on Windows platform 2016-01-15 00:00:44 +01:00
Aurélien Georget
b17a31c518 Fix path for Windows 2016-01-12 23:18:37 +01:00