32976 Commits

Author SHA1 Message Date
Marc Roig
c771262273
v4.14.3 (#18294)
* v4.14.3

* chore: update pack up version
2023-10-05 10:20:53 +01:00
Gustav Hansen
f74fc15527 chore(admin): convert useThemeToggle to TS 2023-10-05 10:48:55 +02: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
Gustav Hansen
3a5af781c9 chore(admin): convert useThemeToggle to TS 2023-10-05 10:16:32 +02:00
Summayya Hashmani
ce44a1cca7
fix(content-manager): undefined error for relation type filter field (#18295) 2023-10-05 08:43:41 +01:00
Josh
7016a1b045
chore: initialise ts admin (#18282)
* chore: initialise ts admin

* chore: set JSX to automatic

finally found it

* chore: set DTS true for the whole workflow to produce types for the helper-plugin

* chore(helper-plugin): fix the circular dependencies and calls for react
2023-10-05 08:39:49 +01:00
Simone
46010896d6
[Blocks editor] Manage click Enter twice on the same line (#18255)
* refactor handle enter key function

* remove comment

* add a unit test

* refactor the solution to handle other possible scenarios

* fix some review comments

* change variable implementation based on review comment

* change comments
2023-10-05 09:32:03 +02:00
Rémi de Juvigny
7708cb098d
[Blocks] Replace alpha warnings by beta warnings (#18278)
* Replace alpha warnings by beta warnings

* Fix alert variant
2023-10-05 09:17:48 +02:00
DMehaffy
fab38a0800
Merge pull request #18272 from pertrai1/patch-1
Very Quick README.md Change
2023-10-04 14:56:38 -07:00
DMehaffy
6e6d3d7cf5
Merge branch 'main' into patch-1 2023-10-04 14:54:44 -07: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
Rémi de Juvigny
59735af153
Fix code block styles (#18283) 2023-10-04 16:42:00 +02:00
Rémi de Juvigny
ab5a18e8aa
Set fixed 512px height for the whole editor (#18284) 2023-10-04 14:16:45 +02:00
Madhuri Sandbhor
502bd29738
[Blocks Editor] Fix empty list backspace issue (#18260)
* fixed backspace key for empty list

* fixed backspace key for empty list

* added a check for handleBackspaceKey

* test case updated for ordered-list, colocated code for list block
2023-10-04 12:48:08 +02:00
Ben Irvin
93595cfdad
Merge branch 'main' into fix/dts-ws-timeout 2023-10-04 12:07:42 +02:00
Ben Irvin
eeb77afbca
Merge pull request #18274 from strapi/fix/e2e-test-package 2023-10-04 12:06:19 +02:00
markkaylor
9b2cfe1ae1
Fix blocks config (list, sort, filter, main field) (#18207) 2023-10-04 11:28:13 +02:00
markkaylor
a9e8ad6a64
Fix focus on select (#18193) 2023-10-04 11:22:11 +02:00
Fernando Chávez
428049c401
[Rich Text Editor] Add link plugin and buttons (#18195)
* add link plugin and buttons

* fix validations

* apply josh & madhuri feedback

* apply madhuri feedback

* apply mark's feedback

* fix tests
2023-10-04 10:23:23 +02:00
Josh
ee5c626501
chore: use yarn resolution for design-system (#18238)
* chore: use yarn resolution for design-system

* fix: helper-plugin types

* fix: color picker types
2023-10-04 09:01:56 +01:00
Ben Irvin
d2dfc1c28f match supported versions of node 2023-10-04 09:28:45 +02:00
Rob Simpson
00de501638
Very Quick README.md Change
I signed up for Hacktoberfest and saw this as the 2nd repo listed for contributing. I started reading and noticed this small fix. Don't think it is considered big enough for Hacktoberfest but thought I would help out any way I could :-)
2023-10-03 23:19:45 -04:00
Rémi de Juvigny
3f54767ebc
[Blocks editor] Handle multi line quotes (#18200)
* Handle enter on quotes

* Add test case

* Remove italic style

* Remove log
2023-10-03 15:16:34 +02:00
Ben Irvin
3e16c7d49c end connection on handler errors 2023-10-03 14:49:43 +02:00
Simone
493eb0a58d
[Blocks editor] Manage mixed blocks selection (#18181)
* first draft multiblocks selection fix

* refactor multi blocks selection logic

* remove useless console log

* refactor getAchorBlockKey based on comments

* change test order

* refactor the search using matchNode

* add some comments to explain the useEffect

* fix comments syntax and typos

* fix comments syntax
2023-10-03 14:25:33 +02:00
Ben Irvin
2be93c9e10 handle errors in error responses 2023-10-03 13:42:05 +02:00
Ben Irvin
131bd19d4a improve error handling 2023-10-03 13:23:27 +02:00
Ben Irvin
62fdf33bb3 improve logging 2023-10-03 13:20:04 +02:00
Ben Irvin
878c921445 refactor and add catch block 2023-10-03 13:18:00 +02:00
Simone
08a62df085
Merge branch 'main' into feature/rich-text-editor 2023-10-03 09:10:18 +02:00
markkaylor
35cf6eed94
chore: bump design-system from 1.11.0 to 1.12.0 (#18241) 2023-10-02 18:21:23 +01:00
markkaylor
14a5e2fae8
[RTE] Make images truly void (#18205) 2023-10-02 18:43:35 +02:00
Josh
d8c13912ba
chore: update eslint (#18240)
* chore: update eslint deps & fix lint issues

* chore: update prettier

* fix: packagejson

* Revert "chore: update prettier"

This reverts commit 65f82dfa5b3b0a925fb0d86c20a7e555015c7b48.
2023-10-02 17:29:23 +01:00
Josh
2b6cb7373c
chore: remove stylelint (#18242) 2023-10-02 17:27:43 +01:00
Ben Irvin
7a78d05d61 use original values 2023-10-02 17:39:26 +02:00
Ben Irvin
b3cf7d6171 only set timeouts during a transfer 2023-10-02 16:59:05 +02:00
Ben Irvin
36543641bc write our own http timeout so websockets don't close 2023-10-02 16:25:04 +02:00
Ben Irvin
b0cb8ac3f1 disable koa timeout on ws connection 2023-10-02 12:38:29 +02:00
Gustav Hansen
562dd2fd46
Merge pull request #18226 from strapi/dependabot/npm_and_yarn/core-js-3.33.0
Bump core-js from 3.32.0 to 3.33.0
2023-10-02 09:41:34 +02:00
Ben Irvin
954e2ebf1f
Merge pull request #18180 from strapi/fix/17955-validation-allows-empty-objects 2023-10-02 09:34:05 +02:00
Gustav Hansen
30ec7f1e3a
Merge pull request #18227 from strapi/dependabot/npm_and_yarn/browserslist-4.22.1
Bump browserslist from 4.21.4 to 4.22.1
2023-10-02 09:05:20 +02:00
Gustav Hansen
eb9d68232f
Merge pull request #18228 from strapi/dependabot/npm_and_yarn/cloudinary-1.41.0
Bump cloudinary from 1.40.0 to 1.41.0
2023-10-02 08:59:48 +02:00
Gustav Hansen
91db6f8645 chore(deps): update core-js version used by swc 2023-10-02 08:53:25 +02:00
dependabot[bot]
2f41407407
Bump cloudinary from 1.40.0 to 1.41.0
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_npm) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/cloudinary/cloudinary_npm/releases)
- [Changelog](https://github.com/cloudinary/cloudinary_npm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cloudinary/cloudinary_npm/compare/1.40.0...1.41.0)

---
updated-dependencies:
- dependency-name: cloudinary
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 23:01:45 +00:00
dependabot[bot]
b17d8327e4
Bump browserslist from 4.21.4 to 4.22.1
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.21.4 to 4.22.1.
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.21.4...4.22.1)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 22:58:47 +00:00
dependabot[bot]
f94c0ea134
Bump core-js from 3.32.0 to 3.33.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.0 to 3.33.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 22:57:28 +00:00
markkaylor
e7e82d57df
Fix skipped test (#18206) 2023-09-29 14:12:35 +02:00
Rémi de Juvigny
96a7112e3d
Merge pull request #18188 from strapi/rich-text-editor/disabled
[Blocks editor] Fix disabled state
2023-09-29 13:11:23 +02:00
Rémi de Juvigny
b974c5d334 Feedback code cleanup 2023-09-29 11:59:44 +02:00
Rémi de Juvigny
061bb5d2d7 Don't require disabled on BlocksEditor 2023-09-29 11:26:24 +02:00