aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/AppStore.js
Commit message (Collapse)AuthorAge
* revert: reverting back from 'dayjs' to 'momentjs'Libravatar Vijay A2021-08-18
|
* chore: replace moment.js with day.js (#1804)Libravatar Markus Hatvan2021-08-16
|
* Refactoring: Url helpers (#1789)Libravatar Vijay Raghavan Aravamudhan2021-08-14
| | | | | | | 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/
* fix(App): Fix app focus detectionLibravatar Vijay A2021-08-13
|
* chore: Refactoring to reuse already defined constantsLibravatar Vijay A2021-08-13
|
* 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>
* Added debug logs for auto-updater. [skip ci]Libravatar Vijay A2021-07-18
|
* Minor perf tweaks to evaluate capturing of env-specific values only once in ↵Libravatar Vijay A2021-07-15
| | | | the application.
* Use utility methods from 'electron-util'Libravatar Vijay A2021-07-04
| | | | (already a dependency) rather than re-implementing by ourselves.
* Upgrade various dependencies to latest part 2 (#1557)Libravatar Markus Hatvan2021-07-03
| | | | | | | | * 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
* Minor refactoring to move all runtime configs from 'config.js' into ↵Libravatar Vijay Raghavan Aravamudhan2021-07-03
| | | | 'environment.js'. (#1588)
* Replace 'remote' with 'electron/remote' (#1448)Libravatar Vijay Raghavan Aravamudhan2021-05-26
| | | * Locked new version of 'recipes' submodule with corresponding changes.
* Lazily compute cache size (#1404)Libravatar Kristóf Marussy2021-05-13
| | | | | | | | | | | | Computing the cache size can take a long time if the cache is large. Previously, cache size computation was triggered by opening the Settings pane, which slowed down changing settings even if the user wasn't interested in the cache size. This patch defers cache size computation until the Advanced tab is open in the Setting page. Additionally, cache size rendering (in MB / GB) is moved from the AppStore into the EditSettingsForm to fix the notCleared functionality.
* Fix window unsnapping when clicking notification (#896) (#1264)Libravatar Stephan Rumswinkel2021-04-04
| | | Closes #896
* Synchronize with Franz 5.6.0 (#1033)Libravatar Amine El Mouafik2021-02-08
| | | | | | | 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>
* Review launch on startup for macOS, start Ferdi app, not renderer (#696)Libravatar Danny Qiu2020-05-01
|
* Release 5.5.0-gm.2 (#625)v5.5.0-gm.2Libravatar Amine2020-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump Electron to 8.2.3 for latest fixes * Bump version to 5.5.0-gm.2 * Update recipes submodule * Update changelog * Add support for external issue linking * Link README * Address regression introduced by #590 * Add new translations contributors * #620 Address broken translation * Fix cache clearing feedback US copy * Update changelog to include latest merged pull requests * Fix changelog format * Review branding of initial system notification on macOS * #569 Fix missing margin between tabs Co-authored-by: vantezzen <hello@vantezzen.io>
* Merge Franz 5.5.0 beta.1 and 2 (#549)Libravatar Bennett2020-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Fix cache clearing not working in Windows 10 (#541) (#544)Libravatar Mahadevan Sreenivasan2020-04-10
| | | | | | | | | | | | | | * fix: Clear caches which is not working in Windows 10 (#541) - In AppStore, the partition directory of allorphanedserviceIds are attempted to be removed during clear cache. However, atleast in Windows, certain files like Cookies, indexedDB and other autogenerated ones during session creation are locked and hence fs.removeDirectory throws an exception. I have added a try catch around this piece of code to avoid uncaught exceptions which causes the spinner to spin indefnitely and prevents execution of further code - From electron docs - I found that calling session.clearstorage([options]) is a better way to clear session storage data. Hence, in LocalApi.js, we are clearing out all possible storages and quotas of all services and the default session. More info in this link - https://www.electronjs.org/docs/api/session#sesclearstoragedataoptions * refactor: LocalApi - refactor clearAppCache and clearCache(serviceId) as suggested by @eandrogehlen * refactor: #544 - Remove clearAppCache from server/LocalApi.js to use clearCache for clearing both service and application sessions. * fix: clear_cache - update function anme in AppStore.js to 'clearCache' instead of 'clearAppCache'. This got missed out during the refactor. Apologies.
* Add notification & audio toggle action in tray context menu (#542)Libravatar Mahadevan Sreenivasan2020-04-10
| | | | | | | | | | | | | | * feat: Add new tray menu item to enable / disable Notifications and Audio - Use ipcMain to listen to iniital App Settings which determines the current isAppMuted state and display menu item text accordingly - Use ipcMain to listen to updates to App Settings -> isAppMuted from the App Menu / Side Bar and display menu item text accordingly - When the user clicks on the Enable / Disable Notifications & Audio menu item in the Tray, pass a message to the app via window.webContents.send with channel 'muteApp' - In stores/AppStore.js, use an ipcRenderer to toggleMuteApp() - To get the initial app state to the main process, pass a channel 'initialAppSettings' from SettingsStore which the tray class can listen to. * feat - System Tray menu item for Muting App - Fix lint errors * feat: Provide a menu item in the tray bar icon to Mute/Unmute the application - Revert package-lock.json to the previous commit.
* add option to disable reload after resume (#447)Libravatar n0emis2020-03-09
| | | | | | * add option to disable reload after resume closes #442 * remove unused property
* Better handling of (adaptable/universal) dark modeLibravatar Amine Mouafik2019-11-28
|
* Extend debug informationLibravatar vantezzen2019-10-27
|
* #146 Add possible fix for 1.1.1.1 hackLibravatar vantezzen2019-10-27
|
* Extend debug informationLibravatar vantezzen2019-10-26
|
* Extend debug informationLibravatar vantezzen2019-10-25
|
* Fix lintLibravatar vantezzen2019-10-24
|
* Merge https://github.com/meetfranz/franz into franz-5.4.0-releaseLibravatar vantezzen2019-10-24
|\
| * reload app after sleep with 2s waiting timeLibravatar Stefan Malzner2019-10-21
| |
| * Revert "test to reload app after resume"Libravatar Stefan Malzner2019-10-20
| | | | | | | | This reverts commit 9a5f64fbf0ca1d8c73614d03dc7ed3b4cd285387.
| * test to reload app after resumeLibravatar Stefan Malzner2019-10-17
| |
| * fix interval timeLibravatar Stefan Malzner2019-10-16
| |
| * Add trialStatusBar & polishingLibravatar Stefan Malzner2019-10-16
| |
| * Add macOS catalina notifications hackLibravatar Stefan Malzner2019-10-08
| |
| * remove external url eventLibravatar Stefan Malzner2019-10-08
| |
| * fix(Services): Restore services after 10 minutes system suspensionLibravatar Stefan Malzner2019-10-08
| |
* | Merge branch 'release/5.4.0' of https://github.com/meetfranz/franz into ↵Libravatar vantezzen2019-10-02
|\| | | | | | | franz-5.4.0
| * fix(Settings): Fix cache size calculation after clearing cacheLibravatar Stefan Malzner2019-10-02
| |
* | Use ferdi namespace on debuggerLibravatar vantezzen2019-09-12
| |
* | Merge branch 'master' of https://github.com/meetfranz/franz into franz-5.3.0Libravatar vantezzen2019-09-07
|\|
| * fix(Windows): Fix app size in fullscreenLibravatar Stefan Malzner2019-09-05
| |
| * Merge branch 'develop' into feature/new-pricingLibravatar Stefan Malzner2019-08-09
| |\
| * | Add option to subscribe to trial via account dashboardLibravatar Stefan Malzner2019-08-08
| | |
* | | Fix random logout issuesLibravatar vantezzen2019-08-26
| | |
* | | Fix eslint errorsLibravatar vantezzen2019-08-22
| | |
* | | Replace public Franz occurences with FerdiLibravatar vantezzen2019-08-21
| | |
* | | Remove analyticsLibravatar vantezzen2019-08-21
| |/ |/|
* | feat(App): Add option to copy debug information via the help menuLibravatar Stefan Malzner2019-07-30
| |
* | fix(Notifications): Fix issue that blocked notifications from e.g. SlackLibravatar Stefan Malzner2019-07-30
|/