114 Commits

Author SHA1 Message Date
Josh
5d000fb33c
chore: upgrade to DS 2.0.0-beta.2 (#20151) 2024-04-25 16:17:23 +01:00
Josh
f31eabd7d2
feat(admin): rbac middleware (#19949)
* feat: rbac middleware

* chore: make the entire function curried
2024-04-08 16:31:07 +01:00
Ben Irvin
b003dee48e
chore: upgrade prettier to 3.2.5 2024-03-29 14:39:52 +01:00
Christian
8af582bab7
chore(admin): remove react-helmet (#19923)
* chore: remove react-helmet

* chore: lint fixes

---------

Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2024-03-27 10:02:40 +00:00
Alexandre Bodin
eedd4c978a chore: migrate doc plugin to ts 2024-03-21 18:20:12 +01:00
Josh
e11b6f2e96
chore(helper-plugin)!: move RBAC / remove auth / remove usePersistentState (#19847)
* chore(helper-plugin)!: move useRBAC

* chore: get tests working

* chore!: remove auth

* chore!: remove usePersistentState

* fix: refactor building admin package so it shares modules with different entries

* fix: session vs local
2024-03-20 11:39:59 +00:00
Simone
c46976a9da
chore(helper-plugin)!: remove prefixPluginTranslations (#19845) 2024-03-19 16:33:46 +00:00
Simone
e9eabddd69
chore(helper-plugin)!: move getFetchClient and useFetchClient (#19840)
* chore(helper-plugin)!: move useFetchClient and getFetchClient to the admin

* chore(helper-plugin)!: fix prettier errors

* chore(helper-plugin)!: remove useless functions
2024-03-19 15:37:20 +00:00
Josh
b17a180f13
chore!(helper-plugin): remove useLockScroll / useClipboard / useFocusWhenNavigate / useQuery / useFocusInputField (#19835)
* chore!: remove useLockScroll & useClipboard

* chore!: remove useFocusWhenNavigate

* chore!: remove useQuery

* chore!: remove useFocusInputField

* chore!: move useQueryParams

* chore: fix tests

* chore: update copy

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

* chore: pretty

---------

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2024-03-19 09:56:07 +00:00
Josh
95674865d9
chore(helper-plugin)!: move Notifications & AppInfo to admin (#19831)
* chore(helper-plugin)!: move Notifications to admin

* chore(helper-plugin)!: move AppInfo to admin
2024-03-18 21:07:24 +00:00
Simone
2b10610286
chore(helper-plugin)!: move getPrefixedId, useAPIErrorHandler, normalizeAPIError and getAPIInnerErrors (#19823) 2024-03-18 15:43:19 +00:00
Simone
1cb89ea8d0
chore!: remove translatedErrors from the helper-plugin (#19814)
* chore: move translatedErrors into the admin

* chore: fix prettier errors
2024-03-18 13:36:43 +00:00
Josh
f2e89269f9
chore!: move confirm dialog to admin package and refactor (#19782) 2024-03-15 15:33:24 +00:00
Josh
cbe7d7a488
chore(helper-plugin)!: remove page decorators (#19662)
* chore(helper-plugin): remove page decorators

* chore: fixes
2024-03-05 14:53:55 +00:00
Josh
93eda17d2a
chore(helper-plugin)!: remove form (#19612)
* chore!: remove form

* chore: re-introduce form error focusing

* chore: remove usage of Formik in auth

* chore: fix test suite
2024-02-29 14:18:21 +00:00
Josh
cc1043c512
feat: update to react-router-dom@6 (#19184) 2024-01-15 11:13:36 +00:00
Josh
b1a1c48011
chore(documentation): convert js to jsx (#18832) 2023-11-17 13:41:50 +00: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
Gustav Hansen
6f1d9a15dd
Revert "Fix: Use sync over async components in admin panel APIs" 2023-08-29 09:24:29 +02:00
Gustav Hansen
4b69d56dbc Fix: Use React.lazy over async component imports for plugins 2023-08-23 12:37:28 +02:00
Josh
14e151b144 refactor: documentation tests 2023-07-19 13:57:54 +01:00
Josh
fef7cd24df chore: update ds to 1.8.2 2023-07-11 10:20:09 +01:00
Josh
d301b8a7ad chore: update DS to 1.8.1 2023-07-03 15:14:38 +01:00
Marc-Roig
f9a4af2894
Merge branch 'main' into releases/4.11.3 2023-06-28 17:27:34 +02:00
Nitin
fbc1a4888f fix bug on Settings > Documentation & Advanced setting tab while saving 2023-06-27 10:47:37 +05:30
Gustav Hansen
528b451257 Chore: Move plugin permissions into constants 2023-06-20 14:18:34 +02:00
Gustav Hansen
dca5778d8e Chore: Apply eslint import sorting fix 2023-06-12 21:34:07 +02:00
Convly
106cfafca4 Merge branch 'main' into releases/4.11.0 2023-06-07 11:31:42 +02:00
Josh
38fb966605
chore: upgrade ds to 1.8.0 (#16931) 2023-06-06 15:13:17 +01:00
Gustav Hansen
d4ff351347 Chore: Update snapshot tests 2023-06-02 15:36:18 +02:00
Gustav Hansen
41885fdd3d Merge branch 'main' into chore/react18 2023-06-01 12:50:17 +02:00
Josh
19106faaea chore: update snapshots and tests 2023-05-30 13:12:07 +02:00
Gustav Hansen
94e4147c4d Chore: Update snapshot tests 2023-05-26 12:50:45 +02:00
Paul Tiedtke
301e0706b8 chore: upgrade libs to react 18 and fix tests
chore: update snapshots

chore: fix fe tests

chore: update snapshot

Revert "revert react18 (#16793)"

This reverts commit 141d3675ab2c9a8c16eff26406bebef50ecce4c5.
2023-05-22 15:33:31 +01:00
Josh
141d3675ab
revert react18 (#16793) 2023-05-22 12:23:24 +01:00
Josh
cb68382384
chore: update DS to 1.7.7 (#16770) 2023-05-22 10:08:09 +01:00
Josh
bdd0c462a1
chore: update to react18 (#16701)
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de>
2023-05-18 09:41:59 +01:00
Gustav Hansen
e210edbb38 Chore: Fix eslint errors 2023-05-16 10:57:07 +02:00
Mark Kaylor
751b2524ac Fix broken open documentation link 2023-05-09 18:26:24 +02:00
Josh
85b3eeb64f chore: update to DS 1.7.2
chore: add snapshots

chore: update to 1.7.0

chore: fix tests

chore: fix hp & upload tests

chore: fix admin tests

chore: fix user-permissions FE test

chore: update snapshots and helper-plugin

fix: multi-select

chore: bump to 1.7.1

chore: bump to 1.7.2

chore: update snapshots

fix: broken test

chore: update snapshots
2023-05-02 10:23:23 +01:00
Alexandre BODIN
dceea7201b
Force manual build to run lint to avoid unnecessary rebuilds (#16532) 2023-04-28 15:20:20 +02:00
Mark Kaylor
f3a4adf3ad Fix links always opening current version instead of selected version 2023-04-24 15:25:17 +02:00
Josh
2d55462e46 fix: remove instances of request and ban with eslint
chore: remove straggler

chore: fix hook

chore: pr amends

chore: pr amends

chore: use axios for analytics

fix missing once function import

chore(test): use defineProperty

fix: webhooks creation

fix: sso

Revert "chore(test): use defineProperty"

This reverts commit dfdcb82ccef720c4e4993fe4021acc190f38a204.

chore: make sure theres a url before trying to render the image

fix: webhook
2023-04-20 17:30:40 +01:00
Gustav Hansen
a9fb1f3130 Reduce and optimize lodash imports 2023-03-17 14:25:53 +01:00
Josh
09ff54bc6e chore: convert Stack components to Flex
chore: update snapshots

chore: convert rest of files to use Flex

chore: fix duplicate import

chore: update snapshots

chore: add eslint rule for stack

refactor: catch other Stack component uses

chore: remove horizontal prop
2023-03-02 10:02:40 +00:00
Paul
42e8cef3ba Translation updates
Deleting plugin name and description strings

Make translation more accurate

Update and improve russian

Added missing strings

More accurate style

Added plugin name

Correction of JSON style

Delete empty file

Added plugin name

Delete empty file

Added plugin name

Delete empty file

Added plugin name

Delete empty file

Added Russian

Delete empty file

Delete empty file

Added plugin name

Delete empty file

Delete empty file

Added plugin name

Delete empty file

Delete empty file

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Delete empty file

Delete empty file

Delete empty file

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Delete empty file

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added plugin name

Added Russian

Added plugin name

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

JWT is acronym.

Correction of terminology

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

Correction of terminology

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.
Swagger UI  — the correct version.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

JWT is acronym.

Correction of terminology

Correction of terminology

Correction of terminology

JWT is acronym.

Updated Russian
2023-02-27 08:33:40 +00:00
Josh
6b17f8ad12 chore: convert all files to single imports of the DS & icons
chore: remove eslint rule

chore: update snapshots

chore: update snapshots

chore: add eslint rule to stop direct imports apart from v2
2023-02-15 17:23:59 +00:00
mikhail
b29f5c4f5c fix transalation documentation for setting page 2022-12-21 17:29:53 +07:00
Barış Can Daylık
226a462b7a Add Turkish translation 2022-12-13 00:44:27 +03:00
5idereal
3919e13274
update Traditional Chinese translation 2022-11-18 12:47:34 +08:00