Josh
e98c3e2020
fix(admin): reset all redux toolkit cache on logout ( #20318 )
...
* fix(admin): reset all redux toolkit cache on logout
* chore: refactor API to use one createApi call from redux/toolkit
* chore: fix e2e suite
* chore: spelling error
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
* chore: remove rogue import
---------
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
2024-05-20 14:43:30 +01:00
Josh
5ff7024fc8
chore: update DS to 2.0.0-beta.4 ( #20301 )
2024-05-20 10:42:44 +01:00
Josh
a3960e1ee5
chore: update react&react-dom to 18.3 ( #20316 )
...
* chore: update react&react-dom to 18.3
* chore: TS fix
* chore: update testing packages
* chore: fix lint
2024-05-17 16:00:38 +01:00
Simone
c734c14d5f
feat(main-nav): Main nav refactoring, change links order ( #20275 )
...
* feat(main-nav): change links order in main nav
* feat(main-nav): add the position property to order links in the main nav
* feat(main-nav): refactor the sorting of the nav links
* feat(main-nav): add useCollator and format message to sort by name the links
2024-05-13 08:58:09 +02:00
Jamie Howard
8c5105d949
Publish multiple locales ( #20258 )
...
* fix: date comparison
* feat(core): document service publish multiple locales (#20046 )
* feat(core): document service (un)publish multiple locales
* fix(core): cleanup locale param types
* feat(content-manager): wip - multiple locale support
* Count draft relations across locales (#20116 )
* feat(content-manager): publish multiple locales from CM route
* feat(core): multiple locales in document service discard draft
* feat(content-manager): use bulkpublish for locale publish
* feat(content-manager): use query from bulkpublish locales
* feat(content-manager): publishMany
* feat(content-manager): api test for bulk locale + document publish
* chore(content-manager): fix for build
* fix(core): avoid * in locale data
* chore(content-manager): pr amends and validation improvement
* feat(content-manager): use transaction in document manager publish many
* feat(core): throw when a non string locale is provided and not supported
* fix(core): doc service find many
* chore: clean up
* feat(content-manager): Select fields that require validation in availablelocales (#20156 )
* feat(content-manager): wip - select more fields in availablelocales
* feat(content-manager): wip available locales using entity traversal
* feat(content-manager): wip test available locales returns fields with validation
* feat(content-manager): test available locales returns fields with validation
* fix(content-manager): ensure sensitive info not exposed in available statuses
* fix(content-manager): sanitize document metadata available status
* fix(content-manager): sanitize document metadata available status at controller level
* fix(content-manager): populate only for validatable fields
* chore: clean up
* chore: clean up
* chore: clean up
* fix(content-manager): build issues
* fix(content-manager): allow null locales
* fix(content-manager): history service (#20185 )
* fix(content-manager): history service
* chore(content-manager): clean up
* fix: pr feedback
* chore: update actions deps
* chore: update utility deps
* chore: upgrade sentry
* chore: upgrade graphql-tools
* fix: http-errors ugprade
* chore: add fs-extra types where needed
* docs(typescript): type system cheat sheet
* chore!: remove deprecated verbose option from ts:generate-types
* chore: clean up
fix(content-manager) correctly count bulk publish results
* fix(content-manager): pr feedback and test improvements
* feat(i18n): bulk locale publish modal in CM edit view (#20069 )
* feat(i18n): wip bulk locale publish modal
* fix(i18n): wip - fe bulk locale publish
* feat(content-manager): multi locale publish, integrate with backend and add basic e2e test
* feat(i18n): wip - display validation errors in bulk locale modal
* chore: clean up
* chore(i18n): design system changes
* feat(i18n): display correct status after publish and clean up error messaging
* feat(i18n): access onclose from modal body
* fix(i18n): selected locale change
* fix(i18n): locale table state
* fix(i18n): edit view e2e test
* chore(content-manager): validation tweak wip
* feat(i18n): cover validation cases in i18n e2e tests
* chore: clean up
* fix(i18n): edit view more document actions disabled state
* chore: feedback
* fix(i18n): send all params to publish many
* fix(i18n): place bulk locale publish 3rd in array
* fix(content-manager): validation error extraction
* fix(content-manager): pr feedback
* fix: build
* chore(content-manager): simplify exports
* chore(i18n): revert package
---------
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
* fix(i18n): disable publish button after bulk locale publish
* fix(content-manager): ce e2e fix
* chore: typography
* fix(i18n): e2e edit view test
* fix: wip date comparison
* fix: wip date comparison
* fix(content-manager): simplify date comparison
* fix: clean up metadata api test
* chore: update api tests
* 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
* fix(i18n): error message extraction in bulk locale modal
* chore: remove old publish action
* chore: pr feedback
* chore: refactor error types & validation messages
* chore: use anchor link for locale changes
* chore: fix releases
* fix: clean up
* chore: snapshot
---------
Co-authored-by: Marc-Roig <marc12info@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-05-10 18:20:35 +01: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
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
Marc Roig
c413ad99eb
release: v4.24.2 to develop ( #20280 )
2024-05-08 17:07:53 +02:00
Marc-Roig
a86c75effa
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
3bc72930fa
Merge branch 'v5/main' into v5/replace-axios
2024-05-08 12:00:18 +03: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
ab41b2e7ac
Merge branch 'v5/main' into v5/replace-axios
2024-05-06 21:48:47 +03: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
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
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
Marc-Roig
6c76c1b8c2
v5.0.0-beta.6
2024-05-02 16:01:39 +02:00
Bassel Kanso
6138ca5504
Merge branch 'v5/main' into v5/replace-axios
2024-05-02 16:22:04 +03:00
Rémi de Juvigny
66bc16965f
chore: run lint fix ( #20246 )
2024-05-02 08:28:14 -04: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
Bassel Kanso
cefbf003e4
Merge branch 'v5/replace-axios' of https://github.com/strapi/strapi into v5/replace-axios
2024-04-29 16:42:56 +03:00
Bassel Kanso
b98728bbad
chore: adding some comments
2024-04-29 16:42:36 +03:00
Simone
53cf1f19cc
feat(main-nav): Main Nav refactoring, add the Home icon ( #20176 )
...
* 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): change offset values
2024-04-29 15:37:57 +02:00
Josh
9ecb47b3f9
chore: some test fixes
2024-04-29 13:59:50 +01:00
Josh
5b09b7a441
test: fix webhook by asserting item is deleted
2024-04-29 13:40:16 +01:00
Bassel Kanso
83607b1272
chore: fix type errors
2024-04-29 09:45:03 +03:00
Bassel Kanso
0e97285715
chore: remove the axios implementation from admin
2024-04-29 09:28:45 +03:00
Bassel Kanso
fd55682955
Merge branch 'v5/main' into v5/replace-axios
2024-04-29 02:13:48 +03:00
Bassel Kanso
e3ea9f6402
chore: fixing some tests that are not rendering properly
2024-04-26 17:47:13 +03:00
Alexandre Bodin
3e1be288b8
chore: add fs-extra types where needed
2024-04-26 11:15:51 +02:00
Alexandre Bodin
89b8013624
chore: update utility deps
2024-04-26 09:32:10 +02:00
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 ( #20151 )
2024-04-25 16:17:23 +01:00
Mark Kaylor
2aa7d7fb41
v5.0.0-beta.5
2024-04-24 15:52:25 +02:00
markkaylor
a76a2ee7a9
Merge pull request #20196 from strapi/releases/4.24.0
...
chore(develop): release v4.24.0
2024-04-24 14:57:04 +02:00
Mark Kaylor
bfa5109619
v4.24.0
2024-04-24 14:48:42 +02:00
Bassel Kanso
dfd5bbf8d6
Merge branch 'v5/main' into v5/replace-axios
2024-04-24 09:41:49 +03:00
Bassel Kanso
61d71566fb
fix: make all builds work
2024-04-24 09:37:52 +03:00
Bassel Kanso
4d66c3c521
chore: make packages build
2024-04-24 09:25:54 +03:00
Bassel Kanso
76eb03dc94
chore: implement validateStatus
2024-04-24 08:04:12 +03:00
Bassel Kanso
9b81e69326
chore: refactor and fix some tests
2024-04-23 17:53:50 +03:00
Bassel Kanso
8f75d1e78a
chore: making upload work with fetchClient
2024-04-23 17:12:52 +03:00
Alexandre Bodin
e8698b6f7b
fix: content could be undefined
2024-04-23 14:50:38 +02:00
Alexandre Bodin
ab53783744
chore: remove use of entity service
2024-04-23 11:26:27 +02:00
Bassel Kanso
7899cd5db8
chore: refactoring and fixes for getfetchclient
2024-04-23 10:07:14 +03:00
Alexandre Bodin
3b831b1504
fix: ee not being extended because no default export
2024-04-22 16:09:50 +02:00