summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/app.py
AgeCommit message (Collapse)Author
2018-03-28[feat] make autostart app name and exec path configurableRuben Pollan
Use sys.argv[0] as exec path instead of hardcode 'bitmask', and let anonvpn be called RiseupVPN. - Resolves: bitmask-systray#19
2018-03-28[refactor] remove unused importsRuben Pollan
2018-03-28[refactor] move platform constants into leap.bitmaskRuben Pollan
The IS_${platform} constants are used in more places than the vpn module. Let's define them in leap.bitmask.
2018-02-15[bug] remove stale pidfileKali Kaneko
- Resolves: #9229
2018-02-15[style] pep8Kali Kaneko
2018-02-15[feat] implement fallback to webkit for bundlesKali Kaneko
in the end, depending on webengine didn't seem to be such a great idea: it makes bundles more complex, heavy and brittle. I tried compiling qt5 and the maintained qtwebkit fork, but that had also its own set of problems (lastly, pyinstaller didn't work properly; pyqt also adds a lot of garbage even if you disabled lots of modules you don't need). so, this is a fallback to a stretch-based build. it fixes the libGL library by adding the right version into the bundle. in this commit I also add a dockerfile for an image that can build bundles by installing pip dependencies directly in the system. this has the advantage that the build process is very fast, but the downside that a new image needs to be pushed to the registry each time that new dependencies are added; we'll also miss any bug due to introducing new dependncies (but hopefully it will be catched by other steps in the CI). The good side of it is that it reduces the need for some hacks in the build process when bundling from a virtualenv.
2018-02-15[feat] help string for bitmask guiKali Kaneko
- Resolves: #8794
2018-01-25[feat] implement --nowindow flag to display only systrayKali Kaneko
for some usages, specially with autostart enabled, user might want to launch only the systray. this commit implements a simple ``--nowindow`` switch that just avoids showing the main window for now. in the future, we can have a different entrypoint that just launches bitmaskd and a minimal systray widget. I'm not documenting this feature properly since I think this is still missing some functionality: the ability to switch on and off the vpn, and the ability to pass the --autostart as a flag to the bitmask entrypoint.
2018-01-06[style] pep8Kali Kaneko
2018-01-06[refactor] webengine entrypointKali Kaneko
this commit deprecates qtwebkit usage.
2018-01-06[refactor] factor out common functionsKali Kaneko
used from both entrypoints for linux and mac apps.
2017-12-08[style] pep8Kali Kaneko
2017-12-08[feat] osx systray with pyqt5Kali Kaneko
2017-11-03[feature] set windows titleKali Kaneko
2017-11-02[docs] add todo about proper event integration with systrayKali Kaneko
2017-11-02[bug] really close if the user pushed the close buttonKali Kaneko
2017-11-01[feature] restore with double-clickKali Kaneko
2017-11-01[feature] minimize to systrayKali Kaneko
2017-11-01[docs] document systray in changelogKali Kaneko
- Resolves: #9094
2017-11-01[feature] add tooltipKali Kaneko
2017-11-01[feature] display vpn status on systrayKali Kaneko
2017-11-01[feat] add new assets for iconsKali Kaneko
2017-11-01[feature] first stub for the systrayKali Kaneko
2017-08-14[style] pep8Kali Kaneko
2017-08-14[pkg] fallback to pyqt-webkit if webengine not foundKali Kaneko
2017-08-14[feat] use webengine instead of webkituser1
2017-05-30[docs] add notes for osx/windows dev envKali Kaneko (leap communications)
2017-05-03[bug] include bitmask_helpers into the frozen binaryRuben Pollan
The bundled version of bitmask is unable to find the bitmask_helpers binary. Let's include it as part of the frozen binary generated by pyinstaller. - Resolves: #8862
2017-04-20[bug] wait a bit in case the authtoken has not being written yetKali Kaneko (leap communications)
2017-04-20[bug] add icon to windowKali Kaneko (leap communications)
The icon it was introduced and then deleted by mistake on the recent window refactor after pixelated integration. - Resolves: #8826
2017-04-19[bug] remove previous auth tokenKali Kaneko (leap communications)
- Resolves: #8823
2017-04-19[feature] expose method to open url from jsKali Kaneko (leap communications)
- Resolves: #8838
2017-04-19[feature] expose gui shutdown to jsKali Kaneko (leap communications)
- Resolves: #8837
2017-03-05[bug] load after exporting the objectKali Kaneko (leap communications)
2017-03-05[feature] pixelated UA integrationKali Kaneko (leap communications)
a bit hacky and all, but this should launch the service and allow interacting from the default site (localhost:9090). this is the first example of a pyqt-js bridge, it's an interesting mechanism that we can use more in the future. no efforts made so far in authenticating the app.
2017-02-24[feature] require authentication token for apiKali Kaneko (leap communications)
implements a global auth token for the app. this token is written to .config/leap/authtoken, and passed to the anchor part of the landing URI when opening the index resource by the browser. - Resolves: #8765
2016-12-07[bug] always set verbose flag for bundlesKali Kaneko (leap communications)
2016-12-07[feature] add icon to the windowKali Kaneko (leap communications)
- Resolves: #8676
2016-11-09[ci] generate bundle from gitlab runnerKali Kaneko (leap communications)
some hacks needed, it seems pyinstaller is choking again on namespace packages for some reason that is beyond my current comprenhension.
2016-11-03[style] pep8 fixesKali Kaneko (leap communications)
2016-10-21[feat] fallback support for PySideKali Kaneko (leap communications)
basically, I give up trying to compile pyqt5 for python2. not worthy. fortunately, the api changes are minimal so we can support two. the way forward should be Py3. still some bugs with rendering the viewport. trying to help that, I introduced the web inspector, use DEBUG=1 flag to have it visible.
2016-09-27[feature] catch SIGINT from guiKali Kaneko (leap communications)
2016-09-27[feature] allow the frozen binary to function as cli tooKali Kaneko (leap communications)
2016-09-27[feature] launch backend from the qt gui entrypointKali Kaneko (leap communications)
2016-09-27[bug] launch backend from guiKali Kaneko (leap communications)
2016-09-06[feature] webkit window serving bitmask-jsKali Kaneko (leap communications)