aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
Commit message (Collapse)AuthorAge
...
* Improve user scripts (#559)Libravatar Bennett2020-04-12
| | | | | | | | | | | * Add template to user.js creation * Add Userscript library * Add internalOpen function * Fix lint * Remove excess line break
* 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.
* Refactor updates settings (#506)Libravatar Romain2020-04-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reorder updates toggle buttons * Updated 'Disable updates' message to 'Enable automatic updates' * Update 'noUpdates' to 'automaticUpdates' * Update 'noUpdates' to 'automaticUpdates' * Add condition for 'Include beta version' to show * Enable automatic updates by default * Update file so when automaticUpdates is true automatic updates are enabled * Fix conditions with enableUpdate * Apply code style * Fix wrong condition with enableUpdate * Delete unsued variable 'server' * Apply style code * Commit changes to submodule 'recipes' * Update default message to 'Enable updates' from 'Disable updates' * Update text to 'Enable updates' from 'Enable automatic update' * Add migration for updates settings * Update default messages to 'Enable updates' from 'Disable updates' * Remove empty line * Check for updates was disabled when updates were enabled * Avoid superfluous break line when updates are disabled * Add fragments to up-to-date message * Add fragments to up-to-date message * Remove file from previous commit * Remove extra line * Add 'Show draggable area on window' to en-US.json file * Apply prepare-code script changes Co-authored-by: Amine <amine@mouafik.fr>
* Add support for Adaptable Dark Mode on Windows (#548)Libravatar Mahadevan Sreenivasan2020-04-09
| | | | | - Add support for making adaptable checkbox visible for Windows - Add support in UIStore to check for theme updated using the nativeTheme.on('update', () => {}) event and update the darkmode properties accordinly. - Update intl to change text to a more generic wording - "settings.app.form.adaptableDarkMode": "Synchronize dark mode with my OS's dark mode setting"
* #418 #477 Refactor Todo settings, add predefined Todo apps listLibravatar Amine2020-03-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add condition if on todo options * add drop down for todo server * fix error TODOS_FRONTEND * add todo list apps' * update name of dropdown menu to Todo Service * add other service to dropdown menu and subsetting field for user to input url * add Other Service to drop down * fixed typos * reverted wording * fix custom field * fix linting * fix linting * Delete tsconfig.tsbuildinfo * Delete tsconfig.tsbuildinfo * Delete tsconfig.tsbuildinfo * Add regex to validate custom todo url * Add note with source of regex function * Move regex function declaration to function body root * Apply code style * Add migration for todo settings * Apply code style Co-authored-by: romain <romain@jumboprivacy.com> Co-authored-by: Roman <46404814+yourcontact@users.noreply.github.com> Co-authored-by: romain <rpsa@pm.me>
* Improve user onboarding (#493)Libravatar Bennett2020-03-25
| | | | | Until now, new users have started on the Ferdi dashboard and not on the Welcome screen like Franz does it. This change was made, as users needed to be ablet to change their server before logging in. This commit will change this onboarding process to bring users to the welcome screen on first login and it adds a new "Change Server" screen during authentication that allows the user to change the server without going to the full settings screen. This way, the onboarding experience for new users is a lot easier to go though while also improving the experience for experienced users who want to change their server as they only get the option they are looking for and not the whole settings list.
* Reflect service name in application titleLibravatar Gilles Marec2020-03-10
|
* add option to disable reload after resume (#447)Libravatar n0emis2020-03-09
| | | | | | * add option to disable reload after resume closes #442 * remove unused property
* Partial revert of #371Libravatar Daniel Peukert2020-03-02
|
* Run linterLibravatar vantezzen2020-03-02
|
* Merge pull request #393 from getferdi/refactor/lockLibravatar Amine2020-02-28
|\ | | | | Fix race condition in Ferdi Lock at startup
| * Fix lock at startup when previously closed while lockedLibravatar Amine Mouafik2020-02-26
| |
| * Fix lock at startupLibravatar Amine Mouafik2020-02-25
| |
| * Add FIXME note about lock at startupLibravatar Amine Mouafik2020-02-22
| |
* | Merge pull request #403 from getferdi/feat/#270Libravatar Amine2020-02-26
|\ \ | | | | | | #270 Add more navigation bar behaviour settings
| * | Fix merge errorsLibravatar vantezzen2020-02-26
| | |
| * | Add migration from old settingLibravatar vantezzen2020-02-26
| |/
* / Implement user.css and user.js (#401)Libravatar Bennett2020-02-26
|/ | | | | | | | | | * #83 Implement user.css and user.js * Fix button layout in settings * Fix user script not loading Co-authored-by: Amine <amine@mouafik.fr>
* Replace deprecated Electron functions with propertiesLibravatar Daniel Peukert2020-02-13
|
* Merge branch 'develop' into publish-debugLibravatar vantezzen2020-02-12
|\
| * Change menu bar logic to be hidden by default when autohide is enabledLibravatar Daniel Peukert2020-02-11
| |
* | Merge branch 'develop' into publish-debugLibravatar vantezzen2020-01-31
|\|
| * Fix lintLibravatar vantezzen2020-01-31
| |
| * Improve dark mode behaviour on macOSLibravatar vantezzen2020-01-31
| |
| * Add better sync between Ferdi and service dark modeLibravatar vantezzen2020-01-31
| |
| * Fix lintLibravatar vantezzen2020-01-31
| |
| * #328 Implement local updatesLibravatar vantezzen2020-01-31
| |
| * #179 Add inactivity timerLibravatar vantezzen2020-01-29
| |
| * Prevent Password Lock to trigger while not logged inLibravatar Amine Mouafik2019-11-29
| |
| * Fix cannot read property 'args' of nullLibravatar Amine Mouafik2019-11-29
| |
| * Add appearance feature handlerLibravatar vantezzen2019-11-28
| |
| * Better handling of (adaptable/universal) dark modeLibravatar Amine Mouafik2019-11-28
| |
| * Fix isDarkThemeActive logic with adaptableDarkModeLibravatar Amine Mouafik2019-11-28
| |
| * Respect MacOS current themeLibravatar Steliyan Stoyanov2019-10-30
| |
| * Add "adaptable dark mode" checkboxLibravatar Steliyan Stoyanov2019-10-30
| |
* | Add publish debug log optionLibravatar vantezzen2019-10-29
|/
* Fix lintLibravatar vantezzen2019-10-28
|
* Extend debug informationLibravatar vantezzen2019-10-27
|
* Directly reloading webview instead of updating urlLibravatar vantezzen2019-10-27
|
* #146 Add possible fix for 1.1.1.1 hackLibravatar vantezzen2019-10-27
|
* Fix lintLibravatar vantezzen2019-10-26
|
* 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
|\
| * Merge branch 'experiment/app-reload-after-sleep' into release/5.4.0-beta.3Libravatar Stefan Malzner2019-10-21
| |\
| | * reload app after sleep with 2s waiting timeLibravatar Stefan Malzner2019-10-21
| | |
| * | Hide menu bar in popupsLibravatar Stefan Malzner2019-10-21
| |/
| * Revert "test to reload app after resume"Libravatar Stefan Malzner2019-10-20
| | | | | | | | This reverts commit 9a5f64fbf0ca1d8c73614d03dc7ed3b4cd285387.