aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAge
* chore: Refactoring to reuse already defined constantsLibravatar Vijay A2021-08-13
|
* cleanup: Removed commented out code [skip ci]Libravatar Vijay A2021-08-12
|
* fix: fix the changelog api to handle nightly buildsLibravatar Vijay A2021-08-08
|
* 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/
* 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
* refactor: general code improvementsLibravatar mhatvan2021-08-05
| | | | | | | | | | - replace deprecated fs.exists with fs.existsSync - replace console.log with debug - replace hardcoded FERDI_VERSION in start.js with dynamic one from package.json - correct JSDoc annotations in Handler.js - simplify macOSPermissions.js - updates to various eslint rules - add FileReader to known globals
* refactor: minor refactoring: solve name-clash of env vars vs vars in the programLibravatar Vijay A2021-08-05
|
* fix: Clear cache button should not log out of servicesLibravatar mhatvan2021-08-04
| | | | - remove cookies and localstorage from session.clearStorageData() in LocalApi.js
* Removed straggling code related to 'popular services'.Libravatar Vijay A2021-08-03
|
* 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.
* Removed references to png images since they were not being used anyways.Libravatar Vijay A2021-07-06
|
* 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)
* Reused commonly defined method for 'apiBase'Libravatar Vijay A2021-06-05
|
* Replace 'remote' with 'electron/remote' (#1448)Libravatar Vijay Raghavan Aravamudhan2021-05-26
| | | * Locked new version of 'recipes' submodule with corresponding changes.
* Use X-Franz headers to talk to the server (#1429)Libravatar Kristóf Marussy2021-05-17
| | | | | | | | | 1fcfccd broke communication with the internal server by using X-Ferdi headers instead of X-Franz headers on HTTP requests. For compatibility reasons, we retain the X-Franz headers insteaf of X-Ferdi headers in the internal server. This commits reverts the change to the headers to restore internal server functionality.
* Changed occurrences of 'Franz' to 'Ferdi' (probably missed earlier while ↵Libravatar Vijay A2021-05-17
| | | | catchup from Franz source). [skip ci]
* 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.
* Proper class name to avoid confusionLibravatar Amine Mouafik2019-12-08
|
* #178 Fetch in-app news from Ferdi server onlyLibravatar Amine Mouafik2019-10-31
|
* #146 Add possible fix for 1.1.1.1 hackLibravatar vantezzen2019-10-27
|
* Merge https://github.com/meetfranz/franz into franz-5.4.0-releaseLibravatar vantezzen2019-10-24
|\
| * optimize trial signup flowLibravatar Stefan Malzner2019-10-17
| |
* | Develop local server featureLibravatar vantezzen2019-10-18
| |
* | Merge branch 'release/5.4.0' of https://github.com/meetfranz/franz into ↵Libravatar vantezzen2019-10-02
|\| | | | | | | franz-5.4.0
| * Update clear cache to electron promise APIsLibravatar Stefan Malzner2019-10-02
| |
* | Adding recipes as unpacked assetLibravatar vantezzen2019-09-25
| |
* | Shipping recipe files directly with FerdiLibravatar vantezzen2019-09-25
| |
* | Use ferdi namespace on debuggerLibravatar vantezzen2019-09-12
| |
* | Fix merge bugsLibravatar vantezzen2019-09-07
| |
* | Merge branch 'master' of https://github.com/meetfranz/franz into franz-5.3.0Libravatar vantezzen2019-09-07
|\|
| * WIP: add option to activate trialLibravatar Stefan Malzner2019-08-05
| |
| * Add trial onboarding during signupLibravatar Stefan Malzner2019-07-04
| |
* | LintLibravatar vantezzen2019-08-26
| |
* | Improve apibase functionLibravatar vantezzen2019-08-26
| |
* | LintLibravatar vantezzen2019-08-25
| |
* | Add explanation for usage of 1.1.1.1Libravatar vantezzen2019-08-25
| |
* | Remove news due to logout issuesLibravatar vantezzen2019-08-25
| |
* | Unifying apiBase functionLibravatar vantezzen2019-08-25
| |
* | Fix eslint errorsLibravatar vantezzen2019-08-22
| |
* | Add support to use custom serversLibravatar vantezzen2019-08-22
|/
* Merge branch 'develop' into chore/streamline-dashboardLibravatar Stefan Malzner2019-04-13
|\
| * cleanup console log artifactsLibravatar Dominik Guzei2019-04-12
| |
* | Replace invoices & subscription info with links to websiteLibravatar Stefan Malzner2019-04-08
|/
* refactor server api even moreLibravatar Dominik Guzei2019-03-12
|
* refactor server api to use prepare auth request utilLibravatar Dominik Guzei2019-03-12
|
* add useful helpers for building standalone app featuresLibravatar Dominik Guzei2019-03-12
|
* Fix linting issuesLibravatar Stefan Malzner2018-12-09
|