178 Commits

Author SHA1 Message Date
Alexandre Bodin
99dbd21e0b Fix self-referencing many-to-many sql 2019-08-19 11:44:53 +02:00
Alexandre Bodin
80989ee8ec Make hook loading async 2019-08-19 09:37:37 +02:00
Alexandre Bodin
902d3a0a89 Add clear messages on unique constraint failure. make them non blocking for now 2019-08-12 11:08:10 +02:00
Alexandre Bodin
4ad7f5bd89 Support biginteger < 2^53 2019-08-08 14:30:45 +02:00
Alexandre Bodin
b35712acc5 Fix data types output to be the same wathever the database is 2019-08-08 14:30:44 +02:00
Alexandre Bodin
d1ee6a662e Apply same date parsing logic to all sql databases on save 2019-08-08 14:30:44 +02:00
Alexandre Bodin
60d04d26eb Init group tests and fix some groups issues 2019-08-08 14:30:43 +02:00
Alexandre Bodin
6091202c54 Add decimal test and set sqlite bigint to string 2019-08-08 14:30:40 +02:00
Alexandre Bodin
57120c9a02 Add tests and fix support for bigintegers so it is always a string when it comes out of the database 2019-08-08 14:30:40 +02:00
Derrick Mehaffy
90dcf5ae5b
Adding code from Alex and bookshelf-uuid package 2019-08-07 02:59:20 -07:00
Alexandre Bodin
d9e58003f5 Fix typo 2019-08-06 08:45:32 +02:00
Alexandre Bodin
472553b3b2 Exclude timestamps on save and updates in queries 2019-08-05 16:55:18 +02:00
Alexandre Bodin
c17a718f25 Handle date with iso format in input and output to simplify processing 2019-08-05 16:55:17 +02:00
Alexandre Bodin
515d756626 Fix mongo toObject on null objectes 2019-08-01 15:59:21 +02:00
Alexandre Bodin
f99e2ab683 Support upload multipart in content manager creation and edition of data 2019-08-01 12:20:28 +02:00
Alexandre Bodin
c8f72df4d5 Remove unnecessary default populates 2019-07-30 16:50:11 +02:00
Alexandre Bodin
07a603269d Rename slice by group in group feature 2019-07-30 15:17:44 +02:00
Alexandre Bodin
9f04a97bee Fix morph populate related.related 2019-07-30 15:17:03 +02:00
Alexandre Bodin
fd54e71baf bookshelf clean populate 2019-07-30 13:06:43 +02:00
Alexandre Bodin
72c7203e18 Init populate cleanup 2019-07-30 13:06:28 +02:00
Alexandre Bodin
8e8433662b rename wysiwyg type to richtext for future plans 2019-07-29 18:05:18 +02:00
Alexandre Bodin
8835beb67a Cleanup unwanted log 2019-07-29 08:15:19 +02:00
Alexandre Bodin
f484b4d66e Make groups non repeatable by default 2019-07-29 08:15:18 +02:00
Alexandre Bodin
9245c32c70 Create relations in groups bookshelf 2019-07-29 08:15:17 +02:00
Alexandre Bodin
1d09999586 Fix search in content-manager 2019-07-26 10:57:27 +02:00
Alexandre Bodin
5c63405091 Refactor groups CTB and clean code. Support relations 2019-07-23 19:28:37 +02:00
Alexandre Bodin
1dea89ca8f Support type wysiwyg instead of appearance param 2019-07-23 13:36:06 +02:00
Alexandre Bodin
3e20bd3a28 Allow types and groups without attributes 2019-07-18 19:37:33 +02:00
Alexandre Bodin
06a1b023c3 Clean up code 2019-07-18 19:37:32 +02:00
Alexandre Bodin
136056ce2f Handle mutation with group ids to avoid recreating the groups every time 2019-07-18 19:37:31 +02:00
Alexandre Bodin
a62f73fe5f Merge branch 'develop' into feature/groups 2019-07-18 19:37:09 +02:00
Alexandre Bodin
da5d02fb7c Merge branch 'master' into develop 2019-07-18 19:28:52 +02:00
Alexandre Bodin
fb93f9f593 Fix typos 2019-07-18 14:39:41 +02:00
Alexandre Bodin
7dba5d6254 Fix sequence being dropped when sqlite recreates a table 2019-07-17 15:46:02 +02:00
Alexandre Bodin
5a21e2f87f Fix updateRole 2019-07-17 14:28:36 +02:00
Alexandre Bodin
74402021b7 group is not required by default 2019-07-17 13:41:02 +02:00
Alexandre Bodin
c020f0a6cd mongoose working version 2019-07-17 00:03:38 +02:00
Alexandre Bodin
928c7f4776 fix create/update role 2019-07-16 20:52:31 +02:00
Alexandre Bodin
56c59c5ae1 Implement deleteMany in query.delete 2019-07-16 20:11:34 +02:00
Alexandre Bodin
93bf13a77c Implement delete many content-manager with new queries 2019-07-16 18:05:24 +02:00
Alexandre Bodin
3e53d7c8c2 Fix user update and boolean values in DB 2019-07-16 17:23:39 +02:00
Alexandre Bodin
c4b7ae55e6 Fix username unique in users-permissions plugin and implement sql db unique option 2019-07-16 17:23:39 +02:00
Alexandre Bodin
078d677526 Implement CM fetch, fetchAll, create, update, delete 2019-07-16 17:23:25 +02:00
Alexandre Bodin
cd19e04d6d Init queryManager 2019-07-16 17:23:24 +02:00
Alexandre Bodin
dc8045778b Merge branch 'master' into feature/groups 2019-07-12 11:25:26 +02:00
Alexandre Bodin
83d762bb53 Force relationnal updates to be done before main model update 2019-07-11 18:08:50 +02:00
Alexandre Bodin
a39f43ae02 Handle Delete and 404 2019-07-11 16:00:33 +02:00
Alexandre Bodin
1b130f7a7b Init group inserts 2019-07-11 13:52:21 +02:00
Alexandre Bodin
5eba276f0c Merge branch 'master' into feature/groups 2019-07-11 10:14:50 +02:00
Louis Augry
08e2f47800
Merge branch 'master' into fix-documentation-typo 2019-07-10 15:11:52 +02:00