| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
| |
* Ignored tests in 'internal-server' folder since there are none.
* Linter fixes
|
|
|
|
| |
Resurrected node modules that are required by the internal-server and recipes submodules
|
|
|
|
|
|
|
|
|
|
|
| |
- removed `@meetfranz/typings` because it only stubbed external type definitions
- removed `@babel/polyfill` because there are no old browsers in use with Electron
- replaced deprecated `mdi` with `@mdi/font`
- removed unused `atob`, `btoa`, `targz`, `node-fetch`, `terser-webpack-plugin`, `webpack-node-externals`
- added used, but not installed dependencies `color`, `csstype`, `debug`, `minimist`, `jss`
- upgraded `@types/node` to match used node version
- upgraded `@types/fs-extra` to match fs-extra version
- add missing `arrow-parens` rule to `.eslintrc` rulest for .js files
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable service contextIsolation
* Enable contextIsolation on the service webviews
* Expose a new API window.ferdi in the service main world to allow
calling back into the service isolated world
* Expose a new IPC message inject-js-unsafe from the service isolated
world to execute Javascript in the service main world (i.e., run code
without context isolation). While the name contains the "unsafe"
suffix to show the lack of context isolation, this should mostly be
safe, as no nodejs APIs are available in the injected code.
* Refactor the Notifications shim into a part in the isolated world that
handles displaying and modifying notifications, and a shim in the main
world for the Notifications class. The two communicate via the
window.ferdi endpoint and a Promise object can be used to detect
notification clicks.
* Refactor the screen sharing shim into a part in the isolated world
that enumerated shareable screens and windows and a shim in the main
world that displays the media selector and completes the media
selection promise.
* Expose the injectJSUnsafe API to recipes to inject javascript code
into the main world without context isolation.
* Expose setBadge to the main world
The window.ferdi.setBadge API can be used to update the service badge
from injected unsafe Javascript
* Safer script injection into the service main world
Make sure that we don't try to serialize stray objects back from the
main world to the isolated world by always surrounding the script to be
executed by an anonymous function.
* Always read recipe assets as utf8
* Remove window.log from recipes
We didn't use it anywhere and its behavior was confusing in production
mode.
* Inject multiple unsafe scripts at the same time
* Find in page without remote module
Remove the @electron/remote dependency from the find in page (Ctrl+F)
functionality. The remote webContents is replaced with Electron IPC.
Synchronous IPC messages are handled in the main Electron process,
because the renderer process cannot reply to IPC messages synchronously.
* Update to latest contextIsolation recipes
* Fixing issue with missing 'fs' functions.
Co-authored-by: Vijay A <avijayr@protonmail.com>
|
| |
|
| |
|
|
|
|
| |
hibernated service (#1680)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use hibernation strategy from settings instead of hardcoded 5 minutes
* Fix conditions with isHibernationEnabled, previously disableHibernation
* Make service hibernation obey global setting
Also refactors hibernation to move some hibernation enablement logic
into the Service model
* Remove global hibernation enable switch
Implements option 4 from
https://github.com/getferdi/ferdi/pull/1486#issuecomment-860290992
according to
https://github.com/getferdi/ferdi/pull/1486#issuecomment-876558694
* Implements #865 : Add 'hibernate service' and 'wake up service' in the sidebar context menu.
* Removed 'hibernationEnabled' check on main settings screen
Since this is an (imo) incongruous behavior for the first time user.
They will see a message, but with no ability to choose the hibernation strategy.
* Autogenerated files from conflict fixes
Co-authored-by: Kristóf Marussy <kristof@marussy.com>
Co-authored-by: Vijay A <avijayr@protonmail.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- serviceLimit
- planSelection
- trialStatusBar
and other Franz features that were for different tiers of subscription.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
clipboard events.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the application.
|
| |
|
| |
|
| |
|
|
|
|
| |
manually building it. (#1592)
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- changed electron target for @babel/preset-env from 4 to 13
- added .prettierrc.js with conforming settings to current code style
- upgraded gulp-sass to v5 to fix CVE and adapted code to breaking changes
- refreshed package-lock.json of packages/forms and packages/ui
- upgraded normalize-url to fix CVE
- removed unnecessary @types/color-convert
- fixed ToggleComponent breaking tsc compilation
|
| |
|
|
|
|
|
|
| |
- move active tab state from componentDidMount to constructor
- fix toggle.tsx breaking tsc
- add .prettierrc.js for consistent formatting
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(already a dependency) rather than re-implementing by ourselves.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* en-US.json (Romanian)
* en-US.json (Turkish)
* en-US.json (Portuguese)
* en-US.json (Russian)
* en-US.json (Slovak)
* en-US.json (Slovenian)
* en-US.json (Serbian (Cyrillic))
* en-US.json (Swedish)
* en-US.json (Ukrainian)
* en-US.json (Norwegian)
* en-US.json (Chinese Simplified)
* en-US.json (Chinese Traditional)
* en-US.json (Vietnamese)
* en-US.json (Portuguese, Brazilian)
* en-US.json (Indonesian)
* en-US.json (Croatian)
* en-US.json (Flemish)
* en-US.json (Polish)
* en-US.json (Dutch)
* en-US.json (French)
* en-US.json (German)
* en-US.json (Spanish)
* en-US.json (Afrikaans)
* en-US.json (Arabic)
* en-US.json (Belarusian)
* en-US.json (Catalan)
* en-US.json (Czech)
* en-US.json (Danish)
* en-US.json (Greek)
* en-US.json (Korean)
* en-US.json (Finnish)
* en-US.json (Irish)
* en-US.json (Hebrew)
* en-US.json (Hungarian)
* en-US.json (Italian)
* en-US.json (Japanese)
* en-US.json (Georgian)
* en-US.json (Bosnian)
|
|
|
|
|
|
|
|
| |
* 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
|