aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/server/ServerApi.ts
Commit message (Collapse)AuthorAge
* Upgrade electron to '29.3.0' and some other depsLibravatar Vijay A2024-04-13
|
* Upgrade node modulesLibravatar Vijay A2024-03-21
|
* refactor: remove unused code with knip (#1492)Libravatar MCMXC2023-12-22
| | | - remove unused code snippets flagged by `npx knip`
* refactor: code cleanup (#1476)Libravatar MCMXC2023-12-07
| | | | | - 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
* chore: project maintenance (#1466)Libravatar MCMXC2023-12-03
| | | | | | | | | | - 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 (#1384)Libravatar André Oliveira2023-10-13
| | | | | | | | | | | | | | | | | * 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>
* fix: login and signup error messagesLibravatar André Oliveira2023-09-30
|
* refactor: more lint improvementsLibravatar MCMXC2023-07-30
| | | | | | | | | - 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 (#1296)Libravatar MCMXC2023-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* chore: improve lint setupLibravatar MCMXC2023-07-25
| | | | | | | | | | | | | | | - 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
* eslint needs to be executed at the top-level to actually workv6.0.1-nightly.3Libravatar Vijay A2022-07-25
|
* refactor: local server import/exportLibravatar Kristóf Marussy2022-07-11
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* chore: Mobx & React-Router upgrade (#406)Libravatar Ricardo Cino2022-07-07
| | | Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
* Use default exports instead of named exportsLibravatar Vijay A2022-07-02
|
* Preload safe debug shim (#29)Libravatar Kristóf Marussy2022-04-22
| | | | | | | | | | | | | | | | 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>
* Turn off usage of 'debug' npm package using with electron-16 (fixes #17)Libravatar Vijay Aravamudhan2022-04-22
|
* Matched casing for almost all replacementsLibravatar Aditya Mangalampalli2022-04-16
|
* Remove try/catch in getRecipePackageLibravatar kytwb2022-01-07
|
* Use window.fetch in getRecipePackage, removes electron-fetchLibravatar kytwb2022-01-07
|
* Revert "Removed straggling code related to popular services."Libravatar kytwb2022-01-02
| | | | This reverts commit a9c1abc6f11cb193388fad505c0304f1efe60a30.
* chore: convert various files to TS (#2246)Libravatar Markus Hatvan2021-11-18
* convert various files to TS * removed outdated docs/example-feature folder * turn off unicorn/no-empty-file * update eslint config