33950 Commits

Author SHA1 Message Date
Josh
0aca28c03c Merge branch 'develop' into v5/main 2024-02-20 17:51:28 +00:00
Fernando Chávez
4af8963f68
feat(content-releases): add publish webhook (#19515)
* feat(content-releases): add publish webhook

* apply Marks feedback
2024-02-20 14:38:27 +01:00
Madhuri Sandbhor
8d3598965d
Feat(releases): Ability to schedule a release (#19498)
* added first draft for releases scheduling

* update: scheduled date is made Date or nullable, tests updated for scheduling fields

* fix: pass scheduled date null on edit unchecking the option

* fix: dirty check added for disabling save button

* timezone hook added to generate list of timezone options

* update: timezone added in payload to save in DB

* update: removed grouping and sorting of timezones, keeping simple UTC+/-HH:00 <timezone> format

* fix: removing unnecessary code

* update: creating new release should show schedule by default

* minor change

* tests: queryByRole replaced with getByRole query

* update: use date-fns format functions instead of manually formattingdates, future flag added on front for Scheduling till beta release, test cases updated

* fix: comment added

* minor change

* fix: reverting merging change

* fix: scheduledAt and timezone types updated to be null instead of undefined to keep it consistent

* fix: converted utc to zoned time to update correct time on editing the release

* fix: handled validation on submit, always enable submit, timezone list updated based on selected date

* update: default timezone set, tests updated

* update: selecting date during DST updates the timezone selected and list, TS errors fixed

* fix: timezone display value updated

* fix: e2e tests

* update: e2e added for scheduling info

* fix: minor change

* fix: schema validation reverted, tests updated for findBy
2024-02-20 05:32:14 +01:00
Alexandre BODIN
615ae85762
Merge pull request #19499 from strapi/chore/data
Chore/data — Add telemetry events for SSO
2024-02-19 19:19:10 +01:00
Aurélien Georget
cb9253fb6c fix: fix EE tests 2024-02-19 18:43:03 +01:00
Aurélien Georget
03d0136180 Fix unit tests 2024-02-19 16:45:59 +01:00
Aurélien Georget
16eabd438b Run prettier 2024-02-19 16:17:10 +01:00
Aurélien Georget
9569d5fb80 Revert changes 2024-02-19 16:09:13 +01:00
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
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
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 v4.20.1 2024-02-14 16:12:51 +01:00
Marc Roig
73f815eb1f
Merge pull request #19510 from strapi/fix/i18n-relatedEntityId
fix(i18n): extract relatedEntityId from the query
2024-02-14 14:43:50 +01:00
Jamie Howard
ac3542d40e fix(i18n): extract relatedEntityId from the query 2024-02-14 13:24:15 +00: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
Maxime Castres
95a939e004
Experiment/readme strapi v5 (#19503) 2024-02-13 17:13:32 +00: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
Jean-Sébastien Herbaux
e4c660fb4a
Merge pull request #19490 from strapi/fix/type-generation-min-max-default-value 2024-02-13 17:01:18 +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
Convly
c9a57597c7 chore: add unit tests for type generation > SetMinMax > min: 0 2024-02-13 09:56:57 +01:00
Convly
82b9d6e4b1 fix: modify type checking for min/max defaults 2024-02-13 09:52:25 +01:00
Maxime Castres
aa7c7ec672
chore(cloud): change the label of the Strapi Cloud plugin menu link (#19483) 2024-02-12 18:50:52 +00:00
Marc Roig
c0d411ae01
Merge pull request #19479 from strapi/fix/q-search-flakey-test 2024-02-12 13:26:01 +01:00
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
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