| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
- remove unused code snippets flagged by `npx knip`
|
|
|
|
|
| |
- auto update `settings.json` due to new vscode version
- replace deprecated `e.keyCode` with `e.key`
- fix various code snippets with sonarlint and other lint plugins
|
|
|
|
|
|
|
|
|
|
| |
- temporarily disable newly introduced `jsx-a11y/control-has-associated-label` rule
- add `--quiet` flag to lint command to see issues with error level only
- reuse `lint` command for `lint:fix` command
- use `--cache` flag for `prettier` and `eslint` commands
- upgrade all non-major dependencies to latest except for `esbuild`
- run `pnpm dedupe` to simplify lockfile
- autofix various `.ts` and `.tsx` files with `pnpm prepare-code` command
- disable newly discovered lint issue in `SearchInput`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new token request
This exists so that the user generates a new JWT token with the new adonisjs update on the server (that is now stored - hashed and using the adonis5-jwt package - which previously wasn't). This logic enhances security as we can delete the tokens on the jwt_tokens database in order to log-off users in case the APP_KEY is compromised (if we are hacked, for instance). After some time (maybe months after the migration) we can delete the old code on the server side that handles the deprecated JWT tokens (and possibly change the APP_KEY used to sign the old certificates - we can now probably use certs to sign the JWT - to enhance security as well).
* Update src/api/server/ServerApi.ts
Co-authored-by: MCMXC <16797721+mcmxcdev@users.noreply.github.com>
* Update src/stores/UserStore.ts
Co-authored-by: MCMXC <16797721+mcmxcdev@users.noreply.github.com>
---------
Co-authored-by: MCMXC <16797721+mcmxcdev@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
- set parserOptions.ecmaVersion to latest and env to es2024 in eslint config
- install missing types libraries
- install eslint-plugin-sonar
- enable eslint-plugin-sonar recommended rules and declare jsx-runtime for react in eslint config
- clean up disabled lint rules which don't inflict problems anymore
- disable various lint issues and fix others
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* refactor: various improvements
- enable no-use-before-define eslint rule
- shuffle code to conform to no-use-before-define eslint rule
- remove btoa dependency which is deprecated and replace with Buffer.from(string).toString('base64')
- convert some any types into useful ones
- add type annotations where possible
- remove unused @types/expect.js
- install @types/semver and ts-node which were missing
- repair and rewrite add-crowdin-contributors script
- remove export keyword from variables which are never consumed in another file
- remove unity indicator hack where linked issue was closed
- remove module declaration for kebab-case which is unused
- add missing state interface for certain components
- remove default exports for files which already have a named export
- export IRecipePreview so it can be used throughout codebase
- remove unused removeCacheForCallWith method from CachedRequest.ts
- cleanup unused colors and styles inside legacy theme
* - improve ColorPickerInput
- fix invalid DOM nesting with div inside p in EditSettingsForm
- fix progressbarAccentColor color picker not updating input when using slider
- install missing @types/react-color dependency
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- update eslint config
- merged eslint rules for JS and TS to avoid duplicates
- extended stricter lint ruleset from typescript-eslint
- corrected wrong setup for certain eslint rulesets
- opt in to reportUnusedDisableDirectives config option
- fix or disable a lot of lint issues throughout codebase
- remove trailingComma: all from prettier config which is default in prettier v3
- add volta configuration to package.json to autoload correct node and pnpm versions
- upgrade all eslint and prettier related dependencies to latest
- remove config options from settings.json which are default anyways
- remove config options from settings.json which are outdated/unknown
- set up prettier as default formatter in settings.json
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
|
|
|
| |
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
|
|
|
| |
Add Server Information to About Dialog and to Global Messages
|
| |
|
| |
|
|
|
|
|
| |
* Change funtion name [skip ci]
* Workaround #312
|
|
|
|
|
| |
* turn actions into typescript
* correct tsconfig
* added TypedStore
|
| |
|
| |
|
|
|
|
| |
* 'SettingsNavigation.js' and 'TeamDashboard.js' also have a call to 'LIVE_FERDI_API', but it handles the teams feature that I think neither Ferdi or Ferdium provide.
* Removes comment on 'apiBase.ts' because I tested and the Terms was redirecting fine on the 'Help' Menu.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In https://github.com/ferdium/ferdium-app/pull/23 we removed usages of
the debug package due to an electron bug.
This patch aims to restore some debug functionality by introducing a
shim. The shim detect whether if it is being introduced in a preload
script where the electron but would be triggered, and falls back to a
simple replacement for debug. However, in the main and renderer
processes, where a preload script is not being used, we still get full
debug functionality.
In this way, a module can be used both in a preload script and outside
of it, while still preserving debug functionality whenever possible.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit a9c1abc6f11cb193388fad505c0304f1efe60a30.
|
|
|
|
|
|
| |
* convert various files to TS
* removed outdated docs/example-feature folder
* turn off unicorn/no-empty-file
* update eslint config
|
|
|
|
|
| |
- update eslint deps to latest
- disable new react/function-component-definition rule
- fix/disable newly reported issues
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
module dependency
(might be a pre-requisite for the electron v14 upgrade)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(since we are always premium/free)
|
|
|
|
| |
Also removed 'targz' unused package from runtime.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
'require' (#1752)
* refactor references to 'userData' and 'appData' directories to move hardcoding into single location
* convert to es6 for lower memory usage as per https://codesource.io/the-difference-between-import-and-require-in-javascript/
|
|
|
|
|
|
|
| |
Also refactored to make this a constant defined in a single file where it is imported for all other
uses.
fixes #1253
|
|
|
|
|
|
|
|
|
|
| |
- replace deprecated fs.exists with fs.existsSync
- replace console.log with debug
- replace hardcoded FERDI_VERSION in start.js with dynamic one from package.json
- correct JSDoc annotations in Handler.js
- simplify macOSPermissions.js
- updates to various eslint rules
- add FileReader to known globals
|