summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-11[bug] get user parameter in the key commandsKali Kaneko (leap communications)
This has been previously encapsulated in a dict, and the commands were not modified accordingly. I'm adding some very basic test for the KeymanagerService public api contract. - Resolves: #8577
2016-11-11[bug] fix cli autostartKali Kaneko (leap communications)
this reverts the refactoring made at 596f1f8 it seems it is now allowed to call a function that yields from inside as part of an inline deferred.
2016-11-09[feature] serve UI as an hidden serviceKali Kaneko (leap communications)
you need to configure onion = True in the services config. for sure, this is gonna be more interesting when we ship pixelated. but for now I thought it can be handy for testing ui changes: no need to bundle, just use your tor browser :) still need to try to serve imap/smtp over the onion service. kudos to meejah for this super-usable library!
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-08ui: disable account remove button when appropriateelijah
2016-11-08ui: auto-initialize provider when logging in from the greeterelijah
2016-11-08ui: allow removing accountselijah
2016-11-07ui: add initial addressbook panelelijah
2016-11-06[feat] add '-v' optiondrebs
2016-11-06[feat] allow verbose flag when autostartingdrebs
2016-11-06[feat] increase verbosity using command linedrebs
2016-11-06[feat] allow for decreased verbositydrebs
2016-11-06[bug] properly format failure for logging on errbackdrebs
2016-11-06[feat] change update period with environment variabledrebs
2016-11-04[tests] do not mock failuresKali Kaneko (leap communications)
in the variant that was merged, we call a failure method to get the exception, so it's better to test a real failure initialized with an exception. besides, I'm starting to hate mocks.
2016-11-04[docs] add tulio to authorsKali Kaneko (leap communications)
2016-11-04[doc] fix typoTulio Casagrande
2016-11-04[bug] add tests for outgoing serviceTulio Casagrande
This commit originall contained a fix for a wrong variable name that avoided the outgoing service to be launched. This had been fixed in a concurrent mr that got merged before this one. However, this MR contained a couple of tests for the OutgoingService, and I'm merging those tests now.
2016-11-04[tests] remove npm steps from generic build in the CIKali Kaneko (leap communications)
this takes too long. if we want to test the ui npm build, we probably should do it only when we touch anything under ui/*
2016-11-04[bug] extend the list of argsKali Kaneko (leap communications)
otherwise, we were appending a list as the last element of the list.
2016-11-03[tests] _insert_key_docs is a deferredVictor Shyba
Missing yield from _insert_key_docs, which returns a Deferred, was causing tests to fail.
2016-11-03[bug] message can also be a BytesIOVictor Shyba
Twisted 16.5 sends a BytesIO as message, which was unexpected in this types list.
2016-11-03[docs] add a fixme for the scrypt workaroundKali Kaneko (leap communications)
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-10-21[bug] capture the exception value properlyKali Kaneko (leap communications)
this looks like a careless migration to twisted failures. who knows how long this was like this, this should be covered by tests.
2016-10-21[bug] fix yet another logger syntax errorKali Kaneko (leap communications)
2016-10-21[bug] workaround around scrypt.encrypt() failure in windowsKali Kaneko (leap communications)
scrypt raises a "unable to get salt from /dev/urandom" error when using encrypt method in windows. this is a quick workaround for obfuscating the uuid map, but it needs to be carefully reviewed as per the security implications (i'm using the hostname to salt the key hashing). doing this, I contemplated the possibility that the scrypt encryption we were using could be flawed, since the payloads can be easily guessed. so, take this with a pinch of salt (haha), and let's review it for the future. as always, this was in a rush trying to bring windows support.
2016-10-21[bug] fallback to python-gnupg as a workaroundKali Kaneko (leap communications)
currently windows 7 support is broken with gnupg.
2016-10-21[bug] fail gracefully if cannot find cert fileKali Kaneko (leap communications)
2016-10-21[bug] avoid choking with some failuresKali Kaneko (leap communications)
2016-10-21[bug] avoid passing posix-only args to twistd on windowsKali Kaneko (leap communications)
2016-10-21[feat] add path for windows bundleKali Kaneko (leap communications)
2016-10-21[bug] use tcp endpoint for windowsKali Kaneko (leap communications)
2016-10-21[bug] fail gracefully for non-posix importKali Kaneko (leap communications)
2016-10-21[pkg] native pyinstaller packagingKali Kaneko (leap communications)
2016-10-20[bug] add missing importKali Kaneko (leap communications)
2016-10-19[docs] include leap commit template from the docsKali Kaneko (leap communications)
2016-10-19[style] pep8Kali Kaneko (leap communications)
2016-10-19[docs] add denis to authorsKali Kaneko (leap communications)
2016-10-19[bug] Fix warning logging.Denis Costa
Following Twisted documentation, I found out that the warning method doesn't exist on logger class. That class has warn method instead. And I got a error because of that. https://twistedmatrix.com/documents/16.4.1/api/twisted.logger.Logger.html
2016-10-19[feat] leap.mail: expose content charset as a separated attributeNavaL
Before we used to have content_doc.content_type = 'text/plain; charset="utf-8"'. Currently, we have content_doc.content_type = 'text/plain'. This change will give us, on top of that: content_doc.charset = 'utf-8'. One can reconstruct the original one using .content_type and .charset.
2016-10-19[pkg] re-add scripts to build openvpn and gnupg binariesKali Kaneko (leap communications)
2016-10-19[pkg] change uploadKali Kaneko (leap communications)
2016-10-19[pkg] bump bundle versionKali Kaneko (leap communications)
2016-10-19[pkg] disable openvpn for windows bundle for nowKali Kaneko (leap communications)
Also, add a variant to keep the docker builds around, bandwidth is expensive in some parts of the world.
2016-10-19[style] some minor naming changes; lintingKali Kaneko (leap communications)
2016-10-19[pkg] reproducible windows installer for bitmask_clientPaixu Aabuizia
Port of paixu's original commit 0a5d24d64b5f637038a15b01bbe1b3d4bf4108f2 in the legacy bitmask_client repo. Refs: 0.9.1-85-g0a5d24d - provide a environment that allows automated builds of windows installers - prepare dockerized environment with wine, python, openssl, zlib and mingw to build windows binaries from python sourcecode - prepare dockerized environment with nullsoft installer to build installers from binaries - configure pyinstaller to build binaries - configure nsis to build distributable executables for bitmask - configure make all in pkg/windows that results in installers - add documentation - ico conversion from data/images - avoid polluting / in docker image - install dirspec and copy to wine env - remove obsolete comments - fix python path - figure out that pip install leap.a and pyinstalling a leap.b does not work - so the build script fixes that - rename dependencies to pyinstaller and move nsis code to installer - build openvpn, export the binaries for further processing - correct openvpn dependencies, fetch tap installer compatible with openvpn just built - install tap-driver with nsis - pyinstaller-build: fix mixed mkdir / show errors if there are some - installer-build: prepare rw-copy, do not expose nsh files - add openvpn_leap.exe to install directory so it gets picked up by nsis - use setup.py to install bitmask to site-packages to have a version - separate build directories for granular make - copy all openvpn dlls to installer - die to signal failure to parent makefile - cache installDependencies for quick turn-arround times - share openssl version between openvpn and pysqlcipher/other pip builds - collect files during prepare for installer - default to eip:false, mail:true - configuration in pyinstaller-build.sh - win64 tap drivers need special care getting removed from 32bit nsis - correct registry key that identifies if we installed TAP - extract version from git-tree, expose to wine python - create nsh with version for build installer - allow clean/dirty version with patches - cleanup / indent / remove comments - die when pysqlchipher patch failed - add psutil in mingw compatible version
2016-10-17[docs] add gitlab build badgeKali Kaneko (leap communications)
2016-10-17[bug] use twisted.logger and fix logging namespacedrebs