summaryrefslogtreecommitdiff
path: root/pkg/backend/init.go
AgeCommit message (Collapse)Author
2021-12-01[feat] disable autostartkali kaneko (leap communications)
we've agreed that the autostart behaviour can be unexpected; we'll expose the ability under preferences (it can be controlled via cli right now).
2021-11-30[bug] initialize bitmask with persisted udp optionkali kaneko (leap communications)
2021-11-24[feat] hook motd during bootstrapkali kaneko (leap communications)
some refactor, plus fix docs
2021-11-23[feat] persist obfs4 & udp prefskali kaneko (leap communications)
2021-11-23[ui] refactor uikali kaneko (leap communications)
2021-06-22[bug] populate gateways early onkali kaneko (leap communications)
- Closes: #511
2021-06-01[bug] abort if cannot acquire pidkali kaneko (leap communications)
2021-05-04Get the list of locations as soon as possibleRuben Pollan
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
2020-10-02[bug] remove apiURL from bonafidekali kaneko (leap communications)
it seems this was an attempt to make this injectable for tests, but it can work by changing config variables too.
2020-09-30[feat] remove unused config optionsRuben Pollan
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] lookup the config vars at runtimekali kaneko (leap communications)
- Resolves: #326
2020-08-20[feat] reset notificationkali kaneko (leap communications)
2020-08-20[feat] reset errorkali kaneko (leap communications)
2020-08-13Quit if there was an initializaton errorRuben Pollan
Let's close properly without segfaults :)
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[feat] pass initialization errors to guikali kaneko (leap communications)