Commit Graph

20 Commits

Author SHA1 Message Date
Mads Rasmussen
d1f0437daf Update eslint.config.js 2025-05-08 08:36:57 +02:00
Jacob Overgaard
3939742917 V16: Replace legacy/fetch with @hey-api/client-fetch (#19002)
* feat: adds new backend-api and http-client packages and generates the api with @hey-api/client-fetch

* feat: maps generic T back to promise to avoid usage of 'any'

* feat: sets up baseUrl and auth for the new client

* feat: gets the api base url from server context instead of the http client

* feat: gets the api base url from server context instead of the http client

* feat: allows undefined token for xhr requests

* feat: changes the response object to be either type T directly (to support @hey-api/client-fetch) or the given type if the response does not contain a 'data' object

* revert interface

* feat: creates an api return type to comply with @hey-api/client-fetch

* feat: maps T back to the data model for non-api types

* feat: simplify api response to return the promise you sent to it with an optional error object

* feat: moves http related modules to the core package

* feat: updates the required type of the client for the api interceptors

* docs: removes invalid property

* feat: adds request parameters to documents

* feat: adds request parameters to imaging

* feat: adds return type to item-server-data-source-base

* feat: adds request parameters to webhooks

* feat: adds request parameters to users

* feat: renames all `requestBody` to `body` to conform with new client-fetch

* feat: uses query to take parameters in

* feat: adds data source response to tree types

* feat: adds request parameters to templating

* feat: adds request parameters to templating

* feat: adds request parameters to telemetry

* feat: adds request parameters to tags

* feat: adds request parameters to examine management

* feat: adds request parameters to relations

* feat: adds request parameters to packages

* feat: catches new api errors that are direct problem details objects

* feat: adds default interceptor to handle Umb-Generated-Resource headers

* feat: uses an error interceptor specifically to catch errors to avoid overhead

* feat: adds request parameters to members

* Revert "feat: uses an error interceptor specifically to catch errors to avoid overhead"

This reverts commit 7ffb7b29bfe4ddbc51736434db78372767731dd1.

* feat: adds request parameters to media

* feat: adds request parameters to log viewer

* feat: adds request parameters to languages

* feat: adds request parameters to health check

* feat: adds request parameters to oembed

* feat: adds request parameters to documents

* feat: adds request parameters to redirect management

* feat: adds request parameters to blueprints

* feat: adds request parameters to dictionary

* feat: adds request parameters to data types

* feat: adds request parameters to temporary file

* feat: instructs delete methods to return an unknown value

* feat: allows default value to be unknown

* feat: adds request parameters to culture

* chore: import path

* feat: adds correct models to mocks

* feat: adds correct models to installer and upgrader

* feat: adds correct models to mocks

* chore: forgot to move ignore line

* chore: ignores generated files in eslint

* chore: removes old generated files

* feat: moves network connection status manager back into the main app to avoid imports from core

* chore: update imports

* feat: generate API for login screen without relying on the backoffice

* feat: uses the generated models on the login screen

* feat: sets 'credentials' to 'include' and adds it back to openapiconfiguration to avoid a breaking change

* adds back in commands moved to a workspace

* chore: vscode workspace settings formatted and useFlatConfig added for better compatibility
2025-04-14 10:21:42 +02:00
Mads Rasmussen
af07c42120 Remove external base64-js module (#18969)
* move base64 folder into openid

* remove from package.json and tsconfig

* import from local module
2025-04-08 12:47:39 +00:00
Mads Rasmussen
6aa471479e Internalize uuid package (#18955)
* move uuid to core package package.json

* install

* remove external + generate tsconfig

* import from local node_modules

* temp accept uuid as import
2025-04-08 10:44:10 +00:00
Lee Kelleher
7e46a1c148 V16: Removes TinyMCE (client-side) (#18889)
* Removed TinyMCE client-side code

* Replaces "MaxImageSizeConfiguration" with "Integer" property-editor

* Adds "Dimensions" property-editor

Promoted from TinyMCE package code.

* Updated Tiptap property-editor label

to remove the "[Tiptap]" suffix.

* Corrected Tiptap config localization keys

* Removed TinyMCE acceptance test

* Reverted Tiptap property-editor label

to add the "[Tiptap]" suffix back in.

---------

Co-authored-by: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
2025-04-01 17:00:27 +02:00
Mads Rasmussen
e28852ec77 use the non typescript version 2024-08-06 13:24:55 +02:00
Mads Rasmussen
c3eb00ba5a install jsdocs eslint rules 2024-08-05 14:26:35 +02:00
Jacob Overgaard
1fc885e5a1 internal: turn off rules that do not work for eslint 9 yet 2024-07-19 14:54:58 +02:00
Jacob Overgaard
0a0a233164 test: move prettier plugin to the buttom 2024-07-10 14:15:31 +02:00
Jacob Overgaard
bef65dc9eb test: remove eslint plugins that do not support FlatConfig 2024-07-10 14:14:04 +02:00
Jacob Overgaard
5f2dbf60f3 test: ignore the config and test files 2024-07-10 14:02:36 +02:00
Jacob Overgaard
fa90dbd8ea test: enable all the automatic rules that support FlatConfig 2024-07-10 14:02:16 +02:00
Lone Iversen
91bd8679ba ESLint linebreak on windows 2024-07-05 11:39:26 +02:00
Mads Rasmussen
c2507b081b set unused var to error 2024-07-04 15:06:52 +02:00
Mads Rasmussen
0de5bf5cf3 allow unused params 2024-07-04 14:26:56 +02:00
Mads Rasmussen
aaf7981355 format 2024-07-04 14:25:35 +02:00
Jacob Overgaard
64ad87a4d0 lint: set groups sorting to match what it did before 2024-07-02 14:08:58 +02:00
Jacob Overgaard
3d93946d3d ignore all external/* packages 2024-07-02 11:47:26 +02:00
Jacob Overgaard
f7101d0d71 add the generated backend-api files to eslint ignore 2024-07-02 11:46:42 +02:00
Jacob Overgaard
e7625fdbe1 migrate the config to the new format 2024-07-02 11:37:25 +02:00