summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
AgeCommit message (Collapse)Author
2017-06-05[style] grammarKali Kaneko (leap communications)
2017-06-05[feat] On bitmaskclt vpn start use the last vpn if no provider is providedRuben Pollan
- Resolves: #8835
2017-06-05[bug] fail bonafide bootstrap for self sign certsRuben Pollan
- Resolves: #8881
2017-06-05[feat] check ca cert fingreprint against provider.jsonRuben Pollan
2017-06-01[refactor] improve error reporting when openvpn not foundKali Kaneko (leap communications)
2017-06-01[refactor] hide mac/linux switch inside process moduleKali Kaneko (leap communications)
2017-06-01[feat] use vpncanary for osxKali Kaneko (leap communications)
2017-06-01[feat] darwin helper commandKali Kaneko (leap communications)
2017-05-31[refactor] factor out installer functionKali Kaneko (leap communications)
2017-05-31[feat] install installers directly if we are rootKali Kaneko (leap communications)
2017-05-31[docs] update vpn readmeKali Kaneko (leap communications)
2017-05-31[bug] fix deprecated import of cryptography multibackendKali Kaneko (leap communications)
- Resolves: #8910
2017-05-30[docs] add notes for osx/windows dev envKali Kaneko (leap communications)
2017-05-24[tests] fix testsKali Kaneko (leap communications)
2017-05-24[refactor] simplify wrapper create and add_msgKali Kaneko (leap communications)
- remove premature optimization for fast-notifies. blobs will cover that, no point in maintaning the optimization at the price of creeping complexity.
2017-05-24[bug] fix sending mail error from pixelatedKali Kaneko (leap communications)
- Create the 'Sent folder' ourselves to avoid pixelated hitting a bug in mailbox creation. - I believe there's still a problem with bitmask desing for the adaptor (in get-or-create mailbox). This needs further tests. - Case manipualation to avoid having a 'Sent' and 'SENT' folder when Thunderbird and Pixelated write to those. - Further hacks to monkeypatch the leap-mail-adapter that Pixelated uses (make them reuse the account instance!). This is getting insane, I am really looking forward to the fork. - Duly note our technical debt in the area of Pixelated integration. Keeping the Pixelated codebase untouched for a long time will backfire. As far as I've noticed, we have a basic violation of the assumptions about a single-instance writes and notifications to all listeners. As commented in the commit, this should go either for a guarantee that only one account object is created per user (creating it in the bootstrapping process in bitmask), or for the opposite direction in which the listeners are communicated in some other way (zmq events, for instance). - In any case, it's strongly recommended to deduplicate the Pixelated libraries as soon as possible and make Pixelated use a better defined set of Bitmask's public apis. - Modify the wrapper create methods so that they return the modified wrapper itself. - Resolves: #8903, #8904
2017-05-23[feature] enable vpn by default, yeahKali Kaneko (leap communications)
2017-05-22[bug] fix lxpolkit pathKali Kaneko (leap communications)
2017-05-22[feat] port the polkit agent launcherKali Kaneko (leap communications)
this commit is porting the polkit launcher from the legacy bitmask client. if no polkit authentication agent is running, it will try to run one that is found in the system. - Resolves: #8836
2017-05-22[refactor] remove env codeKali Kaneko (leap communications)
no need to setup LD_LIBRARY_PATH anymore, we're shipping a static binary.
2017-05-22[bug] use openvpn from bundleKali Kaneko (leap communications)
2017-05-22[pkg] install and use static openvpn from bundleKali Kaneko (leap communications)
2017-05-17[refactor] define class only if we are importing pixelatedKali Kaneko (leap communications)
2017-05-16[bug] use correct api uriKali Kaneko (leap communications)
Allows to upload a key to providers that use a different api uri than api.provider.net - Resolves: #8868
2017-05-16[refactor] cleanupKali Kaneko (leap communications)
2017-05-16[bug] allow incoming mail to be properly notified to pixelatedKali Kaneko (leap communications)
If we do fast-notifies with pixelated running, the poll notifications for new mail on inbox break on pixelated side, because the email is not ready. - Related: #8798
2017-05-16[bug] fix notification for incoming mail with several listeners registeredKali Kaneko (leap communications)
When setting the listeners in the IMAP Folder, we avoid setting more than one listener for the same imap mailbox (because in some situations we were registering way too many listeners). this was making the pixelated inbox registering the notification and therefore the imap mailbox not being registered. this MR also refactors the way pixelated is initialized, so that it avoid creating a second Account instance. In this way, we make sure that the pixelated mua and the imap server share the same collections for a given mailbox, and therefore any of the two is able to get a notification whenever the other adds a message to the mailbox. - Resolves: #8846, #8798
2017-05-12[bug] return ok from a succesful provider deleteRuben Pollan
2017-05-12[bug] make global the provider bootstrap deferredsRuben Pollan
- Resolves: #8884
2017-05-11[feat] add provider to the cliRuben Pollan
2017-05-11[bug] return core status as json instead of stringRuben Pollan
- Resolves: #8886
2017-05-11[bug] pass the print_json flag to the vpn cliRuben Pollan
- Resolves: #8887
2017-05-07[refactor] rename pixelated moduleKali Kaneko (leap communications)
2017-05-04[bug] Pass the right representation for the autoconf param from the cliKali Kaneko (leap communications)
In the previous commit 73fe341 the autoconf param for authentication calls was changed to 'True', so the cli has to send the right representation.
2017-05-04[bug] correctly handle authenticate's autoconf parameterSimon Fondrie-Teitler
This fixes two bugs with handling the autoconf parameter: - It looks for "True" instead of "true" in the dispatching code to account for json.dumps() converting true into a boolean and str() returning the python-style capitalized version "True". - It moves the initial definitions of offirst_bootstrap, ongoing_bootstrap, and stuck_bootstrap into the class instantiation method so they don't get shared between instances of the class. Previously, this caused one instance being bootstrapped to causes other instances to think they were also actively being bootstrapped. Resolves #8843
2017-05-04[bug] Properly format string formattingSimon Fondrie-Teitler
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-05-02[style] remove unused importsRuben Pollan
- Resolves: #8873
2017-05-02[bug] set a non-None value for configuration defaultsRuben Pollan
None is recognized as not-default and gives an error if the searched config value is not present in the config file. This was provoking an error with manhole not being configured.
2017-05-01[bug] remove remanents of IMAP profiling codeRuben Pollan
- Resolves: #8870
2017-05-01[feature] streamline and move manhole into coreKali Kaneko (leap communications)
2017-04-30[style] remove unused logger from vpnRuben Pollan
2017-04-27[style] pep8 fixesKali Kaneko (leap communications)
2017-04-27[bug] do not assume we got a listenerKali Kaneko (leap communications)
2017-04-27[bug] unify logging style using class attrKali Kaneko (leap communications)
I changed most of the logger statements to use a class attribute, in this way it's easier to identify which class it's logging them. in some cases I leave a module-level logger, when we're either using functions or when the module it's too small. at the same time I did a general review and cleanup of the logging statements.
2017-04-27[bug] wait more for pixelated to startKali Kaneko (leap communications)
2017-04-27[bug] migrate all failures to twisted loggerKali Kaneko (leap communications)
2017-04-27[bug] catch failures with newer twisted loggerKali Kaneko (leap communications)
the migration from the stdlib python's logger to twisted logger is unable to format properly the failures unless the call is adapted - Related: #8849
2017-04-27[bug] use argv for the argparse prog name in the cli UserRuben Pollan
- Resolves: #8829
2017-04-21[bug] report global connecting state for vpn when user startedKali Kaneko (leap communications)
- Resolves: #8850