99 Commits

Author SHA1 Message Date
Alexandre Bodin
3c7c33eab7 v3.1.6 2020-09-24 14:51:49 +02:00
Peter Etelej
318f20e826
Bump up minimum required Node to 10.16 (#7962)
Updated README docs & package.json `engine` versions to bump up the
minimum required Node version from `10.10` to `10.16` (or `10.16.0+`)

Strapi no longer supports `10.10` since it updated `sharp` to `0.26.0`
( https://github.com/strapi/strapi/pull/7729 ) which requires Node 10.16.0+
(See https://github.com/lovell/sharp/blob/master/docs/changelog.md#v0260---25th-august-2020 )

` yarn create strapi-app my-project --quickstart` on 10.10 fails with error
```
error sharp@0.26.0: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.10.0"
error Found incompatible module.
```

Signed-off-by: Peter Etelej <peter@etelej.com>
2020-09-22 16:00:13 +02:00
Convly
736a580001 v3.1.5 2020-09-16 15:26:12 +02:00
DMehaffy
024b337b09
Update node version requirements for v10 to v12 (#7409)
Signed-off-by: Derrick Mehaffy <derrickmehaffy@gmail.com>
2020-09-02 17:11:59 +02:00
Pierre Noël
fb2db4b050 v3.1.4
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-08-13 19:05:20 +02:00
Pierre Noël
231263a353 v3.1.4 2020-08-13 18:58:14 +02:00
Alexandre Bodin
97922f99ae v3.1.3 2020-07-31 09:59:56 +02:00
Alexandre Bodin
6aaa018ff5 v3.1.2 2020-07-29 13:34:01 +02:00
Alexandre Bodin
ac62bac98e Upgrade lodash
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-29 13:05:50 +02:00
dependabot[bot]
aea96bca68
Bump lodash from 4.17.15 to 4.17.19 (#7239)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-29 11:10:32 +02:00
Alexandre Bodin
35bae7df57 v3.1.1 2020-07-23 18:53:55 +02:00
Alexandre Bodin
1bbf1bc0dc v3.1.0 2020-07-21 19:30:45 +02:00
Alexandre Bodin
62b2192c95 Update license info
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-20 18:40:52 +02:00
Alexandre Bodin
6bafa35a36 Merge branch 'releases/3.1.0' into features/rbac
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-18 10:12:40 +02:00
Alexandre Bodin
4d31935716 v3.0.6 2020-07-16 17:03:04 +02:00
Pierre Noël
fc69e48009 add more reserved words to the list
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-16 16:11:54 +02:00
Alexandre Bodin
4edad86029 Add basic created_by updated_by
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:16 +02:00
Pierre Noël
047a0be908 move function from bootstrap to service
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:10:11 +02:00
Pierre Noël
6a1d65bc37 third refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:09:52 +02:00
Pierre Noël
970a470034 add tests + make role decription optional + refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:59:34 +02:00
Convly
651d42dbea fix PR comments, move pagination logic to the database layer, handle searches
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:50:44 +02:00
Convly
60b24dd3c3 Add GET /admin/users route and new pagination system
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:49:22 +02:00
Convly
8a69d187d0 Update models attributes & get models from the database manager
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:21:24 +02:00
soupette
62a79a5fc0 Created basic routing for the settings
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 09:45:28 +02:00
Alexandre Bodin
eaf40e1ada v3.0.5 2020-06-23 12:18:00 +02:00
Alexandre Bodin
9ed11a6682 v3.0.4 2020-06-19 09:19:52 +02:00
Alexandre Bodin
c909d7162d v3.0.3 2020-06-18 19:17:15 +02:00
Boom Lee
a26b4f65a8
Fix node version (#6482) (#6691) 2020-06-16 11:32:23 +02:00
Alexandre Bodin
497fb742eb v3.0.2 2020-06-15 17:09:15 +02:00
Alexandre Bodin
6bb7a7f198 v3.0.0 2020-05-26 15:09:32 +02:00
Alexandre Bodin
4a3ae0348b check timestamps option exists on model
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-25 15:18:46 +02:00
Alexandre Bodin
f192d5e171 Merge branch 'master' into develop
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-07 13:14:23 +02:00
Alexandre Bodin
55c006a6b1 v3.0.0-beta.20.3 2020-05-07 13:02:11 +02:00
Alexandre Bodin
b109d6878e Merge branch 'master' into develop 2020-05-06 21:48:20 +02:00
Alex Yackovlev
c9925f3fa8
Prevent fall through in the model search method when a plugin is specified (#6004)
Signed-off-by: Aleksandr Yackovlev <a.yackovlev@corp.mail.ru>
2020-05-05 19:38:41 +02:00
Alexandre Bodin
72ad156f20 Merge branch 'master' into develop 2020-05-05 15:01:11 +02:00
Alexandre Bodin
a27d5f210d v3.0.0-beta.20.2 2020-05-05 14:56:13 +02:00
Alexandre Bodin
b928013e43 Cleanup code and doc
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 17:27:09 +02:00
Alexandre Bodin
a78c8e4636 Add tests for lifecycles calls
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:09 +02:00
Alexandre Bodin
c364fcd0e2 Move lifecycles to sub field and added documentation
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:08 +02:00
Alexandre Bodin
1edc581864 Remove lifecycles from connectors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:08 +02:00
Alexandre Bodin
ed060e2cea Add arguments to after hook
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:08 +02:00
Alexandre Bodin
9ddeaffed1 Use a wrapper to cleanup
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:07 +02:00
Alexandre Bodin
de5d1d6d54 Add other hooks
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:07 +02:00
Alexandre Bodin
ebee707ec4 Add basic proto of lifecycles
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-05-04 10:55:06 +02:00
Alexandre Bodin
0c0b65ecf2 Update with feedbacks
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
d67d731ea9 Add alreadyUse and forbidden content type check on name
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
7e41e28bf8 Add checks for timestamps attributes to avoid conflicts with timestamps option
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
42c149e8bc Add reserved name check
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00
Alexandre Bodin
431715138a Init restricted-names API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-04-30 13:55:15 +02:00