summaryrefslogtreecommitdiff
path: root/src/leap
AgeCommit message (Collapse)Author
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
2017-04-20[bug] wait a bit in case the authtoken has not being written yetKali Kaneko (leap communications)
2017-04-20[feat] add bonafide authentication eventKali Kaneko (leap communications)
- Resolves: #8844
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-20[bug] fix enabling of vpn serviceKali Kaneko (leap communications)
- Resolves: #8845
2017-04-19[bug] stop firewall if was failed closeKali Kaneko (leap communications)
2017-04-19[bug] return clearer errors when no cert foundKali Kaneko (leap communications)
2017-04-19[bug] fail if tried to stop vpn when not runningKali Kaneko (leap communications)
2017-04-19[bug] pass along no polkit errorKali Kaneko (leap communications)
2017-04-19[refactor] use str repr of exceptionKali Kaneko (leap communications)
2017-04-19[style] remove unused assignmentKali Kaneko (leap communications)
2017-04-19[bug] do not fail if error is an intKali Kaneko (leap communications)
2017-04-19[bug] remove previous auth tokenKali Kaneko (leap communications)
- Resolves: #8823
2017-04-19[bug] handle disabled caseKali Kaneko (leap communications)
2017-04-19[bug] improve exception catching in execution loopKali Kaneko (leap communications)
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-04-12[bug] delay initialization of pixelatedKali Kaneko (leap communications)
- Related: #8798
2017-04-06[bug] last_vpn path now is ~/.config/leap/last_vpnRuben Pollan
It used to be in the providers folder, but this was missleading bonafide to list it as a provider. I think it's harder to write work arounds to have this file in this folder than to have it somewhere else. - Resolves: #8818
2017-04-03[feat] add the expiration date of the cert to vpn.checkRuben Pollan
- Resolves: #8807
2017-04-03[feat] add a check for the installation of the helpers to the APIRuben Pollan
- Resolves: #8786
2017-04-03[feat] remove the pinning of VPN extra flagsRuben Pollan
The pinning was removing 'tun-ipv6' wich is a boolean value, there is boolean support in src/leap/bitmask/vpn/launcher.py:232 already. It seems to work fine. - Resolves: #8809
2017-04-03[feat] store what was the last vpn provider usedRuben Pollan
To allow automatic connection to the VPN we are storing the last provider in a file. - Resolves: #8806
2017-03-31[bug] fix usage of exception with twisted loggerKali Kaneko (leap communications)
2017-03-31[bug] Log error in case JSON parsing fails for decrypted docSriram Viswanathan
In addition to the UnicodeError exception in _process_decrypted_doc function, we have added ValueError to the exception list so that we can catch any error in JSON parsing, specially a 'NODATA' error that we were getting with some of the emails. This is in reference to issues - https://github.com/pixelated/pixelated-user-agent/issues/908 & https://github.com/pixelated/pixelated-user-agent/issues/981 - to ignore documents that have this problem and not have Soledad try to sync them again and again. with @deniscostadsc
2017-03-31[bug] fix errBack in _decrypt_doc in incoming mail serviceSriram Viswanathan
with @deniscostadsc