146 Commits

Author SHA1 Message Date
Aurelsicoko
46ff89e404 Make polymorphic associations possible 2018-02-12 18:54:34 +01:00
Aurelsicoko
824567de0d [WIP] Polymorphic assocations 2018-02-09 10:43:09 +01:00
Pierre BURGY
b67c5e34a8
Merge branch 'master' into enhancement/database-uri 2018-02-07 15:00:37 +01:00
Pierre Burgy
fe87be7793 Add database uri configuration #602 2018-02-07 00:19:05 +01:00
Aurelsicoko
065346e7ef Remove trivial decimal implementation and use float type instead #550 2018-02-06 15:10:14 +01:00
Aurelsicoko
494a970df0 Verify signature of incoming code 2018-02-02 18:27:03 +01:00
Aurelsicoko
cf1cb7050b Resolve conflicts and disallow to edit and remove default roles 2018-01-24 11:52:09 +01:00
Aurelsicoko
8f85d85349 Improve roles in database to work with Bookshelf 2018-01-23 18:54:17 +01:00
Luca
97da3ba12d
fix(mongoose): password require username 2018-01-23 07:26:57 +01:00
Luca
ec106bce41
fix(mongoose): allow to connect without password 2018-01-23 07:26:00 +01:00
Luca
d17a50dd87
fix(mongoose): allow to connect without password 2018-01-23 07:23:15 +01:00
Luca Perret
4de3abe9e9 fix(mongoose): unescaped character in username/password 2018-01-18 23:37:16 +01:00
Jim Laurie
7a4cb0e507 Fix data path in connectivity functions 2018-01-17 09:14:34 +01:00
Jim Laurie
99346d41fc Use Path resolver for connectivity script 2018-01-11 13:22:49 +01:00
Jim Laurie
4e1fe20531 Merge branch 'database-setup' of github.com:strapi/strapi into database-setup 2018-01-10 18:10:20 +01:00
Jim Laurie
df5b9f3dab Change wording 2018-01-10 18:08:43 +01:00
Jim LAURIE
35cb6e6194
Merge branch 'master' into database-setup 2018-01-10 17:42:31 +01:00
Jim Laurie
e1fb02ab53 Test connection in connector node module 2018-01-10 15:31:54 +01:00
Николай
d120161831
Merge branch 'master' into master 2018-01-09 14:58:01 +03:00
Nikolay
d2fae1dfdc Mongoose updated to 5.0.0-rc1 2018-01-08 17:50:57 +03:00
Николай
d9af887dc9
Merge branch 'master' into master 2018-01-08 16:27:26 +03:00
Aurelsicoko
10db375825 Fix #379 - Support one-way relationship 2018-01-08 12:10:48 +01:00
Aurelsicoko
dafec67234 Merge branch 'master' of github.com:strapi/strapi into relation/users 2018-01-04 11:25:27 +01:00
Aurelsicoko
127690c6bb Fix globalId on Mongoose and CT creation with plugin's model 2018-01-04 11:24:27 +01:00
Nikolay
e48b10c98e Use Decimal for mongo and mongoose
Use Decimal128 mongo's type instead mongoose-double package. Mongodb will be store decimal values as NumberDecimal, not as string.
2017-12-23 22:50:10 +03:00
Jim Laurie
e5d15fdd0b Merge branch 'master' of https://github.com/strapi/strapi into fix/models-functions 2017-12-21 13:31:57 +01:00
Aurelsicoko
ca7f12e985 Improve documentation for sorting filters 2017-12-20 16:06:02 +01:00
Jim Laurie
987fbcffa7 Also restore remove function 2017-12-19 14:52:13 +01:00
Jim Laurie
d773c849a4 Fix before and after remove data life cycle functions 2017-12-19 14:47:48 +01:00
Aurelsicoko
b208b0aa92 Change table naming for plugins 2017-12-18 14:07:35 +01:00
Aurelsicoko
74e1f0529d Fix specific case in one-to-one relation 2017-12-13 14:36:07 +01:00
Aurelsicoko
b08a4d811c Use local global to expose model for Bookshelf & move globalId definition in the core 2017-12-13 11:38:38 +01:00
Aurelsicoko
628ad4add4 Fix strapi-bookshelf to work w/ associations w/ plugins & JWT condition 2017-12-12 16:14:38 +01:00
Aurelsicoko
8db92c22fd Split Content-Manager logic into service & allow CRUD and associations w/ plugin's models w/ Mongoose 2017-12-11 18:23:15 +01:00
Aurelsicoko
bf8b434f4b Allow relation with plugin's models 2017-12-11 12:29:05 +01:00
Aurelsicoko
8f8fa6b158 Update doc and generated template 2017-11-29 15:46:28 +01:00
Aurelsicoko
c971f9c054 Allow redirect action in CM & harmonize pre/post event with Promises 2017-11-29 15:00:50 +01:00
Aurelsicoko
5d6f035384 Merge branch 'user-permissions' of github.com:strapi/strapi into user-permissions 2017-11-28 16:10:03 +01:00
Aurelsicoko
b63cd80a13 Add type email & password, and fix layout system 2017-11-28 16:01:50 +01:00
Jim Laurie
aecbbcf3ba Handle default connection for mongoose 2017-11-28 14:28:30 +01:00
Aurelsicoko
362f7badb0 Add type password 2017-11-28 13:51:50 +01:00
Jim Laurie
cf4a506ed1 Encrypt password on user update 2017-11-17 16:05:02 +01:00
Jim Laurie
24e4dd9bbc Load db hook if plugin model exist 2017-11-17 14:23:26 +01:00
Jim Laurie
b0a2b61be4 Register new user with hashed password 2017-11-16 14:12:03 +01:00
Jim Laurie
4bd0427ba6 Fix mongoose collection prefix plugin 2017-11-15 16:59:12 +01:00
Jim Laurie
77ea9fb7d2 Mount mongoose instance in plugins models 2017-11-15 15:06:09 +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
ceff284fb6 Fix update one to one mongoose relation 2017-10-30 17:59:53 +01:00
Jim Laurie
9105477500 Handle oneToOne mongoose relation 2017-10-25 17:38:48 +02:00