12862 Commits

Author SHA1 Message Date
Ky
a0e0ee1cbd pagination alignment
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-07 19:13:58 +02:00
HichamELBSI
af369e9a54 Fix the modal list view in the Media Library
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-07 18:41:48 +02:00
soupette
ade27c830f Fix ref edit
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-07 18:40:53 +02:00
cyril lopez
e70a40931b
Merge pull request #5736 from strapi/media-lib/size-fix
Media lib size format fix
2020-04-07 18:36:16 +02:00
Ky
75a41061c1 apply PR review
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-07 18:16:42 +02:00
Ky
2619bfd5f5 Merge branch 'features/media-lib' of github.com:strapi/strapi into media-lib/size-fix 2020-04-07 18:09:08 +02:00
Ky
8df209ac8b add size-fix dep
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-07 17:56:55 +02:00
Ky
a50244afdd update unit tests
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-07 17:49:47 +02:00
Ky
d65633d881 convert size format
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-07 17:39:08 +02:00
cyril lopez
a97d4a52e1
Merge pull request #5735 from strapi/media-lib/fix-url-preview
Fix preview URL on selected asset
2020-04-07 17:27:18 +02:00
HichamELBSI
fe8d4c88d7 Fix preview URL on selected asset
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-07 17:25:16 +02:00
cyril lopez
64d74c8707
Merge pull request #5734 from strapi/media-lib/ui-fix
Fix UI in the Media Library
2020-04-07 16:59:43 +02:00
HichamELBSI
ca0084ace6 Fix UI in the Media Library
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-07 16:48:59 +02:00
ELABBASSI Hicham
c561d7a7a7
Merge pull request #5731 from strapi/ml/functional-fix
Ml/functional fix
2020-04-07 16:37:50 +02:00
Jean-Sébastien Herbaux
a583d1b859
Fix/#3184/fix server crashs on database change (#5703)
* Don't set connection field on create/edit operation on content-types & components

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Make sure that every component has a valid connection attribute

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection check on components load

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove default connections from core & webhook stores but make sure it's defined in the application lifecycle

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix component's associations that can be undefined instead of empty in populateBareAssociations

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove "default" connection from plugins' models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection attribute from generated models (cli)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Mutate each component instead of reassign

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Build core_store and webhook model based on the current config

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Add connection to templates conditionally (based on args)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Set default value for description to undefined instead of empty string

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove unnecessary complexity

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Update getStarted models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix attributes parsing for generate:model

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Removed tpl option from generate:model/api

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove tpl option from cli

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-04-07 16:31:44 +02:00
soupette
c5441f1d61 Fix init request
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-07 15:47:35 +02:00
soupette
9532212e86 Update timeout
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-07 14:28:54 +02:00
soupette
e7f4f8bfa1 Fix edit file when lib not initialized
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-07 14:24:12 +02:00
soupette
19af1482af Fix errors
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-07 13:23:08 +02:00
Vasyl Rishko
0efdd382bd
Fix default values on create entity. (#5675)
* fix: default values on create entity.

Signed-off-by: VasylRishko <rishko92@gmail.com>

* tests: test default date and json values.

Signed-off-by: VasylRishko <rishko92@gmail.com>
2020-04-07 12:56:53 +02:00
soupette
ead77e08c4 Fix errors
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-07 11:18:26 +02:00
soupette
341bb9a209 Disable buttons when in uploading state
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-07 10:57:59 +02:00
Yassir Barchi
3a42a49162
Add RegExp as text type attribute validation option (#5648)
* feat: add Regexp for attribute value validation

strapi-plugin-content-type-builder

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* feat: add Regexp for attribute value validation

strapi-plugin-content-manager

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* fix error on submit

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* add regex pattern validation

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* add api validation

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* fix lint issues

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* remove redundant code

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* fix en.json build issue

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>

* add the reset input logic to the regex field

Signed-off-by: Yassir Barchi <dev.yassir@gmail.com>
2020-04-07 10:41:46 +02:00
ELABBASSI Hicham
1cbac7aa4d
Merge pull request #5721 from strapi/fix/button-state
Add disable state when uploading media
2020-04-06 17:57:24 +02:00
ELABBASSI Hicham
0576bbc2d1
Merge pull request #5720 from strapi/media-lib/last-ui-fixes
Media lib UI
2020-04-06 17:35:48 +02:00
Ky
d96ae81348 clean
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-06 17:14:20 +02:00
soupette
e843c526c5 Add disable state when uploading
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-06 16:32:01 +02:00
Ky
de91f8c43c some ui fixes
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-06 16:26:30 +02:00
cyril lopez
7c9bdebee8
Merge pull request #5718 from strapi/ml/fix-count
[ML] Fix count endpoint
2020-04-06 14:36:56 +02:00
soupette
e73e11971d Add emit event in back button in upload plugin
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-06 14:24:57 +02:00
soupette
6bd863b563 Merge branch 'features/media-lib' of github.com:strapi/strapi into ml/fix-count 2020-04-06 14:23:04 +02:00
soupette
bdbec4e3f0 Fix count endpoint with filters
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-06 14:22:50 +02:00
cyril lopez
24a1da6c9e
Merge pull request #5717 from strapi/event/add-back-button-property
Add BackButton event
2020-04-06 14:22:08 +02:00
Ky
15c7beac0f pagination alignment
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-06 14:06:27 +02:00
soupette
836d016a73 Add back button event
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-06 13:36:04 +02:00
virginieky
a940bbc8c0
Merge pull request #5705 from strapi/media-lib/ui-fixes
Some ui fixes
2020-04-06 12:08:04 +02:00
Ky
64fbf03eeb apply code review
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-06 11:24:19 +02:00
cyril lopez
2ab7d0de68
Merge pull request #5704 from strapi/media-lib/fix-ui
Fix some UI issues in the ML
2020-04-06 11:23:41 +02:00
HichamELBSI
8096746555 Fix PR review 2020-04-06 11:11:40 +02:00
soupette
e42bf8117e Fixes #5564
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-06 10:21:50 +02:00
Ky
5e184c2784 Merge branch 'features/media-lib' of github.com:strapi/strapi into media-lib/ui-fixes 2020-04-03 18:27:55 +02:00
virginieky
c24c2f9adc
Merge pull request #5702 from strapi/media-lib/add-back-button
Add backbutton in upload
2020-04-03 18:15:19 +02:00
Ky
6c0c0ae607 some ui fixes
Signed-off-by: Ky <virginie.ky@gmail.com>
2020-04-03 17:29:08 +02:00
HichamELBSI
c285c2a88e Fix some UI issues in the ML
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-04-03 17:15:09 +02:00
soupette
cb0eb350ee Merge branch 'features/media-lib' of github.com:strapi/strapi into media-lib/add-back-button 2020-04-03 16:45:07 +02:00
cyril lopez
df21ff0d35
Merge pull request #5700 from strapi/media-lib/update-buffet
Media lib upgrade Buffet.js version
2020-04-03 16:44:49 +02:00
soupette
8cf7cc01a9 Merge branch 'features/media-lib' of github.com:strapi/strapi into media-lib/add-back-button 2020-04-03 16:32:35 +02:00
soupette
8ed4e7263e Fix conflicts
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-03 16:31:38 +02:00
Alexandre BODIN
8942456cd4
Merge pull request #5699 from strapi/media-lib/url-proxy
Add proxy to get url without cors issues
2020-04-03 16:21:28 +02:00
soupette
7260b02cbe Add back button in ctm modals
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-04-03 15:58:11 +02:00