Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
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
|
|
|
|
squashed in this commit: reintroduce the dummy autostart_win implementation that was
removed by mistake. I did not manage to get autostart working in
windows, this is pending to be re-worked. see https://0xacab.org/leap/bitmask-vpn/-/issues/389
|
|
it seems this was an attempt to make this injectable for tests, but it
can work by changing config variables too.
|
|
|
|
|
|
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
|
|
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
|
|
|
|
|
|
- Resolves: #326
|
|
- Resolves: #334
|
|
Be able to check if it needs auth and then be able to login. Use the
logged in token for fetching the cert.
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
bitmaskd: so long and thanks for all the fish!
Signed-off-by: kali kaneko (leap communications) <kali@leap.se>
|
|
|
|
Make possible to disable the autostart configuration for the next run. I
can be done by configuring "DisableAustostart" to true in the
systra.json or by passing the '-disable-autostart' flag to the binary.
To make that possible I have rework how the Config struct work
separating the file configuration with the runtime configuration.
- Resolves: #100
|
|
|
|
Let's use a more structured folder system:
https://github.com/golang-standards/project-layout
- Resolves: #99
|