259 Commits

Author SHA1 Message Date
Alexandre Bodin
a4f294f1c4 Use passport standard error handling
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:24:38 +02:00
Andrey Hohutkin
94e031eba5
Fixes for Media Library upload (#5971)
* Fix formatFileInfo

Keep original file name including extension

* Fix file name for generated media

File name was not set for all generated media: thumbnail and resized pictures.

* Generate hash based on file name without extension

* cleanup PR

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* Fix unit tests
Exclude temporarily unit test 'Replaces reserved and unsafe characters for URLs and files in hash' because it did not work properly ever.

* Remove path delimiter from filename because it is correct character for file path

* Fix e2e

* Continue fixes for e2e

* Fix createRequest content type

* Correct thumbnail name in e2e test

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Andrey Hohutkin <none@none>
2020-06-25 10:13:42 +02:00
Hal Deadman
ac4a52bfa2 remove more cypress
Signed-off-by: Hal Deadman <hal.deadman@gmail.com>
2020-06-05 18:15:44 -04:00
soupette
6ae7395bf0 Init edit existing file and add copy button
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-24 07:35:16 +01:00
Alexandre Bodin
7a8c865051 Merge branch 'develop' into features/media-lib
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-03-02 15:18:08 +01:00
Alexandre Bodin
5723af75c5 Fix issue with using local pakcage as dependency
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 16:24:06 +01:00
Alexandre Bodin
eec7d04b20 Fix policy tests after prefix renaming
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-11 10:06:17 +01:00
Alexandre Bodin
0c6d39297f Add graphql tests for single-types
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-10 21:38:37 +01:00
HichamELBSI
abbb045277 Edit single type options
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-02-06 14:13:48 +01:00
HichamELBSI
6fff7fcf46 Merge branch 'develop' into features/single-types 2020-02-06 14:11:44 +01:00
soupette
c86e1dfb18 Update front-end jest config
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-02-03 16:03:36 +01:00
Hicham EL ABBASSI
90a60879c5 Update all translations
Signed-off-by: Hicham EL ABBASSI <hichamelabbassi@MacBook-Pro-de-Hicham.local>
2020-01-31 09:59:10 +01:00
HichamELBSI
7622874fb0 Fix translations
Signed-off-by: HichamELBSI <elabbassih@gmail.com>
2020-01-30 18:26:35 +01:00
Hicham EL ABBASSI
597a88a650 Update all translations
Signed-off-by: Hicham EL ABBASSI <hichamelabbassi@MacBook-Pro-de-Hicham.local>
2020-01-30 18:26:35 +01:00
Alexandre Bodin
721ad15633 Init dz tests 2019-12-13 10:43:38 +01:00
Alexandre Bodin
ab51bbebe4 Fix tests 2019-11-14 16:37:57 +01:00
Alexandre Bodin
d405285fae Handle component update and delete with categories 2019-11-13 18:49:06 +01:00
Alexandre Bodin
b9122edf0d Rename groups to components 2019-11-13 18:49:02 +01:00
soupette
6b0acc7b8e Remove settings-manager 2019-10-02 17:27:22 +02:00
Abdón Rodríguez Davila
187a669d1e Merge branch 'master' into eslint-update
# Conflicts:
#	.eslintrc.js
#	package.json
#	packages/strapi-admin/admin/src/containers/HomePage/CommunityContent.js
#	packages/strapi-admin/admin/src/containers/HomePage/WelcomeContent.js
#	packages/strapi-helper-plugin/lib/src/components/InputTextWithErrors/index.js
#	packages/strapi-hook-bookshelf/lib/index.js
#	packages/strapi-hook-bookshelf/lib/utils/graphql.js
#	packages/strapi-hook-bookshelf/lib/utils/index.js
#	packages/strapi-plugin-content-manager/admin/src/components/FilterOptions/InputWithAutoFocus.js
#	packages/strapi-plugin-content-manager/admin/src/components/SelectMany/index.js
#	packages/strapi-plugin-content-manager/admin/src/components/SelectOne/index.js
#	packages/strapi-plugin-content-manager/admin/src/components/TableHeader/index.js
#	packages/strapi-plugin-content-manager/admin/src/containers/ListPage/index.js
#	packages/strapi-plugin-content-manager/admin/src/containers/SettingPage/index.js
#	packages/strapi-plugin-content-manager/config/policies/routing.js
#	packages/strapi-plugin-content-manager/services/ContentManager.js
#	packages/strapi-plugin-content-type-builder/admin/src/components/TableListRow/index.js
#	packages/strapi-plugin-content-type-builder/admin/src/containers/AttributesPickerModal/index.js
#	packages/strapi-utils/lib/models.js
#	yarn.lock
2019-09-09 15:26:35 +02:00
Abdón Rodríguez Davila
21a14ee737 Remove definitions for rules were not found 2019-08-28 12:20:27 +02:00
Alexandre Bodin
60d04d26eb Init group tests and fix some groups issues 2019-08-08 14:30:43 +02:00
Alexandre Bodin
93c7f63cd1 Add email tests 2019-08-08 14:30:43 +02:00
Alexandre Bodin
35d22e2c85 Init password tests and split in separate test files 2019-08-08 14:30:42 +02:00
Alexandre Bodin
bb036333a2 Init upload plugin e2e tests 2019-08-06 10:46:53 +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
c5e50665cd Add upload route in content-manager and remove formdata for data creation 2019-07-30 16:58:36 +02:00
Alexandre Bodin
8e8433662b rename wysiwyg type to richtext for future plans 2019-07-29 18:05:18 +02:00
Alexandre Bodin
1dea89ca8f Support type wysiwyg instead of appearance param 2019-07-23 13:36:06 +02:00
Alexandre Bodin
254e6b9c38 Use appName to name the test app package.json 2019-07-18 17:21:53 +02:00
Alexandre Bodin
91d1ca6763 parse argv if --db params used 2019-07-18 16:56:49 +02:00
Alexandre Bodin
574b24b5b4 Use generateNew directly and disable dep install 2019-07-18 16:33:18 +02:00
Alexandre Bodin
8c5ffc9a20 Fix naming 2019-07-09 09:25:22 +02:00
Alexandre Bodin
2060ce4ca1 Test manyWay relation 2019-07-09 09:18:07 +02:00
Alexandre Bodin
7dab357125 Cleanup and test Groups CRUD 2019-07-02 13:28:18 +02:00
Fred Rivett
54fbe9cf0f Fix wording of welcome text
The wording here is important as it's one of the first things the user
sees of the Strapi project having set it up, and it didn't quite make
sense (though everyone will understand what's meant to be said).

Tweaking this will improve the initial user experience of Strapi.
2019-06-17 10:58:46 +01:00
Alexandre Bodin
5e77287cc8 Rename strapi dev to strapi develop 2019-05-15 16:00:06 +02:00
Alexandre Bodin
1d27664ac4 Fix delete test as mongo returns the deleted object for now 2019-05-13 14:00:12 +02:00
Alexandre Bodin
3a2899470f Implement more filtering tests 2019-05-13 14:00:12 +02:00
Alexandre Bodin
a2bfb52344 Refactor testing, add simple crud tests 2019-05-13 14:00:12 +02:00
Alexandre Bodin
9e60be6fb0 clean model creationg during tests 2019-05-13 14:00:12 +02:00
Alexandre Bodin
ba7b58558e Clean workspace dependencies and add no-build option to strapi dev 2019-05-03 17:19:01 +02:00
Alexandre Bodin
bdd83eb689 Clean versions and test script 2019-05-03 09:49:08 +02:00
soupette
f83458e5d1 Fix conflicts 2019-04-24 10:58:21 +02:00
soupette
adf4e88ebb Fix front unit tests 2019-04-23 15:18:57 +02:00
Alexandre Bodin
e78f8bbc8c Cleanup code and make test/e2e.js run 2019-04-23 11:24:29 +02:00
Alexandre Bodin
50b371b853 Merge branch 'beta' into tech/core-api 2019-04-19 08:26:13 +02:00
Alexandre Bodin
0d72faaddc Merge branch 'master' into beta 2019-04-18 18:47:48 +02:00
Alexandre Bodin
187700e1c9 Handle different databases names standards 2019-04-18 16:01:31 +02:00
Alexandre Bodin
f7d868caeb Cleanup strapi new 2019-04-17 17:13:17 +02:00