summaryrefslogtreecommitdiff
path: root/service/pixelated/maintenance.py
AgeCommit message (Collapse)Author
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-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-01-25Add integrity-check maintenance commandFolker Bernitt
2016-01-22Add mutli-user mode to user-agentFolker Bernitt
- Issue #576 - To start in multi user, run with --multi-user --provider provider-name.tld
2016-01-13Removed unused logging imports and fixed maintenance logger during testBruno Wagner
2015-11-06Refactor - Removed class SoledadSessionJefferson Stachelski
The SoledadSession class was removed and some methods implemented there was moved to LeapSessionFactory and LeapProvider
2015-10-28Add markov-generate to load-mailsFolker Bernitt
- Allows to generat mails based on a sample mails - use it with: pixelated-maintenance markov-generate --seed 21 --limit 10
2015-10-12Run initial soledad task for maintenanceFolker Bernitt
- Only disable it for repair tasks
2015-09-25Add repair to pixelated maintenanceFolker Bernitt
- Issue #468 - Call with: pixelated-maintenance repair
2015-08-20Yield call to soledad when doing `maintenance reset`kaeff
- Issue: 421
2015-08-19Fixes maintenance.py from throwing due to method signature mismatchkaeff
2015-08-11Added mail_store to LeapSession.Folker Bernitt
- Issue #420
2015-08-11Fixed maintenance.py initialization.Folker Bernitt
- Issue #420 - Initialize mail store - load-mails works with new data model
2015-08-11Adapted maintenace.load_mails to new data model.Folker Bernitt
- Issue #420
2015-08-11Fixed load-mails for empty case.Folker Bernitt
- Issue #420
2015-08-11Temporary changes to make maintenance.py work with soledad 0.7.1.Folker Bernitt
2015-08-11trying out a new migrationVictor Shyba
2015-06-24#412 Added a sleep to get a enought time to soledad sync the added mailsJefferson Stachelski
2015-06-16Explicit is better than implicit.Victor Shyba
Trying to apply a little of this: https://www.python.org/dev/peps/pep-0020/ False doesnt point out what is being disabled. The other argument changed only because of arguments order.
2015-06-15Put False on maintenance to not use organization mode on intialise_leapJefferson Stachelski
2015-06-06maintenance was broken, arguments parser changedVictor 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-05Refactoring the config, logging_setup is now called loggerBruno Wagner
2015-06-04Config is not used anymoreBruno Wagner
2015-06-03remove unused imports from maintenanceVictor Shyba
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-03Moved all args parseing to config/args and fixed maintenance after the shiftsBruno 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-08#338 Added pre load emails on mailbox SENTJefferson Stachelski
2015-05-05#337 Added preload mails to DRAFTSJefferson Stachelski
2015-05-05#337 Create mailbox if it already does not existJefferson Stachelski
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-30#337 Removed email name validationJefferson Stachelski
2015-04-30#337 Extracted a method to a new oneJefferson Stachelski
2015-04-30Fixed invalid variable names in maintenance.py.Folker Bernitt
2015-04-30Removed check for mail file names.Folker Bernitt
- Issue #337
2015-04-30Flush soledad to disk before syncing.Folker Bernitt
- Issue #336
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 Refactored maintenance, renaming to make it more clear when read the ↵Jefferson Stachelski
code and deleted unsed variable
2015-04-29Fixed wrong method name.Folker Bernitt
- Issue #337
2015-04-28#337 Made some refactors to make the code more readableJefferson Stachelski
2015-04-27#337 Fixed the if __name__ is __main__ to run the appJefferson Stachelski
2015-04-22Fix: Remove invalid import from maintenance.py.Folker Bernitt
2015-04-21Added load-mails maintenance command.Folker Bernitt
- Issue #335
2015-04-16maintenance reads credentials from stdin.Folker Bernitt
- Issue #345
2015-04-15Introduced maintenance command and added reset behaviour.Folker Bernitt
- Call with: pixelated_maintenance reset - Issues #335, #345