35657 Commits

Author SHA1 Message Date
Bassel Kanso
743526a19d
ci: publish script should commit and tag once (#22648) 2025-01-15 09:00:10 -05:00
Bassel Kanso
3bd4619c74
ci: passing github token to publishing script (#22647) 2025-01-15 07:42:29 -05:00
Bassel Kanso
4f7acd10ad ci: adding release workflow (#22640)
(cherry picked from commit c0ba89207b301f8809242f01f6ee459dd0c5ce86)
2025-01-15 10:49:19 +01:00
Bassel Kanso
e555b477b8 ci: update prepublish release script to use nx(#22598)
(cherry picked from commit a4bb06d54b493ab973659d0200e0e42937988850)
2025-01-15 10:48:34 +01:00
Ben Irvin
14fd433d38
fix(database): only drop indexes that exist; do not drop on create (#22633)
* fix(database): verify existance on drop but do not drop on create

* revert: keep mysql conditional
2025-01-14 16:44:14 +01:00
Ben Irvin
0af49f5c5e
test(e2e): cleanup create-content (#22627) 2025-01-13 12:14:12 +01:00
Ziyi
8bfe95f44c
test(e2e): test for date picker (#22609) 2025-01-13 11:49:55 +01:00
Laurens Kling
cb666fde52
reduce batchSize to 500 to support sqlite (#22503)
* fix: reduce batchSize to 500 to support sqlite

* fix: apply limit only for sqlite

* fix: use math min to avoid overriding the given batch size

---------

Co-authored-by: Jamie Howard <jamie.howard@strapi.io>
Co-authored-by: Jean-Sébastien Herbaux <jean-sebastien.herbaux@epitech.eu>
2025-01-10 17:40:46 +00:00
Lucas Boilly
0cf2e91c65
fix: add missing borders to widgets (#22612) 2025-01-10 08:19:06 -05:00
Lucas Boilly
33da70177d
fix: changed active state background color (#22545) 2025-01-09 07:51:55 -05:00
markkaylor
f7525dade9
chore(tests): enable and update relations ordering test (#22574) 2025-01-09 12:44:46 +01:00
Ben Irvin
9a064edb85
Merge pull request #22602 from strapi/main
Releases/5.7.0 (#22471)
2025-01-09 11:04:13 +01:00
Prafull Pandey
64ad79f250
fix: missing hover pointer in bottom of ctb menu add another field to this collection type (#22393) 2025-01-09 10:41:01 +01:00
Ben Irvin
cb38fe1b3d
Merge pull request #22588 from strapi/releases/5.7.0
Release 5.7.0
2025-01-09 08:59:33 +01:00
Ben Irvin
27928ae50a chore: fix version numbers 2025-01-08 16:12:18 +01:00
markkaylor
dad3c50630
fix(history): handle nested component images (#22278) 2025-01-08 15:57:28 +01:00
Ben Irvin
1be05a65d0 Merge branch 'main' into releases/5.7.0 2025-01-08 15:41:19 +01:00
Kaio Duarte
aa5123c2a3
fix: add missing name to ColorPickerInput (#21976)
* fix: add missing `name` to `ColorPickerInput`

* chore: pair implementation with other form fields

* chore: add unit test

---------

Co-authored-by: Simone <startae14@gmail.com>
2025-01-08 14:30:57 +01:00
Ben Irvin
4be93cf38b release: 5.7.0 v5.7.0 2025-01-08 14:28:37 +01:00
Alexandre BODIN
09351efda3
Merge pull request #22567 from strapi/dependabot/npm_and_yarn/npm_and_yarn-6b04d718a2
chore(deps): bump path-to-regexp from 8.1.0 to 8.2.0 in the npm_and_yarn group
2025-01-08 13:46:39 +01:00
markkaylor
5d0cd5a1a7
chore(docs): document traverseEntity util (#22573) 2025-01-07 19:17:11 +01:00
Ben Irvin
bb6d0ed50d
enhancement: apollo landing page config (#22285) 2025-01-07 17:42:34 +01:00
Dhruv Maradiya
7d767aba20
fix: handle clearing of number field to send null instead of undefined (#22537)
* fix: handle clearing of number field to send null instead of undefined

set number field to null when cleared; undefined prevented clearing.

* test: add test for clearing integer field to set it to null

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2025-01-07 04:39:51 -05:00
Rémi de Juvigny
110b429be2
feat: new admin homepage (#22346)
* feat: init new homepage with custom greeting (#22269)

* feat: init new homepage

* fix: e2e test

* chore(homepage): move guided tour (#22338)

* enhancement: create homepage widget component

* enhancement(homepage): create recently edited documents endpoint (#22355)

* chore: init recent documents route and controller

* enhancement: add recently updated docs endpoint

* chore: add endpoint types

* chore: add api tests

* fix: ts build

* enhancement: add generic widget component

* enhancement: add homepage recently edited widget

* chore: add compound component

* fix: unit test

* enhancement: add no data state

* enhancement: add no data variant

* future(homepage): add generic widget component (#22369)

* enhancement: create homepage widget component

* enhancement: add generic widget component

* chore: add compound component

* fix: unit test

* enhancement: add no data variant

* fix: widget height

* enhancement(homepage): get recent publish activity (#22377)

* chore: tracking and a11y improvements

* chore: add e2e tests

* fix: more cache invalidation

* chore: update api tests

* fix: remove cm dependency

* fix: broken status

* enhancement(home): add recently published widget (#22391)

* fix(home): replace title documentId with document title (#22403)

* fix(home): make locale defined or null to get the correct status (#22405)

* fix(homepage): make back button work when document has a locale (#22450)

* release: 5.6.0

* Revert "release: 5.6.0"

This reverts commit 77ad0efc79afd9777d140f84e8abc47cda26d1d9.

* release: 5.6.0

* fix(homepage): add missing styles for error, loading, and empty states (#22448)

* fix(homepage): add missing styles for error, loading, and empty states

* fix: always include title and icon

* chore: refactor to not rerender static content

* chore: reuse table component

* fix: single type link

---------

Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>

* fix: minor ui issues

* fix: hide doc status when no d&p (#22409)

* fix: hide doc status when no d&p

* enhancement: show dash instead

---------

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

* v5.7.0-beta.0

* fix: package versions

* fix: package version

---------

Co-authored-by: Mark Kaylor <mark.kaylor@strapi.io>
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2025-01-06 10:03:49 -05:00
Prafull Pandey
52cb00641c
fix: missing pointer cursor when hover top of possible relations (#22511)
#21341
2025-01-06 15:54:14 +01:00
Jean-Sébastien Herbaux
a95edaa158
fix(database): delete indexes before creating if they already exist 2025-01-06 15:34:13 +01:00
dependabot[bot]
affd279425
chore(deps): bump path-to-regexp in the npm_and_yarn group
Bumps the npm_and_yarn group with 1 update: [path-to-regexp](https://github.com/pillarjs/path-to-regexp).


Updates `path-to-regexp` from 8.1.0 to 8.2.0
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v8.1.0...v8.2.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 12:36:58 +00:00
Alexandre BODIN
645a1effb3
Merge pull request #22550 from strapi/dependabot/npm_and_yarn/npm_and_yarn-fc48eaa8df
chore(deps): bump path-to-regexp from 8.0.0 to 8.1.0 in the npm_and_yarn group
2025-01-06 13:34:18 +01:00
Lucas Boilly
cb5f24c83e
fix: make ctb loader truly round (#22433) 2025-01-03 13:06:52 -05:00
dependabot[bot]
bbd2f07dff
chore(deps): bump path-to-regexp in the npm_and_yarn group
Bumps the npm_and_yarn group with 1 update: [path-to-regexp](https://github.com/pillarjs/path-to-regexp).


Updates `path-to-regexp` from 8.0.0 to 8.1.0
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v8.0.0...v8.1.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-03 14:06:40 +00:00
dependabot[bot]
63419c0088
security(deps): upgrade path-to-regexp from 6.3.0 to 8.0.0 (#22357)
* chore(deps): bump path-to-regexp in the npm_and_yarn group

Bumps the npm_and_yarn group with 1 update: [path-to-regexp](https://github.com/pillarjs/path-to-regexp).


Updates `path-to-regexp` from 6.3.0 to 8.0.0
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v6.3.0...v8.0.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update for path-to-regexp v8

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2025-01-03 14:04:01 +00:00
Ben Irvin
146a31b564
test(e2e): add create content tests (#22395)
* test(e2e): add dynamic zone to collection type

* test(e2e): use category from test data

* test(e2e): comments

* test(e2e): remove dz options, add avanced options types

* revert: merge mistake

* revert: merge mistake

* test(e2e): init create content test utils

* test(e2e): fix flaky api-tokens test

* test(e2e): remove debugging code

* test(e2e): init dz tests

* test(e2e): fix support for adding comps to dz

* test(e2e): validate dz fields

* test(e2e): options for testing validation

* test(e2e): test dragging components locations

* test(e2e): support adding components and dz to same ct

* chore: remove unused method

* test(e2e): fix create components

* revert: undo clickAndWait in createAPIToken

* chore: remove unused imports

* test(e2e): resize viewport to fit all elements in dragElementAbove

* test(e2e): fix visibility resizing util for webkit

---------

Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2024-12-20 17:52:21 +01:00
Bassel Kanso
40d132bcf8
fix: make generate command work (#22443) 2024-12-19 15:20:50 +02:00
Marc Roig
75bf07970a
Merge pull request #22473 from strapi/fix/published-versions
fix: entries always showing up as "Draft"
2024-12-19 11:15:32 +01:00
Marc Roig
54430efa43
Releases/5.6.0 (#22471) (#22472)
* feat: add content preview (remove future flag)

* chore: fix tests

* test(e2e): components and dz in create collection type (#22374)

* feat(content-manager): add syntax highlighting in the code block type in the Blocks field original solution (#22332)

* feat: install prismjs

* feat(content-manager): add highlights to code block using Prismjs

* feat(content-manager): remove screen debug

* feat(content-manager): extends render leaf props

* feat(content-manager): fix build issue

* feat(content-manager): move prismjs theme import

* feat(content-manager): change theme

* feat(content-manager): theme import minimized

* feat(content-manager): import prismjs types

* feat(content-manager): change gh action config

* feat(content-manager): revert the admin bundle size code

* feat(content-manager): remove console log

* feat(content-manager): change import theme

* feat(content-manager): remove theme

* feat(content-manager): change imports

* feat(content-manager): change prismjs import

* feat(content-manager): try to find the issue in gh action

* feat(content-manager): add theme test

* feat(content-manager): add packup css plugin

* feat(content-manager): remove rollup

* feat(content-manager): add change threshold

* feat(content-manager): import Prism in Code component

* feat(content-manager): remove prismjs

* feat(content-manager): install prismjs

* feat(content-manager): add prismjs theme

* feat(content-manager): install prismjs in admin

* feat(content-manager): try to change Prism import

* feat(content-manager): add config file

* feat(content-manager): add prismjs vite config

* feat(content-manager): change rollup options

* feat(content-manager): modify vite config

* feat(content-manager): add manually prismjs

* feat(content-manager): revert prismjs logic

* feat(content-manager): fix build errors

* feat(content-manager): solve failing fe unit tests

* feat(content-manager): add threshold

* feat(content-manager): fix import default

* feat(content-manager): change vite config

* feat(content-manager): add vite plugin prismjs

* feat(content-manager): update vite config

* feat(content-manager): fix issue decorate

* chore: add prism in admin deps

* feat(content-manager): replace original solution prismjs

* feat(content-manager): remove useless prismjs dep in admin

* feat(content-manager): change prismjs version

* feat(content-manager): remove vite-plugin-prismjs

* feat(content-manager): remove useless duplications in constants file

* feat(content-manager): move some files

* feat(content-manager): fix review comments

* feat(content-manager): remove useless importPath property

---------



* chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /docs (#22389)

Bumps the npm_and_yarn group with 1 update in the /docs directory: [nanoid](https://github.com/ai/nanoid).


Updates `nanoid` from 3.3.7 to 3.3.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
  dependency-group: npm_and_yarn
...




* security(deps): bump nanoid to 3.3.8 in yarn.lock (#22397)

* enhancement: update purchase page links (#22419)

* enhancement: update purchase page links

* chore: remove local tests

* chore: add newline

* enhancement(database): add repair manager with component deletion fix (#22267)

* fix: preview back button behavior (#22432)

* fix: multiple requests locale (#22273)

* fix: multiple requests locale

* fix: actions request

* fix: properly load locales

* fix: add status to localizations

* fix: remove unused types

* fix: front tests

* fix: add validation fields into localizations

* fix: validatable attributes

* fix: select nested fields when populating localizations

* fix: uncomment localizations populate

* fix: document-metadata

* fix: empty populate

* fix: revert to original proposal

* fix: do not select document ids on components (#22330)

* fix: do not select document ids on components

* chore: unit test

* fix: metadata test

* fix: populate

* fix: default fields

* fix: show current locale when bulk publishing

* fix: create locale

* Update packages/core/content-manager/server/src/services/document-metadata.ts



---------



* fix: add component button style (#22425)

* fix: add-component-button-style

* fix: made it prettier

* fix: optimizations

* fix(blocks): various ui issues (#22423)

* fix: blocks-ui-fixes

* fix: made it prettier

* fix: optimizations

* fix: remove double conversion that causes date shift (#22410)

* fix: remove double conversion that causes date shift

* fix: remove useless files

* release: 5.6.0

* Revert "release: 5.6.0"

This reverts commit 77ad0efc79afd9777d140f84e8abc47cda26d1d9.

* release: 5.6.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxime Castres <17828745+Mcastres@users.noreply.github.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Lucas Boilly <45385696+lucasboilly@users.noreply.github.com>
Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2024-12-19 09:27:12 +01:00
Marc-Roig
9f812af47f
fix: do not filter by locale if no i18n 2024-12-18 20:38:55 +01:00
Marc Roig
dbe0985469
Releases/5.6.0 (#22471)
* feat: add content preview (remove future flag)

* chore: fix tests

* test(e2e): components and dz in create collection type (#22374)

* feat(content-manager): add syntax highlighting in the code block type in the Blocks field original solution (#22332)

* feat: install prismjs

* feat(content-manager): add highlights to code block using Prismjs

* feat(content-manager): remove screen debug

* feat(content-manager): extends render leaf props

* feat(content-manager): fix build issue

* feat(content-manager): move prismjs theme import

* feat(content-manager): change theme

* feat(content-manager): theme import minimized

* feat(content-manager): import prismjs types

* feat(content-manager): change gh action config

* feat(content-manager): revert the admin bundle size code

* feat(content-manager): remove console log

* feat(content-manager): change import theme

* feat(content-manager): remove theme

* feat(content-manager): change imports

* feat(content-manager): change prismjs import

* feat(content-manager): try to find the issue in gh action

* feat(content-manager): add theme test

* feat(content-manager): add packup css plugin

* feat(content-manager): remove rollup

* feat(content-manager): add change threshold

* feat(content-manager): import Prism in Code component

* feat(content-manager): remove prismjs

* feat(content-manager): install prismjs

* feat(content-manager): add prismjs theme

* feat(content-manager): install prismjs in admin

* feat(content-manager): try to change Prism import

* feat(content-manager): add config file

* feat(content-manager): add prismjs vite config

* feat(content-manager): change rollup options

* feat(content-manager): modify vite config

* feat(content-manager): add manually prismjs

* feat(content-manager): revert prismjs logic

* feat(content-manager): fix build errors

* feat(content-manager): solve failing fe unit tests

* feat(content-manager): add threshold

* feat(content-manager): fix import default

* feat(content-manager): change vite config

* feat(content-manager): add vite plugin prismjs

* feat(content-manager): update vite config

* feat(content-manager): fix issue decorate

* chore: add prism in admin deps

* feat(content-manager): replace original solution prismjs

* feat(content-manager): remove useless prismjs dep in admin

* feat(content-manager): change prismjs version

* feat(content-manager): remove vite-plugin-prismjs

* feat(content-manager): remove useless duplications in constants file

* feat(content-manager): move some files

* feat(content-manager): fix review comments

* feat(content-manager): remove useless importPath property

---------

Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>

* chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /docs (#22389)

Bumps the npm_and_yarn group with 1 update in the /docs directory: [nanoid](https://github.com/ai/nanoid).


Updates `nanoid` from 3.3.7 to 3.3.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* security(deps): bump nanoid to 3.3.8 in yarn.lock (#22397)

* enhancement: update purchase page links (#22419)

* enhancement: update purchase page links

* chore: remove local tests

* chore: add newline

* enhancement(database): add repair manager with component deletion fix (#22267)

* fix: preview back button behavior (#22432)

* fix: multiple requests locale (#22273)

* fix: multiple requests locale

* fix: actions request

* fix: properly load locales

* fix: add status to localizations

* fix: remove unused types

* fix: front tests

* fix: add validation fields into localizations

* fix: validatable attributes

* fix: select nested fields when populating localizations

* fix: uncomment localizations populate

* fix: document-metadata

* fix: empty populate

* fix: revert to original proposal

* fix: do not select document ids on components (#22330)

* fix: do not select document ids on components

* chore: unit test

* fix: metadata test

* fix: populate

* fix: default fields

* fix: show current locale when bulk publishing

* fix: create locale

* Update packages/core/content-manager/server/src/services/document-metadata.ts

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

* fix: add component button style (#22425)

* fix: add-component-button-style

* fix: made it prettier

* fix: optimizations

* fix(blocks): various ui issues (#22423)

* fix: blocks-ui-fixes

* fix: made it prettier

* fix: optimizations

* fix: remove double conversion that causes date shift (#22410)

* fix: remove double conversion that causes date shift

* fix: remove useless files

* release: 5.6.0

* Revert "release: 5.6.0"

This reverts commit 77ad0efc79afd9777d140f84e8abc47cda26d1d9.

* release: 5.6.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io>
Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Simone <startae14@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Maxime Castres <17828745+Mcastres@users.noreply.github.com>
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
Co-authored-by: Lucas Boilly <45385696+lucasboilly@users.noreply.github.com>
Co-authored-by: Ziyi <ziyi.yuan@strapi.io>
2024-12-18 20:37:14 +01:00
Simone
f09127d8df
fix: renable the basic relations test (#22464) 2024-12-18 14:01:18 +01:00
markkaylor
4296716ff1
fix(content-manager): ensure plugin::users-permissions.user is redirected on create (#22435) 2024-12-18 04:44:32 -05:00
markkaylor
dde42be580
fix(e2e): remove unused published product from the database (#22407)
* fix(e2e): remove unused published product from the database

* chore: remove old with-admin.tar
2024-12-18 04:43:50 -05:00
Ziyi
e8d8fc824d
fix: remove double conversion that causes date shift (#22410)
* fix: remove double conversion that causes date shift

* fix: remove useless files
2024-12-17 16:08:55 +01:00
Ben Irvin
ee7402bacc Merge branch 'fix/db-sync-fk' of https://github.com/strapi/strapi into fix/db-sync-fk 2024-12-17 14:53:54 +01:00
Ben Irvin
8f227a605a fix: name must be initialized 2024-12-17 14:51:17 +01:00
Ben Irvin
761b7e641a
Merge branch 'develop' into fix/db-sync-fk 2024-12-17 13:54:46 +01:00
Alexandre Bodin
e2624fe821 Merge branch 'main' into develop 2024-12-17 12:26:11 +01:00
Alexandre Bodin
4012abe398 release: 5.5.2 v5.5.2 2024-12-17 12:23:20 +01:00
Alexandre BODIN
83814ce939
Merge pull request #22454 from strapi/fix/remove-lookup-docservice
fix: remove lookup param from document service
2024-12-17 12:13:11 +01:00
Ben Irvin
abe2387e84 revert: remove ts expect error 2024-12-17 11:51:27 +01:00
Ben Irvin
0c6e0953ae fix: remove lookup param from doc service 2024-12-17 11:46:02 +01:00
Ben Irvin
d4d5d39c55 Merge branch 'fix/db-sync-fk' of https://github.com/strapi/strapi into fix/db-sync-fk 2024-12-16 17:19:38 +01:00