14487 Commits

Author SHA1 Message Date
Josh
695d94a247
chore(deps): update storybook (#18839) 2023-11-17 20:45:10 +00:00
Simone
f9fb2e7c49
feat(content-releases): Redirect to /content-releases/:releaseId onCreate and add header on details page (#18720)
* draft implementation details header

* implementation details ui with mock data

* fix unit tests

* fix fernando comments

* update pages structure

* first raw implementation store with rtk

* refactor(releases): redux toolkit query work

* rename releases page

* merge feature/content-releases

* test(releases): setup test harness for working with the admin app (#18817)

* test(releases): setup test harness for working with the admin app

* chore: remove file that shouldn't be here

* rename  releases page

* merge "content-releases/release-details-redirect-after-creation"

* test(releases): setup test harness for working with the admin app

* rename  releases page

* merge "content-releases/release-details-redirect-after-creation"

---------

Co-authored-by: Simone Taeggi <startae14@gmail.com>

* fix Fernando's review comments

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-17 16:59:01 +01:00
Josh
a549feb253
chore: pretty codebase (#18835) 2023-11-17 14:48:05 +00:00
Josh
daaec91b04
chore(cm): convert js to jsx (#18834) 2023-11-17 14:36:26 +00:00
markkaylor
5ca75a1812
Merge branch 'main' into feature/content-releases 2023-11-17 15:23:29 +01:00
Josh
b1a1c48011
chore(documentation): convert js to jsx (#18832) 2023-11-17 13:41:50 +00:00
Christian
3ba8a83b4a
fix(ctb): protect undefined values on SelectComponents (#18808)
* fix: protect undefined values on SelectComponents

* fix: if value is undefined set number to 0
2023-11-17 11:16:04 +00:00
Ben Irvin
d30e85155f
fix: Attribute.JSON type matches RFC 4627 (#18683) 2023-11-17 10:55:57 +01:00
Ben Irvin
a96121ddeb
chore: Migrate CTB to typescript (#18155)
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian <christiancp100@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
2023-11-17 10:27:09 +01:00
Marc Roig
728d614ca4
feat: Migrate @strapi/admin server to typescript (#18232)
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-16 15:38:15 +00:00
Josh
e04af2df77
chore(i18n): convert settings as associated components to TS (#18809)
* chore(i18n): rename getTrads to getTranslations

* chore(i18n): convert settings as associated components to TS

* chore: remove utils index file

* chore(admin): remove unused directive
2023-11-16 14:11:34 +00:00
Josh
0f89dca460
chore(upload): convert JS to JSX (#18818) 2023-11-16 14:10:16 +00:00
markkaylor
cbe36a5ce3
feat(content-releases): add create release-action endpoint (#18739) 2023-11-16 11:37:14 +01:00
Alexandre Bodin
56ac2e8cd6 Merge branch 'main' into develop 2023-11-16 09:43:19 +01:00
Alexandre Bodin
a348983e41 chore: update tests & setup to decrease flakiness
fix(users-permission): flaky test skip notification timeout

wrap in waitFor

Try run in band

whatever
2023-11-15 19:31:42 +01:00
Fernando Chávez
c2480eb264
chore(content-releases): add permissions to content releases plugin (#18715)
* chore(content-releases): add permissions to content releases plugin

* fix(content-releases): fix permissions on tests

* chore(content-releases): add test case for create release

* chore(content-releases): move permissions to register

* chore(content-releases): permissions registered test

* chore(content-releases): stop mocking CheckPagePermission and instead export ProtectedReleasesPage

* chore(content-releases): bump content-releases version

* chore(content-releases): remove unused const
2023-11-15 17:18:07 +01:00
Alexandre Bodin
6a4fcc93af v4.15.5-alpha.4 2023-11-15 16:37:41 +01:00
Alexandre BODIN
50a99072ab
Merge pull request #18775 from strapi/fix/ts-generation 2023-11-15 16:35:16 +01:00
Rémi de Juvigny
01d1504beb
chore(blocks): refactor useBlocksStore (#18776)
* move toolbar up one directory

* rename BlocksInput to BlocksContent

* rename BlocksEditor to BlocksInput

* rename parent dir to BlocksInput

* extract BlocksEditor component out of BlocksInput

* pass editor via useBlocksEditorContext hook

* rename Toolbar file to BlocksToolbar

* update test names

* assemble blocks store in context

* add basic unit tests for each block type

* test individual block logic

* simplify wrapper code

* delete useBlocksStore

* rename dir to Blocks

* fix build error

* use type guard for Link element
2023-11-15 15:54:20 +01:00
Alexandre Bodin
85efb4bfa3 v4.15.5-alpha.3 2023-11-15 14:37:17 +01:00
Josh
2519224956
fix(admin): windows files paths do not make for module paths (#18797) 2023-11-15 13:03:15 +00:00
Jamie Howard
08920be519
Convert CM to TS (#18669)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-15 11:08:04 +00:00
Rémi de Juvigny
b65598b108 Merge remote-tracking branch 'origin/main' into develop 2023-11-15 10:54:01 +01:00
Alexandre Bodin
5e4d5342ff Merge branch 'develop' into chore/i18n-ts 2023-11-14 17:58:51 +01:00
Alexandre Bodin
180e3acca9 v4.15.5-alpha.2 2023-11-14 17:24:18 +01:00
Alexandre BODIN
121dd75c21
Merge pull request #18789 from strapi/fix/profile-page 2023-11-14 17:21:54 +01:00
Rémi de Juvigny
8ec354cd1d
chore(blocks): manage editor disabled state in context (#18732)
* move toolbar up one directory

* rename BlocksInput to BlocksContent

* rename BlocksEditor to BlocksInput

* rename parent dir to BlocksInput

* extract BlocksEditor component out of BlocksInput

* pass editor via useBlocksEditorContext hook

* rename Toolbar file to BlocksToolbar

* update test names

* manage editor disabled state in context

* fix disabled style and radius
2023-11-14 16:59:52 +01:00
Ben Irvin
b185fd1777
Merge branch 'releases/4.15.5' into fix/ts-generation 2023-11-14 16:57:16 +01:00
Ben Irvin
daa0b19179 fix: build webpackwatcher before loading strapi instance 2023-11-14 16:56:43 +01:00
Marc-Roig
b99bb9a2a0
fix: revert webpack bundle analyzer dependency version 2023-11-14 16:42:26 +01:00
Ben Irvin
82ef97a8d4 chore: replace fs-extra 2023-11-14 16:40:55 +01:00
Ben Irvin
dffb2ce6d6 fix: use tsconfig.config for ts project check 2023-11-14 15:58:55 +01:00
Ben Irvin
cf6fc4e024 chore: add comment to cleanup method 2023-11-14 15:56:33 +01:00
Rémi de Juvigny
ae4ceab052 add types and comment 2023-11-14 15:22:12 +01:00
Rémi de Juvigny
c913c6cd98
chore(blocks): refactor file structure and set up context (#18730)
* move toolbar up one directory

* rename BlocksInput to BlocksContent

* rename BlocksEditor to BlocksInput

* rename parent dir to BlocksInput

* extract BlocksEditor component out of BlocksInput

* pass editor via useBlocksEditorContext hook

* rename Toolbar file to BlocksToolbar

* update test names

* josh feedback
2023-11-14 15:02:35 +01:00
Alexandre Bodin
59aec6c474 v4.15.5-alpha.1 2023-11-14 14:55:52 +01:00
Marc-Roig
6daaab5d7a
fix: cast bundle analyzer plugin type 2023-11-14 14:55:02 +01:00
Ben Irvin
28d0d5434a fix: ts tests 2023-11-14 14:42:26 +01:00
Rémi de Juvigny
b6345ffd2d update tests 2023-11-14 13:58:27 +01:00
Rémi de Juvigny
d1b6967ee7 fix profile page 2023-11-14 13:44:04 +01:00
Ben Irvin
59219dc25d chore: move comment 2023-11-14 11:57:15 +01:00
Ben Irvin
b3d58260fd chore: matching text on spinner 2023-11-14 11:56:34 +01:00
Ben Irvin
25ae5d28f4 fix: remove leftover testing 2023-11-14 11:39:44 +01:00
Ben Irvin
33ca1358cc feat: add timer for strapi load 2023-11-14 11:39:32 +01:00
Ben Irvin
6e9b1a3a29 fix: check tsconfig instead of distdir 2023-11-14 11:35:47 +01:00
Paul
6faf1019ea Update ru.json from en.json 2023-11-14 10:33:44 +00:00
Ben Irvin
476368c2f5 fix: remove incorrect dep 2023-11-14 11:32:47 +01:00
Alexandre Bodin
c9ec5ee0e4 chore(admin): simplify user customisation loading 2023-11-14 10:51:17 +01:00
Marc-Roig
d077922b77
Merge branch 'v5/main' into v5/document_id 2023-11-14 10:19:24 +01:00
Marc-Roig
9e388d8484
Merge branch 'main' into v5/main 2023-11-14 10:14:39 +01:00