summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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[docs] format typoKali Kaneko (leap communications)
2017-05-22[tests] add lxpolkit to the test-docker depsKali Kaneko (leap communications)
this is an attempt to debug the failure of the vpn e2e test on the works. if this commit makes the test pass, it means that we need to capture the "no polkit authentication agent running" in a more meaningful way.
2017-05-22[tests] add openvpn and mocha to docker test containerKali Kaneko (leap communications)
2017-05-22[docs] add e2e and ui tests to readmeKali Kaneko (leap communications)
2017-05-22add prop-types to requirementsSimon Fondrie-Teitler
2017-05-22add test running to ui MakefileSimon Fondrie-Teitler
2017-05-22[refactor] refactor and add tests for Center and ConfirmationSimon Fondrie-Teitler
As a couple of initial, example tests, Center and Confirmation were refactored and tests were set up and added with mocha, enzyme and chai. Spinner was also refactored.
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] more precise depsKali Kaneko (leap communications)
2017-05-22[pkg] install and use static openvpn from bundleKali Kaneko (leap communications)
2017-05-22[pkg] update openvpn build scriptKali Kaneko (leap communications)
2017-05-19[pkg] some naming changes to ui MakefileKali Kaneko (leap communications)
2017-05-19[bug] Don't update VPN status component for wrong domainSimon Fondrie-Teitler
Previously, if the active VPN was in the connecting state and the VPN status component for another account was rendered the status for the new account would show as connecting. This was because it didn't check the domain returned from the status endpoint when parsing the returned data and setting "connecting" as the status. We can safely assume that a non active VPN is in the "down" state, so that's what this commit does.
2017-05-19[tests] get invite code from env variableKali Kaneko (leap communications)
the BITMASK_INVITE_CODE variable must be set from within the CI settings.
2017-05-19[bug] fix flex styling for vpn indicatorSimon Fondrie-Teitler
The version of webkit we're using doesn't understand display: flex, instead it needs display: -webkit-flex.
2017-05-18[pkg] need wget for bundlesKali Kaneko (leap communications)
2017-05-18[docs] minor: formatting changesKali Kaneko (leap communications)
2017-05-18[tests] touch the dockerfile to force it being rebuiltKali Kaneko (leap communications)
2017-05-18[tests] another attempt at limiting docker job to parent leap repoKali Kaneko (leap communications)
2017-05-17[bug] add policykit-1 to docker image for e2e testsKali Kaneko (leap communications)
2017-05-17[tests] do not install pixelated on tests for nowKali Kaneko (leap communications)
2017-05-17[refactor] define class only if we are importing pixelatedKali Kaneko (leap communications)
2017-05-16[bug] limit docker job to only run in main repositoryMicah Anderson
This will enable forks to run jobs, without needing access to the private token, or access to the docker-in-docker tagged runner
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[tests] remove listener testKali Kaneko (leap communications)
I've removed the add_listener method because it's not used anywhere.
2017-05-16[tests] install pixelated in tox alsoKali 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-16[docs] thunderbird integrationKali Kaneko (leap communications)
2017-05-16[feat] add icon to account list indicating account with active VPNSimon Fondrie-Teitler
This adds a lock icon to the account list next to the account with the currently active VPN. The icon is green if the VPN is connected, yellow if the VPN is connectiong, and red in any other case. - Resolves: #8853
2017-05-16[pkg] add dependencies for pixelated to the makefileKali Kaneko (leap communications)
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-09[pkg] stop producing debug bundles for nowKali Kaneko (leap communications)
2017-05-09Run e2e tests againts ci.leap.sevarac
Resolves: #8882
2017-05-07[pkg] add pixelated packages to makefileKali Kaneko (leap communications)
2017-05-07[refactor] rename pixelated moduleKali Kaneko (leap communications)
2017-05-05[bug] add missing libs to make the bundle work on latest ubuntuKali Kaneko (leap communications)
- Resolves: #8876
2017-05-04[feat] Create and publish docker image (see #8755).Micah Anderson
When the tests/docker directory is changed, this CI job is triggered to build the docker image and push it to the bitmask-dev container registry. This allows us to change the existing CI jobs to pull the image from our registry, instead of from dockerhub.
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.