aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers
Commit message (Collapse)AuthorAge
...
* 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>
* Removed Franz paid plans features:Libravatar Vijay A2021-07-20
| | | | | | | | - serviceLimit - planSelection - trialStatusBar and other Franz features that were for different tiers of subscription.
* Minor perf tweaks to evaluate capturing of env-specific values only once in ↵Libravatar Vijay A2021-07-15
| | | | the application.
* Use 'useragent-generator' to generate the user-agent string rather than ↵Libravatar Vijay Raghavan Aravamudhan2021-07-12
| | | | manually building it. (#1592)
* Use utility methods from 'electron-util'Libravatar Vijay A2021-07-04
| | | | (already a dependency) rather than re-implementing by ourselves.
* 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>
* Expose Chrome version to todos webview (fix #1211) (#1478)Libravatar Kristóf Marussy2021-06-03
| | | | | | | | | | | | | | | | | * Expose Chrome version to todos webview (fix #1211) The TickTick todo service fails to load if the Chrome version number does not appear in the User-Agent string. However, login to Google Tasks is prevented by the same. We adopt the "chromeless" User-Agent logic from the service webview, which selectively exposes the Chrome version everywhere except the Google login screen. The common logic was moved into the userAgent-helpers module. * Refactor user agent switching * "Chromeless" user agent switching is extracted into a separate model * Both the service and the todos webview uses the same model
* Replace 'remote' with 'electron/remote' (#1448)Libravatar Vijay Raghavan Aravamudhan2021-05-26
| | | * Locked new version of 'recipes' submodule with corresponding changes.
* Method reuse (#1379)Libravatar Vijay Raghavan Aravamudhan2021-05-11
| | | | | * Used already exported common functions to avoid the same logic being repeated. * Use a different package to retrieve the os-name for the 'About Dialog'.
* 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>
* Remove Ferdi string from default user agent (#806)Libravatar Danny Qiu2020-09-22
|
* Update global user agent to conform with spec (#779)Libravatar Danny Qiu2020-05-28
| | | The default user agent string places Electron/8.2.3 inside parenthesis, which is defined as a comment according to https://tools.ietf.org/html/rfc7231#section-5.5.3. However, Electron should instead be specified as a product and formatted with whitespace instead of parenthesis.
* 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>
* Merge https://github.com/meetfranz/franz into franz-5.4.0-releaseLibravatar vantezzen2019-10-24
|\
| * simplify plan selectionLibravatar Stefan Malzner2019-10-15
| |
* | Develop local server featureLibravatar vantezzen2019-10-18
| |
* | Add local server to allow serverlesss usageLibravatar vantezzen2019-10-14
| |
* | Add option to choose hibernation strategyLibravatar vantezzen2019-10-06
| |
* | Add scheduled Do-not-Disturb featureLibravatar vantezzen2019-09-21
| |
* | 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
|\|
| * bugfixing & polishingLibravatar Stefan Malzner2019-09-04
| |
| * remove monthly & yearly namesLibravatar Stefan Malzner2019-08-14
| |
| * Add option to subscribe to trial via account dashboardLibravatar Stefan Malzner2019-08-08
| |
* | Fix eslint errorsLibravatar vantezzen2019-08-22
| |
* | Replace public Franz occurences with FerdiLibravatar vantezzen2019-08-21
|/
* Use same email validation as on the apiLibravatar Dominik Guzei2019-06-06
|
* feat(App): Add security checks for external URLsLibravatar Stefan Malzner2019-03-05
|
* Merge branch 'feature/spellcheck-autodetect' into developLibravatar Stefan Malzner2019-02-12
|\
| * feat(Spell checking): Add option to automatically detect languageLibravatar Stefan Malzner2019-02-08
| |
| * Replace jshashes with node crypto moduleLibravatar Stefan Malzner2019-01-04
| |
* | feat(Windows): Add option to quit Franz from Taskbar iconLibravatar Stefan2019-02-12
| |
* | MergeLibravatar Stefan Malzner2019-01-05
|/
* Fix linting issuesLibravatar Stefan Malzner2018-12-09
|
* Revamp app loadersLibravatar Stefan Malzner2018-12-08
|
* feat(Service): Add option to change spellchecking language by serviceLibravatar Stefan Malzner2018-12-07
|
* Fix linting issuesLibravatar Stefan Malzner2018-11-30
|
* feat(App): Improved spell checker & context menuLibravatar Stefan Malzner2018-11-30
|
* Delay app based on featureAPI settingsLibravatar Stefan Malzner2018-11-24
|
* internationalize validation messagesLibravatar haraldox2018-03-02
|
* fix invite screen [object Object] valueLibravatar haraldox2018-01-19
| | | | mobx-react-form expects nested `fields` property in array
* feat(App): Add option to clear app cache (@dannyqiu)Libravatar Stefan Malzner2018-01-03
|
* Delete session partition with serviceLibravatar Danny Qiu2017-12-29
|
* Remove IME handlersLibravatar Stefan Malzner2017-12-14
|
* fix linting ruleLibravatar Stefan Malzner2017-12-06
|
* Added debug info and sleep in between actionsLibravatar Stefan Malzner2017-12-05
|
* initial commitLibravatar Stefan Malzner2017-10-13