52 Commits

Author SHA1 Message Date
Jim Laurie
519239c35c Fix find one generated api mongoose 2017-12-11 12:18:14 +01:00
Aurelsicoko
8f8fa6b158 Update doc and generated template 2017-11-29 15:46:28 +01:00
Jim Laurie
8b8115bac1 Merge branch 'alpha.7' of https://github.com/strapi/strapi into alpha.7 2017-11-03 12:13:20 +01:00
Jim Laurie
084cb3c49e Fix PR feedback 2017-11-01 15:16:28 +01:00
Jim Laurie
f6b97addfd Fix generate model bookshelf collectionName 2017-10-31 14:58:28 +01:00
Jim Laurie
4872051d26 Delete old relations service bookshelf 2017-10-31 11:41:54 +01:00
Jim Laurie
51cf35afd6 Fix remove data relation delete mongoose 2017-10-31 11:25:13 +01:00
Jim Laurie
ceff284fb6 Fix update one to one mongoose relation 2017-10-30 17:59:53 +01:00
Jim Laurie
0a7b65be04 Remove relation on delete data bookshelf 2017-10-30 14:02:54 +01:00
Jim Laurie
dba7361c89 Handle relations on create data bookshelf 2017-10-27 20:10:37 +02:00
Jim Laurie
08970eee3e Handle manyToMany relations bookshelf by object 2017-10-27 18:22:58 +02:00
Jim Laurie
35b6a50810 Handle relation oneToMany dominant bookshelf 2017-10-26 17:21:23 +02:00
Jim Laurie
3d9a509789 Handle relation by id mongoose 2017-10-25 16:24:35 +02:00
Jim Laurie
2c06c48400 Lyfe cycle fix #287 2017-10-23 11:01:58 +02:00
Aurélien GEORGET
a4ce1232d3 Merge pull request #271 from strapi/improvements/filters
API filters
2017-10-12 10:40:28 +02:00
Pierre Burgy
c50b400f8e Remove params reference 2017-10-11 17:30:08 +02:00
Aurelsicoko
93ae7db340 Remove useless controllers' actions and add necessary routes on API generation 2017-10-11 12:41:10 +02:00
Aurelsicoko
f8cebb98f4 Lowercase attributes' names on API generated through the CLI 2017-10-11 12:08:04 +02:00
Aurelsicoko
59391c7a00 Enhance build command and fix generated service for Bookshelf 2017-10-10 19:34:15 +02:00
Pierre Burgy
05b2301c0b Minor syntax improvements 2017-10-10 15:14:20 +02:00
Pierre Burgy
8a724637a3 Fix conflicts 2017-10-10 12:49:34 +02:00
Aurélien GEORGET
14699c09cc Merge pull request #262 from strapi/improvement/plugin
Improvement/plugin
2017-10-02 10:30:51 +02:00
Ian Walter
2c40c2a9c3 Fixing typo in model template 2017-10-01 01:12:48 -04:00
Aurelsicoko
e48ee2935d Fix CLI on API generation 2017-09-30 18:23:21 +02:00
Jim Laurie
7bd5f1021e Fix conflicts 2017-09-28 13:18:36 +02:00
Jim Laurie
4a18fe6b13 Add bookshelf filters 2017-09-13 12:18:54 +02:00
Jim Laurie
6fd7fcf512 Replace model by entity 2017-09-13 10:30:37 +02:00
Jim Laurie
be66effbc0 Add filter for mongoose 2017-09-12 17:58:31 +02:00
Jim Laurie
775173137c Change tolower to camelcase for admin 2017-09-05 11:42:21 +02:00
cyril lopez
7532670f93 Created empty view for homepage 2017-08-16 18:47:02 +02:00
Jim Laurie
32ca703098 Handle errors and complete update model 2017-08-14 17:19:37 +02:00
Jim Laurie
11ef0126a5 Handle custom collectionName 2017-08-11 18:23:19 +02:00
Jim Laurie
0e53a94927 Send relations on get model 2017-08-07 18:05:40 +02:00
Jim Laurie
6ebd81697c Generate API with attributes validations 2017-08-07 11:09:04 +02:00
aurelsicoko
8013990ee4 Remove tableName property in model and update defaults configurations 2017-07-28 16:31:23 +02:00
Pierre Burgy
08fc750f9f Fix conflicts 2017-03-02 10:58:41 +01:00
Pierre Burgy
17135196a5 Improve arguments handling for generators 2017-02-14 01:10:37 +01:00
André Gonçalves
006d951e34 Fixed service template to add the capital letter and fixed issue that was preventing the usage of mongoose 2017-02-03 16:36:59 +00:00
Aurélien Georget
fa68a27a4b Update generated API for Mongoose 2017-01-11 18:24:26 +01:00
Aurélien Georget
5b74588653 Update generated API && support aliases for Bookshelf 2017-01-11 17:53:40 +01:00
Aurélien Georget
b5c6ebc016 Allow to generate an API inside an existing API 2016-12-20 20:41:42 +01:00
Aurélien Georget
83ff64737a Update generated controller for Bookshelf's API 2016-12-02 12:28:20 +01:00
Aurélien Georget
a50f33c5ff Apply async/await on generated API 2016-11-28 11:34:05 +01:00
Aurélien Georget
55d65ccde8 Fix #90: Update global model naming convention 2016-08-12 12:04:00 +02:00
Aurélien Georget
cccb04fb94 Separate template per ORM, and add Mongoose API templates 2016-08-09 11:47:48 +02:00
Aurélien Georget
8cbe59a955 Apply ES6 guidelines to external modules 2016-07-11 13:03:35 +02:00
loicsaintroch
54287792ed Add default model generator 2016-04-21 14:59:00 +02:00
loicsaintroch
d81f2840ea Prepare workflow for testing and publishing 2016-03-29 12:02:06 +02:00
loicsaintroch
02610fcbd5 Normalize command-lines for generators 2016-03-25 22:22:34 +01:00
Aurélien Georget
47bc021a94 Add require to bookshelf utils into API generator 2016-03-22 16:12:18 +01:00