14150 Commits

Author SHA1 Message Date
Aurélien Georget
124cc09a8d Move busines logic to EE folder and override default CE functions 2024-02-19 14:41:20 +01:00
Aurélien GEORGET
4a4ccac025
Merge branch 'develop' into chore/data 2024-02-19 10:27:40 +01:00
Aurélien Georget
6222c3bf28 Remove logs 2024-02-16 18:35:06 +01:00
Aurélien Georget
e0793559dc Move getSSOProvidersList to EE folder 2024-02-16 18:31:43 +01:00
Aurélien Georget
6c4174c4c9 Update function name for better clarity 2024-02-16 18:04:27 +01:00
markkaylor
d817861005
Merge branch 'v5/main' into v5/history 2024-02-16 10:45:16 +01:00
Simone
7abe81e395
fix(content-manager): fix strange behaviours when you change position on Dynamic Zones and solve issue with ids not unique (#19480)
* fix(content-manager): check if the editor ref is already in place and avoid to create a new one on drag

* fix(content-manager): codemirror cleanup on re rendering and change the way we select the temp key value

resolves #17858
resolves #18939
resolves #18701
resolves #17858
closes #18532

Co-Authored-By: Jasper Hartong <47074382+jasperhartong@users.noreply.github.com>

---------

Co-authored-by: Jasper Hartong <47074382+jasperhartong@users.noreply.github.com>
2024-02-16 10:20:57 +01:00
markkaylor
55263f30cb
fix(history): fetch single-types (#19506) 2024-02-16 09:03:47 +01:00
Ben Irvin
5c8ef69f82
fix: validate query populate 2024-02-15 09:24:45 +01:00
Convly
d470b4f75c Merge branch 'releases/4.20.1' into develop 2024-02-14 16:17:09 +01:00
Convly
9aa6e94b2f v4.20.1 2024-02-14 16:12:51 +01:00
Mark Kaylor
9f6b2ac69b Merge branch 'v5/main' of github.com:strapi/strapi into v5/history 2024-02-14 09:43:22 +01:00
Fernando Chávez
dd6ebd43de
feat(content-releases): remove cron when scheduled release is deleted (#19444)
* feat(content-releases): remove cron when scheduled release is deleted

* Update packages/core/content-releases/server/src/services/__tests__/release.test.ts

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-02-14 09:29:29 +01:00
Josh
2c180844b3
test(e2e): re-enable suite related to content-manager (#19493)
* test(e2e): re-enable suite related to content-manager

* chore: dont trace, breaks app

* chore: incl. locale in e2e dataset

* chore: fix signup issues with locales missing

* chore: fix uniqueness test issue
2024-02-13 16:52:54 +00:00
Aurélien Georget
d91dd12945 Remove await on sending information to not slow server 2024-02-13 17:39:53 +01:00
Aurélien Georget
a96939e659 Send information without waiting CRON job 2024-02-13 17:38:30 +01:00
Aurélien Georget
e4cb1a8c6a Add usage data for Releases 2024-02-13 17:36:38 +01:00
Aurélien Georget
bbd10939f2 Send usage data for Audit Logs and optimize SSO events 2024-02-13 17:06:56 +01:00
Jean-Sébastien Herbaux
9c6f8874ae
Merge pull request #19384 from uidlt/fix-french-null-filters-translations 2024-02-13 17:03:16 +01:00
Aurélien Georget
12e45f7102 Send SSO usage only at server start 2024-02-13 16:53:30 +01:00
Fernando Chávez
2d810a207d
feat(content-releases): add timezone to releases (#19473)
* feat(content-releases): add timezone to releases

* fix ts error
2024-02-13 14:19:57 +01:00
Aurélien Georget
499d0fe8e2 Attach properties to event 2024-02-13 13:12:22 +01:00
Josh
0ba9e53511 Merge branch 'develop' into v5/main 2024-02-13 11:19:06 +00:00
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
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
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
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
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
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