summaryrefslogtreecommitdiff
path: root/service/test/unit/config
AgeCommit message (Collapse)Author
2016-11-23skip the test that is failing in snap but not locallyRoald de Vries
To find out if there are more failing tests.
2016-11-23replace stdlib's unittest with trials's unittest for all unittestRoald de Vries
2016-11-04[#795] fixed missing yield on authenticate in leap initialize for activist modeNavaL
2016-11-03 [#792] refactor pixelated-register and removed leap.auth dependencyNavaL
2016-11-03 [#792] fix pixelated-registerNavaL
2016-10-28authentication now returns AuthenticationNavaL
leap session creation is only done post-interstitial and that logic is also extracted into its own class #795
2016-09-26rearranged leap session creation to not sync nor setup account/fetcher, when ↵NavaL
using the cache Issue #773
2016-09-08Fixed test to correctly mock the mail_fetcherBruno Wagner
2016-08-19Started deferring leap session creation #759Bruno Wagner
Started adapting get_leap_session to deferreds Soledad and keymanager setup calls will now happen in deferreds and leap session creation itself is a deferred with callbacks This is a start in breaking the big blocking calls we were doing on the main thread, this was done without changing code inside the leap libraries yet so things can be further optimized This breaks the ~4 seconds get_leap_session piece into smaller 1 seconds one, that can be further optimized and deferred to even smaller calls There are requests calls happening on the main thread that should get this number even further down Also moved some pieces from bitmask libraries to our bootstrap, because they are not bitmask libraries anymore and that was causing confusion
2016-08-19Normalizing single and multi user bootstrap #759Bruno Wagner
Consolidated authentication to always be done is a defer to thread and changed the authenticate_user method name to conform with what it actually does
2016-06-24Issue #694 add an admin restricted resource for user statsNavaL
2016-05-13Issue #691: Refactor to Twisted 16.1.1Felix Hammerl
2016-05-11Remove dispatcher references from serviceCaio Carrara
Since we're not using dispatcher anymore, it doesn't make sense to keep dispatcher references and program flows that depend on it. For example, it doesn't make sense keep the flag --organization-mode, so it was removed as well.
2016-02-24Recreate session on soledad problemsFolker Bernitt
- Issue #615 - invalid token raised by soledad after timeout, if we see this, recreate the session on next login
2016-02-20Add recommended security headers from #618Paulo Schneider
2016-02-05closing the services closes leap session, which stops background tasks, ↵NavaL
close soldedad and remove it from cache Issue #586
2016-01-28Add Strict-Transport-Security header to user agentFolker Bernitt
- Issue #584
2015-09-29Fixed length check for password to mirror the leap webappBruno Wagner
2015-09-28Leap web requires 8 length password, so we'll do it on UA tooBruno Wagner
2015-09-04#304 Include CSP header support to more browsersGiovane
2015-09-03#304 Adds PixelatedSite class to hold custom request configuration and ↵Giovane
remove foundation inline javascript.
2015-06-13[rename] tested app_factory code is now on application moduleVictor Shyba
2015-06-13[tests] Enabling 2 skipped testsVictor Shyba
Adapted to run on current application module
2015-06-05Added creation of input mail from python messageBruno Wagner
That way we don't need extra logic for the welcome mail, we just have to read the file and send the contents to the input mail parser and that's it. Also moved the logic of adding a welcome mail to the mailboxes because it has knowledge of mailbox methods anyways.
2015-06-05Moved register out of application like maintenanceBruno Wagner
2015-06-05Refactoring the config, logging_setup is now called loggerBruno Wagner
2015-06-04Config dispatcher and config_ua are now in credentialsBruno Wagner
2015-06-03Move reactor logic out of application initializationrafael lisboa
2015-06-03Creating a leap session is now part of leap initBruno Wagner
We've moved the init soledad method to the leap_initialization module and gave it a meaningful name, because it was initializing the whole leap session instead of only soledad, because of that we removed some of the uneeded config files and deduplicated some code on maintenance to use the same facilities. Some arguments had non-meaningful variable names and args was being passed everywhere (it was unclear who was using which variables in the args) We changed the initialization to pass those arguments explicitly, then we can factor them out sometime when it makes sense
2015-06-03Dispatcher tests were not reflecting the args parser changesBruno Wagner
2015-06-03Fixed tests after app changesBruno Wagner
2015-04-13Merge pull request #371 from enzoz/validates_username_before_create_accountBruno Wagner Gonçalves
Validates username before request user creation on leap server
2015-04-10Allows dot on username.Enzo Zuccolotto
-- Issue #147 @anikarni and @enzoz pairing
2015-04-08Validates username before request user creation on leap serverEnzo Zuccolotto
-- Issue #147 @anikarni and @enzoz pairing
2015-04-01Unit tests, integration tests and welcome mailVictor Shyba
-- Issue #334
2015-01-27#237 #232 #196 syncing user data once before starting the UA. Displaying a ↵Duda Dornelles
loading screen in the meantime. The initial sync will make sure the user has a single key pair
2015-01-22 #224 renaming tests so they get caught by trial runnerDuda Dornelles
2014-12-11optmizing python importsDuda Dornelles
2014-12-04removing unused test and fixing another oneDuda Dornelles
2014-11-10Pass configured port number to reactor.Folker Bernitt