139 Commits

Author SHA1 Message Date
Gustav Hansen
a5fa3bd7e1
Merge pull request #16805 from strapi/feat/date-picker-improvements
feat: date/time picker improvements
2023-05-31 10:23:24 +02:00
markkaylor
73416f4b91
Merge branch 'releases/4.11.0' into feature/bulk-publish 2023-05-30 14:12:38 +02:00
Josh
212d409508 refactor: use DesignSystemProvider and fix tests 2023-05-30 13:15:32 +02:00
Josh
ad9867d21f chore: tests 2023-05-30 13:14:21 +02:00
Josh
140689602e chore: tidy ups 2023-05-30 13:12:10 +02:00
Josh
19106faaea chore: update snapshots and tests 2023-05-30 13:12:07 +02:00
Damián Paranič
ee94032994
Merge branch 'main' into fix/media-library-multiple-selection 2023-05-30 12:45:11 +02:00
Gustav Hansen
fd7a5c7a99 Chore: Notification - Add missing translation 2023-05-30 10:03:47 +02:00
Damián Paranič
5f6efd813b
Merge branch 'main' into fix/media-library-multiple-selection 2023-05-29 08:35:32 +02:00
Mark Kaylor
fd63eb0f5c Merge branch 'main' of github.com:strapi/strapi into feature/bulk-publish 2023-05-25 14:47:42 +02:00
Gustav Hansen
b165c3defb Chore: Extend GenericInput tests to cover textarea 2023-05-24 23:26:59 +02:00
Gustav Hansen
1d439397eb Fix: Textarea onChange event 2023-05-24 23:26:33 +02:00
Ben Irvin
adacc4718e Merge branch 'main' into chore/upgrade-jest-to-29.5 2023-05-24 15:12:21 +02:00
Ben Irvin
8a5097c8ba fix tests 2023-05-24 15:03:00 +02:00
Damián Paranič
921456f9ee
Merge branch 'main' into fix/media-library-multiple-selection 2023-05-23 16:18:13 +02:00
Josh
e233d8afdc
feat: introduce useClipboard hook to remove dependency (#16751) 2023-05-23 08:43:35 +01:00
Damián Paranič
6bf318637b Fix: select all when another folder content is already selected 2023-05-22 17:57:44 +02:00
Paul Tiedtke
301e0706b8 chore: upgrade libs to react 18 and fix tests
chore: update snapshots

chore: fix fe tests

chore: update snapshot

Revert "revert react18 (#16793)"

This reverts commit 141d3675ab2c9a8c16eff26406bebef50ecce4c5.
2023-05-22 15:33:31 +01:00
Josh
141d3675ab
revert react18 (#16793) 2023-05-22 12:23:24 +01:00
Josh
cb68382384
chore: update DS to 1.7.7 (#16770) 2023-05-22 10:08:09 +01:00
Josh
bdd0c462a1
chore: update to react18 (#16701)
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de>
2023-05-18 09:41:59 +01:00
Simone
49a5c205d4
Chore: Replace axios calls with helper-plugin utils (#16628)
* overwrite the Authorization header when passed as config

* replace axios call with fetchClient and remove axios cancel from the admin

* replace axios call in the UseCasePage form

* replace axios with useFetchClient inside the App component for the analytics call

* replace axios calls with the post useFetchClient inside the AuthPage

* remove axios instances inside the CollectionTypeFormWrapper and the SingleTypeFormWrapper

* Replace axios call with useFetchClient inside the Register component

* replace axios call with useFetchClient sinde the urlToFile utils

* remove axios instances inside the useFetchContentTypeLayout

* remove axios instances inside the ComponentSettingsView component

* update test urlToFile

* remove axios as dependency in admin and remove cancel token from ListView

* remove axios dependency from the admin

* revert dependency

* replace the downloadFile axios call with getFetchClient

* remove console log

* fix issue if preferedLanguage is null

* replace axios call with getFetchClient inside the urlToAssets utility

* revert back cancel token inside CollectionTypeFormWrapper

* revert cancel token logic

* add the logic to handle paths without prepending slash

* remove tip for the relative path

* move the fetchMarketplaceProviders util inside the useFetchMarketplaceProviders file

* use fetch instead of useFetchClient for external calls

* remove the control of the preferedLanguage inside the Profile page

* move up useFetchClient call

* refactor normalize url

* add mock getFetchClient in FromComputerForm test

* fix check full url

* refactor fetch

* cleanup code

* fix comments

* fix review comments

* refaactor fetch calls and fix types and format code

* add more info in the documentation

* fix unit tests marketplace and add a constants file shared between the two hooks

* change the import order

* refactor hooks returining type

* move whatwg-fetch import inside the admin-test-util and small refactoring

* fix test, remove comments and remove only
2023-05-17 11:01:28 +02:00
Mark Kaylor
ca5fb0fcfa Merge branch 'main' of github.com:strapi/strapi into feature/bulk-publish 2023-05-11 15:04:10 +02:00
Gustav Hansen
370587f4fb Fix: Fix toOne sorting in CM list-view 2023-05-10 15:08:01 +02:00
Gustav Hansen
81c9189bd7 Chore: Remove unnecessary styled overwrite 2023-05-08 12:08:19 +02:00
Josh
870865d7b9 chore: make default context so we don't need provider or mocking 2023-05-05 19:06:07 +01:00
Josh
ef9ed92c45 chore: update ds@1.7.3 2023-05-04 11:45:05 +01:00
Convly
939beff915 Merge branch 'releases/4.10.2' 2023-05-03 15:18:53 +02:00
Josh
85b3eeb64f chore: update to DS 1.7.2
chore: add snapshots

chore: update to 1.7.0

chore: fix tests

chore: fix hp & upload tests

chore: fix admin tests

chore: fix user-permissions FE test

chore: update snapshots and helper-plugin

fix: multi-select

chore: bump to 1.7.1

chore: bump to 1.7.2

chore: update snapshots

fix: broken test

chore: update snapshots
2023-05-02 10:23:23 +01:00
Fernando Chavez
747625f64a change cloneElement for a render function on helper-plugin's dynamicTable 2023-05-02 09:57:37 +02:00
Fernando Chavez
dfced8d998 Add a new bulkActionsBar prop to DynamicTable from helper-plugins and changes to the table on content manager to have the new bulk publish buttons 2023-05-02 09:57:36 +02:00
Gustav Hansen
476821033f CM: Allow list-view to be sorted by stages 2023-04-27 17:10:14 +02:00
Josh
c62bca7913 fix: AutoReload context value had incorrect names for object properties 2023-04-27 10:30:10 +01:00
Josh
407be7cbbd
Merge pull request #16481 from strapi/chore/refactor-hp-to-features 2023-04-26 09:56:28 +01:00
Josh
4134c0e33b refactor: colocate code in helper-plugin features for clearer view
refactor: move Notification logic into helper-plugin

refactor: wip

fix: typo

chore: fix tests

chore: ensure contexts are still exported

Update packages/core/helper-plugin/src/features/OverlayBlocker.js

Update packages/core/helper-plugin/src/features/AutoReloadOverlayBlocker.js

Co-Authored-By: Gustav Hansen <gustav.hansen@strapi.io>
2023-04-26 09:06:18 +01:00
Gustav Hansen
092a80bc33 Merge branch 'main' into feature/review-workflow 2023-04-21 13:08:41 +02:00
Simone Taeggi
18ddcf2274 remove unused request 2023-04-20 18:59:55 +02:00
Josh
2d55462e46 fix: remove instances of request and ban with eslint
chore: remove straggler

chore: fix hook

chore: pr amends

chore: pr amends

chore: use axios for analytics

fix missing once function import

chore(test): use defineProperty

fix: webhooks creation

fix: sso

Revert "chore(test): use defineProperty"

This reverts commit dfdcb82ccef720c4e4993fe4021acc190f38a204.

chore: make sure theres a url before trying to render the image

fix: webhook
2023-04-20 17:30:40 +01:00
Josh
4fff8c4b04 chore: move helper-plugin folder to just src 2023-04-20 08:37:52 +01:00