aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
Commit message (Collapse)AuthorAge
* Matched casing for almost all replacementsLibravatar Aditya Mangalampalli2022-04-16
|
* Remove try/catch in getRecipePackageLibravatar kytwb2022-01-07
|
* Use window.fetch in getRecipePackage, removes electron-fetchLibravatar kytwb2022-01-07
|
* Revert "Removed straggling code related to popular services."Libravatar kytwb2022-01-02
| | | | This reverts commit a9c1abc6f11cb193388fad505c0304f1efe60a30.
* chore: convert various files to TS (#2246)Libravatar Markus Hatvan2021-11-18
| | | | | | * convert various files to TS * removed outdated docs/example-feature folder * turn off unicorn/no-empty-file * update eslint config
* chore: update eslint deps to latest (#2213)Libravatar Markus Hatvan2021-11-12
| | | | | - update eslint deps to latest - disable new react/function-component-definition rule - fix/disable newly reported issues
* chore: remove all code related to news (#2069)Libravatar Markus Hatvan2021-10-14
|
* chore: replace deprecated du with fast-folder-size (#2050)Libravatar Markus Hatvan2021-10-12
|
* refactor: use correct datatypes in ts filesLibravatar Vijay A2021-10-03
|
* chore: convert various files from JS to TS (#2010)Libravatar Markus Hatvan2021-10-02
|
* refactor: split 'environment' into 'environment-remote' with only the remote ↵Libravatar Vijay A2021-10-01
| | | | | | module dependency (might be a pre-requisite for the electron v14 upgrade)
* refactor: move 'asarRecipesPath' into 'asar-helpers'Libravatar Vijay A2021-10-01
|
* refactor: remove references to 'electron/remote' - part deux (#1987)Libravatar Vijay Aravamudhan2021-09-26
|
* fix: fix issue with new API of 'du' npm moduleLibravatar Vijay A2021-09-25
|
* fix: remove reference to '@electron/remote' module (#1967)Libravatar Vijay Aravamudhan2021-09-19
|
* feat: add eslint-plugin-unicorn (#1936)Libravatar Markus Hatvan2021-09-14
|
* chore: codebase improvements (#1930)Libravatar Markus Hatvan2021-09-14
|
* refactor: add debug statements [skip ci]Libravatar Vijay A2021-08-21
|
* refactor(cleanup): remove code that refers to paid subscriptionLibravatar Vijay A2021-08-21
| | | | (since we are always premium/free)
* chore: typescript conversion of some minor utilitiesLibravatar Vijay A2021-08-15
| | | | Also removed 'targz' unused package from runtime.
* 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
| |