summaryrefslogtreecommitdiff
path: root/pkg/backend/api.go
AgeCommit message (Collapse)Author
2021-11-30[bug] avoid location corner casekali kaneko (leap communications)
2021-11-30[bug] initialize bitmask with persisted udp optionkali kaneko (leap communications)
2021-11-29[feat] expose snowflake in preferenceskali kaneko (leap communications)
it will be disabled if Tor not present, for now
2021-11-23[pkg] add providers.json, fix buildkali kaneko (leap communications)
2021-11-23[pkg] allow multi-providerkali kaneko (leap communications)
2021-11-23[feat] pass udp flag to bitmask-rootkali kaneko (leap communications)
2021-11-23[feat] persist obfs4 & udp prefskali kaneko (leap communications)
2021-06-01[feat] restrict locations to selected transportkali kaneko (leap communications)
2021-06-01[feat] obfs4 selectable from guikali kaneko (leap communications)
2021-06-01[feat] expose set transportkali kaneko (leap communications)
webapi mainly for tests, but it's usable too
2021-05-17[bug] make the gw selection more responsivekali kaneko (leap communications)
2021-05-04Add a proper reconnection mechanismRuben Pollan
2021-05-04Location selection more responsiveRuben Pollan
2021-05-04Let's rename the API to use location instead of gatewayRuben Pollan
2021-05-04[feat] expose gateway selector in guikali kaneko (leap communications)
2021-05-04[feat] expose gateway selection in webapikali kaneko (leap communications)
2021-03-11[bug] fail gracefully on connection initialization errorskali kaneko (leap communications)
There's some corner cases that were very badly captured. On the first place, it's confusing to quit on connection errors. Secondly, a side-effect of aborting the initialization of the bitmask object was a semi-random segfault when trying to access the object. Here I pass any connection errors to the gui, but leave to the user to quit the app. This probably will need more work when we want to terminate the app on unrecoverable errors (no polkit, etc...), but for now it makes the systray much more usable. - Resolves: #465
2021-03-11[bug] inform backend when donate dialog is shownkali kaneko (leap communications)
a rather annoying bug, since it keeps popping up for every status change. to be included in a hotfix for 0.21.2 release. - Release: 0.21.2 - Closes: #459
2020-10-13[feat] improve error handling during loginkali
2020-10-08[bug] don't crash on quit if no autostartRuben Pollan
2020-09-30[feat] remove the donation dialog if not set in the providers.jsonRuben Pollan
- Resolves: 336
2020-09-25[refactor] grab appname from providers.jsonkali kaneko (leap communications)
2020-09-24[feat] send cmd flags to the go backendRuben Pollan
Also disable autostart if manual quit, remove custom printer that was used for i18n and disable previous autostart if -disable-autostart We didn't disable autostart after the migration to qt. - Resolves: #355 #289
2020-09-16[bug] accept corrupted pid filesRuben Pollan
A corrupted pid file, or a file that contains something else than a pid number used to block bitmask-vpn from launch. Now if the file contains something that is not expected it will log it and rewrite it. I refactor de code so the pid file will be released on quit instead of initialization. - Resolves: #349
2020-09-08[feat] be more precise when login gives 502kali kaneko (leap communications)
2020-09-08[feat] lookup the config vars at runtimekali kaneko (leap communications)
- Resolves: #326
2020-09-08[bug] pass json as bytes to go sidekali kaneko (leap communications)
2020-08-20[feat] reset notificationkali kaneko (leap communications)
2020-08-20[feat] reset errorkali kaneko (leap communications)
2020-08-20[bug] anon needs no credentialskali kaneko (leap communications)
2020-08-20[feat] login feedbackkali kaneko (leap communications)
- Resolves: #334
2020-08-20[pkg] add float-deployed demo libpvn for testsRuben Pollan
2020-08-13Quit if there was an initializaton errorRuben Pollan
Let's close properly without segfaults :)
2020-08-13Unblock is not needed switch off does unblock bitmaskRuben Pollan
2020-08-11[refactor] simplify, make port optionalkali kaneko (leap communications)
2020-08-11[feat] first simplistic implementation of a rest apikali kaneko (leap communications)
It lacks authentication, and I need to debug a segfault/abort when quitting. But kind of useful for demonstration purposes.
2020-08-11[refactor] use qt argument parsingkali kaneko (leap communications)
2020-06-26[test] minimal qml testskali kaneko (leap communications)
just a minimal boilerplate. the idea is to import the qml files and assert that the states/widgets change accordingly if we mock the backend status. - Closes: #300
2020-06-26[refactor] remove silly functionkali kaneko (leap communications)
2020-06-26[refactor] cleanup function was unneededkali kaneko (leap communications)
2020-06-26[refactor] several simplifications after reviewkali kaneko (leap communications)
- simplify notification routine (we dont need no rejected action). we just check every hour, as in the original code. - open links directly from Qt - rename some global variables to make them less cryptic - move cleanup function to the same module that created them
2020-06-26[feat] cleanup temp dirs on quitkali kaneko (leap communications)
2020-06-26[feat] re-implement donation reminderskali kaneko (leap communications)
first pass on giving functionality to the donation reminder
2020-06-12[refactor] reorganize backend in its own modulekali kaneko (leap communications)
Signed-off-by: kali kaneko (leap communications) <kali@leap.se>