237 Commits

Author SHA1 Message Date
Marc-Roig
9e388d8484
Merge branch 'main' into v5/main 2023-11-14 10:14:39 +01:00
Josh
175b72af9d
fix(admin): admin build errors (#18764)
* fix(admin): import & pass user customisations for admin panel

* fix(admin): modules should be resolved with module paths not system paths

* fix(admin): ensure webpack config is a type of function before calling, warn otherwise

* fix: convert the pluginPath to a system path before trying to resolve relative

* chore: update documentation
2023-11-13 10:21:24 +00:00
Marc-Roig
8aca4eae6a
Merge branch 'main' into v5/main 2023-11-09 12:13:13 +01:00
Josh
116339ad86
refactor: admin build pipeline (#18539)
* chore(admin): refactor admin develop/build pipeline

chore: remove `webpackChunkName` comments

chore: reuse admin tsconfig where possible

chore: add .strapi to gitignore

chore(admin): pack-up

feat(admin): inject commands into strapi from admin for building

feat(admin): move watch command to admin

chore: keep backward compat API available

Update packages/core/admin/_internal/cli/index.ts

docs(admin): document the build & develop process and pipeline

test(admin): fix StrapiApp tests

chore: fix build

* Update skipped_tests.yml

* test(e2e): fix e2e setup

feat: add dependency installation

fix: mjs webpack resolution

* chore: fix server exports

* fix: typescript project type generation

* fix: development watch mode

* fix: connect to hot middleware – anywhere

* Update packages/core/admin/_internal/node/core/monorepo.ts

Co-authored-by: Marc Roig <marc12info@gmail.com>

* fix(admin): theme toggle type export

* chore: fixes

* chore: pr amends

Co-Authored-By: Ben Irvin <ben@innerdvations.com>

---------

Co-authored-by: Marc Roig <marc12info@gmail.com>
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-30 11:36:16 +00: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
Alexandre Bodin
0b5590b0eb chore(core/strapi): extend container in strapi class 2023-10-24 17:18:59 +01:00
Alexandre Bodin
dc73e9580f docs(core/database): add documentation & diagram 2023-10-24 17:18:59 +01:00
Alexandre Bodin
f0c3683482 feat(database): add internal migrations 2023-10-24 17:18:59 +01:00
Sora Morimoto
a8cb502824
chore(deps): update yarn to v4.0.0 (#18530)
* Update Yarn to v4.0.0

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* `yarn format`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

---------

Signed-off-by: Sora Morimoto <sora@morimoto.io>
2023-10-24 12:43:07 +01:00
Maxime Castres
dfc4d17eb4
feat(admin): add promoting EE features in CE projects by default (#18179)
* Add: promoting EE features in CE projects by default

* Add: pages

* Update: first review modifications

* Update: integrate locked features pages

* Update: rename pages + update links to the website

* Update: append config to default files

* Update: implement flags logic

* Update: implement promoteEnterpriseFeatures flag

* Update: revamp variable + add doc

* Update: add documentation

* Delete: ContentTypes.d.ts file
2023-10-23 17:20:59 +01:00
Josh
5978c13ec4
feat(pack-up): add the ability to pass plugins via the config (#18486)
* feat(pack-up): add the ability to pass plugins via the config

* refactor: make plugins a func or array
2023-10-18 12:01:17 +01:00
Josh
5d12a35806
feat(strapi): add plugin:watch command (#18462) 2023-10-18 11:23:59 +01:00
Ben Irvin
79f24e9f2b update pack-up node versions 2023-10-17 16:38:34 +02:00
Josh
e5078d5f4d
feat: add pack-up package (#18233)
* feat(pack-up): add build command (#18058)

* chore: lint order of imports

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat(pack-up): add init command (#18133)

* feat(pack-up): add build command (#18058)

* feat(pack-up): add watch command (#18121)

* feat: add watch command

feat: add ts watch task

* chore: pr amends

* fix: promptUser linter

* chore: remove \n with os.EOL

* feat: add init command

fix: build

feat: add default template and tests

* chore: pr amends

* Update packages/utils/pack-up/tests/console.ts

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* chore: re-add mock

* chore: fix tsconfig

* chore: fix inquirer types due to rxjs inclusion

* Update packages/utils/pack-up/src/node/templates/internal/files/typescript.ts

* chore: fix inquirer types

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>

* feat(pack-up): add check command (#18183)

* feat: add check command

* chore: reintroduce CLI tests

* fix: add build command to `prepublishOnly`

* docs(pack-up): add readme and contributor docs (#18237)

* chore: update README

* docs(pack-up): add contributor documentation

* chore: update overview doc to be clearer

* fix(pack-up): init command (#18245)

* fix: init command bugs

* fix: node tests

* fix: template exports ordering & file extensions

* test(upload): double timeout on UploadAssetDialog test

---------

Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-10-05 09:38:29 +01:00
Jamie Howard
cca4181f28 chore(docs): RBAC for stages in content manager docs 2023-09-14 09:10:12 +02:00
Jamie Howard
33d090f98d chore(docs): extend contributor docs by RBAC for stages backend 2023-09-14 09:10:12 +02:00
Gustav Hansen
f385aa6c8c chore(docs): extend contributor docs by RBAC for stages 2023-09-14 09:10:12 +02:00
Gustav Hansen
0064623cff
Merge branch 'main' into feature/rw-stage-rbac 2023-09-06 08:21:02 +02:00
Josh
9756cafa00
feat(experimental): add plugin:build command (#17747)
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2023-09-05 10:25:14 +01:00
Gustav Hansen
b6b5cfc8a4 Merge branch 'main' into feature/rw-stage-rbac 2023-08-30 12:46:54 +02:00
Marc Roig
84c0b9f710
Merge pull request #17699 from strapi/feature/stage-rbac-partial-permission-updates 2023-08-30 09:41:01 +02:00
Ben Irvin
716e78bbc6
Merge pull request #17639 from strapi/fix/sanitization-throw-instead-of-filter 2023-08-25 14:22:08 +02:00
Josh
d2491f8cdf
docs: add fe coding guidelines (#17739) 2023-08-25 09:33:49 +01:00
Ben Irvin
aedf994e20
Merge branch 'main' into fix/sanitization-throw-instead-of-filter 2023-08-24 14:35:58 +02:00
Alexandre Bodin
60f5155c4f Merge branch 'main' into releases/4.12.6 2023-08-23 15:55:24 +02:00
Marc-Roig
71ab6118cf
doc: document action parameters 2023-08-22 16:30:58 +02:00
Gustav Hansen
4341b3db4c Merge branch 'main' into feature/rw-stage-rbac 2023-08-22 13:46:35 +02:00
Josh
dc02df8b42
feat: add auto-focussing via URLSearchParam to content-manager (#17613)
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
2023-08-22 12:18:06 +01:00
Simone
5785e8f4f0
Feature/nps (#17570)
Co-authored-by: markkaylor <mark.kaylor@strapi.io>
Co-authored-by: Gustav Hansen <gustav.hansen@strapi.io>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
Co-authored-by: Fernando Chavez <fernando.chavez@strapi.io>
Co-authored-by: Madhuri Sandbhor <madhurisandbhor@gmail.com>
2023-08-22 12:59:43 +02:00
Ben Irvin
9aa41eff5e add docs and fix broken require 2023-08-11 16:05:11 +02:00
Gustav Hansen
2bf2534aeb Chore: Consolidate role and permission data fetching hooks 2023-08-07 13:43:09 +02:00
Fernando Chávez
f426350b85
Docs: add audit logs to contributor docs (#17522)
* add audit logs to contributor docs

* improve audit logs docs with gustav's feedback

* add more context about audit logs provider
2023-08-04 14:35:34 +02:00
Ben Irvin
b5d94c2ff2 fix some spelling errors and standardiZe regional usages 2023-07-28 11:12:04 +02:00
Marc-Roig
44b62b3870
Merge branch 'main' into releases/4.12.0 2023-07-27 16:59:14 +02:00
Josh
f45146aa97 chore: pr amends
Update docs/docs/guides/e2e/02-data-transfer.md

Update docs/docs/guides/e2e/01-app-template.md

Update docs/docs/guides/e2e/00-setup.md

Update docs/docs/guides/e2e/00-setup.md

Update docs/docs/guides/e2e/02-data-transfer.md

Update test/scripts/run-e2e-tests.js

Co-Authored-By: Ben Irvin <ben@innerdvations.com>
2023-07-25 14:20:49 +01:00
Alexandre Bodin
4a615f2db4 test: add e2e tooling
Remove old cypress related files

Update config and reorg tests

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

init deits

fix: e2e test

chore: rename to e2e

chore: commit tar for data

Init playwright

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

chore: remove unneeded workflow

fix: add private: true to the template so `test-apps` aren't published

docs: add docs

chore: add warning about DTS caveats

chore: tweak docs

docs(e2e): add correct route to api example for template

chore: fix package.json tests

chore: update from feature/DEITS

chore: updates from DTS

chore: update data-transfer

Update yarn.lock

fix: remove duplicate type

chore(e2e): set up folder structure

fix(e2e): avoid clearing 'admin_' DB tables through DTS or DB Dump

feat(e2e): DTS scripts and backup files

add route to change rate limit

fix wront appPath for API test in CI

no template by default when creating a test app

Fix typo double equal

fix template path for e2e tests

chore(e2e): fix broken signup spec

feat(e2e): basic logout test spec

Login e2e tests

globalSetup attempt

use withAdmin backup

cleanup

fix playwright config & rate limit test

remove example.spec.js

refactor and merge some login tests

Chore: Cleanup login and signup specs

feat(e2e): sign up password error cases

feat(e2e): add homepage expectation to signup spec

refactor(e2e)

refactor(e2e): signUp

refactor(e2e): use global login util for logout and logins specs

Init playwright

fix: remove duplicate type

chore: uncomment transfer route registering

Update yarn.lock

chore: update data-transfer

chore: updates from DTS

chore: update from feature/DEITS

chore: fix package.json tests

docs(e2e): add correct route to api example for template

chore: tweak docs

chore: add warning about DTS caveats

docs: add docs

fix: add private: true to the template so `test-apps` aren't published

chore: remove unneeded workflow

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Init playwright

chore: commit tar for data

chore: rename to e2e

fix: e2e test

init deits

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Update config and reorg tests

Remove old cypress related files

chore(e2e): cleanup e2e dir

chore(docs): improve e2e testing documentation

chore(docs): PR feedback

chore: tweak action to run browsers in matrix & build packages

chore: fix tests based on merge

chore: shuffle e2e tests and add first conent-type

fix: tests

Make use of yarn linking for api & e2e tests

Chore: Fix running backend unit tests

Chore: Bring opts.run back

Chore: Update playwright

Chore: Update Playwright setup

fix: workflow

chore: fix path to package.json

chore: build ts projects before tests

chore: update e2e workflow

chore: add no-immutable

Use simpler transfer token to avoid misinterpretation

Remove console.log

Ensure that the custom transfer token exists in the e2e test app's database upon startup

Use the custom transfer token for transferring data to the e2e test app

Fix code analysis warning

Define and export a constant for the custom transfer token

Allow passing a custom access key for the transfer token service

chore: add test-apps to workspace

chore: update lockfile
Co-Authored-By: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-Authored-By: Gustav Hansen <gu@stav.dev>
Co-Authored-By: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2023-07-25 14:20:49 +01:00
Gustav Hansen
3a0d905f2d Chore: Move user RBAC conditions out of useLicenseLimits 2023-07-19 11:58:39 +02:00
Gustav Hansen
27ed22ba71
Merge pull request #17278 from strapi/feature/review-workflow-multiple-contrib-doc-backend
docs(review-workflows): update contrib doc with multiple workflows info
2023-07-12 09:36:11 +02:00
Gustav Hansen
fff8e4c05f Docs: Update contributor docs for multiple workflows 2023-07-12 09:31:44 +02:00
nathan-pichon
c76e8fef56
docs(review-workflows): update services 2023-07-11 18:33:50 +02:00
nathan-pichon
6b621918a1
docs: adding multiple workflow routes and services to contrib documentation 2023-07-11 18:29:27 +02:00
Gustav Hansen
a886c69b56 Merge branch 'main' into feature/review-workflow-multiple-merge-07-2023 2023-07-07 13:35:15 +02:00
Gustav Hansen
8aba67ebbb Docs: Add getFeature() documentation 2023-07-07 12:59:14 +02:00
Gustav Hansen
c074f6d917 Docs: Add useLicenseLimits contributor docs 2023-07-07 12:59:14 +02:00
Gustav Hansen
b88b9e8af8 Enhancement: Extend useEnterprise hook by an enabled boolean flag 2023-07-05 13:32:08 +02:00
Jean-Sébastien Herbaux
8c7ea46ccf
Merge pull request #17122 from strapi/fix/dts-pull-hang 2023-07-03 17:20:54 +02:00
Christian Capeans
623ab4747a Update documentation 2023-06-29 12:30:18 +02:00
Marc-Roig
a860e1f205
doc: improve async 2023-06-29 10:29:50 +02:00
Ben Irvin
9b9fc2a36c
Merge pull request #16953 from strapi/chore/data-transfer-dev-docs 2023-06-28 15:35:04 +02:00
Ben Irvin
c382299e30
Update docs/docs/docs/01-core/data-transfer/01-engine.md 2023-06-28 14:42:22 +02:00