summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-17[pkg] all your deps are vendored to usKali Kaneko (leap communications)
2019-01-15[test] update snap CI generation to the new snapRuben Pollan
2019-01-15[feat] move provider configuration into a set of constantsRuben Pollan
2019-01-15[feat] add a cli clientRuben Pollan
2019-01-15[feat] move helper into the repoRuben Pollan
2019-01-15[feat] Reorganize codeRuben Pollan
Let's use a more structured folder system: https://github.com/golang-standards/project-layout - Resolves: #99
2019-01-12[feat] reload firewall with SIGUSR1Ruben Pollan
- Resolves: riseup_vpn#46
2019-01-09[feat] use firewall status to check if the vpn is in failed statusRuben Pollan
If openvpn is off, but the firewall is up, we are in a fail-close status and we should report it properly. - Resolves: #97
2019-01-03[i18n] update locales and add bn and lt0.18.12Ruben Pollan
2018-12-21[bug] get vpn cert on vpn startRuben Pollan
Is not uncommon for the systray to be launched without internet access. For example in the autostart if the network hasn't come up yet. Let's fetch the vpn cert when the vpn is starting, instead of in the initialization of the standalone bitmask. So if the initialization happens when there is no network the systray doesn't fail to start. - Resolves: #88
2018-12-21[bug] launch the systray ASAP so notifications workRuben Pollan
The linux version of the notifications library we are using doesn't handle the gtk.main loop. It requires the systray to be running to be able to display a notification. Spliting the start of the systray and the loop we can start the systray pretty early and later on launch the main loop once we have bitmask and other stuff ready. - Related: #88
2018-12-20[feat] add the TLS endpoint for the serviceKali Kaneko (leap communications)
2018-12-19[feat] use geolocated gatewaysKali Kaneko (leap communications)
we try to use the geoip service, and if the answer has an entry for the sorted gateways, we just use it instead of using the timezone heuristic. - Resolves: #84
2018-12-13[bug] correct error message coming from copypastaKali Kaneko (leap communications)
2018-12-12[test] make bonafide more testableRuben Pollan
Get local timezone and http client as configurable things in bonafide, so tests can set them. Also separate integration tests and unit tests.
2018-11-29[pkg] vendor fix for the separator in windows0.18.11Kali Kaneko (leap communications)
2018-11-29[feat] don't need the cancel buttonRuben Pollan
We can do just with two buttons and changing the names.
2018-11-23[feat] set a bigger icon in darwinKali Kaneko (leap communications)
2018-11-23[ci] pkg is under riseup_vpn folderKali Kaneko (leap communications)
2018-11-22[ci] fix path for the installer artifactKali Kaneko (leap communications)
2018-11-21[locales] add dutch translationRuben Pollan
2018-11-21[ci] setup gopath in /tmp/goKali Kaneko (leap communications)
it turns out that "full path" is still a relative path, and therefore not allowed as a GOPATH.
2018-11-21[ci] set gopath to under ci project dirKali Kaneko (leap communications)
2018-11-21[ci] set gopath into homeKali Kaneko (leap communications)
2018-11-19[feat] update translation stringsRuben Pollan
2018-11-19[feat] Generate messages.json for transifexRuben Pollan
Add to 'make generate_locales' the generation of a 'transifex/messages.json' that will be automatically pulled by transifex for translations. To incorporate translations from transifex into our project we'll need to manually download the selected translations and convert them with the transifex program into gotext format. -Resolves: #73
2018-11-14[pkg] add temporary vendoring of getlantern/systray to fix win bugKali Kaneko (leap communications)
this adds upstream PR #74
2018-11-14[feat] make autostart local paths absoluteRuben Pollan
2018-11-14[bug] add the right executable to the snap autostartRuben Pollan
In case of SNAP environment we need to execute the /snap/bin/app.launcher and not os.Args[0]. - Resolves: #82
2018-11-12[feat] select randomly the gateway if the have the same distanceRuben Pollan
This commit includes a hack to prioritize giraffe, a new riseup gateway in europe to reduce the load in the existing node. - Resolves: #81
2018-10-29[bug] revert setting of TMPDIR0.18.10Kali Kaneko (leap communications)
setting TMPDIR attempted to end the noisy error message about using TMP producing non readable messages. however, this produces invisible icons in bionic. See https://0xacab.org/leap/riseup_vpn/issues/44
2018-10-25[pkg] remove vendoring of getlantern/systrayKali Kaneko (leap communications)
after https://github.com/getlantern/systray/commit/5fb0feca3c0677e9fa31e579ff69631f49a379a2 was merged, we don't need to keep using the vendoring of systray. there is some flickering with the stop/start/cancel menu items chening their orderning that still needs to be solved.
2018-10-25[pkg] build snap in the CI from the current codeRuben Pollan
- Resolves: #75
2018-10-25[bug] check the process name to see if the pid file is validRuben Pollan
When there is a pid file from a previous crash, in some situations the pid has being reused by the operative system for other processes. Let's check that the exectuable name maches the name of the systray binary. - Resolves: #50
2018-10-25[feat] store temporary icons in /var/tmpRuben Pollan
- Resolves: #26
2018-10-25[bug] let's not delete the icons until they are not used anymoreRuben Pollan
2018-10-17[ci] lint: remove bogus control charKali Kaneko (leap communications)
2018-10-16[ci] lint gitlab-ci.yamlKali Kaneko (leap communications)
2018-10-16[ci] osx builderKali Kaneko (leap communications)
2018-10-11[feat] use white icon on windowskali
- Resolves: #64
2018-10-10[feat] improve readability of errorsRuben Pollan
Let's not report 'bitmaskd is not running' in standalone mode. - Resolves: #35
2018-10-11[feat] get version from filekali
if we're running from snap, we take the version string from a file in the snap folder. the version.sh script is executed during the creation of the snap, and is expected to write a version.txt file in the snap/ folder.
2018-10-10[feat] systray linux: unlink temp files as soon as they are in useRuben Pollan
Stop generating one file in /tmp for each icon change. Let's move the clean up to the set icon instead of waiting for the quit clean up. Unlink will remove the file from /tmp, but app_indicator will hold a descriptor until it finishes with it. This is a cherry-pick from a pull-request upstream: https://github.com/getlantern/systray/pull/63 - Resolves: #60
2018-10-10[pkg] make standalone the default buildRuben Pollan
2018-10-08[bug] fix gateway selection by timezoneRuben Pollan
Go time library returns the timezone offset in seconds and we where using it as hours. - Resolves: #72
2018-10-03[ci] fix typo in image pathKali Kaneko (leap communications)
2018-10-02[ci] change path for registryKali Kaneko (leap communications)
2018-10-01[ci] use our own docker image for building systrayKali Kaneko (leap communications)
see the dockerfile in riseup_vpn/docker, that's uploaded to leap's docker registry.
2018-09-26[pkg] vendor getlantern/systraykali
this is a workaround for riseup_vpn#28
2018-09-18[bug] println doesn't need string formatingRuben Pollan