6845 Commits

Author SHA1 Message Date
Alexandre Bodin
41da5d47c9 chore: setup configuration in one place only 2024-01-23 14:36:43 +01:00
Josh
f379a8cd7a
chore: make vite the default bundler for the admin (#19283) 2024-01-23 11:21:20 +00:00
Bassel Kanso
07488ddc7c
Merge pull request #19250 from strapi/chore/refactor-env-to-config
enhancement: refactor env-only values into configuration
2024-01-22 16:00:41 +02:00
Josh
79aef88064 Merge branch 'develop' into v5/main 2024-01-22 13:39:48 +00:00
Josh
f6f04719a4
chore(cm): refactor to use redux-toolkit-query (#19281)
* chore: move existing react-query calls to redux-toolkit-query

* test: fix unit tests
2024-01-22 09:32:03 +00:00
Jamie Howard
17de676eaa
fix(content-manager): navigation issues (#19220)
* fix(content-manager): navigation issues

* fix(content-manager): saving the list configuration page

* fix(content-manager): saving the list configuration page

* fix(content-manager): navigate back from list view config

* fix(content-manager): to prop format & navigate using loader prop

* chore(content-manager): clean up
2024-01-19 15:04:45 +00:00
Fernando Chávez
133e750907
fix(admin): append query params to audit logs request (#19265) 2024-01-19 09:29:19 +01:00
Ben Irvin
2c9dc8351d chore: use ignore instead of expect error because in some build contexts it isn't an error 2024-01-18 16:09:18 +01:00
Ben Irvin
032d333029 chore: ts fix 2024-01-18 16:05:40 +01:00
Ben Irvin
c3bafd5a3c fix: warn if env value exists 2024-01-18 15:59:57 +01:00
Ben Irvin
00d88d8130
Merge branch 'v5/main' into chore/refactor-env-to-config 2024-01-18 11:49:34 +01:00
Josh
b9aef55175
fix(cm): create entries (#19254)
* test(e2e): add better e2e tests for EditView CM

* fix(cm): handle that the `id` might be `create`

* docs: update e2e content-type docs
2024-01-18 10:22:06 +00:00
Alexandre Bodin
aacf182ae4 chore: use koa-body typings not koa-bodyparser 2024-01-17 16:53:52 +01:00
Ben Irvin
9469280178 enhancement: refactor env-only values into configuration 2024-01-17 15:59:25 +01:00
Fernando Chávez
bb1abb3cc9
feat(content-releases): Using useDocument for validations (#19222)
* feat(content-releases): introducing useDocument

* improve useDocument

* change useDocument to return a validate fn

* apply feedback

* apply josh feedback

* populate entries and sanitize them

* set strapi/admin version to 4.19.0
2024-01-17 15:13:55 +01:00
Simone
29b5e272e5
fix(content-releases): fix the history problem with tabs in the releases and marketplace pages (#19229) 2024-01-17 10:57:52 +01:00
Josh
316470cdf8 Merge branch 'develop' into v5/main 2024-01-16 17:46:26 +00:00
Alexandre Bodin
38298e9ebd Merge branch 'releases/4.17.1' into develop 2024-01-16 17:24:48 +01:00
Ben Irvin
4052ef6e8f
fix: respect autogenerate setting for JS projects 2024-01-16 12:10:23 +01:00
Alexandre Bodin
8f2c1c1fef v4.17.1 2024-01-16 11:50:41 +01:00
Alexandre Bodin
37b3dbf893 chore: apply review feedbacks and add refactoring todo 2024-01-16 10:57:44 +01:00
Josh
fe983aff15 fix(cm): component edit view settings 2024-01-15 17:04:41 +00:00
Alexandre Bodin
a0d7ebc30f chore: migrate EditSettingsView to ts 2024-01-15 16:06:54 +00:00
Josh
687ad7e959
fix(cm): manage when we're creating entries derivatively in the CM (#19209)
* fix(cm): manage when we're creating entries derivatively in the CM

* fix(cm): pass valid get params to API

* fix(cm): single-types onPut call requires params

* fix(i18n): cm locale picker status badges
2024-01-15 15:51:07 +00:00
Alexandre Bodin
95cc6bc4df chore: move files to ts with errors 2024-01-15 15:41:25 +00:00
Ben Irvin
13a2f8b246
feat: Upgrade to Apollo v4
* feat: update and make build work

BREAKING CHANGE: Update from 'apollo-server-koa' to '@apollo/server' and '@as-integrations/koa'

* chore: fix comments

* chore: upgrade graphql-upload package

* chore: fix for body type unknown

* chore: remove old comment

* chore: clean up error handling

* chore: fix comment

* fix: http status codes for input validation errors

* fix: remove unused import

* fix: remove accidental bodyparser

* fix: add new required header to tests

* chore: standardize directive key names to be kebab-case

* test: add some extra message validation

* chore: remove devdep for koa-cors typings

* fix: add unknown error name

* fix: yarn.lock

* fix: add typings

* fix: typings

* fix: typings again

* fix: remove unused imports

* chore: remove unused import

* chore: move playground check to a service

* fix: package imports and versions

* chore: fix yarn.lock

* chore: fix types

* chore: clean up koa typings

* chore: koa typing cleanup

* chore: cleanup koa typings

* chore: more koa type cleanup

* chore: revert missing imports

* chore: cleanup koa typings

* chore: update yarn.lock
2024-01-15 14:54:58 +01:00
Josh
cc1043c512
feat: update to react-router-dom@6 (#19184) 2024-01-15 11:13:36 +00:00
Alexandre BODIN
fb7bcb3f0d
Merge pull request #19214 from strapi/v5/content-manager-ts
chore: migration ListSettingsView to ts
2024-01-15 10:36:52 +01:00
Alexandre Bodin
5ac12eccba chore: migration ListSettingsView to ts 2024-01-12 18:20:43 +01:00
Josh
e1ede8c55a
feat(strapi): add experimental pluginlink command to CLI (#19143)
* feat(strapi): add plugin:link-watch command to CLI

* chore: skip assertion of strapi project if its the plugin:init command

* fix: add yalc

* fix: add yalc files/folders to ignore list to avoid restarting strapi when using

* chore: don't use run-action on plugin:init

* chore: add yarn dlx command to yarn suggestion
2024-01-11 16:00:54 +00:00
Josh
d402c40cae Merge branch 'develop' into v5/main 2024-01-11 15:52:47 +00:00
Josh
a3690b16a3
feat: add vite (#18697)
* feat: add vite

* fix: CheckPagePermissions was buggy

* fix: vite CJS warning & double print of experimental message

* chore: move to use plugins-workspace folder

* chore: update deps

---------

Co-authored-by: Paul <45032974+hide-me@users.noreply.github.com>
2024-01-11 14:14:25 +00:00
Josh
eddf037976
chore(admin): data-transfer should be dev dep & peer dep loose (#19192) 2024-01-11 08:02:21 +00:00
Josh
f324494fe9 Merge branch 'develop' into v5/main 2024-01-10 15:58:45 +00:00
Josh
09b9d36b22 Merge branch 'main' into develop 2024-01-10 14:37:01 +00:00
Mark Kaylor
07112073ac v4.17.0 2024-01-10 14:46:39 +01:00
Josh
863b902483
fix(cm): update placeholder in blocks link popover (#19172) 2024-01-09 12:56:09 +00:00
Alexandre Bodin
a2fc472261 chore: refactor cli 2024-01-09 13:45:43 +01:00
Josh
8aac0893a9
chore: update ds 1.14.1 (#19179) 2024-01-09 11:40:22 +00:00
Ben Irvin
7d13a12c99
feat: Upgrade Tool
* feat: upgrade tool refactor for updated specs (v5)
* chore: format code (prettier)
* chore: remove debug comments
* feat: upgrade the strapi dependencies in project's package.json
* feat: install dependencies during the upgrade process
* chore: fix lint issue
* chore: rephrase requirement sentence's sentiment
* feat: add a --yes option for the upgrade CLI
* enh: make properties readonly to avoid mutations
* chore: adding better logs to the upgrade CLI
* chore: remove unused import
* feat: add minor and patch commands
* fix: use major and minor instead of premajor and preminor
* fix: re-add type casting
* fix: make major requirements required
* chore: revert sentiment update on GIT_CLEAN requirement
* fix: make promisify working by mocking the entire file-system
* fix: yarn.lock update
* feat: Select and run codemods only (#19083)
* chore: add unit tests for upgrader tasks
* fix: rename tests
* chore: Update packages/utils/upgrade/src/tasks/__tests__/upgrade.test.ts
* chore: Add unit tests for upgrade tool (#19056)
* chore: move example codemods (#19156)
* chore: fix yarn.lock
* fix: sync glob versions
* chore: add comment
* chore: update docs

---------

Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
Co-authored-by: Christian Capeans <christiancp100@gmail.com>
2024-01-08 11:26:27 +01:00
Rémi de Juvigny
25d2a8ffa1
fix: display nested components in edit view (#19160)
* add nested component in getstarted dz

* fix: display nested components in edit view

* chore: add comment
2024-01-05 13:50:10 +00:00
Jean-Sébastien Herbaux
f6ae15bd8b
fix(types): attributes filtering when no registries are extended (#19145)
* fix: improved registries extensions detection & attribute filtering

Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>

* chore: remove unnecessary ts-expect-error directives

Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2024-01-04 14:21:17 +00:00
Josh
4cd75b2523 Merge branch 'develop' into v5/main 2024-01-04 08:32:19 +00:00
Madhuri Sandbhor
68e91e14ec
feat(blocks): Ability to expand blocks input (#19125)
* tests: added

* fix: styling changes, variable renaming, test case updated

* fix: removed focus as its not needed

* tests: added default context value

* tests: added missing context prop

* fix: build process errors from merger

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-01-03 14:21:27 +00:00
Madhuri Sandbhor
cc76d35eed
fix(Blocks): remove pop up link and reopening on save/publish (#19052)
* feat: show remove button in the same pop-up, remove edit pop-up

* update: link validation added on popup save click

* fix: opening link pop-up check restricted to add a link via toolbar

* minor changes

* fix: disable save state on invalid link input

* fix: remove timeout

* update: added event type

* fix: build process errors from merger

---------

Co-authored-by: Rémi de Juvigny <8087692+remidej@users.noreply.github.com>
2024-01-03 14:00:32 +00:00
Josh
966723fe56
chore: update ds to 1.14.0 (#19138) 2024-01-03 10:06:15 +00:00
Josh
30ae2308e8 fix: build process errors from merger 2024-01-03 09:13:19 +00:00
Josh
22f3123e94
refactor(admin): add auth provider & move to use redux-toolkit-query (#19062)
* feat(admin): add Auth feature

* refactor: authentication to use redux-toolkit

* chore(admin): convert admin data-fetching to use redux-toolkit-query

* chore: add docs

* fix: default logo would not show on login page

* fix: app flashes on logout

* fix: logout should work across browsers
2024-01-02 17:01:58 +00:00
Josh
ddbb55f2eb Merge branch 'main' into releases/4.17.0 2024-01-02 13:41:57 +00:00
Convly
b887f1aa47 v4.16.2 2023-12-21 15:53:18 +01:00