aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.js
Commit message (Collapse)AuthorAge
* feat: added new Help menu item to allow easy import/export of config dataLibravatar Vijay A2021-08-09
|
* fix: change all occurrences of hard-coded ip address '127.0.0.1' to 'localhost'Libravatar Vijay A2021-08-05
| | | | | | | Also refactored to make this a constant defined in a single file where it is imported for all other uses. fixes #1253
* Fixed #1717: Turned on ToDo feature.Libravatar Vijay A2021-08-02
|
* Added a 'wakeUpStrategy' that the user can control to wake up a previously ↵Libravatar Vijay Raghavan Aravamudhan2021-07-23
| | | | hibernated service (#1680)
* Removed Franz paid plans features:Libravatar Vijay A2021-07-20
| | | | | | | | - serviceLimit - planSelection - trialStatusBar and other Franz features that were for different tiers of subscription.
* Fixed issue with not being able to add new service.Libravatar Vijay A2021-07-04
|
* Minor refactoring to move all runtime configs from 'config.js' into ↵Libravatar Vijay Raghavan Aravamudhan2021-07-03
| | | | 'environment.js'. (#1588)
* Removed the cyclical dependency (#1519) (#1539)Libravatar Markandan R2021-06-22
|
* User agent as a user-preference (#1535)Libravatar Vijay Raghavan Aravamudhan2021-06-17
| | | | | | | | | | | | | | | | | | | | 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>
* Removed the cyclical dependency in workspaces and announcement (Partial fix ↵Libravatar Markandan R2021-06-13
| | | | for: #1519) (#1522)
* Fix active Todos service behaviour (#1481)Libravatar kytwb2021-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Extracted common string into constant.Libravatar Vijay A2021-06-06
|
* Added ability to turn off notifications for clipboard events generated by ↵Libravatar Vijay Raghavan Aravamudhan2021-06-05
| | | | context menu actions (#1494)
* Removed hardcoded strings and reused constants defined in config.js (#1499)Libravatar Vijay Raghavan Aravamudhan2021-06-05
|
* Environmental variables for dev/production mode (#1455)Libravatar Kristóf Marussy2021-05-27
| | | | | | | | | | | | | | | | | | | | | * Restore ELECTRON_IS_DEV environment variable As part of migrating to @electron/remote from electron.remote, 296ce5ce6 removed the electron-is-dev package and with it the support of selecting dev/production mode with the ELECTRON_IS_DEV environmental variable. This commit restores support for this variable. Because even the newest version of the electron-is-dev package breaks in renderer processes, we instead query the environment ourselves. * Add support for NODE_ENV variable Also support NODE_ENV for specifying dev mode in addition to the ELECTRON_IS_DEV variable. This variable is used by e.g., the packaging in Arch Linux to trigger production mode with an explicit electron command line invocation: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ferdi-git&id=61dc59e5eb19a2c9e8f9edaf0a63aaae72990a0b#n109 * Refactor environmental variable handling
* Replace 'remote' with 'electron/remote' (#1448)Libravatar Vijay Raghavan Aravamudhan2021-05-26
| | | * Locked new version of 'recipes' submodule with corresponding changes.
* Changed occurrences of 'Franz' to 'Ferdi' (probably missed earlier while ↵Libravatar Vijay A2021-05-17
| | | | catchup from Franz source). [skip ci]
* Adding DuckDuckGo as an alternative search engine (#1414)Libravatar Vijay Raghavan Aravamudhan2021-05-15
| | | | | | | * Adding DuckDuckGo as an alternative search engine. * Fixing review comments. * Fixing review comments.
* Fix some appearance issues (#1398)Libravatar Kristóf Marussy2021-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix property spelling in Sidebar component * Fix typo in todos partition name * Use the FerdiDev setting.json in dev mode The app.setPath calls are still a mess and need to be fixed, but this at least allows me to experiment locally. * Make @meetfranz/theme follow the accent color We inject the value of the accent color into the themes, so the buttons show the appropriate color. This allows removing some existing css hacks. In order to do this, the themes had to be turned into functions that take the brand color (accent color) as an argument instead of hard-coding it. The css-based accent color for legacy components is left unchanged. * Remove superfluous scrollbars While overflow: scroll doesn't look ugly on macs, because the system hides scrollbars by default (except on hower), on Linux and Windows, the disabled scrollbars appearing by default look ugly. We set overflow-y: auto instead to display a scrollbar only when needed. * Simplify theme generation in @meetfranz/themes * Remove default accent color code duplication * Apply accent color to styles not in themeInfo.json Some colors are darkened/lightened versions of the primary brand color, so they are not caught by build-theme-info. We create these styles with `color` manually. * Inset shadow on sidebar This creates a more flat look that projecting a shadow over the service, and avoid compositing a shadow over the webview. * Apply accent color to vertical style tab bar * Workspace drawer styling in vertical mode * Fix sidebar layout In vertical mode, the top of the service was clipped by the sidebar Also removes unnecessary whitespace in sidebar * Fix 1px wide line on right when todos are hidden * Fix window menu When building the menu bar, the File / app menu is added later, so we must be careful about indexing the menu bar. * Update locale files * Report the default accent color accurately * Fix inverted button with dark theme * Fix crash with invalid accent color Fall back to the default accent color instead * Darker secondary buttons in dark mode * Vertical workspace drawer style outside debug mode In order to reliably apply the style, we need to add a class name to the drawer manually, as component names only appear in class names in debug mode.
* Remove duplicated lines (probably introduced in a bad conflict-resolution step).Libravatar Vijay A2021-05-12
| | | | Added TODOs for other duplicated code that is more involved in fixing.
* Removed reference to google analytics idLibravatar Vijay A2021-05-09
|
* 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>
* Add new setting to minimize to tray when closing on Windows (#1093)Libravatar 1mm0rt41PC2021-01-06
| | | Co-authored-by: Amine El Mouafik <amine@mouafik.fr>
* Flash TaskBar (Windows) / Bounce Dock (Mac) on New Message (#1020)Libravatar Mahadevan Sreenivasan2020-10-14
| | | | | | - Add a new Toggle Field for Win32 and MacOS for NotifyTaskBarOnMessage in EditSettingsForm.js - Add notifyTaskbarOnMessage under messages Array in EditSettingsScreen.js - Update appIndicator.js to flash Windows TaskBar or Bounce the Dock on MacOS when a new message arrives - Update en-US.json to include settings.app.form.notifyTaskBarOnMessage string
* Add vertical style and "Always show workspace drawer" setting (#567)Libravatar Bennett2020-10-11
|
* Improve Ferdi's design (#977)Libravatar Bennett2020-10-11
| | | Co-authored-by: Amine Mouafik <amine@mouafik.fr>
* Add setting to enable nightly releases updates (#742)Libravatar Bennett2020-10-04
| | | Co-authored-by: Amine Mouafik <amine@mouafik.fr>
* Add FAB to service dashboard (#824)Libravatar Bennett2020-06-21
| | | | | | | | | | | | | | | | | | | * 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
* Add Google Tasks to Todo providers (#695)Libravatar Danny Qiu2020-05-01
| | | Also enhance URL validation
* #577 Keep services in hibernation at startup (#584)Libravatar Bennett2020-04-18
| | | | | | | | | * Add setting to hibernate on startup * Implement service hibernation on startup * Fix lint * Clarify comment
* Minor spelling fixes in README (#552)Libravatar Stefan Koshy2020-04-09
|
* 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>
* #304 Add option to show draggable window area (#532)Libravatar Bennett2020-04-05
| | | | | | | | | * #304 Add option to show draggable window area * Address merge conflicts * Re-apply npm run manage-translations Co-authored-by: Amine Mouafik <amine@mouafik.fr>
* #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>
* add option to disable reload after resume (#447)Libravatar n0emis2020-03-09
| | | | | | * add option to disable reload after resume closes #442 * remove unused property
* Add support for unlocking with Touch ID (#423)Libravatar Bennett2020-03-03
| | | | | | | | | | | | | | | | | | | | | | * Enhance installation guide in README * Add TouchID unlock for Ferdi Lock * Remove commit 8861014 as it is not related to this feature This reverts commit 88610144b942739772286ec3073b328e829a8b39. * Rename TouchID to "Touch ID" * Improve Touch ID prompt text * Improve unlocking with Touch ID * Fix lint * Add separator after lock-related menu entry Co-authored-by: Amine <amine@mouafik.fr>
* Merge branch 'develop' into feat/#270Libravatar vantezzen2020-02-26
|\
| * #153 Add ability to change service icon sizeLibravatar vantezzen2020-02-24
| |
| * Add ability to change sidebar widthLibravatar vantezzen2020-02-24
| |
* | #270 Add more navigation bar behaviour settingsLibravatar vantezzen2020-02-23
|/
* Replace deprecated call to getName, use name insteadLibravatar Amine Mouafik2020-02-21
|
* Update debugger URL to production APILibravatar vantezzen2020-02-12
|
* Merge branch 'develop' into publish-debugLibravatar vantezzen2020-02-12
|\
| * Revert "Change default todo server to todoist"Libravatar vantezzen2020-02-02
| | | | | | | | This reverts commit 422a3dc58691bee14df5a38c25c70532f2ba4262.
* | Fix lintLibravatar vantezzen2020-01-31
| |
* | Merge branch 'develop' into publish-debugLibravatar vantezzen2020-01-31
|\|
| * Change default todo server to todoistLibravatar vantezzen2020-01-31
| | | | | | | | Franz's default Todo application now requires you to use a Franz account to use it. As Ferdi removes the need for a Franz account, switching to Todoist by default will better display that Ferdi Todo can be used with any Todo website the user wants to.
| * Change Sentry reporting to be opt-in onlyLibravatar vantezzen2020-01-31
| |
| * Merge branch 'develop' into start-in-trayLibravatar Bennett2020-01-31
| |\
| | * #179 Add inactivity timerLibravatar vantezzen2020-01-29
| | |