aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/server/LocalApi.js
Commit message (Collapse)AuthorAge
* chore: typescript conversion of some minor utilitiesLibravatar Vijay A2021-08-15
| | | | Also removed 'targz' unused package from runtime.
* fix: Clear cache button should not log out of servicesLibravatar mhatvan2021-08-04
| | | | - remove cookies and localstorage from session.clearStorageData() in LocalApi.js
* 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>
* Replace 'remote' with 'electron/remote' (#1448)Libravatar Vijay Raghavan Aravamudhan2021-05-26
| | | * Locked new version of 'recipes' submodule with corresponding changes.
* 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.
* 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
| |
* | Use ferdi namespace on debuggerLibravatar vantezzen2019-09-12
|/
* feat(App): Add proxy support for servicesLibravatar Stefan Malzner2018-11-27
|
* Add "Franz" to debug identifiersLibravatar Stefan Malzner2018-11-22
|
* Split settings into multiple stores; app specific settings are now stored in ↵Libravatar Stefan Malzner2018-03-27
| | | | config file
* Replace console logs with debuggerLibravatar Stefan Malzner2018-03-18
|
* fix linting issuesLibravatar Stefan Malzner2018-02-15
|
* Replace localAPI requests with mobx-localstorageLibravatar Stefan Malzner2018-02-15
|
* replace localStorage with mobx-localstorageLibravatar Stefan Malzner2018-02-15
|
* feat(App): Add option to clear app cache (@dannyqiu)Libravatar Stefan Malzner2018-01-03
|
* Add button to clear global cache and all servicesLibravatar Danny Qiu2017-12-29
|
* Add button to clear service cacheLibravatar Danny Qiu2017-12-29
|
* fix mobx issue with settings modelLibravatar Stefan Malzner2017-12-13
|
* Add SettingsModel and fix issue with improper mobx data handlingLibravatar Stefan Malzner2017-11-23
|
* initial commitLibravatar Stefan Malzner2017-10-13