798 Commits

Author SHA1 Message Date
Alexandre Bodin
f8ef062eb5 Merge branch 'releases/5.0.0-beta.0' into v5/main 2024-03-20 16:05:47 +01:00
Alexandre Bodin
4b2e592f77 v5.0.0-beta.0 2024-03-20 16:00:06 +01:00
Alexandre Bodin
894c8f40f3 v5.0.0-alpha.5 2024-03-20 15:54:53 +01:00
Alexandre Bodin
d536f44a9a v5.0.0-alpha.4 2024-03-20 15:44:45 +01:00
Alexandre Bodin
24b9de6705 Merge branch 'releases/v5-beta' into v5/main 2024-03-20 15:19:07 +01:00
Alexandre Bodin
1c6cf2ae9f v5.0.0-alpha.3 2024-03-20 15:08:03 +01:00
Convly
670c292117 Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-20 14:22:44 +01:00
Alexandre Bodin
de9951b5bd Merge branch 'releases/v5-beta' into v5/main 2024-03-20 13:02:25 +01:00
Convly
d671c5698d Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-20 08:51:37 +01:00
Alexandre Bodin
7f3ccd6b24 v5.0.0-alpha.2 2024-03-19 23:16:28 +01:00
Alexandre Bodin
00d0f90934 5.0.0-alpha.1 2024-03-19 23:12:32 +01:00
Marc Roig
66c1011328
fix: cm relation bugs (#19842)
* fix: relations

* fix: hardcode english locale

* fix(cm): don't try and be clever with caching relations

* fix: locale when target is not localized

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-19 14:57:36 +01:00
Josh
49e84a90ad
fix(cm): send status & locale with disconnect array (#19832)
* fix(cm): send status & locale with disconnect array

* fix: backend ids to omit to entry ids

* fix(cm): use id to connect & invalidate form data after updating

* fix: api tests

* fix: cache issue switching tabs

---------

Co-authored-by: Marc-Roig <marc12info@gmail.com>
2024-03-19 12:39:45 +00:00
Alexandre Bodin
db34007a2f release: 5.0.0-alpha.0 2024-03-19 10:34:28 +01:00
Alexandre Bodin
3e8b3d565b chore: update u&p 2024-03-19 08:50:23 +01:00
Alexandre Bodin
5f05a98acc Merge branch 'releases/v5-beta' into v5/main 2024-03-18 17:12:48 +01:00
Convly
bc9f526e2b chore: refine import statements and remove redundant comments 2024-03-18 11:57:32 +01:00
Convly
a328275adb Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-18 11:38:17 +01:00
Marc Roig
a2741e3bc6
feat: do not send status relations (#19776)
* feat: do not send status relations

* fix: status contract

* chore: hide D&P status on relations that don't have it

* fix: relations not appearing

* fix: do not show status on relations dropdown

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-18 11:21:30 +01:00
Christian Capeans
8cb962b8dd Merge branch 'v5/main' of github.com:strapi/strapi into v5/types/v2 2024-03-18 11:11:46 +01:00
Marc Roig
98bdf8e07f
feat: count cm relations (#19804) 2024-03-18 10:49:37 +01:00
Josh
7dc4206d08 Merge branch 'develop' into v5/main 2024-03-15 16:11:49 +00:00
Marc Roig
5fff2d3fee
fix: fix cm metadata when dp is disabled (#19792)
* feat: add drag-and-drop to relations

Co-Authored-By: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>

* chore: spelling mistakes

* chore: fix mainField accessing

* chore: remove comment code

Co-Authored-By: Marc Roig <marc12info@gmail.com>

* fix: metadata

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>
2024-03-15 16:36:09 +01:00
Josh
98ecaa5093
feat: add drag-and-drop to relations (#19788)
* feat: add drag-and-drop to relations

Co-Authored-By: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>

* chore: spelling mistakes

* chore: fix mainField accessing

* chore: remove comment code

Co-Authored-By: Marc Roig <marc12info@gmail.com>

---------

Co-authored-by: Marc Roig <20578351+Marc-Roig@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2024-03-15 15:16:35 +00:00
markkaylor
782d2acf66
fix(history): save status on version create (#19737) 2024-03-15 11:58:54 +01:00
Alexandre Bodin
a95285578b chore: database enhancements 2024-03-13 22:13:40 +01:00
Alexandre BODIN
ec8a0ecb9b
Merge pull request #19728 from strapi/v5/entity-service
chore: deprecate entity-service and delegate to document service
2024-03-13 17:03:21 +01:00
Mark Kaylor
7a2a86e65f v4.20.5 2024-03-13 15:49:11 +01:00
Marc Roig
fc1ac2acd5
feat: disable dp by default (#19743) 2024-03-13 14:08:07 +01:00
Josh
a8498df926
feat(cm): reimplement relations for draft & publish (#19642)
* feat(content-manager): Rework findAvailable and findExisting (#19597)

* feat(content-manager): wip rework findAvailable and findExisting

* chore(strapi): simplify relations controller

* feat(content-manager): entity Id based find available

* feat(content-manager): entity Id based find existing

* fix(content-manager): build issues

* chore(content-manager): cleanup

* fix(content-manager): relations controllers unit tests

* fix(content-manager): improve error handling

* fix(content-manager): simplify findExisting relations logic

* fix(content-manager): clean up types

* fix(content-manager): extend available relation API tests

* fix(content-manager): pr feedback

* feat(content-manager): cover find existing test cases

* feat(content-manager): test that we can only find available relations in the same locale

* fix: wip fix unit tests

* chore(content-manager): pr feedback

* fix(content-manager): use db layer to find relations

fix(content-manager): failing relations tests

* fix(content-manager): find relations test

* fix(content-manager): build issues

* fix(content-manager): return latest status of relations in findAvailable (#19681)

* fix(content-manager): return latest status of relations in findAvailable

* fix(content-manager): share logic for findAvailable and findExisting

* fix(admin): relation tests

* fix(content-manager): clean up types

* fix(content-manager): support status for find exisiting

* fix(content-manager): add status and locale filters to subQuery

* fix(content-manager): ts front and skip relations unit tests

* fix(content-manager): request specific status or get latest using document-metadata

* chore(content-manager): use interface

* fix(content-manager): tidy up target relation subquery

* fix(content-manager): tidy up and skip TS for build issues

* fix(content-manager): return status when requested

* chore(content-manager): dont re type entity service response

* fix(content-manager): use document metadata getManyAvailableStatus

* chore(content-manager): remove mapAsync

* feat: implement relations in the cm (#19702)

* Fix: Relating i18n and non-i18n content types (#19731)

* chore: re-enable e2e relation tests

* fix: return undefined

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2024-03-13 10:25:47 +00:00
Alexandre Bodin
5ffb3c7100 chore: deprecate entity-service and delegate to document service 2024-03-12 21:02:33 +01:00
Marc-Roig
423134764d
Merge branch 'v5/main' into v5/disable-dp 2024-03-12 18:32:44 +01:00
Marc Roig
fae62f5d32
fix: remove regex validation when validating locale (#19713)
---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-12 17:30:53 +01:00
Rémi de Juvigny
6ded4328d3
feat: add basic pagination to history frontend (#19729)
* feat: handle history version pagination params

* fix: ts build error

* chore: validate pagination params

* chore: pr feedback and test

* feat: show pagination ui

* fix: no history version selected

* chore: change default history page size to 20

* fix: don't redirect to old version

* fix: add comment
2024-03-12 10:53:02 +01:00
Convly
011d316a00 Merge branch 'v5/main' into v5/types/v2 2024-03-11 12:15:50 +01:00
Alexandre Bodin
8d53207f8e chore: remove template configuration from utils 2024-03-09 13:08:41 +01:00
Rémi de Juvigny
6408670a35
feat: handle history version pagination params (#19594)
* feat: handle history version pagination params

* fix: ts build error

* chore: validate pagination params

* chore: pr feedback and test
2024-03-07 14:43:37 +01:00
Marc
d1272049f2 Merge branch 'v5/main' into v5/disable-dp 2024-03-07 13:12:03 +01:00
Convly
f37fdb46ce v4.20.4 2024-03-06 16:31:53 +01:00
Convly
023cd13476 chore: lint fix 2024-03-06 16:28:05 +01:00
Convly
9100ea9527 chore: lint fix 2024-03-06 16:07:04 +01:00
Convly
c16930d5b2 chore: fix build 2024-03-06 15:22:39 +01:00
Convly
8c6c0f1020 Merge branch 'v5/main' into v5/types/v2 2024-03-06 15:22:08 +01:00
Marc
9c51bcfcc5 feat: do not compute status on non D&P content types 2024-03-06 10:38:09 +01:00
Rémi de Juvigny
d28dfbfc54
feat(cm): add content history under future flag (#19315)
feat(cm): add content history
2024-03-05 18:34:01 +01:00
Jamie Howard
6679b9c1d9
fix(content-manager): compute document status based on locale (#19653) 2024-03-05 15:51:53 +00:00
Convly
b5de06e35d fix: prettier style 2024-03-04 10:49:29 +01:00
Convly
7d7d7404ce Merge branch 'v5/main' into v5/types/v2 2024-03-01 17:18:24 +01:00
Convly
c425f82942 chore: move Public.UID and Internal.Struct to the root namespace 2024-03-01 15:56:07 +01:00
Convly
5167af6c73 chore: fix build following latest TS type system changes 2024-03-01 14:41:47 +01:00