summaryrefslogtreecommitdiff
path: root/service
AgeCommit message (Collapse)Author
2017-02-10[#907] Encapsulate user_uuid on login completeTulio Casagrande
with @akanim
2017-02-10[#907] Add login status to sessionTulio Casagrande
2017-02-10[#907] Remove unused login error handlerTulio Casagrande
The handle_error_deferred method is supposed to return the error message before the request is finished. This is not the case during the user services setup, since the request was already finished and returned with the interstitial page.
2017-02-09[#922] Rename backup account flowTayane Fernandes
To differentiate between the account recovery flow and the set backup email flow, we renamed all resources and url to reflect this. with @anikarni
2017-02-07[#952] Get rid of extra empty line on unhandled errorsTulio Casagrande
2017-02-07[#952] Log events even when formatting errors occurTulio Casagrande
2017-02-07[#952] Access log_format key correctly even if it's NoneTulio Casagrande
This is the case of the infamous 'Unhandled error in Deferred' events that were not logging the traceback.
2017-02-02[#922] Adds test for recovery resouceAnike Arni
with @tayanefernandes
2017-02-02[#922] Fixes lint errors in accout recovery resourceAnike Arni
with @tayanefernandes
2017-02-01[#922] Create route for account recoveryAnike Arni
with @tayanefernandes
2017-01-25Remove unused variableTulio Casagrande
2017-01-25Extract duplicated methods to a common parentTulio Casagrande
2017-01-25[#907] Suppress traceback upon an unauthorized loginTulio Casagrande
2017-01-21Remove old UploadKeyError testTulio Casagrande
I was surprised this test was not working correctly.
2017-01-21Re-raise the same exception to keep contextTulio Casagrande
2017-01-21Make registering of events for fresh accounts a bit more robust by replacing ↵Ola Bini
the old events if they were not cleaned up after previous errors
2017-01-20Rebase previous PR on current master - see PR #915 for detailsOla Bini
2017-01-20Merge pull request #916 from olabini/fix-broken-assert-welcome-emailTulio Casagrande
Fix broken test for default language for user
2017-01-19Add copyright statements to all Python files that doesn't have itOla Bini
2017-01-19Fix broken test for default language for userOla Bini
2017-01-17[#885] Adds test to ensure the right type for user_uuid and passphraseThais Siqueira
with @tayanefernandes
2017-01-17[#885]Encodes user_uuid and passphrase to allow utf-8 characteresThais Siqueira
with @tayanefernandes
2017-01-13Mock register events to not complain about zmq certsTulio Casagrande
Related with: #815
2017-01-12Re-raise the exception after closing the sessionTayane Fernandes
We were trying to setup services even after closing the session. We fixed it and added unit test. Related with: #815
2017-01-11Close session when UploadKeyError occursTayane Fernandes
When the upload of the user key fails (i.e. Timeout), the session was being held in memory, preventing the user from trying again. Related with: #815, #889
2017-01-10Change the logger.info to logger.debugTayane Fernandes
Given that we don't need to expose the user fingerprint every time we login, we changed to log it only on debug mode. See #815
2017-01-10Check if key is synchronized with server at every loginTulio Casagrande
This is a temporary solution when uploading a regenerated key fails. It's going to attempt the upload again on the subsequent logins. The drawback with this solution, is that the fetch remote can increase the login time, specially with multiple users. See: #815
2017-01-10Fix regenerate keys test flowTulio Casagrande
The regenerate key test was not checking if the UploadKeyError exception was raised Related with: #815
2017-01-10Merge pull request #899 from bwagnerr/makeAnike Arni
Creates a unified makefile for pixelated client and web-ui
2017-01-09Log user's current key for easier debugTulio Casagrande
Related with: #815
2017-01-06Raise exception when sending a renerated key failsTulio Casagrande
We still need to figure out what to do when the upload fails. But we're already raising the exception, so we can track it on the logs See: https://github.com/pixelated/pixelated-user-agent/issues/815
2017-01-06Removes soledad server (leap.soledad.server) from requirementsAnike Arni
with @thaissiqueira
2017-01-05Revert "[#888] Fix soledad class contract to be compatible with new merge. ↵Anike Arni
with @thaissiqueira." This reverts commit ebdeec4ad6d0f91bc60fd34a580fc02787026692.
2017-01-04Merge pull request #898 from bwagnerr/simplify_staticTulio Casagrande
Simplifies the get_static_folder on RootResource
2017-01-04[#888] Fix soledad class contract to be compatible with new merge. with ↵Anike Arni
@thaissiqueira.
2017-01-04Simplified service ./go to call make directlyBruno Wagner
Also added the deactivation of the virtualenv before running anything, to avoid conflicting virtualenvs
2017-01-03Moved bower install to npm post_installBruno Wagner
Also fixed some indentation errors on the Makefile
2017-01-03Fixed mockito conflict with zopeBruno Wagner
I bumped into this problem where trial would try to clean up after running the SiteTest and run into an error 'RememberedInvocation has no attribute "_implied"' That happened because mockito is strict with the set of functions it's mock accepts and _implied doesn't exist. It didn't really make sense in this test context so I've adapted the test to use MagicMock instead and now the test pass without problems.
2017-01-03Go script is now using make to ease the transitionBruno Wagner
2017-01-03Simplifies the get_static_folder on RootResourceBruno Wagner
There are only two possibilities currently: - The static files are at web-ui/dist - The static files are installed by the debian package at /usr/share/pixelated-user-agent This change removed the third non-existent possibility that was causing errors sometimes in a new environment (service/web-ui/dist)
2017-01-02Removes unused methodThais Siqueira
2017-01-02Change python-gnupg to use our branch of key extensionThais Siqueira
2017-01-02[#851] minor refactoring, and using the right keymanager branchNavaL
2017-01-02[#850] refactoring as a result of moving should_renew to be in keyNavaL
2017-01-02[#850] keys will now be renewed two months before expiry dateNavaL
2017-01-02[#815] regenerating new keys when the current one expiresNavaL
2017-01-02[#815] regenerating new keys when the current one expiresNavaL
2016-12-29Use only dist folder for serving applicationAnike Arni
2016-12-14[#845] Fixes pep8 line spacingAnike Arni
with @thaissiqueira
2016-12-14[#845] Fixes absence of email in functional testAnike Arni
We noticed we had timeout issues while waiting for an email in inbox. To solve this, we stopped using deferred in async calls and used @wait_for instead. With @thaissiqueira.