12499 Commits

Author SHA1 Message Date
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
markkaylor
5ca75a1812
Merge branch 'main' into feature/content-releases 2023-11-17 15:23:29 +01:00
Ben Irvin
d30e85155f
fix: Attribute.JSON type matches RFC 4627 (#18683) 2023-11-17 10:55:57 +01:00
markkaylor
cbe36a5ce3
feat(content-releases): add create release-action endpoint (#18739) 2023-11-16 11:37:14 +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
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
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
Paul
6faf1019ea Update ru.json from en.json 2023-11-14 10:33:44 +00:00
Fernando Chavez
9bb870fda9 Merge branch 'main' of github.com:strapi/strapi into feature/content-releases 2023-11-14 09:47:36 +01:00
Josh
175b72af9d
fix(admin): admin build errors (#18764)
* fix(admin): import & pass user customisations for admin panel

* fix(admin): modules should be resolved with module paths not system paths

* fix(admin): ensure webpack config is a type of function before calling, warn otherwise

* fix: convert the pluginPath to a system path before trying to resolve relative

* chore: update documentation
2023-11-13 10:21:24 +00:00
Josh
add566491a
chore(deps): update axios to 1.6.0 (#18768)
due to https://github.com/advisories/GHSA-wf5p-g6vw-rhxx
2023-11-13 10:16:09 +00:00
Alexandre Bodin
416657afd5 Merge branch 'main' into releases/4.15.4 2023-11-12 11:09:55 +01:00
Alexandre Bodin
da634b0951 v4.15.4 2023-11-11 12:17:57 +01:00
Alexandre Bodin
458516e434 v4.15.3 2023-11-11 12:03:41 +01:00
Alexandre Bodin
f97b1b0733 fix: invalid deps 2023-11-11 11:29:29 +01:00
Alexandre Bodin
154796c047 Fix package.json versions 2023-11-08 19:50:39 +01:00
Alexandre Bodin
cf5979d1fd Merge branch 'main' into releases/4.15.2 2023-11-08 19:31:57 +01:00
Alexandre BODIN
5c5ae949bf
chore(graphql): migration to basic ts (#18696) 2023-11-08 18:21:41 +01:00
Josh
6129ef3c6c
chore: update design-system 1.13.1 (#18704) 2023-11-08 16:21:15 +00:00
Mark Kaylor
3f510d0338 chore: publish 4.15.2 2023-11-08 17:04:13 +01:00
Mark Kaylor
bb51089333 v4.15.2 2023-11-08 16:27:10 +01:00
markkaylor
f413c08916
fix: add missing prepublish script (#18700) 2023-11-08 15:38:32 +01:00
Rémi de Juvigny
4abe743fdf
chore: convert blocks editor to typescript (#18671)
* chore: add precise types to blocks attribute

* Add BlockNode type util

* wip

* chore: convert blocks editor to typescript

* use import type when possible

* migrate missing tests

* remove commented code

* apply alex feedback

* add BlocksInlineNode export

* add more precise descendant type

* move slate override to its own file

* move slate type definitions to custom.d.ts

* josh feedback

* more thorough isBlockList type guard

* madhuri feedback

* improve type organization

* typescript error workaround
2023-11-08 14:29:45 +01:00
Mark Kaylor
0ca0dff7b4 Merge remote-tracking branch 'origin/releases/4.15.2' into releases/4.15.3 2023-11-08 14:13:14 +01:00
Fernando Chavez
7424dfe016 chore(content-releases): add content-releases core plugin to build 2023-11-08 10:35:36 +01:00
Fernando Chavez
3967ac5552 Merge branch 'main' of github.com:strapi/strapi into feature/content-releases 2023-11-08 10:24:44 +01:00
Simone
44767675ba
feat(content-releases): Create the page header with create release action (#18650)
* create the releases header and the create releases modal

* fix review comments

* remove chunk name

* remove useless empty lines

* fix lint error

* fix review comments

* fix review comments

* reduce number of tests

* fix review comments

* change test description and refactor the ui structure

* small fixes
2023-11-08 10:16:04 +01:00
Maxime Castres
000fd5a3bf
fix(admin): website link containing a typo (#18694) 2023-11-08 08:50:57 +00:00
Rémi de Juvigny
22ffc8b6b7
chore: add precise types to blocks attribute (#18626)
* chore: add precise types to blocks attribute

* Add BlockNode type util

* apply alex feedback

* add BlocksInlineNode export
2023-11-07 13:48:02 +01:00
Josh
ca1ec5aecf
refactor(admin): add watch-admin flag (#18688) 2023-11-07 11:35:40 +01:00
Fernando Chávez
ba6d8d2eeb
chore(content-releases): Create releases CT, create and find services and controllers (#18613)
* chore(content-releases): create new content type and add create and find many services and controllers

* chore(content-releases): sanitize output and add pagination

* update snapshots

* chore(content-releases): move find logic to service

* chore(content-releases): create release action model uid constant

* chore(content-releases): find to findMany

---------

Co-authored-by: Simone Taeggi <startae14@gmail.com>
2023-11-07 10:55:23 +01:00
Ben Irvin
87431e44c3
feat: allow passing http serverOptions from config (#18591) 2023-11-06 15:31:17 +01:00
Alexandre BODIN
03194ce5a3
fix(admin): use appropriate loader between jsx and tsx (#18670) 2023-11-06 11:58:55 +01:00
Gustav Hansen
477ea8ee80
chore(admin): convert useSettingsMenu to TS (#18616)
* chore(admin): move constants into global constants

* chore(admin): convert useSettingsMenu to TS
2023-11-05 13:45:37 +00:00
Josh
e741a4a0c0
fix: import Document directly & add ignorePrompts CLI flag (#18668) 2023-11-03 17:06:51 +01:00
Alexandre BODIN
805908ba2b
fix(admin): close webpack watch on reload (#18667) 2023-11-03 16:28:46 +01:00
Josh
0e69461383
fix(admin): build pipeline & deps (#18658) 2023-11-03 15:56:03 +01:00
Alexandre BODIN
5f65fd6451 fix(admin): missing env utilities (#18657) 2023-11-03 10:02:49 +01:00
Alexandre BODIN
f5b09a8e61
fix(admin): missing env utilities (#18657) 2023-11-03 08:52:55 +00:00
Ben Irvin
d6433aecec
chore: remove extraneous editorconfigs (#18592) 2023-11-03 09:04:49 +01:00
Alexandre BODIN
ae792fb42c
Release 4.15.1 (#18646)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2023-11-03 08:37:53 +01:00
Josh
d482633e77
refactor(admin): auth pages to TS (#18635)
* refactor(admin): auth pages to TS

* fix: fix error message displays

* chore: remove generic

* chore: remove unnecessary test files

* chore: add tests

* fix: reset-password errors
2023-11-02 14:31:43 +00:00
Alexandre Bodin
b6c085052f v4.15.1 2023-11-02 15:26:58 +01:00
Madhuri Sandbhor
6008802902
fix(blocks): first click on modifiers doesn't work (#18556)
* fix: first click on modifiers doesnt work

* test: removed as its difficult to test first click behaviour with unit tests

* fix: removed unused test id
2023-11-02 14:17:02 +01:00
Josh
4ef442cc49
chore: pack-up all admin packages (#18622)
* chore: pack-up all admin packages

* chore: remove implicit deps

* chore: fix test
2023-10-31 15:38:51 +00:00
Josh
c563f77eee
chore(admin): fix exports & settings links in CE (#18624)
* chore(admin): add index files to files list

* chore: incl. additional deps with quickstart projects

* chore: fix issue with menu links being undefined.
2023-10-31 15:36:40 +00:00
Thanos
524af8055c
fix(upload): media library image signedUrl cache busting issue (#18541)
* media library image signedUrl cache busting issue references #18443

* date query param typo

* add asset isUrlSigned property, used as asset url cache busting condition

* removed cacheBustUrl function, added inline comment to describe functionality
2023-10-31 15:28:52 +00:00
Simone
2611578b8a
feat(content-releases): Add sidebar link and routes to the ListView page and the detail page (#18589)
* add routes and sidebar link

* change pluginId implementation

* remove comments

* add admin permissions

* change the bootstrap type in Plugin as conditional

* remove permissions for the moment to find a better solution in another ticket
2023-10-31 10:50:08 +01:00
Gustav Hansen
1c1e34d14f
chore(admin): convert useSettingsForm to TS (#18608) 2023-10-31 09:22:45 +00:00