aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAge
* refactor: path-references refactoring and using 'import' instead of ↵Libravatar Vijay Raghavan Aravamudhan2021-08-08
| | | | | | '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/
* revert: resurrent i18n translationsLibravatar Vijay A2021-08-07
|
* New Crowdin updates (#1751)Libravatar Ferdi Bot2021-08-06
|
* refactor: prep for i18n of context menu itemsLibravatar Vijay A2021-08-06
|
* revert: partially reverted menu-item cleanup (having only 'role' does not ↵Libravatar Vijay A2021-08-06
| | | | | | work in windows) fixes #1746
* fix: explicitly use env var to specify hostname for adonis for the ↵Libravatar Vijay A2021-08-05
| | | | | | internal-server fixes #1253
* fix: change all occurrences of hard-coded ip address '127.0.0.1' to 'localhost'Libravatar Vijay A2021-08-05
| | | | | | | Also refactored to make this a constant defined in a single file where it is imported for all other uses. fixes #1253
* revert: partially reverts the previous change to fix issue that the packaged ↵Libravatar Vijay A2021-08-05
| | | | app doesn't start up
* refactor: general code improvementsLibravatar mhatvan2021-08-05
| | | | | | | | | | - 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
* refactor: minor refactoring: solve name-clash of env vars vs vars in the programLibravatar Vijay A2021-08-05
|
* fix: Clear cache button should not log out of servicesLibravatar mhatvan2021-08-04
| | | | - remove cookies and localstorage from session.clearStorageData() in LocalApi.js
* Removed straggling code related to 'popular services'.Libravatar Vijay A2021-08-03
|
* Fixed #1726: Revamp menu items with correct accelerators. (#1728)Libravatar Vijay Raghavan Aravamudhan2021-08-02
|
* Prevent pasting twice (#1644)Libravatar stnkl2021-08-02
|
* Fixed #1722 [skip ci]Libravatar Vijay A2021-08-02
|
* Removed 'Most Popular' services since it alludes to user-tracking (#1718)Libravatar Vijay Raghavan Aravamudhan2021-08-02
|
* Fixed #1717: Turned on ToDo feature.Libravatar Vijay A2021-08-02
|
* Minor visual refactoring to hide double separator. [skip ci]Libravatar Vijay A2021-08-02
|
* Moved 'internal-server' into a sub-folder as opposed to a git submodule. (#1715)Libravatar Vijay Raghavan Aravamudhan2021-08-01
| | | | * Ignored tests in 'internal-server' folder since there are none. * Linter fixes
* Removed stale references to 'packages/typings'Libravatar Vijay A2021-07-31
| | | | Resurrected node modules that are required by the internal-server and recipes submodules
* chore: cleanup and improve dependenciesLibravatar mhatvan2021-07-30
| | | | | | | | | | | - 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
* chore: migrate from tslint to @typescript-eslint (#1706)Libravatar Markus Hatvan2021-07-30
| | | | | | | | | | - 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>
* Recipe context isolation (#1456)Libravatar Kristóf Marussy2021-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update submodules, browserslist data updates and linter fixes [skip ci]Libravatar github-actions2021-07-24
|
* New Crowdin updates (#1681)Libravatar Ferdi Bot2021-07-23
|
* Added a 'wakeUpStrategy' that the user can control to wake up a previously ↵Libravatar Vijay Raghavan Aravamudhan2021-07-23
| | | | hibernated service (#1680)
* New Crowdin updates (#1678)Libravatar Ferdi Bot2021-07-23
|
* Removed unused i18n keys. [skip ci]Libravatar Vijay A2021-07-23
|
* Removed unused i18n keys. [skip ci]Libravatar Vijay A2021-07-23
|
* Fix hibernation mode (#1486)Libravatar kytwb2021-07-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Removed references to 'premium' i18n keys that are no longer used.Libravatar Vijay A2021-07-23
|
* New translations en-US.json (Korean) (#1677)Libravatar Ferdi Bot2021-07-23
|
* New Crowdin updates (#1671)Libravatar Ferdi Bot2021-07-21
|
* Removed Franz paid plans features:Libravatar Vijay A2021-07-20
| | | | | | | | - serviceLimit - planSelection - trialStatusBar and other Franz features that were for different tiers of subscription.
* New Crowdin updates (#1668)Libravatar Ferdi Bot2021-07-20
|
* New translations en-US.json (Italian)Libravatar Ferdi Bot2021-07-19
|
* Minor refactoring to avoid leaking of objects.Libravatar Vijay A2021-07-19
|
* New translations en-US.json (Chinese Simplified)Libravatar Ferdi Bot2021-07-18
|
* Added debug logs for auto-updater. [skip ci]Libravatar Vijay A2021-07-18
|
* Update submodules, browserslist data updates and linter fixes [skip ci]Libravatar github-actions2021-07-18
|
* Fixed issue where the 'copy page url' didn't honor silent notifications for ↵Libravatar Vijay A2021-07-17
| | | | clipboard events.
* Update submodules, browserslist data updates and linter fixes [skip ci]Libravatar github-actions2021-07-16
|
* if changed with conditional operator + getOS removed and replaced with isWindowsLibravatar Pierluigi Minardi2021-07-16
|
* Fix the file path format + function to recognize the OSLibravatar Pierluigi Minardi2021-07-16
|
* Fix on the path format + function to recognize the OSLibravatar Pierluigi Minardi2021-07-16
|
* Minor perf tweaks to evaluate capturing of env-specific values only once in ↵Libravatar Vijay A2021-07-15
| | | | the application.
* Added more logging while publishing of debug info.Libravatar Vijay A2021-07-15
|
* New Crowdin updates (#1641)Libravatar Ferdi Bot2021-07-14
|
* Update submodules, browserslist data updates and linter fixes [skip ci]Libravatar github-actions2021-07-12
|
* Use 'useragent-generator' to generate the user-agent string rather than ↵Libravatar Vijay Raghavan Aravamudhan2021-07-12
| | | | manually building it. (#1592)