85 Commits

Author SHA1 Message Date
kiri
c85b2a8963 update snapshot 2022-06-09 22:21:02 +07:00
kiri
e63b729dfc kara-kalpak locale 2022-06-01 17:32:41 +07:00
harimkims
e918293fc4 Update sanitizer mocking in i18n test 2022-05-07 17:27:15 +09:00
Kim, Harim
4429381ec9
Merge branch 'strapi:master' into fix/populate-user 2022-05-07 16:45:15 +09:00
Pierre Noël
5193e510b0
Merge pull request #12850 from strapi/fix/bulk-delete-non-default-locale
Fix bulk delete for non-default locales
2022-05-04 11:49:22 +02:00
chisus
f6c01bd013 Add fake container to pass i18n unit test 2022-04-21 01:04:18 +09:00
Gustav Hansen
23a28790a9
Merge pull request #13067 from rshrj/add-sanskrit-i18n
Added Sanskrit (sa) to i18n locales
2022-04-11 14:01:03 +02:00
Gustav Hansen
c839306ff5 chore: Update snapshot tests 2022-04-11 12:35:29 +02:00
Rishi Raj
ef39bdc5e8
Added Sanskrit (sa) to i18n locales 2022-04-06 12:55:36 +05:30
solnur
9de5cb4d60 feat: add snapshot kyrgyz and tajik languages 2022-04-01 17:17:02 +06:00
solnur
0c1123b971 feat: add kyrgyz and tajik languages 2022-04-01 17:14:27 +06:00
Pierre Noël
d8e5e121bb Fix bulk delete for non-default locales 2022-03-15 14:19:04 +01:00
RufusLeTerrible
adffc30bc7
Merge pull request #12627 from strapi/fix/getNonLocalisedFieldNestedInComponent
Populate nested images for getNonLocalisedFields
2022-03-01 19:00:34 +01:00
Gustav Hansen
458be60f41
Merge pull request #12676 from endigo/add-mongolian-locale
Add Mongolian locale
2022-02-28 10:10:32 +01:00
endigo
6d3831b543 remove spaces that added by prettier 2022-02-28 12:47:18 +08:00
endigo
7cd9611dad add Mongolian to snapshot 2022-02-27 16:42:45 +08:00
endigo
8221ea7345 Fix: typo; change Mongolia to Mongolian. Because its about language not a Country 2022-02-27 16:42:30 +08:00
Pierre Noël
db4e56af07 fix unit tests 2022-02-23 10:31:33 +01:00
Pierre Noël
f802db69d5 populate nested images for getNonLocalisedFields 2022-02-22 19:31:25 +01:00
Galt Davaa
70ca69c7fb
Add mongolian locale 2022-02-07 16:09:19 +08:00
Pierre Noël
d1ade9c610 add e2e test 2022-02-04 17:17:42 +01:00
Pierre Noël
909e29b9f9 remove scalar attributes from populate 2022-02-04 17:17:41 +01:00
Pierre Noël
ef3bc08521 add non-localized compo and dz in /get-non-localized-fields response 2022-02-04 17:17:41 +01:00
Pierre Noël
d581c43349 add non-localized media in /get-non-localized-fields response 2022-02-04 17:17:41 +01:00
kerimabdy
704447dc99
Update iso-locales.test.js.snap 2022-01-27 16:04:42 +05:00
kerimabdy
88aaa5f1b7
Add Turkmen ISO 639-1 locale code 2022-01-18 11:52:06 +05:00
harimkims
364a5f2b3d Remove old _id field 2022-01-06 20:24:35 +09:00
Pierre Noël
14651530cc remove todos that are already done 2021-11-30 14:47:45 +01:00
Alexandre Bodin
f4507e1cb0 Init factories for controllers 2021-11-16 18:23:28 +01:00
Convly
99e2b241e4 Move logic from services to controllers & entity validator 2021-11-16 16:02:06 +01:00
Pierre Noël
c6a5a047d6 Merge branch 'releases/v4' into v4/error-handling 2021-11-05 10:40:11 +01:00
Alexandre BODIN
6d23a0e2da
Merge pull request #11470 from strapi/v4/allow-using-all-for-locale-arg
[V4] Allow using all for locale arg
2021-11-04 18:29:52 +01:00
Convly
9b30189999 Allow using 'all' as a locale arg 2021-11-04 15:59:50 +01:00
Jean-Sébastien Herbaux
7f285fb755
[V4] Enhanced sanitize & remove restricted relations from content API's payloads (#11411)
* Rework sanitizeEntity, first iteration

* remove console.log

* Remove useless comments

* Fix e2e tests

* Fix up user e2e test

* Fix remove-restricted-relations visitor

* Handle grapqhql resolver, prevent access to restricted relations

* Handle polymorphic relation in the related visitor

* Remove morph attribute if empty

* Use only the find action to check if the relation is allowed
2021-11-04 15:47:53 +01:00
Pierre Noël
cb098ec280 clean yup validations 2021-11-04 11:42:45 +01:00
Pierre Noël
ebb124de4b change graphql error handling with originalError 2021-11-04 11:42:44 +01:00
Pierre Noël
b4c9ad0440 refacto graphql errors 2021-11-04 11:42:43 +01:00
Pierre Noël
b58274aecb refactor error handling 2021-11-04 11:41:29 +01:00
Alexandre Bodin
435ce3bc88 Move _locale to locale 2021-10-11 21:22:16 +02:00
Alexandre Bodin
c1aa57f436 Harmonize and make policies and middlwares more consistent 2021-10-05 10:43:24 +02:00
Pierre Noël
947981200b use { strapi } as params in all lifecycle functions 2021-09-28 16:54:07 +02:00
Convly
20b20a0f92 Fix e2e test for UP, i18n & upload + various i18n fixes 2021-09-27 17:17:24 +02:00
Convly
3da1acebf4 Fix createLocalization mutations 2021-09-27 10:56:43 +02:00
Convly
033d3274d2 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-23 10:05:31 +02:00
Alexandre Bodin
c5f9d16105 Rename creator fields 2021-09-22 17:06:16 +02:00
Alexandre Bodin
fe85273301 Move published_at to publishedAt in frontend 2021-09-22 17:06:15 +02:00
Convly
f23d375e2d Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 15:01:56 +02:00
Convly
8b139ec162 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-22 10:48:29 +02:00
Alexandre Bodin
9f337272f1 Refacto entity service API to be more consistent with the DB layer 2021-09-21 17:22:17 +02:00
Convly
12547dd074 Disable i18n 'locale' mutations 2021-09-17 07:16:30 +02:00