Alexandre Bodin
95f3502ab4
v3.2.0
2020-10-06 11:01:02 +02:00
Alexandre Bodin
0df69c30ce
Allow setting the published_at field in the API
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 14:07:17 +02:00
Alexandre Bodin
c98089ff65
Merge branch 'master' into releases/3.2
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-05 12:00:03 +02:00
dependabot[bot]
51b23d165e
Bump mongoose-long from 0.2.1 to 0.3.2 ( #8147 )
...
Bumps [mongoose-long](https://github.com/aheckmann/mongoose-long ) from 0.2.1 to 0.3.2.
- [Release notes](https://github.com/aheckmann/mongoose-long/releases )
- [Changelog](https://github.com/mongoosejs/mongoose-long/blob/master/History.md )
- [Commits](https://github.com/aheckmann/mongoose-long/compare/0.2.1...0.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-02 15:25:06 +02:00
Convly
564f9228ca
v3.1.7
2020-10-02 11:48:42 +02:00
dependabot[bot]
048e6fd3af
Bump mongoose from 5.8.0 to 5.10.7 ( #8046 )
...
* Bump mongoose from 5.8.0 to 5.10.7
Bumps [mongoose](https://github.com/Automattic/mongoose ) from 5.8.0 to 5.10.7.
- [Release notes](https://github.com/Automattic/mongoose/releases )
- [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md )
- [Commits](https://github.com/Automattic/mongoose/compare/5.8.0...5.10.7 )
Signed-off-by: dependabot[bot] <support@github.com>
* Do not use empty username or password in mongo connection
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-02 09:27:46 +02:00
Jean-Sébastien Herbaux
e55ea1d6b5
Hide creator fields from public api by default ( #8052 )
...
* Add model option to hide/show creators fields in public API response
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Add content-types util, rework sanitize-entity's private handling
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Update search e2e tests, fix an issue on empty search for the core-api controller (find)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix GraphQL plugin (handle privates attributes on typeDefs + resolver builds)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix sanitizeEntity import
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Move doc update from beta to stable
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix e2e test
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix pr comments
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Remove creator's field from upload controller routes
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix typedef build for graphql association
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix pr (comments + several issues)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Add tests for search behavior in content-manager
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Rename files variables to meaningful names (upload controllers)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix test with search id matching serialNumber
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
* Add toHasBeenCalledWith check for config.get (utils/content-types.test.js)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-01 17:47:08 +02:00
Alexandre Bodin
8589848ce4
Merge branch 'features/draft-publish' into releases/3.2
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-01 16:23:32 +02:00
Igor Nikolenko
4700f79bcf
Fix validation of Date and Time field types for Mongoose connector ( #7801 )
...
Signed-off-by: richardgrey <richie.grey@gmail.com>
2020-09-29 14:53:56 +02:00
Alexandre Bodin
3c7c33eab7
v3.1.6
2020-09-24 14:51:49 +02:00
Pierre Noël
7221412d68
Draft publish/validators ( #7853 )
...
* add validators for dz, components and relations
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:45:59 +02:00
Jean-Sébastien Herbaux
c4716d5668
[D&P] Return published content by default from get apis ( #7657 )
...
* Add _publicationState request param / Returns live by default for CT that have D&P activated
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:46 +02:00
Pierre Noël
74a85c1127
Add migration d&p
2020-09-22 17:39:40 +02:00
Pierre Noël
38216554d5
Draft publish/remove some validators for drafts ( #7537 )
...
* remove required + minLength validator for drafts
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:24 +02:00
Pierre Noël
e29c1b7de9
add published_at ( #7374 )
...
* add published_at
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-09-22 17:39:18 +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
1cc74ca6a0
Fix virtual mongoose remove _v char
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-08-10 15:19:28 +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
dependabot[bot]
33634151d4
Bump pluralize from 7.0.0 to 8.0.0 ( #7126 )
...
Bumps [pluralize](https://github.com/blakeembrey/pluralize ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/blakeembrey/pluralize/releases )
- [Commits](https://github.com/blakeembrey/pluralize/compare/v7.0.0...v8.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2020-07-25 08:53:05 +02:00
Pierre Noël
6d825fc3ca
fix count with sort param
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-24 15:06:38 +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
cd710d34e0
Merge branch 'master' into documentation
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-16 17:10:06 +02:00
Alexandre Bodin
4d31935716
v3.0.6
2020-07-16 17:03:04 +02:00
Alexandre Bodin
38d67fc873
Fix mongo issues
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 16:07:11 +02:00
Convly
20f80b2361
Better permissions-manager.sanitize behavior
...
Forbid empty arrays as fields for permissions (on ability creation)
Differentiate input from output sanitizing
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:38 +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
Alexandre Bodin
966d9c554f
Move hasDeepFilters to utils
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:36:26 +02:00
Alexandre Bodin
6776a3ce46
Add mongo support
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:36:24 +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
1182b848dd
Fix weird behavior on strapi-admin e2e tests for mongo
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:38:18 +02:00
Alexandre Bodin
8ce56f3517
Fix typos
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:25:11 +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
atlmtw
66637e0101
Update mount-models.js ( #6916 )
...
This is to ensure custom mongoose queries that exclude dynamic zone fields don't fail.
Referring to this issue:
https://github.com/strapi/strapi/issues/6016
2020-07-06 09:35:55 +02:00
Pierre Noël
10092f5a57
refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-01 11:59:33 +02:00
Pierre Noël
25bfb7204f
fix search for numbers for mongoDB < 4.2.0
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-06-30 16:51:31 +02:00
Pierre Noël
950a21469f
add filtering to search route
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-06-30 15:50:52 +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