867 Commits

Author SHA1 Message Date
Josh
08bc82a220 Merge branch 'develop' into v5/main 2024-02-07 18:27:45 +00:00
Mark Kaylor
b0d94f6dce v4.20.0 2024-02-07 17:11:39 +01:00
Fernando Chavez
f6928f6864 Merge branch 'develop' of github.com:strapi/strapi into v5/merge2 2024-02-05 10:48:01 +01:00
Alexandre BODIN
0f312df726
chore: rename webhooks & allow custom joinColumn (#19344)
Co-authored-by: Marc Roig <marc12info@gmail.com>
2024-02-05 09:01:50 +01:00
markkaylor
8e78b0c909
Merge pull request #19397 from strapi/releases/4.19.1
v4.19.1
2024-01-31 15:44:40 +01:00
Mark Kaylor
34f7e875cd v4.19.1 2024-01-31 14:41:53 +01:00
Josh
aabbb0b2ef Merge branch 'develop' into v5/main 2024-01-30 16:26:36 +00:00
Marc Roig
2d371a2d60
fix: nested on commit on rollback transactions (#19368) 2024-01-30 11:00:08 +01:00
Jamie Howard
1097504b36
[core] document unique field validation per content type and locale (#19153)
* feat: use document service in content manager

* feat: update contracts with meta information

* chore: group metadata types into a single type

* feat: metadata information in single types

* chore: change meta contract to return documents instead of strings

* fix: remove unused type

* fix: ignore doc id if entry is null

* fix: update contract metadata

* feat: document metadata service

* feat: locale and status filtering

* chore: add comment

* chore: refactor metadata service

* chore: refactor entity manager exists to handle single types

* feat: refactor single type controllers to use documents

* feat: get locale param from in cm endpoints

* Revert "feat: get locale param from in cm endpoints"

This reverts commit 856c38588b8f8521cadd85c8c933f42a36a2178a.

* feat: get locale param from cm endpoints

* Update packages/plugins/i18n/server/src/controllers/validate-locale-creation.ts

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* fix: entity manager unit tests

* chore: unit test document metadata

* feat: prevent empty string locale filtering

* feat(core): document unique field validation per content type and locale

* feat(e2e): test document unique fields

* fix(admin): ts build

* fix: cm contract import

* chore: test new d&p cm features

* feat(core): validate document unique fields within one publication state

chore: remove build:ts

* fix: search content manager api test

* fix: cm tests

* fix: cm tests

* fix: cm tests

* fix(content-manager): access to non default locale documents (#19190)

* fix(content-manager): access to non default locale documents

* chore(content-manager): revert route construction

* fix(content-manager): api tests for number of draft relations

* test(content-manager): counting number of draft relations for non default locales

* chore(content-manager): remove default locale from entity manager countDraftRelations

* test(document-service): api tests for unique document fields per publication state

* test(i18n): api tests for unique document fields per locale

* chore(api-tests): adjust author schema

* chore(e2e): disable edit view tests (#19235)

* fix(core): unique validation on publish

* fix(api-tests): un-localise author

* fix(e2e): incorrect path

* fix(admin): tidy up

* fix(admin): pass correct locale query params

fix(core): pass locale outside of filters

* chore(api-tests): wip comment for relatedEntityId logic

* fix(core): entity validator tests

* chore(api-tests): wip skip failing relations i18n test

* chore(e2e): clean up editview spec

* fix(content-manager): pass locale to publish and unpublish

* fix(content-manager): fix test:ts:back

* fix(e2e): update edit view expected path

* fix(entity-validator): default to null locale

fix(api-tests): wip i18n test changes

* fix(e2e): wip UID fields

* chore(content-type-builder): temporarily disable component unique field checkboxes (#19253)

* fix(admin): wip correctly pass params

feat(e2e): reintroduce uniqueness e2e tests

* Refactor UID validation for V5 (#19285)

* fix(database): wip remove UID unique DB constraint

* feat(content-manager): update uid checking endpoints to look at locale

* chore(admin): clean up

* fix(content-manager): single type unit tests

* fix(content-manager): send all params to uid endpoints

* feat(e2e): update tar backup to support unique CT

* fix(e2e): uniqueness spec

* chore(e2e): remove only

* fix(content-manager): only check UID availability against drafts

feat(api-tests): test case for UID validation across locales

* fix(content-manager): uid unit tests

* chore(api-tests): clean up

* chore(content-manager): clean up

* chore(i18n): remove relatedEntityId reference

---------

Co-authored-by: Marc-Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-01-29 15:35:20 +00:00
Alexandre Bodin
3bc82f6a77 chore: add a simple model registry 2024-01-26 11:31:53 +01:00
Josh
1ec998ff84 Merge branch 'develop' into v5/main 2024-01-26 08:31:31 +00:00
Alexandre Bodin
9d5602124c chore: life compontent logic out of the db and start exposing models 2024-01-25 13:13:01 +01:00
Convly
beec786491 v4.19.0 2024-01-24 16:00:22 +01:00
Josh
316470cdf8 Merge branch 'develop' into v5/main 2024-01-16 17:46:26 +00:00
Alexandre Bodin
8f2c1c1fef v4.17.1 2024-01-16 11:50:41 +01:00
Josh
f324494fe9 Merge branch 'develop' into v5/main 2024-01-10 15:58:45 +00:00
Mark Kaylor
07112073ac v4.17.0 2024-01-10 14:46:39 +01:00
Ben Irvin
7d13a12c99
feat: Upgrade Tool
* feat: upgrade tool refactor for updated specs (v5)
* chore: format code (prettier)
* chore: remove debug comments
* feat: upgrade the strapi dependencies in project's package.json
* feat: install dependencies during the upgrade process
* chore: fix lint issue
* chore: rephrase requirement sentence's sentiment
* feat: add a --yes option for the upgrade CLI
* enh: make properties readonly to avoid mutations
* chore: adding better logs to the upgrade CLI
* chore: remove unused import
* feat: add minor and patch commands
* fix: use major and minor instead of premajor and preminor
* fix: re-add type casting
* fix: make major requirements required
* chore: revert sentiment update on GIT_CLEAN requirement
* fix: make promisify working by mocking the entire file-system
* fix: yarn.lock update
* feat: Select and run codemods only (#19083)
* chore: add unit tests for upgrader tasks
* fix: rename tests
* chore: Update packages/utils/upgrade/src/tasks/__tests__/upgrade.test.ts
* chore: Add unit tests for upgrade tool (#19056)
* chore: move example codemods (#19156)
* chore: fix yarn.lock
* fix: sync glob versions
* chore: add comment
* chore: update docs

---------

Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
Co-authored-by: Christian Capeans <christiancp100@gmail.com>
2024-01-08 11:26:27 +01:00
Josh
4cd75b2523 Merge branch 'develop' into v5/main 2024-01-04 08:32:19 +00:00
Josh
ddbb55f2eb Merge branch 'main' into releases/4.17.0 2024-01-02 13:41:57 +00:00
Convly
b887f1aa47 v4.16.2 2023-12-21 15:53:18 +01:00
Mark Kaylor
af13d4e056 v4.16.1 2023-12-21 15:23:45 +01:00
Mark Kaylor
b8acb528cd v4.16.0 2023-12-20 15:52:24 +01:00
Josh
bdcd983c3d
fix(tooling): use nx to build & clean (#19084)
* remove pre-publish scripts

* fix: use nx to clean & build
2023-12-19 13:21:33 +00:00
Alexandre Bodin
f0bbaa2bc9 chore: fix pkg json to make them yalc compat 2023-12-07 18:27:34 -08:00
Ben Irvin
24dabd281e
chore: update knex to 3.0.1 (#18936) 2023-12-04 16:17:10 +01:00
Alexandre Bodin
e0de993d4a Merge branch 'develop' into v5/main 2023-11-30 16:42:36 +01:00
Mark Kaylor
dc96169c3f v4.15.5 2023-11-29 16:42:28 +01:00
Marc Roig
d4d47227a6
feat: Initialize Document Service (#18558)
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-11-28 12:01:27 +01:00
Alexandre Bodin
afe9e18254 v4.15.5-alpha.5 2023-11-21 20:35:37 +01:00
Alexandre Bodin
6a4fcc93af v4.15.5-alpha.4 2023-11-15 16:37:41 +01:00
Alexandre Bodin
85efb4bfa3 v4.15.5-alpha.3 2023-11-15 14:37:17 +01:00
Alexandre Bodin
180e3acca9 v4.15.5-alpha.2 2023-11-14 17:24:18 +01:00
Alexandre Bodin
59aec6c474 v4.15.5-alpha.1 2023-11-14 14:55:52 +01:00
Marc-Roig
d077922b77
Merge branch 'v5/main' into v5/document_id 2023-11-14 10:19:24 +01:00
Marc-Roig
9e388d8484
Merge branch 'main' into v5/main 2023-11-14 10:14:39 +01:00
Alexandre Bodin
da634b0951 v4.15.4 2023-11-11 12:17:57 +01:00
Alexandre Bodin
458516e434 v4.15.3 2023-11-11 12:03:41 +01:00
Marc-Roig
d89856c348
fix: remove doc id type from database 2023-11-09 12:50:31 +01:00
Marc-Roig
9b9c319046
Merge branch 'v5/main' into v5/document_id 2023-11-09 12:15:18 +01:00
Marc-Roig
8aca4eae6a
Merge branch 'main' into v5/main 2023-11-09 12:13:13 +01:00
Mark Kaylor
3f510d0338 chore: publish 4.15.2 2023-11-08 17:04:13 +01:00
Mark Kaylor
bb51089333 v4.15.2 2023-11-08 16:27:10 +01:00
Marc-Roig
91d6b8ca44
feat: move the document id schema insertion into strapi/strapi 2023-11-06 10:05:06 +01:00
Ben Irvin
d6433aecec
chore: remove extraneous editorconfigs (#18592) 2023-11-03 09:04:49 +01:00
Alexandre BODIN
ae792fb42c
Release 4.15.1 (#18646)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2023-11-03 08:37:53 +01:00
Ben Irvin
0504e10de7 chore: move contentype transform out of database
Co-authored-by: Marc Roig <Marc-Roig@users.noreply.github.com>
2023-10-31 15:00:33 +01:00
Ben Irvin
8822ecf770 chore: add comment 2023-10-31 14:33:28 +01:00
Ben Irvin
f23ce5a08c fix: documentId casing 2023-10-31 14:10:29 +01:00
Ben Irvin
dae632c775 Merge branch 'v5/main' into v5/document_id 2023-10-31 14:07:04 +01:00