| Commit message (Collapse) | Author | Age |
|
|
|
| |
to fix 'login' and 'add new service' screens
|
|
|
|
|
|
| |
- remove redundant `@adonisjs/auth`, `@adonisjs/session` and `@emotion/react` dependencies
- remove `.vscode` folder
- clean up some TS and ESLint issues
- migrate from deprecated "husky install" to "husky"
|
| |
|
| |
|
|
|
| |
- 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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
- remove cookies and localstorage from session.clearStorageData() in LocalApi.js
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- update .eslintrc to work for .js and .ts
- update devDependencies
- lint properly both root /src and nested /packages
- update webhint recommended setting for tsconfig.json to shrink output
- Manage all eslint rules from the repo root
- escape single quotes in scripts to please windows build
Co-authored-by: Vijay A <avijayr@protonmail.com>
|
|
|
|
|
|
|
|
| |
- serviceLimit
- planSelection
- trialStatusBar
and other Franz features that were for different tiers of subscription.
|
|
|
|
| |
the application.
|
| |
|
|
|
|
|
|
|
|
| |
* Upgrade various dependencies to latest, remove unnecessary electron-hunspell
- upgrade eslint and friends to latest
- remove deprecated 'node-sass' in favor of 'sass'
- disable new rules from 'eslint-config-airbnb' that are conflicting with current code style
- add workspace config for 'vscode' that silences 'experimentalDecorator' warning and forces 'prettier' to single quote
* Run yarn lint to autofix with new ruleset and worked down lint issues to zero
|
|
|
|
| |
'environment.js'. (#1588)
|
| |
|
|
|
| |
* Locked new version of 'recipes' submodule with corresponding changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix: Clear caches which is not working in Windows 10 (#541)
- In AppStore, the partition directory of allorphanedserviceIds are attempted to be removed during clear cache. However, atleast in Windows, certain files like Cookies, indexedDB and other autogenerated ones during session creation are locked and hence fs.removeDirectory throws an exception. I have added a try catch around this piece of code to avoid uncaught exceptions which causes the spinner to spin indefnitely and prevents execution of further code
- From electron docs - I found that calling session.clearstorage([options]) is a better way to clear session storage data. Hence, in LocalApi.js, we are clearing out all possible storages and quotas of all services and the default session. More info in this link - https://www.electronjs.org/docs/api/session#sesclearstoragedataoptions
* refactor: LocalApi
- refactor clearAppCache and clearCache(serviceId) as suggested by @eandrogehlen
* refactor: #544
- Remove clearAppCache from server/LocalApi.js to use clearCache for clearing both service and application sessions.
* fix: clear_cache
- update function anme in AppStore.js to 'clearCache' instead of 'clearAppCache'. This got missed out during the refactor. Apologies.
|