1165 Commits

Author SHA1 Message Date
Josh
eb89219bce
fix(pack-up): redefine external to work better with presereModules and omit changing the fileName (#18395)
* fix(pack-up): redefine `external` to work better with presereModules and omit changing the fileName

* chore: update snaphots

I have no idea why this is needed
2023-10-11 14:34:49 +01:00
Josh
85d322c3e9
test(frontend): fix act warnings _everywhere_ (#18381)
* test(content-manager): fix wysiwyg by silencing the warnings

* test(admin): add a harness – finally

* chore: remove prop-types as dep of helper-plugin

* test(content-manager): fix console errors in EditSettingsView

* test(content-manager): fix ListViewSettings

* test: fix useAdminRolePermissions

* chore: convert more tests

* test: more fe tests

* test: more fe tests

* test(ctb): fix tests

* chore: throw error in env

* chore: fix act finals

* chore: remove resetHandlers and use once

* chore: throw all the time for warnings and errors
2023-10-11 12:26:02 +01:00
Josh
66d7c1ce9b
chore: convert helper-plugin to pack-up (#18329) 2023-10-06 12:21:26 +01:00
TousifAhmed
3a1cb32f56
fix: upload replaced media file (#18301) 2023-10-05 17:07:35 +01:00
Josh
160ac2f527
chore: build strapi utils with pack-up (#18308)
* chore: build strapi utils with pack-up

* chore: remove build:ts from workflow

Update UploadAssetDialog.test.js
2023-10-05 14:47:35 +01:00
Josh
e5078d5f4d
feat: add pack-up package (#18233)
* feat(pack-up): add build command (#18058)

* chore: lint order of imports

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat(pack-up): add init command (#18133)

* feat(pack-up): add build command (#18058)

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat: add init command

fix: build

feat: add default template and tests

* chore: pr amends

* Update packages/utils/pack-up/tests/console.ts

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

* chore: re-add mock

* chore: fix tsconfig

* chore: fix inquirer types due to rxjs inclusion

* Update packages/utils/pack-up/src/node/templates/internal/files/typescript.ts

* chore: fix inquirer types

---------

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

* feat(pack-up): add check command (#18183)

* feat: add check command

* chore: reintroduce CLI tests

* fix: add build command to `prepublishOnly`

* docs(pack-up): add readme and contributor docs (#18237)

* chore: update README

* docs(pack-up): add contributor documentation

* chore: update overview doc to be clearer

* fix(pack-up): init command (#18245)

* fix: init command bugs

* fix: node tests

* fix: template exports ordering & file extensions

* test(upload): double timeout on UploadAssetDialog test

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-05 09:38:29 +01:00
Josh
ddcbafe9d9
tests(upload): fix error logs in upload tests (#18261)
* chore: add test utils

* test(upload): fix useModalQueryParams

* test(upload): fix TableRows

* test(upload): fix useConfig test

* test(upload): fix useFolder tests

* test(upload): fix useFolders test

* test(upload): fix SettingsPage tests

* test(upload): fix UploadAssetDialog tests

* test(upload): fix CarouselAssets tests
2023-10-04 16:03:02 +01:00
markkaylor
917a40b555
refactor(helper-plugin): migrate to TS (#17746)
Co-authored-by: Fernando Chávez <fc9chavez@gmail.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
Co-authored-by: Jackson Hammond <malts18@gmail.com>
Co-authored-by: yurimutti <muttiyuri@gmail.com>
Co-authored-by: Fernando Chávez <fernando.chavez@strapi.io>
Co-authored-by: GJunior <samaritanojr006@gmail.com>
Co-authored-by: Milan K <57148574+mkcy3@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: boris.shulyak <borysshulyak@gmail.com>
Co-authored-by: Alec Winter <34278963+nolliebigspin@users.noreply.github.com>
Co-authored-by: Boris Shulyak <55171497+BorysShulyak@users.noreply.github.com>
Co-authored-by: 0xATHERIS <ath3ris@proton.me>
Co-authored-by: Andrew <112592168+fletch-r@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Dallas Clark <542948+dallasclark@users.noreply.github.com>
Co-authored-by: Okorare Tega <contact@tegacreatives.com>
Co-authored-by: Júlíus Guðni <julius@extis.one>
Co-authored-by: Simone <startae14@gmail.com>
2023-09-15 10:08:21 +02:00
Alexandre Bodin
0ae5ef0078 Merge branch 'releases/4.13.5' 2023-09-12 16:51:13 +02:00
Josh
4d92b11512 fix: set a fallback where we define window.strapi.backendURL 2023-09-12 13:45:08 +01:00
Josh
3e310c9743 fix: fallback to window.location.href if backendURL is not defined (#17982)
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2023-09-11 19:05:40 +02:00
Josh
ee84e7403c fix: relativeURLs fail with appendSearchParamsToUrl (#17967)
Co-authored-by: ramiel <ramielwan48@gmail.com>
2023-09-11 19:05:28 +02:00
Josh
ef41a56cf1
fix: fallback to window.location.href if backendURL is not defined (#17982)
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2023-09-11 10:31:21 +01:00
Gustav Hansen
ef5f997c57
chore(deps): update @strapi/design-system and @strapi/icons to 1.10.1 (#17948) 2023-09-11 09:00:13 +01:00
Josh
a2ae4cacae
fix: relativeURLs fail with appendSearchParamsToUrl (#17967)
Co-authored-by: ramiel <ramielwan48@gmail.com>
2023-09-07 13:16:35 +01:00
Gustav Hansen
5c08a7a2af
Merge pull request #17855 from strapi/dependabot/npm_and_yarn/adobe/css-tools-4.3.1
chore(deps): bump @adobe/css-tools from 4.0.1 to 4.3.1
2023-09-04 11:16:39 +02:00
Gustav Hansen
72a6720e8b chore(deps): update snapshot tests 2023-09-04 10:40:47 +02:00
Dave
0c7c3d0f5c
fix(upload): asset url appending (#17751) 2023-08-31 08:35:02 +01:00
Gustav Hansen
6f1d9a15dd
Revert "Fix: Use sync over async components in admin panel APIs" 2023-08-29 09:24:29 +02:00
Gustav Hansen
c9fa5fb0ec
Merge pull request #17685 from strapi/fix/code-splitting
Fix: Use sync over async components in admin panel APIs
2023-08-23 13:55:15 +02:00
Gustav Hansen
4b69d56dbc Fix: Use React.lazy over async component imports for plugins 2023-08-23 12:37:28 +02:00
Josh
dc02df8b42
feat: add auto-focussing via URLSearchParam to content-manager (#17613)
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
2023-08-22 12:18:06 +01:00
so_hell
ffbaca0974 Fix: Media Library List View 2023-08-07 12:14:52 +02:00
Gustav Hansen
77d3084a51 fix(upload): Use native fetch over API client for downloadFile 2023-08-01 12:43:43 +02:00
Christian
6787a08db4
Merge branch 'main' into dev/caseInsenFilters 2023-07-31 16:08:40 +02:00
Fernando Chavez
4389dce4d1 fix problem when uploading assets from url 2023-07-26 16:16:35 +02:00
Jamie Howard
4f4fc2ff5f fix(upload): update snapshot 2023-07-26 12:09:14 +01:00
Jamie Howard
02e3d81293 chore(upload) 2023-07-26 12:02:35 +01:00
Jamie Howard
726d16df03 fix(upload): thumbnail updates on media replace 2023-07-26 10:28:29 +01:00
Jamie Howard
bad0dd5c18
Merge pull request #17280 from noobCode-69/media-folder-delete 2023-07-26 09:49:43 +01:00
Gustav Hansen
df872f2fd4 Chore: Drop getRequestUrl 2023-07-25 13:40:25 +02:00
Maxime Robert
f6648826f4 An enumeration should only provide $eq and $ne
There's no point here to provide contains-related filters as the value is chosen from a dropdown.
2023-07-24 16:24:08 +02:00
Derrick Mehaffy
78eac54cd8 add case insensitive filters to content-manager 2023-07-24 16:24:08 +02:00
Gustav Hansen
c21780b6a5 Chore: Update snapshots 2023-07-21 16:25:38 +02:00
so_hell
fe2b24bcc1 fixed: Media Library - Can`t delete empty folder #17263 2023-07-12 12:31:53 +05:30
Josh
7ff0df5e7b test: refactor CellContent/RelationMultiple tests 2023-07-11 11:28:33 +01:00
Josh
bde4159921 chore: fix medialibrary test 2023-07-11 11:28:21 +01:00
Josh
017ca778a1 refactor: simple menu v1 2023-07-11 11:28:21 +01:00
Josh
fef7cd24df chore: update ds to 1.8.2 2023-07-11 10:20:09 +01:00
Josh
96d8ebb0c8 fix: CM media-input browsing 2023-07-10 10:26:01 +01:00
Mark Kaylor
132fc9e4a9 Josh Gustav feedback 2023-07-06 14:48:24 +02:00
Mark Kaylor
1899ac4d42 Add params serializer 2023-07-06 14:48:21 +02:00
Josh
d301b8a7ad chore: update DS to 1.8.1 2023-07-03 15:14:38 +01:00
Josh
9bc4e05325
Merge pull request #17140 from strapi/fix/useRBAC-infinite-loop 2023-07-03 14:24:55 +01:00
Josh
239d832457 refactor: useAsset query to use folderPath 2023-06-30 08:45:49 +01:00
Josh
885aa13160 refactor: useRBAC hook to stop infinite loop
chore: add test setup to helper-plugin

test: add useRBAC suite

refactor: useRBAC hook to stop infinite loop

chore: shuffle around and add jsdocs
2023-06-29 11:56:36 +01:00
Danish Joseph
ef3a0aa21b
Merge branch 'main' into fix/image-preview-after-replace 2023-06-28 01:28:00 +05:30
Ben Irvin
c8e128d11c Merge branch 'main' into chore/upgrade-jest-to-29.5 2023-06-26 16:31:04 +02:00
Damián Paranič
a757f0ffc7 added code comments 2023-06-26 12:37:27 +02:00
Damián Paranič
0e26a36dc4
Merge branch 'strapi:main' into fix/media-library-multiple-selection 2023-06-26 10:37:02 +02:00