summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
AgeCommit message (Collapse)Author
2018-02-15[bug] fail gracefully on dummy importsKali Kaneko
2018-02-15[bug] fail gracefully if we do not have mail depsKali Kaneko
2018-01-09[bug] do not depend on function if not in scopeKali Kaneko
2017-12-22[refactor] Use sender interface in outgoing serviceRuben Pollan
2017-12-22[bug] fetch the incoming service only if is onRuben Pollan
If you try to fetch the incoming service while it's still starting it throws a KeyError. - Resolves: #9174
2017-12-20[feat] Add msg_status call to the mail APIRuben Pollan
To get the status of a single message providing it's mailbox and message-id. For now it only returns encryption/signature status. - Resolves: #6914
2017-12-20[refactor] rename API add_msg to msg_addRuben Pollan
To have consistency with all API calls related to messages and start all of them with msg_*
2017-10-26[feat] add fetch key by fingerprint to keymanagerRuben Pollan
- Resolves: #9023
2017-10-26[bug] make nicknym return key dataRuben Pollan
There was a mismatch on the return values of Nicknym class and the expectations. As most of the code was expecting an OpenPGPKey, but it was returning the json as it came from the nickserver. Now is just returning the key data.
2017-10-11[style] pep8Kali Kaneko
2017-10-06[feat] use bonafide Provider object as a singletonRuben Pollan
There was common situations where two provider instances where running in parallel. And was creating weird errors (like getting wrong api_uri) because the bootstrap deferreds were global but the Provider objects not. I don't like much singletons, but I think now is simpler than before. - Resolves: #9073
2017-09-13[bug] send UIDNEXT on selectKali Kaneko
node-mail chokes if we don't.
2017-09-10[bug] add the error as an upper level attribute of the dictKali Kaneko
the UI is expecting it there, not inside the result data. we probably could delete it from the later.
2017-08-31[feat] expose an API to set/get/list gateway preferencesRuben Pollan
- Related: #9010
2017-08-31[feat] add the posibility of extracting a section of the configRuben Pollan
So each service can have it's own config section passed to the constructor.
2017-08-30[refactor] change status to "failed"Kali Kaneko
2017-08-30[bug] fail gracefully if cannot import soledadKali Kaneko
- Resolves: #9025
2017-08-24[feat] hardcode some providers to mock that they provide mixnetsRuben Pollan
2017-08-24[feat] add mail.add_msg API callRuben Pollan
- Resolves: #8973
2017-08-24[feat] remove active user from get_tokenRuben Pollan
We need to update the UI to use the new API. - Resolves: #8974
2017-08-24[feat] add a mock mixnet_status call to the APIRuben Pollan
For now we say it will be mixed on every request if the mixnet is enabled. We might want a better mock in the future. - Resolves: #8972
2017-08-11[feature] add vpn list commandKali Kaneko
2017-08-11[feature] automatic vpn gateway selection, based on timezoneKali Kaneko
This is a first approach to automatic gateways selection. More things are missing: - allow manual selection, by location or country code. - take the hemisphere into account. - expose the selected gw to the api/cli but overall seems this is a good approach to make 0.10 release usable in terms of vpn. - Resolves: #8804
2017-08-10[refactor] fail gracefully if some modules not presentKali Kaneko
this allows for better modularization in, for instance, the debian package. we should be able to install just the submodules for the vpn service, or the mail service. a better modularization needs the mail_services under core to be moved to bitmask.mail, and do the switch in the main service module for bitmask daemon.
2017-07-28[bug] change status only when key is generatedKali Kaneko
- Resolves: #8986
2017-07-14[bug] don't raise exceptions stoping the VPN serviceRuben Pollan
Let's also catch the exceptions raised by stopping services so bitmaskd can stop.
2017-06-29[feat] Stop the vpn (and all services) when application is shut downRuben Pollan
- Resolves: #8852
2017-06-15[feat] Add a 'fetch' flag to key exportRuben Pollan
If is set keyamanger will try to discover and download the key. - Resolves: #8821
2017-06-15[bug] only start the child services if they are not runningRuben Pollan
- Resolves: #8921
2017-06-15[bug] fix unread count on mail statusRuben Pollan
- Resolves: #8931
2017-06-12[feat] push private key updates into nicknymRuben Pollan
Deal as well with sending key if key is outdated in the providers nicknym. - Resolves: #8819, #8832
2017-06-05[feat] On bitmaskclt vpn start use the last vpn if no provider is providedRuben Pollan
- Resolves: #8835
2017-05-31[bug] fix deprecated import of cryptography multibackendKali Kaneko (leap communications)
- Resolves: #8910
2017-05-23[feature] enable vpn by default, yeahKali 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[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-11[bug] return core status as json instead of stringRuben Pollan
- Resolves: #8886
2017-05-07[refactor] rename pixelated moduleKali Kaneko (leap communications)
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-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[feature] streamline and move manhole into coreKali Kaneko (leap communications)
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-20[bug] fix enabling of vpn serviceKali Kaneko (leap communications)
- Resolves: #8845
2017-04-19[bug] pass along no polkit errorKali Kaneko (leap communications)
2017-04-19[bug] improve exception catching in execution loopKali Kaneko (leap communications)
2017-04-03[feat] add a check for the installation of the helpers to the APIRuben Pollan
- Resolves: #8786