summaryrefslogtreecommitdiff
path: root/service/test/unit
AgeCommit message (Collapse)Author
2015-06-13[tests] Enabling 2 skipped testsVictor Shyba
Adapted to run on current application module
2015-06-12[refactor] SearchEngine does not need a querierVictor Shyba
It was used only to retrieve encryption key. This should be done by who is using it.
2015-06-11Removing lost importsVictor Shyba
2015-06-10Fix bug when not passing leap certificate nor fingerprintrafael lisboa
2015-06-10Provider web certificate will always be bytestring now, requests complains ↵Bruno Wagner
otherwise
2015-06-09Removed triplicated code to concatenate user mailVictor Shyba
2015-06-08Heavy rework on certs, removed most of it, simplified the logicBruno Wagner
2015-06-08Moved initialization, fingerprint and cert inside LeapCertificate classBruno Wagner
2015-06-08Fixed certificates initialization and removed which_api_bundleBruno Wagner
2015-06-07fixes tests for smtp gatewayVictor Shyba
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-05Moved extensions to their own folder, so support has more meaningBruno Wagner
2015-06-05Refactoring the config, logging_setup is now called loggerBruno Wagner
2015-06-04[feat] async index writer to avoid locking #404Victor Shyba
This commit changes index writer to use AsyncWriter. It should avoid locking on our code and speed up things for now.
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-05-11Use maildir for folders like DRAFTS or SENT.Folker Bernitt
- Issues #337, #338 - Added example how to use maildir sub folders
2015-05-05#337 Fixed the test adding a new behavior for add_mail_folderJefferson Stachelski
2015-05-04Merge pull request #389 from pixelated-project/srp_changesBruno Wagner Gonçalves
SRP changes to support LEAP 0.7
2015-05-04update testsrafael lisboa
2015-05-04Changed maintenance load mails format from mbox to maildir.Folker Bernitt
- Can now import mails from maildir (allows import of old mail accounts, too) - Flags currently supported: Replied, Seen - Issue #336
2015-04-30Removed check for mail file names.Folker Bernitt
- Issue #337
2015-04-29#337 Created a validation to just open file that the file name starts with ↵Jefferson Stachelski
'mbox' and ends with a number
2015-04-29#337 Fixed the indentation of test_commandsJefferson Stachelski
2015-04-27Merge pull request #373 from roberto/masterRafael Lisboa
Allow user to move emails from trash to inbox
2015-04-22Fix: Remove invalid import from maintenance.py.Folker Bernitt
2015-04-21Added load-mails maintenance command.Folker Bernitt
- Issue #335
2015-04-15Introduced maintenance command and added reset behaviour.Folker Bernitt
- Call with: pixelated_maintenance reset - Issues #335, #345
2015-04-13Removed info sync because we have a loading page nowBruno 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-09Adds service to move mails to inboxRoberto Soares
2015-04-09Default broken Content-Transfer-Encoding to 8bit.Folker Bernitt
- Issue #347
2015-04-09Added fallback to us ascii for invalid Content-Type values.Folker Bernitt
- Issue #347
2015-04-08Validates username before request user creation on leap serverEnzo Zuccolotto
-- Issue #147 @anikarni and @enzoz pairing
2015-04-08Merge pull request #358 from pixelated-project/shybamasterVictor Shyba
Welcome email
2015-04-02catch invalid data in received header when parsing date.Lisa Junger
- Issue #347
2015-04-02when receiving invalid data for date header, fall back to datetime.now.Lisa Junger
- Issue #347
2015-04-02handle incorrectly encoded headers as ascii.Lisa Junger
- Issue #347
2015-04-02Removed unused certs_home code.Folker Bernitt
2015-04-02Don't try to write certs to installation folder.Folker Bernitt
- User running the agent might not have the rights to do this
2015-04-01Unit tests, integration tests and welcome mailVictor Shyba
-- Issue #334
2015-03-31Better naming for which_bundle functionsFolker Bernitt and Victor Shyba
-- Issues #93 and #333
2015-03-31Added support for ssl fingerprint validation.Folker Bernitt
- Issue #333 - Needed to patch urrlib3 for older requests versions - Use --leap-cert-fingerprint <SHA1> to validate fingerprint
2015-03-30Splitting certificate validation into provider and bootstrap certificate.Folker Bernitt
- Issue #333 - Now a different certificate is used to communicate with the provider's HTTPS website than for all other connections, e.g. to the api
2015-03-24Fix pep8 errors of lambda functionsTiago Ferraz
Altered lambda function to def in order to fix pep8 E371 errors