Marc Roig
521cd3f8cd
fix: improve CM modified date comparison ( #19898 )
...
* fix: date comparison
* fix(content-manager): simplify date comparison
* fix: clean up metadata api test
* fix: draft versions must be ahead of published to be considered modified
* fix: published modified calculation
* fix: clean up
* fix: simplify draft and publish comparison
* chore: clean up
* fix: flaky fe tests
* fix: pr feedback
---------
Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
2024-05-09 19:19:18 +02:00
Josh
9381bbbca6
fix(cm): nested components never have permission ( #20291 )
...
* fix(cm): nested components never have permission
* chore: memoize form inputs for complex forms
* fix(cm): performance regression where selectFromResult was running too often due to arguments
2024-05-09 15:41:07 +01:00
Jamie Howard
8592bde151
fix: u&p FE tests ( #20289 )
...
* fix: use act in u&p test
* fix: clean up
2024-05-09 14:39:05 +01:00
Simone
0082657789
feat(main-nav): Fix the tooltip position of the links ( #20290 )
...
* feat(main-nav): invert the order of the Tooltip and the link
* fix(main-nav): remove useless imports
2024-05-09 15:34:46 +02:00
Madhuri Sandbhor
e1b9d9adee
enhancement(CM): bulk delete and unpublish migration to v5 ( #20235 )
...
* fix: added bulk actions
* chore: migrate bulk publish & unpublish to v5
* chore: change findLocales type to accept arrays
* chore: fix lint error
* chore: migrate bulkDelete to v5 (#20161 )
* chore: migrate bulkDelete to v5
* chore: change findLocales type to accept strings array
* fix: docs prettier styles
* chore: remove console.log
* enhancement: migrate countManyDraftRelations to v5
* feat: bulk delete with locale selection option
* fix: bulk unpublish working without locale support
* test: e2e tests updated
* fix: documents api change, deleteMany tags updated, test skipped
* chore: renaming
* test: reverting e2e tests for delete action changes
* fix: reverting publish action changes
* fix: hide add to release as its not ready to be migrated
* fix: error message updated
* fix: tests updated for useDocumentAction
* fix: updated request params
* fix: reverting wrong commit message
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
* fix: comments updated
* chore: renaming
* chore: add type to bulk action actions (#20256 )
* chore: actionType renamed to just type
* fix: dont show unpublish button on contentTypes without draft and publish
* fix: set a fixed width for FieldActionWrapper on UID input
---------
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-09 12:35:48 +02:00
Jamie Howard
64e86a273f
fix: flaky fe tests ( #20288 )
...
* fix: flaky fe tests
* fix: pr feedback
* fix: tweak expectations
* chore: match format of other tests
2024-05-09 11:13:06 +01:00
Marc Roig
c413ad99eb
release: v4.24.2 to develop ( #20280 )
2024-05-08 17:07:53 +02:00
Marc-Roig
ddc12d6edc
fix: yarn lock
2024-05-08 17:06:44 +02:00
Marc-Roig
a86c75effa
v5.0.0-beta.7
v5.0.0-beta.7
2024-05-08 16:33:08 +02:00
Jundee Mark Gerona Molina
53507a6240
fix(cm): back button on ListSettingsView doesn't work ( #20263 )
2024-05-08 13:33:47 +01:00
Bassel Kanso
2ae36f2883
Merge pull request #20062 from strapi/v5/replace-axios
...
chore: replacing axios with native fetch
2024-05-08 12:59:56 +03:00
Bassel Kanso
3bc72930fa
Merge branch 'v5/main' into v5/replace-axios
2024-05-08 12:00:18 +03:00
Fernando Chávez
3fdf1a575b
enhancement: migrate bulk publish & unpublish to v5 ( #20184 )
...
* chore: migrate bulk publish & unpublish to v5
* chore: change findLocales type to accept arrays
* chore: fix lint error
* chore: migrate bulkDelete to v5 (#20161 )
* chore: migrate bulkDelete to v5
* chore: change findLocales type to accept strings array
* fix: docs prettier styles
* chore: remove console.log
* enhancement: migrate countManyDraftRelations to v5
* only publish not published entries
* use strapi query directly on bulkPublish
* fix api tests for bulk publish
* apply jamie feedback
2024-05-07 16:58:56 +02:00
Josh
b7c62568a8
chore!: update styled-components to 6 & update DS to 2.0.0-beta.3 ( #20260 )
...
* chore: update styled-components to 6
* chore: update admin
* chore: update CM
* chore: update ctb
* chore: update other plugin packages
* chore: update content-releases
* chore: update user-permissions
* chore: update upload
* chore: update fields to be dot notation
* chore: update tests
* chore: update yarn.lock
* chore: update snapshots
* chore: update deps
* chore: update snapshots
* fix: left menu
* test: add label prop to NavLink test
* chore: PR tweaks
2024-05-07 14:01:26 +01:00
Ben Irvin
7a6d9a2b0e
enhancement!: validate input in content API create and update controllers
...
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-05-07 11:22:22 +02:00
Bassel Kanso
433fc96d7d
chore: fixing front unit tests
2024-05-06 23:39:18 +03:00
Bassel Kanso
0e5c0a66e7
Merge branch 'v5/main' into v5/remove-root-level-nested-params
2024-05-06 23:15:32 +03:00
Bassel Kanso
fef21033aa
chore: fix lint issue
2024-05-06 23:14:53 +03:00
Bassel Kanso
ab41b2e7ac
Merge branch 'v5/main' into v5/replace-axios
2024-05-06 21:48:47 +03:00
markkaylor
17b4116f46
Merge pull request #20267 from strapi/fix/history-missing-relations
...
fix(history): adjust condition to display missing relations
2024-05-06 15:01:41 +02:00
Marc Roig
8e9b152292
fix: document service find many pagination ( #20178 )
2024-05-06 14:52:48 +02:00
Mark Kaylor
1d3baa5a5c
fix(history): adjust condition to display missing relations
2024-05-06 14:22:06 +02:00
Marc Roig
01187db536
feat: discard drafts when enabling draft and publish on ct ( #20257 )
...
* feat: discard drafts when enabling draft and publish on ct
* fix: migration tests
2024-05-06 11:42:41 +02:00
Simone
cffafe7fb5
feat(main-nav): Main nav refactoring, refactor the main nav container and all the links and user profile ( #20245 )
...
* feat(main-nav): replace DS NavLink with admin NavLink
* feat(main-nav): change icon type
* feat(main-nav): fix prettier errors
* feat(main-nav): refactor navlink code and add more test cases
* feat(main-nav): minor fixes
* feat(main-nav): fix ui errors
* feat(main-nav): fix merge issues
* feat(main-nav): fix unit test and types
* feat(main-nav): implement the new main nav ui
* feat(main-nav): change on blur handler
* feat(main-nav): fix TS error
* feat(main-nav): refactor navUser using the Menu component
* feat(main-nav): add aria label to the links
* feat(main-nav): add menu item in the nav user links
* feat(main-nav): refactor nav user and the menu items
* feat(main-nav): change locator
* feat(main-nav): revert e2e utils
* feat(main-nav): add nav user unit test
2024-05-06 11:08:45 +02:00
markkaylor
e60ec18292
chore(history): refactor restore and add tests for relations ( #20179 )
2024-05-06 10:54:07 +02:00
Madhuri Sandbhor
63d70071de
chore: moved cms components from DS to admin ( #20242 )
...
* chore: move all CMS components from DS to admin
* fix: eslint config
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-06 09:29:44 +01:00
Marc Roig
823c409265
feat: run rbac api tests ( #20252 )
...
* feat: run rbac condition tests
* fix: omit documentId when creating an article
2024-05-03 14:15:21 +02:00
Marc Roig
23fa63efeb
feat: webhooks ( #20129 )
...
* feat: webhooks
* feat: ignore entry.publish findOne
* chore: type entry
* feat: refactor publication methods to not trigger entry.delete webhook (#20136 )
* feat: refactor publication methods
* fix: remove unnecessary chain op in db query
* feat: emit document. as webhook
* feat: register legacy events
* feat: only trigger entry webhooks
* feat: rename webhook to event
* feat: event manager
* fix: repository
* feat: webhook tests
* fix: api tests
* fix: non localized fields api test
* fix: refactor event hub
* fix: eventhub type
* fix: event hub unit test
* fix: remove all subscribers
* fix: webhook api test
2024-05-03 11:41:42 +02:00
Rémi de Juvigny
86372bcda5
fix: CMReleasesContainer test ( #20250 )
...
* fix: CMReleasesContainer test
* fix: entry id type
2024-05-03 03:58:07 -04:00
Marc-Roig
07a67ac883
fix: update yarn
2024-05-03 09:37:05 +02:00
Marc-Roig
b67ed7fe18
fix: updating example project internal dependencies
2024-05-03 09:34:17 +02:00
Marc Roig
43f3d25660
feat: draft and publish api tests ( #20150 )
...
* feat: refactor test in transaction util
* fix: remove dp tests
* fix: failing api test
* feat: test structure
* feat: update doc service api tests
* fix: test invalid locale param
2024-05-03 09:17:16 +02:00
Alexandre BODIN
9c79921d22
Merge pull request from GHSA-wrvh-rcmr-9qfc
...
Add validation for custom U&P OAuth callbacks
2024-05-03 08:57:52 +02:00
Ben Irvin
2264b66ec3
fix(database): drop foreign keys before dropping indexes
2024-05-02 19:18:31 +02:00
DMehaffy
1c8a79056b
Merge branch 'develop' into enhancement/up-custom-callback-validation
2024-05-02 10:16:35 -07:00
Marc Roig
ca6c7c80ec
release: 4.24.1 to develop ( #20248 )
...
* fix(admin): if were in EE mode wait for the EE routes to be loaded before rendering (#20238 )
* fix: issue 20138 (#20240 )
* v4.24.1
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2024-05-02 17:14:54 +02:00
Bassel Kanso
d8bad8366e
Merge branch 'v5/main' into v5/replace-axios
2024-05-02 18:07:32 +03:00
Bassel Kanso
79f3446e9e
chore: fixing some flaky frontend unit tests
2024-05-02 18:00:16 +03:00
Marc-Roig
6c76c1b8c2
v5.0.0-beta.6
v5.0.0-beta.6
2024-05-02 16:01:39 +02:00
Bassel Kanso
ed63cfdc14
chore: updating lock fine
2024-05-02 16:22:15 +03:00
Bassel Kanso
6138ca5504
Merge branch 'v5/main' into v5/replace-axios
2024-05-02 16:22:04 +03:00
Bassel Kanso
c6ec34cbaf
chore: fix flaky unit test
2024-05-02 16:12:27 +03:00
Rémi de Juvigny
f1dbaef309
chore: rename core packages ( #20243 )
...
* chore: remove plugin from cm package name
* chore: remove plugin from upload package name
* chore: remove plugin from email package name
* chore: remove plugin from ctb package name
* chore: remove plugin from i18n package name
* fix: plugin ids
* fix: v5 migratino
* fix: import order lint error
2024-05-02 09:07:50 -04:00
Rémi de Juvigny
66bc16965f
chore: run lint fix ( #20246 )
2024-05-02 08:28:14 -04:00
Bassel Kanso
b5211f7283
Merge branch 'v5/replace-axios' of https://github.com/strapi/strapi into v5/replace-axios
2024-05-02 13:32:57 +03:00
Bassel Kanso
833d0a7ccd
chore: removing onUploadProgress from upload plugin
2024-05-02 13:32:54 +03:00
Bassel Kanso
0ca752ad99
Merge branch 'v5/main' into v5/replace-axios
2024-05-02 10:52:23 +03:00
Bassel Kanso
d696828dfe
chore: fix transfer token e2e test
2024-05-02 01:43:39 +03:00
Fernando Chávez
de77e236e3
fix(content-manager): bulk publish would only ever show first entry to be published ( #20234 )
...
* fix(content-manager): Fix bulk publish selection
* chore: refactor & simplify bulk publish
---------
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-01 09:34:34 +01:00
Rémi de Juvigny
9d4475b11a
feat: show hidden fields in history frontend ( #20201 )
...
* chore: add configuration to history context
* feat: show fields that aren't in the layout in history
* chore: add renderLayout prop to ComponentInput
* feat: render remaining fields in components
* fix: types
* chore: refactor to composition api
* chore: move renderInput to children
* fix: repeatable components index
* fix: repeatable components toggling together
* chore: move ComponentLayout
* fix: generate temp keys for history values
* chore: delete ComponentLayout
* fix: components with no hidden fields
* fix: add comments
* chore: add comment
2024-04-30 11:53:27 -04:00