otociulis
e95b505aad
fix(openapi): documentation plugin generates OpenAPI with incorrect ID parameter ( #26067 )
2026-04-23 19:50:43 +03:00
Joshua Klinesmith
8745b6a023
fix(documentation): use dist extensions path in production ( #25863 )
...
* fix(documentation): use dist extensions path in production
The documentation plugin hardcoded strapi.dirs.app.extensions (src/)
for reading OpenAPI spec files. In production, these files live under
dist/src/extensions/ after the build step, causing ENOENT errors when
the src/ directory is not deployed.
Use strapi.dirs.dist.extensions in production for both the service
(getFullDocumentationPath, getApiDocumentationPath) and the controller
(index route serving the spec and HTML). In development, the original
app.extensions path is preserved for writing generated docs.
Fixes #22701
* fix: use config instead of node_env
---------
Co-authored-by: Ben Irvin <ben@innerdvations.com >
Co-authored-by: Ben Irvin <ben.irvin@strapi.io >
2026-03-31 10:17:39 +00:00
Nico André
495fae42f9
fix(documentation): align with Data.ID ( #24976 )
2026-01-12 09:10:33 +00:00
Lucas Boilly
bfd160f0c6
fix: corrected typing mistake in translation key ( #22766 )
...
Co-authored-by: Simone <startae14@gmail.com >
2025-02-07 09:42:48 -05:00
Alexandre Bodin
92055a7fb1
chore: use rollup
...
chore: fetch template only if name matches name convention
chore: linting
chore: fix tests
chore: fix npm scripts
test: try to fix test
2025-01-23 16:28:23 +01: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
Den
00509c6848
fix: Documentation plugin makes git changes in production ( #21950 )
2024-12-04 10:39:03 +02:00
Pedro Cerejo
ed8443a57a
feat: add mapping property support for documentation plugin's open api generated docs ( #21752 )
...
* feat: add mapping property support for documentation plugin's open API generated spec
Dynamic zones are reflected in the OpenAPI docs generated as an anyOf.
We can use a discriminator and mapping to improve the docs.
* fix: missing one value enum for __component property
* enhancement: extract logic to convert component names to OpenAPI names
* chore: run prettier write on clean schema attributes
---------
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com >
2024-10-11 11:12:50 +01:00
Fernando Chávez
9f00348b6e
fix(documentation): add check to password input ( #20704 )
...
* fix(documentation): add check to password input
* fix(documentation): toggle notification when there is an error
2024-07-16 10:20:29 +02:00
Marc Roig
c3f078328f
chore: backmerge develop into v5 main ( #20678 )
...
* Fix typo of query key from 'providers' to 'get-providers'
* Closing #19644 fix filters type
* fix patreon oauth 400 error
from lack of user-agent header
* test: backport cli tests (#20433 )
* fix(chore): increase specificity of the Lightning icon color (#20467 )
* test: temporarily disable broken edit ctb tests on CI (#20481 )
* feat(cli): cloud cli commands (v4) (#20119 )
* feat(cli): add cloud commands
Co-authored-by: Gonzalo Garcia <nouvellegon@gmail.com >
Co-authored-by: nathan-pichon <nathan.pichon@strapi.io >
Co-authored-by: Abdallah M <55534657+abdallahmz@users.noreply.github.com >
* v4.25.0 (#20500 )
* NPS: Update frequency of the NPS (#20492 )
* enhancement(admin): change postFirstDismissal and display delays
* enhancement(admin): change the display delay
* fix: prevent use of local ips on webhooks (#20487 )
* chore: mask error on webhook manual trigger
* feat: prevent using local ips
* feat: display webhook edit error
* chore: pr suggestion
* chore: api tests
* chore: allow local ips on development
* chore: only run check on production
* feat: include internationalized urls
* fix: prettier
* Add: Strapi deploy command to README files
* v4.25.1
* Update @aws-sdk/client-s3 package
* feat(cli): add browser logout step (#20502 )
* feat(cli): add browser log out step
* handle error whiile fetching the config
* Update LICENSE packing for packages for v4 (#20576 )
* feat(create-strapi-app): remove the cloud project creation part (#20561 )
* feat(create-strapi-app): remove the cloud project creation part
* fix(create-strapi-app): adding new parameter to cloud service instantiation
* Update Yarn to 4.3.1
Signed-off-by: Sora Morimoto <sora@morimoto.io >
* feat(cli): trigger login sequence when token is missing or invalid (#20572 )
* feat(cli): launch login when auth fails
* fix(cli): abstract create project fn
* fix(cli): guidelines
* fix(cli): rebase
---------
Co-authored-by: Gonzalo Andres Garcia <nouvellegon@gmail.com >
* fix clone entity, #20509 (#20531 )
* chore: bump glob from 7.2.0 to 9.0.0
* chore: bump glob to v10.4.2 in core/strapi
* update yarn.lock
* removed redundant packages/core/strapi/src/load/glob.ts file
* v4.25.2 (#20675 )
* fix: support string array
* v4.25.2
---------
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
* Merge branch 'develop' into v5/main
* fix: ts errors
* fix: typescript issues
* fix: remove unused import
* Update packages/cli/create-strapi-app/src/create-strapi-app.ts
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
* Update packages/cli/create-strapi-app/src/create-strapi-app.ts
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
* Update packages/generators/app/src/resources/files/js/README.md
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
* Update packages/generators/app/src/resources/files/ts/README.md
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
* feat(cloud-cli): enable cloud-cli
---------
Signed-off-by: Sora Morimoto <sora@morimoto.io >
Co-authored-by: smoothdvd <madfxgao@gmail.com >
Co-authored-by: Micah Riggan <micahriggan@gmail.com >
Co-authored-by: Tewson Seeoun <tewson.seeoun@gmail.com >
Co-authored-by: Ben Irvin <ben.irvin@strapi.io >
Co-authored-by: Simone <startae14@gmail.com >
Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io >
Co-authored-by: Gonzalo Garcia <nouvellegon@gmail.com >
Co-authored-by: Abdallah M <55534657+abdallahmz@users.noreply.github.com >
Co-authored-by: Maxime Castres <mcastres@student.42.fr >
Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu >
Co-authored-by: Alex Supkay <asupkay1124@gmail.com >
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com >
Co-authored-by: Sora Morimoto <sora@morimoto.io >
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com >
Co-authored-by: Kirill Verevkin <kira795@yandex.ru >
Co-authored-by: chrismuiruriz <chrismuiruri007@gmail.com >
2024-07-05 07:08:09 +02:00
Josh
bc71a96d76
chore(pack-up): remove from monorepo (v5) ( #20092 )
...
* chore(pack-up): remove from repo
* chore: type fixes
* chore: add suggestions to tighten types
Co-authored-by: Ben Irvin <ben.irvin@strapi.io >
---------
Co-authored-by: Ben Irvin <ben.irvin@strapi.io >
2024-04-12 13:39:49 +01:00
Alexandre Bodin
daf629fd13
chore: remove loadedStrapi and init everything but admin in constructor
2024-04-03 14:24:15 +02:00
Ben Irvin
b003dee48e
chore: upgrade prettier to 3.2.5
2024-03-29 14:39:52 +01:00
Alexandre Bodin
8399dcd71b
chore: refactor api registry
2024-03-25 21:38:17 +01:00
Alexandre Bodin
eedd4c978a
chore: migrate doc plugin to ts
2024-03-21 18:20:12 +01:00
Ben Irvin
ab2af1e539
fix(core): use module uid for config namespace instead of dot notation
2024-03-11 12:28:46 +01:00
Alexandre BODIN
bbc6a32aca
Merge pull request #19273 from strapi/v5/clean-config
...
chore: setup configuration in one place only
2024-01-23 17:09:58 +01:00
Alexandre Bodin
af3efc973b
chore: simplify content-type logic
2024-01-23 14:37:00 +01:00
Alexandre Bodin
41da5d47c9
chore: setup configuration in one place only
2024-01-23 14:36:43 +01:00
Alexandre Bodin
e0de993d4a
Merge branch 'develop' into v5/main
2023-11-30 16:42:36 +01:00
Mark Kaylor
97e854e902
Merge branch 'main' of github.com:strapi/strapi into releases/4.15.5
2023-11-30 11:08:02 +01:00
Philipp Bauer
c481fd20fa
Use correct string concatenation
...
Co-authored-by: markkaylor <mkaylor.guitar@gmail.com >
2023-11-08 19:14:21 +01:00
Philipp Bauer
8565bc18c2
fix(documentation): use correct localization schema
2023-10-26 07:00:24 +02:00
Alexandre BODIN
5ae0dc40cd
feat!(content-manager): remove the ability to disable draft&publish ( #18488 )
...
* feat!: remove draft and publish triggering
* chore: update snapshots and tests
* test: adapt tests
2023-10-24 17:18:59 +01:00
Simone
24fa848ba3
Add new Blocks rich text editor (alpha) ( #18166 )
...
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com >
Co-authored-by: markkaylor <mark.kaylor@strapi.io >
Co-authored-by: Rémi de Juvigny <remi.dejuvigny@strapi.io >
Co-authored-by: Madhuri Sandbhor <madhuri.sandbhor@strapi.io >
2023-09-26 17:21:44 +02:00
ammi1378
23de7e699c
Fix: Avoid replacing entire generatedDocumentation
...
components
2023-05-22 07:07:36 +03:30
Mark Kaylor
4236fe6f5a
Fix union types
2023-04-24 16:56:02 +02:00
Mark Kaylor
e12644bc97
Fix jsdoc
2023-04-24 16:50:48 +02:00
Mark Kaylor
3178e13fca
Add spaces in tests
2023-04-24 16:50:30 +02:00
Mark Kaylor
29cd84c237
Teardown the mock
2023-04-24 15:25:17 +02:00
Mark Kaylor
924aca18f1
Add tests for override service
2023-04-24 15:25:17 +02:00
Mark Kaylor
f33090461c
Provide default empty object for override options
2023-04-24 15:25:17 +02:00
Mark Kaylor
b07097e8b4
Use all attributes for response
2023-04-24 15:25:17 +02:00
Mark Kaylor
d25e7468fb
Add required attributes to response
2023-04-24 15:25:17 +02:00
Mark Kaylor
b71708a303
Add a component schema for each model
2023-04-24 15:25:17 +02:00
Mark Kaylor
8bdcc13ddc
Fix single types using wrong response component
2023-04-24 15:25:17 +02:00
Mark Kaylor
72bb36afbc
Use immer
2023-04-24 15:25:17 +02:00
Mark Kaylor
e82a1a9519
PR feedback
2023-04-24 15:25:17 +02:00
Mark Kaylor
5c680d4b8f
Clean comments and spacing
2023-04-24 15:25:17 +02:00
Mark Kaylor
4e5dee17bb
Refactor to scope mutations
2023-04-24 15:25:17 +02:00
Mark Kaylor
b160ee3707
Add JSDoc
2023-04-24 15:25:17 +02:00
Mark Kaylor
03c811e6c6
Remove immer in favor of a simple function with similar result
2023-04-24 15:25:17 +02:00
Mark Kaylor
19ce046512
Apply overrides for specified versions
2023-04-24 15:25:17 +02:00
Mark Kaylor
f8a631d84e
Test excludeFromGeneration and customizer
2023-04-24 15:25:17 +02:00
Mark Kaylor
da3b4ed42d
Remove mockdata
2023-04-24 15:25:17 +02:00
Mark Kaylor
179f3eb65d
Reduce use of lodash and respect fp immutability
2023-04-24 15:25:17 +02:00
Mark Kaylor
02a6ea5cf5
Add customizer function
2023-04-24 15:25:17 +02:00
Mark Kaylor
743139db75
Migrate current override implementation to dedicated service
2023-04-24 15:25:17 +02:00
Mark Kaylor
119ddd4d98
Test the current override system
2023-04-24 15:25:17 +02:00
Mark Kaylor
f0cf844b61
Add paths key to mock
2023-04-24 15:25:17 +02:00