33691 Commits

Author SHA1 Message Date
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
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
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
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
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 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
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
Ben Irvin
504ae21185
chore: update github action versions for node 16 deprecations 2024-02-01 18:53:34 +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
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
Fernando Chávez
1df99d479d
docs(content-releases): add missing endpoints to backend docs (#19302)
* docs(content-releases): add missing endpoints to backend docs

* Update docs/docs/docs/01-core/content-releases/01-backend.md

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* Update docs/docs/docs/01-core/content-releases/01-backend.md

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* Update docs/docs/docs/01-core/content-releases/01-backend.md

Co-authored-by: markkaylor <mark.kaylor@strapi.io>

* apply marks feedback

---------

Co-authored-by: markkaylor <mark.kaylor@strapi.io>
2024-01-30 09:24:06 +01:00
Fernando Chávez
3844395bef
Merge pull request #19363 from strapi/chore/skipped-tests
chore(workflows): update unit_front skipped test to use node 20
2024-01-29 18:12:06 +01:00
Fernando Chavez
18ff71ca02 chore(workflows): update unit_front skipped test to use node 20 2024-01-29 15:49:36 +01:00