12813 Commits

Author SHA1 Message Date
Aurélien Georget
8ae35bb28e Add telemetry about SSO usage 2024-02-13 12:18:01 +01:00
Simone
9bfbb6d4ba
feat(content-releases): added a purchase content releases page (#19455)
* feat(content-releases): first draft implementation PurchaseContentReleases

* feat(content-releases): remove useless custom icon

* feat(content-releases): fix typo and remove useless destructuring

* feat(content-releases): add Icon as children and ignore the ts error

* feat(content-releases): use badgeContent to show lock icon

* feat(content-releases): change the typescript comment to avoid type errors
2024-02-13 10:14:53 +01:00
Bassel Kanso
8f1f62600f fix: batching assets once only
Co-authored-by: Christian <christiancp100@gmail.com>
2024-02-12 17:23:52 +02:00
Ben Irvin
8ea71985c8
fix: restrict model and attribute names that break Strapi 2024-02-12 10:47:14 +01:00
Jean-Sébastien Herbaux
90a86f595c
Fix input payload validation 2024-02-09 15:05:32 +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
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
Mark Kaylor
b0d94f6dce v4.20.0 2024-02-07 17:11:39 +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
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
Simone
3054a74dd9
fix(content-releases): use the same width and height for the two menus (#19399) 2024-02-05 09:42:39 +01:00
Ben Irvin
44f19b3d2f
chore: fixes for flaky tests 2024-02-02 10:49: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 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
Simone
cae3a5a17d
chore(content-releases): show Banner reached limit max releases (#19276)
* chore(content-releases): add alert reached max limit pending releases

* chore(content-releases): use max pending releases number from config

* chore(content-releases): change limits string content

* chore(content-releases): unit test to check the limit banner

* chore(content-releases): fix ts error

* chore(content-releases): fix review comments

* chore(content-releases): refactor the solution to use useLicenseLimits

* chore(content-releases): fix review comments

* chore(content-releases): fix type error

* chore(content-releases): fix HeaderLayout wrong height because of subtitle empty on loading

* chore(content-releases): remove ReleaseLayout component

* chore(content-releases): remove useless translation

---------

Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
2024-01-30 12:03:33 +01:00
Marc Roig
2d371a2d60
fix: nested on commit on rollback transactions (#19368) 2024-01-30 11:00:08 +01:00
Fernando Chávez
8832c2b924
chore(content-releases): optimistic updates for content releases actions (#19065)
* chore(content-releases): optimistic updates for content releases actions

* fix lint issues

* dont use lodash
2024-01-30 09:26:48 +01:00
Bassel Kanso
e1dfd4d9f1
fix: Check component names against collectionTypeNames 2024-01-29 15:29:46 +01:00
Serghei
e269729047
fix(admin): password should not be sent if it is an empty string (#19295)
* Fix password is sent when it was not changed

* Refactor a bit

* Try fix types

* Run prettier

* Update packages/core/admin/admin/src/pages/Settings/pages/Users/EditPage.tsx

* Use signle quotes instead

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-01-29 10:58:54 +00:00
Convly
6a58621932 Merge branch 'releases/4.19.0' into develop 2024-01-24 16:10:08 +01:00
Convly
beec786491 v4.19.0 2024-01-24 16:00:22 +01:00
Mark Kaylor
83ccc02f01 fix(dts): exclude content-releases 2024-01-24 15:31:21 +01:00
Bassel Kanso
ec04445427
Merge branch 'develop' into fix/relations-read-rbac 2024-01-23 11:29:39 +02:00
Bassel Kanso
8247576d2a fix: preserve correct pagination 2024-01-23 11:28:19 +02:00
Rémi de Juvigny
1168c576ca
feat(content-manager): better handle entry duplication (#19256)
* list problematic fields on autoclone failure

* use 3d array for prohibited fields

* tweak type

* pass the plugin params

* remove unused var

* feedback

* use ordered list for breadcrumbs

* less strict wording

* allow uni directional one-to-many relations
2024-01-22 14:17:53 +01:00
Bassel Kanso
ad408f192d
Merge branch 'develop' into fix/relations-read-rbac 2024-01-22 10:56:21 +02:00
Fernando Chávez
fb8e9fec2e
fix(content-releases): Don't allow pending releases with the same name (#19272)
* fix(content-releases): Don't allow pending releases with the same name

* mark feedback
2024-01-19 17:25:55 +01:00
Mark Kaylor
d417f050ea fix(content-releases): format register file 2024-01-19 15:58:58 +01:00
markkaylor
d172fb07e2
chore(content-releases): remove future flags (#19245) 2024-01-19 15:54:10 +01:00
Fernando Chávez
0d0b078513
fix(content-releases): Send the populate entry when publish (#19262)
* fix(content-releases): Send the populate entry when publish

* populating entries manually

* prettier aws-s3 readme

* apply marks feedback
2024-01-19 15:09:15 +01:00
Simone
c1061cabb3
fix(content-releases): hide the More button in the CM Edit View with no permission (#19269)
* fix(content-releases): hide the More button in the Edit View when you don t have permission

* fix lint error
2024-01-19 14:58:24 +01:00
Bassel Kanso
3596a43c3b
Merge branch 'develop' into fix/relations-read-rbac 2024-01-19 13:58:54 +02:00
Bassel Kanso
a4e9327ef3 fix: add permissionsQuery to one relations 2024-01-19 13:34:48 +02:00