36133 Commits

Author SHA1 Message Date
Marc-Roig
13d2fd086e
fix: other flakey test 2024-02-12 12:19:49 +01:00
Ben Irvin
8ea71985c8
fix: restrict model and attribute names that break Strapi 2024-02-12 10:47:14 +01:00
Marc-Roig
9a67bb7104
fix: q search by string 2024-02-12 09:43:04 +01:00
Rémi de Juvigny
ee34c43cd5
Merge branch 'v5/main' into v5/history 2024-02-09 18:43:52 +01:00
Rémi de Juvigny
eceebcde00
feat(content-manager): display history versions (#19458)
* feat: display history version fields

* chore: wrap VersionDetails in edit view context

* chore: remove commented code

* chore: set up context

* chore: use context in VersionHeader

* chore: use other createContext
2024-02-09 18:41:53 +01:00
markkaylor
acec060882
feat(content-history): add version header (#19462) 2024-02-09 17:17:02 +01:00
Ben Irvin
7fdffa1851
enhancement: make policy error public 2024-02-09 15:16:28 +01:00
Jean-Sébastien Herbaux
90a86f595c
Fix input payload validation 2024-02-09 15:05:32 +01:00
Ben Irvin
c9de63e8ae
enh: add logger level to server config 2024-02-09 15:04:00 +01:00
Jean-Sébastien Herbaux
fc8807019c
feat: modify the default value of Attribute.Component Repeatable 2024-02-09 11:04:05 +01:00
Christian
9f321e68d4
feat: enable CLI tests 2024-02-09 10:44:33 +01:00
Ben-Zahler
023e95b482
enhancement: allow relative links in the Blocks editor (#19197)
* enable relative links in blocks editor

* implement link validation in backend, improve validation for relative links

* remove console.log

---------

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-02-09 10:19:31 +01:00
Fernando Chávez
677a639124
feat(content-releases): update cron scheduling when release scheduledAt is changed (#19456)
* feat(content-releases): update cron scheduling when release scheduledAt is changed

* fix ts issue
2024-02-08 14:24:12 +01:00
Simone
14e824252a
fix(content-releases): replace Popover with Menu component in the Details page (#19408)
* fix(content-releases): replace Popover with Menu to avoid weird behaviour onClick

* fix(content-releases): replace MenuButton with Menu.Item
2024-02-08 14:01:40 +01:00
Fernando Chávez
e36ac0d387
feat(content-releases): sync all scheduled releases on bootstrap and cancel them on destroy (#19435)
* feat(content-releases): sync all scheduled releases on bootstrap and cancel all of them on destroy

* apply marc feedback

* throw error when sync
2024-02-08 12:10:21 +01:00
Simone
9f2fd88ff5
docs(content-releases): add frontend docs (#19391)
* docs(content-releases): add frontend docs

* docs(content-releases): change some content based on review' comments

* docs(content-releases): rewrite some parts and change file  names

* docs(content-releases): small fix
2024-02-08 10:37:42 +01:00
Josh
08bc82a220 Merge branch 'develop' into v5/main 2024-02-07 18:27:45 +00:00
Marc Roig
60335b11ec
Merge pull request #19452 from strapi/releases/4.20.0
Releases/4.20.0 - develop
2024-02-07 17:50:56 +01:00
Ben Irvin
5616351a36
Chore: fix playwright test issue 2024-02-07 17:49:54 +01:00
Mark Kaylor
b0d94f6dce v4.20.0 v4.20.0 2024-02-07 17:11:39 +01:00
Marc Roig
519fbba454
Merge pull request #19449 from strapi/releases/4.20.1
merge releases/4.20.1 into 4.20.0
2024-02-07 15:49:53 +01:00
Bassel Kanso
425f7870d6
fix(cm): restore proper pagination object on relations response (#19445) 2024-02-07 14:31:51 +00:00
Josh
28ff8c22bc
fix(review-workflows): pass data not body (#19447)
resolves #19340
2024-02-07 14:26:36 +00:00
Josh
04fae4025e
fix(review-workflows): cannot create or update workflow & data doesn't invalidate correctly (#19440)
* fix(review-workflows): cannot create or update workflow & data doesn't invalidate correctly

resolves #19439

* Update packages/core/admin/ee/admin/src/services/reviewWorkflows.ts
2024-02-07 12:53:50 +00:00
Simone
1e7aa5939c
fix(content-releases): add disabled state to action radio buttons (#19420)
* fix(content-releases): change action radio buttons behaviour and ui

* fix(content-releases): change the hover effect and remove the publish check

* fix(content-releases): show hover effect only on enabled radio buttons
2024-02-07 09:39:17 +01:00
Fernando Chávez
6d384ed205
feat(content-releases): add scheduledAt to releases content type & requests (#19418)
* feat(content-releases): Add new scheduling service

* feat(content-releases): add scheduledAt to releases contentType and request

* fix unit tests

* change release type
2024-02-06 13:50:40 +01:00
markkaylor
bbc0605d68
test(content-releases): add end-to-end tests (#19407) 2024-02-06 12:26:06 +01:00
Rémi de Juvigny
01a8546760
Merge branch 'v5/main' into v5/history 2024-02-06 11:01:59 +01:00
Rémi de Juvigny
16c0c1a956
feat: list history versions in the history page sidebar (#19421)
* feat: add history versions endpoint

* fix: add author to response

* fix: types

* fix: yarn.lock

* fix: sort by most recent

* feat: display history versions

* chore: remove locale from VersionsList props

* chore: use buildValidGetParams

* chore: josh feedback

* chore: add locale util

* fix: not wrapped in act

* chore: move data fetching to page level

* chore: prepare VersionsDetail component

* fix: failing ci

* fix: empty view

* chore: mark feedback

* chore: use RelativeTime component

* chore: remove redundant loading check
2024-02-06 10:59:33 +01:00
Fernando Chávez
53caa296b5
feat(content-releases): Add new scheduling service (#19414)
* feat(content-releases): Add new scheduling service

* apply remi's feedback
2024-02-06 10:08:59 +01:00
markkaylor
287aae0bb4
fix(content-releases): handle release.createdBy is null (#19376) 2024-02-05 14:02:53 +01:00
markkaylor
e63e99cccf
fix(dts): support morphToOne relations (#19381)
Co-authored by: @Convly
2024-02-05 10:58:16 +01:00
Fernando Chavez
f6928f6864 Merge branch 'develop' of github.com:strapi/strapi into v5/merge2 2024-02-05 10:48:01 +01:00
Simone
3054a74dd9
fix(content-releases): use the same width and height for the two menus (#19399) 2024-02-05 09:42:39 +01:00
Alexandre BODIN
0f312df726
chore: rename webhooks & allow custom joinColumn (#19344)
Co-authored-by: Marc Roig <marc12info@gmail.com>
2024-02-05 09:01:50 +01:00
Ben Irvin
44f19b3d2f
chore: fixes for flaky tests 2024-02-02 10:49:02 +01:00
Rémi de Juvigny
878a93dc44
feat: add history versions endpoint (#19386)
* feat: add history versions endpoint

* fix: add author to response

* fix: types

* fix: yarn.lock

* fix: sort by most recent

* fix: mark feedback

* chore: rework user sanitization
2024-02-02 10:09:11 +01:00
Ben Irvin
504ae21185
chore: update github action versions for node 16 deprecations 2024-02-01 18:53:34 +01:00
Jamie Howard
3f7b2587c5
fix: unique and UID validation logic 2024-02-01 18:02:02 +01:00
David Pulgarin
9f7647d074
fix(users): adjust response management to create user (#19382) 2024-02-01 09:25:56 +00:00
Fernando Chávez
c5f067b565
fix(content-releases): Add single type to releases (#19332)
* fix(content-releases): Add single type to releases

* apply mark & remi feedback

* change comment to be more clear

* remove file
2024-01-31 15:56:01 +01:00
Simone
b271d3ffd3
fix(content-releases): correct wrong property name (#19394) 2024-01-31 15:45:29 +01:00
markkaylor
8e78b0c909
Merge pull request #19397 from strapi/releases/4.19.1
v4.19.1
2024-01-31 15:44:40 +01:00
Mark Kaylor
34f7e875cd v4.19.1 v4.19.1 2024-01-31 14:41:53 +01:00
Josh
812647b8b0
fix(cm): pass params to post requests for publish & unpublish (#19294)
* fix(cm): pass params to post requests for publish & unpublish

resolves #19289

* Extract locale from query strings (#19359)

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-01-31 11:50:22 +00:00
Madhuri Sandbhor
382f9062c8
feat(Blocks): Nested list (#19244)
* feat: nested list feat added, toggling lists through toolbar button updated, list node validation updated

* update: list select option logic updated to toggle whole list

* fixes: both toolbar list buttons active for nested list, reverted conversion change

* feat: on double enter the nested list item, shift list-item under parent list

* feat: added handle delete on simple and nested list-items and list block, updated handle enter on last list-item

* fix: typeguards added

* fix: added missing depth to find anchorNode

* fix: nested list first item backspace issue handled, fixed selecting all + delete doesnt delete last list item

* fix: handling last list item on delete moved to toolbar where it tries to save DD option as list-item

* update: restrict MB for first level of list items

* update: restrict MB for first level of list items

* fix: minor changes, comments updated, removed unnecessary code

* fix:code optimisation, added aria label for blocks input

* tests: unit tests added for tab, backspace and enter event functionality newly added

* tests: toggle nested list test added

* update: type changes, fixed enter at the beginning of the node

* update: use handleConvert to toggle list, variable renamed to aria-labelId

* fix: minor change

* fix: code optimisation, comments added

* comment updated
2024-01-31 09:58:54 +01:00
t-fritsch
c1aa4eefb4
fix(admin): french translations for null/not null filters 2024-01-30 23:56:18 +01:00
Fernando Chávez
0a7843dbfb
chore(content-releases): add tracking (#19369)
* chore(content-releases): add tracking

* apply remi's feedback
2024-01-30 17:57:25 +01:00
Rémi de Juvigny
e8252d8336
Merge branch 'v5/main' into v5/history 2024-01-30 17:45:00 +01:00
Josh
aabbb0b2ef Merge branch 'develop' into v5/main 2024-01-30 16:26:36 +00:00