aboutsummaryrefslogtreecommitdiffstats
path: root/src/models
Commit message (Collapse)AuthorAge
* prevent from hibernating when media playingLibravatar Santhosh Chinnasamy2022-10-05
|
* Feature: Indication Icon which service is playing media (#655)Libravatar Santhosh C2022-10-04
|
* Feature: Add Ferdium Translator (#548)Libravatar André Oliveira2022-08-17
| | | Add feature to translate text natively using https://github.com/shikar/NODE_GOOGLE_TRANSLATE package and a LibreTranslate self-hosted option (already running on our server on https://translator.ferdium.org).
* chore: change values inside mobx actions to fix console warnings (#532)Libravatar André Oliveira2022-08-03
|
* fix: remove autoHibernateLibravatar André Oliveira2022-07-19
| | | | This was causing issues to the service hibernation. Toggling back the isHibernationEnabled to false right after saving the service, which disabled the Hibernation.
* refactor: local server import/exportLibravatar Kristóf Marussy2022-07-11
| | | | Signed-off-by: Kristóf Marussy <kristof@marussy.com>
* chore: Mobx & React-Router upgrade (#406)Libravatar Ricardo Cino2022-07-07
| | | Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
* chore: transform containers/settings from js to tsx (#384)Libravatar Ricardo Cino2022-06-27
|
* fix: solve recipe function calls that were broken cause of js=>ts con… (#369)Libravatar Ricardo Cino2022-06-26
| | | | | | | * fix: solve recipe function calls that were broken cause of js=>ts conversion * fix: use an interface instead to keep type-safety * fix: remove faulty test
* chore: servicesStore + models into typescript (#344)Libravatar Ricardo Cino2022-06-23
|
* chore: recipes/request stores js => tsLibravatar Ricardo Cino2022-06-23
|
* fix: dont replace custom icon when service updates (#338)Libravatar Ricardo Cino2022-06-23
|
* chore: Transform AppStore.js into Typescript (#329)Libravatar Ricardo Cino2022-06-21
| | | | | * turn actions into typescript * correct tsconfig * added TypedStore
* Add ability to enable the progressbar for each service (#301)Libravatar Vijay Aravamudhan2022-06-19
|
* Add a less-obstrusive progress bar on top of the Ferdium window (#285)Libravatar Vijay Aravamudhan2022-06-17
|
* Revert "Feature: Progress Indicator for page loading (#248)"Libravatar Vijay A2022-06-17
| | | | This reverts commit 87bf6224518fd39ba7485cde691bad5941216258.
* Feature: Progress Indicator for page loading (#248)Libravatar André Oliveira2022-06-14
| | | Fix one of the asks in #239
* Add new service-level option 'trapLinkUrls' (#154)Libravatar Vijay Aravamudhan2022-05-23
| | | | | | 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>
* Use DEFAULT_SERVICE_SETTINGS for default values (remove duplication)Libravatar Vijay A2022-05-15
| | | | Added TODO comments, notes, debug logs.
* fix: revert "Typescript conversion" (#153)Libravatar Nathanaël Houn2022-05-15
| | | This reverts commit 8b1bfc356c3182c481394251f3ceeb902f2baec3.
* Typescript conversionLibravatar Vijay A2022-05-14
|
* Preload safe debug shim (#29)Libravatar Kristóf Marussy2022-04-22
| | | | | | | | | | | | | | | | 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>
* Turn off usage of 'debug' npm package using with electron-16 (fixes #17)Libravatar Vijay Aravamudhan2022-04-22
|
* Matched casing for almost all replacementsLibravatar Aditya Mangalampalli2022-04-16
|
* fix: don't strip authentication credentials from service URL (fixes #2182) ↵Libravatar niu tech2021-11-15
| | | | (#2228)
* Add active dialog title feature (#2114)Libravatar Iaroslav2021-10-23
| | | | https://github.com/getferdi/ferdi/issues/1280 WhatsApp-like services can set active dialog title to the app title eg. Ferdi - WhatsApp - Contact Name
* chore: use 'window['ferdi']' (split out from pr #2092) (#2104)Libravatar Vijay Aravamudhan2021-10-20
| | | Co-authored-by: Markus Hatvan <markus_hatvan@aon.at>
* fix path for configLibravatar Vijay A2021-10-17
|
* refactor: move service-defaults into the 'config' file for reuseLibravatar Vijay A2021-10-16
|
* feat: add new preference to allow per-service wake-up (#2085)Libravatar Ahmad M. Abdelaziz2021-10-16
|
* chore: update eslint setup (#2074)Libravatar Markus Hatvan2021-10-15
|
* chore: remove all code related to news (#2069)Libravatar Markus Hatvan2021-10-14
|
* Fix Slack connection with Google SSO (#1991)Libravatar Sadetdin EYILI2021-09-26
|
* refactor: extract constants; added TODO [skip ci]Libravatar Vijay A2021-09-25
|
* Allow services to delineate favorites vs non-favorites in unread counts (#1979)Libravatar Vijay Aravamudhan2021-09-24
| | | implements getferdi/recipes#721 (eg: office365-owa)
* feat: add eslint-plugin-unicorn (#1936)Libravatar Markus Hatvan2021-09-14
|
* Ability for service recipe to expose known certificate hosts (#1890)Libravatar Vijay Raghavan Aravamudhan2021-09-08
|
* refactoring: Use 'ifUndefined*' consistently.Libravatar Vijay A2021-09-05
| | | | Added some error checking
* Refactoring to have consistent usage (prep for ts conversion) (#1821)Libravatar Vijay Raghavan Aravamudhan2021-09-04
|
* refactor: fail quickly if the initialization data is incorrectLibravatar Vijay A2021-08-21
|
* Incorrect position while adding a new service when there were pre-existing ↵Libravatar Vijay Raghavan Aravamudhan2021-08-21
| | | | services (#1820)
* refactor(cleanup): remove code that refers to paid subscriptionLibravatar Vijay A2021-08-21
| | | | (since we are always premium/free)
* Typescript conversion (#1805)Libravatar Vijay Raghavan Aravamudhan2021-08-17
|
* Services now support aliases!!!! (#1774)Libravatar Vijay Raghavan Aravamudhan2021-08-12
| | | | | | Users can now search for the services not only based on the name, but also the alias (partial match, case-insensitive), when adding new services. fixes #1614, #1615, #1291
* cleanup: Removed commented out code [skip ci]Libravatar Vijay A2021-08-12
|
* refactor: removed legacy properties from recipesLibravatar Vijay A2021-08-11
| | | | (Addendum to getferdi/recipes#605)
* 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/
* 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>
* Added a 'wakeUpStrategy' that the user can control to wake up a previously ↵Libravatar Vijay Raghavan Aravamudhan2021-07-23
| | | | hibernated service (#1680)