| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
| |
* Change isImage function
* Fix comments
* Fix last comments and lint
|
|
|
| |
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This option can be used to allow the user to choose how to handle links
(whether to open in the default browser or within the Ferdium service itself)
Co-authored-by: André Oliveira <oliveira.andrerodrigues95@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Since electron 17, desktopCapturer is only available in the main
process:
https://www.electronjs.org/blog/electron-17-0#desktopcapturergetsources-in-the-renderer
This patch adds a new IPC message from the service renderer to the main
process so it can still invoke desktopCapturer.getSources
Signed-off-by: Kristóf Marussy <kristof@marussy.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>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* convert various files to TS
* removed outdated docs/example-feature folder
* turn off unicorn/no-empty-file
* update eslint config
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- change node version from 14.18.1 to 16.13.0
- change npm version from 6.14.13 to 8.1.0
- update package-lock.json to lockfileVersion 2
- use @sindresorhus/do-not-disturb instead of macos-notification-state to avoid failing CI
- run ferdi build on latest macos and windows
- skip husky in CI builds
- move 'cld' and 'node-mac-permissions' to optionalDependency
Co-authored-by: Vijay A <vraravam@users.noreply.github.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
|
|
|
|
| |
once the counts reached zero (#2113)
|
| |
|
| |
|
|
|
|
| |
it doesn't depend on the running process any more.
|
| |
|
|
|
|
| |
us into 'electron/remote'
|
|
|
|
| |
abstraction layer instead for better maintainance
|
|
|
|
| |
abstraction layer instead for better maintainance
|
| |
|
|
|
|
| |
After refactoring some recipes in getferdi#1964, we no longer need to expose some APIs to recipes.
|
|
|
|
|
| |
* fix: remove reference to '@electron/remote' module for spell-checker
* chore: removed redundant methods from being exposed via 'window.ferdi' to the recipes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* security: do not expose electron API to services
Service code running the the main world should not have access to any
electron API.
This still allows recipes from webview.js accessing these APIs through
the @electron/remote module and/or the Ferdi object, but
webview-unsafe.js and the untrusted code coming from the service will
not have any access.
Currently, no recipe accesses these APIs in its webview-unsafe.js, so
the change should not break any recipes.
* Expose electron API through the Ferdi object
Instead of the unsafe window.ferdi in the main world, we should expose
functionality to recipes through the RecipeWebview class.
* Update CHANGELOG.md
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* chore: expose some functions to the recipe child processes
so as to bypass the need for the recipe to require '@electron/remote'
|
|
|
|
| |
consistent error handling
|
|
|
|
| |
correctly
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit 26a9dba22236bc22a7612107630282cfe02d20e0.
|
|
|
|
| |
- upgrade 'uuid', '@types/uuid', 'macos-version', 'normalize-url' and 'os-name' dependencies to latest
- updated 'macos-version' imports to named imports
|
|
|
|
| |
were used for shift/alt keys
|
|
|
|
|
|
|
| |
These changes are mainly to ensure that 'shell.open*' invocations are only in a single file.
* Moved 'openPath' into the 'url-helpers' file.
* Extract 'openExternalUrl' into a common location in 'url-helpers'
This is done so that we can then apply vetting rules to ensure that there is no security concern as described in https://benjamin-altpeter.de/shell-openexternal-dangers/
|
| |
|
|
|
|
| |
the 'cmdKey'
|
|
|
|
|
|
|
|
| |
- add missing meta charset to index.html
- dont restrict scaling for user in index.html
- load animations.css conditionally based on motion preference
- load transitions conditionally in js and css based on motion preference
Co-authored-by: Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>
|
| |
|