| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* convert various files to TS
* removed outdated docs/example-feature folder
* turn off unicorn/no-empty-file
* update eslint config
|
|
|
| |
Fixes issue #2051
|
|
|
| |
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
|
|
|
| |
Co-authored by: Rachel Cynthia <rachel883omega@gmail.com>
|
|
|
|
| |
https://github.com/getferdi/ferdi/issues/1280
WhatsApp-like services can set active dialog title to the app title eg. Ferdi - WhatsApp - Contact Name
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
module dependency
(might be a pre-requisite for the electron v14 upgrade)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
service when started up"
This reverts commit 947a776e1ed902a218af0f634bfa9d320678ce93.
|
|
|
| |
fixes #1772
|
|
|
|
| |
when started up
|
| |
|
|
|
|
| |
(when a user signs up for a service)
|
|
|
|
| |
marking inactive.
|
|
|
|
| |
fixes #1691
|
| |
|
| |
|
|
|
|
| |
(from the sidebar context menu)
|
|
|
|
|
|
| |
'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
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduced a global and a service-specific 'user-agent' value that can be set by the user from the preference section.
The global override is in Advanced, while the service override was moved to the bottom of the service editor form (and now occupies the full width of the form).
Show 'restart reqd' prompt for user-agent setting.
The order of the user-agent is the following:
1. Any request header overrides in the recipe will still override the user agent string.
2. If the user has set a user agent override for the service, use that.
3. If the recipe has a predefined user agent, use that.
4. If the user has set a global user agent override, use that.
5. Otherwise, use the user agent string corresponding to the underlying Electron version.
If the current webpage is the Google login form, we still remove the Chrome version number from the user agent string.
The value that would be used if no custom override is set (recipe-provided value or global override for the service, current Electron instance for the global override) is shown as a placeholder in the input box on the corresponding setting screen.
Co-authored-by: Kristóf Marussy <kristof@marussy.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Return false instead of null in isTodosServiceAdded
* Resolve from TODOS_RECIPES_ID instead of hardcoded TODOS_RECIPE_ID
* Fix TodosWebview width toggling when isTodosServiceActive
* Add more todo service recipe IDs
* Refactor todos state management
* Moved todos service URL and recipe ID computation logic to todos/store
* Simplified TodosWebview by delegating to the store for the URL and
removing the (unused) payment logic
* Made the todos service computation logic in the Service model depend
on the logic in todos/store
* Made ServicesStore depend on the todos service logic from the Service
model
* Todos appearance fixes
* Hide double horizontal rules if todo settings are hidden due to an
added todo service
* Hide todos panel border when the panel is hidden or expanded
* Make expanded todos panel obey sidebar width and vertical style
settings
* Make todos/store use isValidExternalURL
* Harden isValidExternalURL against malformed URLs
* Reduce todo URL string duplication in config.js
Co-authored-by: Kristóf Marussy <kristof@marussy.com>
|
|
|
|
| |
context menu actions (#1494)
|
|
|
|
|
| |
Extracted from 240c3a72363e7388779c9ed3c6467ec63bb64d94 according to
https://github.com/getferdi/ferdi/pull/1456#discussion_r641182688 and
https://github.com/getferdi/ferdi/pull/1456#discussion_r641183662
|
|
|
| |
* Locked new version of 'recipes' submodule with corresponding changes.
|
|
|
|
|
|
|
| |
* Adding DuckDuckGo as an alternative search engine.
* Fixing review comments.
* Fixing review comments.
|
|
|
|
|
|
|
| |
Co-authored-by: FranzBot <i18n@meetfranz.com>
Co-authored-by: vantezzen <hello@vantezzen.io>
Co-authored-by: Makazzz <makazzzpro@live.ca>
Co-authored-by: Stefan Malzner <stefan@adlk.io>
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement #387
* Fix lint
* Upgrade to Electron 9
* Remove dependency on electron-spellchecker
* Allow multiple languages to be selected
* Fix lint
* Don't show spellchecker language chooser for macOS
* Fix _requireAuthenticatedUser throwing error on startup
* Add FAB
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix: Refocus Webview only for active service
- add check to identify if the webview belongs to the active service during refocussing a webview.
- blur and focus the webview only for the active service.
Co-Authored-By: Sampath Kumar Krishnan <sampathblam@users.noreply.github.com>
* fix: Focus on Active Service
- replace document.activeElement.blur() with service.webview.blur()
Co-Authored-By: Sampath Kumar Krishnan <sampathblam@users.noreply.github.com>
* refactor
- lint fixes
Co-Authored-By: Sampath Kumar Krishnan <sampathblam@users.noreply.github.com>
Co-authored-by: Sampath Kumar Krishnan <sampathblam@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Automatic i18n update (i18n.meetfranz.com)
* Fix zoom not working
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Add environment variable
FRANZ_APPDATA_DIR
* Add environment variable for config
FRANZ_APPDATA_DIR
* fix stuff that shouldn't need fixing in the first place
* notarize app
* bump version to 5.4.1
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* update to electron 7.1.7
* bump version to 5.5.0
* Automatic i18n update (i18n.meetfranz.com)
* Bump electron to 7.1.10
* plan changes
* filter plan variants
* add missing string
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Replace/remove deprecated electron function calls
Electron replaced several function calls with object properties.
Franz still uses some of these deprecated functions, so this commit will replace these with their new property counterpart.
This commit is only transferring the changes made in getferdi/ferdi#371 and getferdi/ferdi#384 into the upstream repository.
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Update to electron 8.0.1
* feat(Service): Add service hibernation to save system resources
* Fix linting issues
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Bump version to electron 8.1.1
* update strings
* update electron-notarize
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Automatic i18n update (i18n.meetfranz.com)
* Add audio & video permission request for cataline
* Automatic i18n update (i18n.meetfranz.com)
* bump version to beta 1
* Automatic i18n update (i18n.meetfranz.com)
* enable external links
* Fix main content href
* Automatic i18n update (i18n.meetfranz.com)
* fix(Service): Fix issue with user agent override in service workers
* Automatic i18n update (i18n.meetfranz.com)
* fix macOS string replacement
* Automatic i18n update (i18n.meetfranz.com)
* fix(Experimental): Fix Google signin
* fix(Service): Add integrity checks to prevent services recipes getting lost
* Remove service reload on app-resume
* update strings
* bump version to beta 2
* Automatic i18n update (i18n.meetfranz.com)
* bump electron-builder and electron-updater deps
* test video permissions
* fix `extendInfo` keys
* fix typo
* fix permission request
* update camera/microphone entitlements
* Automatic i18n update (i18n.meetfranz.com)
* Test screen capture permissions
* unpack `mac-screen-capture-permissions`
* don't require localstorage temp key for permissions request
* move macOS permission request to main process
* Fix checking for permissions
* fix(macOS): Ask the user to move Franz to the `/Applications` Folder
* only try to recover recipe when user is online
* update service request link
* Update changelog
* Reset `service.lostRecipeReloadAttempt` once service is alive again
* Update translations
* Fix crash on macOS
* Fix merge errors
* Fix lint
* Disable ConnectionLostBanner
* #551 Add information about Ferdi to the user agent
* Fix requested changes
* Remove tsbuildinfo files
* Add .tsbuildinfo files to gitignore
* Fix "Cannot destructure property 'app' of '_electron.remote' as it is undefined"
Co-authored-by: FranzBot <i18n@meetfranz.com>
Co-authored-by: Makazzz <makazzzpro@live.ca>
Co-authored-by: Stefan Malzner <stefan@adlk.io>
|
|
|
|
|
|
|
|
|
|
|
| |
* Add template to user.js creation
* Add Userscript library
* Add internalOpen function
* Fix lint
* Remove excess line break
|
| |
|