summaryrefslogtreecommitdiff
path: root/service/pixelated/maintenance.py
AgeCommit message (Collapse)Author
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