aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/LocalApi.js
Commit message (Collapse)AuthorAge
* 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.
* feat(App): Add proxy support for servicesLibravatar Stefan Malzner2018-11-27
|
* Split settings into multiple stores; app specific settings are now stored in ↵Libravatar Stefan Malzner2018-03-27
| | | | config file
* further request cleanupLibravatar Stefan Malzner2018-02-15
|
* feat(App): Add option to clear app cache (@dannyqiu)Libravatar Stefan Malzner2018-01-03
|
* Add button to clear service cacheLibravatar Danny Qiu2017-12-29
|
* initial commitLibravatar Stefan Malzner2017-10-13