summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core
AgeCommit message (Collapse)Author
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
2017-03-17[feat] report the real status of the VPNRuben Pollan
2017-03-15[bug] don't check the number of unread mails if incoming service hasn't startedRuben Pollan
2017-03-13[feat] emit MAIL_STATUS_CHANGED eventRuben Pollan
2017-03-13[feat] report the status of keymanager in the mail statusRuben Pollan
2017-03-12[bug] remove offline toggledrebs
The offline toggle added a race condition in which the client could end up offline forever. We decided to remove it for now and then decide if soledad client needs to know about network connectivity (check: https://0xacab.org/leap/soledad/issues/8789).
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-03-03[feat] get VPN params from eip-service.jsonRuben Pollan
Instead of hardcoding them in the code.
2017-03-03[bug] use username instead of provider in the vpn callsRuben Pollan
Without active user we need to use the username instead of the provider in the VPN API. - Resolves: #8783
2017-03-03[feat] mail status will only work for a valid useridRuben Pollan
We used to return the system status if no userid is provided. We don't do it anymore, now is only userid based. - Resolves: #8785
2017-02-27[refactor] access soledad client offline state directlydrebs
2017-02-27[refactor] use new soledad client parameterdrebs
- Resolves: #8721
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
2017-02-23[refactor] complete eip -> vpn rename in coreKali Kaneko (leap communications)