]> gitweb.michael.orlitzky.com - mailshears.git/log
mailshears.git
8 years agoAdd a man page.
Michael Orlitzky [Sun, 8 Nov 2015 22:34:45 +0000 (17:34 -0500)]
Add a man page.
Remove the outdated README and get rid of that TODO item.
Update the gemspec with the description in the man page.

8 years agoFix off-by-one error in the header underline.
Michael Orlitzky [Sun, 8 Nov 2015 22:29:43 +0000 (17:29 -0500)]
Fix off-by-one error in the header underline.

8 years agoChange the description at the top of the executable.
Michael Orlitzky [Sun, 8 Nov 2015 22:28:46 +0000 (17:28 -0500)]
Change the description at the top of the executable.

8 years agoMake "postfixadmin" the only default plugin and make dovecot_mail_root safer.
Michael Orlitzky [Sun, 8 Nov 2015 22:28:13 +0000 (17:28 -0500)]
Make "postfixadmin" the only default plugin and make dovecot_mail_root safer.

8 years agoRemoved completed items from the TODO.
Michael Orlitzky [Sun, 8 Nov 2015 20:01:58 +0000 (15:01 -0500)]
Removed completed items from the TODO.

8 years agoFix Postfixadmin alias updating (don't leave commas at the start/end).
Michael Orlitzky [Sun, 8 Nov 2015 20:01:16 +0000 (15:01 -0500)]
Fix Postfixadmin alias updating (don't leave commas at the start/end).

8 years agoFactor out the description-message-building in the runners.
Michael Orlitzky [Sun, 8 Nov 2015 18:55:08 +0000 (13:55 -0500)]
Factor out the description-message-building in the runners.

8 years agoWrap all close() calls in "ensure" blocks and simplify DB connection-making.
Michael Orlitzky [Sun, 8 Nov 2015 04:37:51 +0000 (23:37 -0500)]
Wrap all close() calls in "ensure" blocks and simplify DB connection-making.

8 years agoRemove debug code from Plugin.
Michael Orlitzky [Sun, 8 Nov 2015 04:35:34 +0000 (23:35 -0500)]
Remove debug code from Plugin.

8 years agoRemove HTML docs with `rake clean`.
Michael Orlitzky [Sun, 8 Nov 2015 03:34:56 +0000 (22:34 -0500)]
Remove HTML docs with `rake clean`.

8 years agoDocument everything with YARD and fix some bugs along the way.
Michael Orlitzky [Sun, 8 Nov 2015 03:34:38 +0000 (22:34 -0500)]
Document everything with YARD and fix some bugs along the way.

8 years agoAdd more TODO items and remove the one about YARD docs (coming in a second).
Michael Orlitzky [Sun, 8 Nov 2015 03:33:26 +0000 (22:33 -0500)]
Add more TODO items and remove the one about YARD docs (coming in a second).

8 years agoDon't hide shell output in the Rakefile.
Michael Orlitzky [Sun, 8 Nov 2015 03:32:57 +0000 (22:32 -0500)]
Don't hide shell output in the Rakefile.

8 years agoBegin updating docs; remove two unused exit codes.
Michael Orlitzky [Fri, 6 Nov 2015 14:55:02 +0000 (09:55 -0500)]
Begin updating docs; remove two unused exit codes.

8 years agoUpdate comments in the executable and factor out the make_header() function.
Michael Orlitzky [Fri, 6 Nov 2015 02:18:20 +0000 (21:18 -0500)]
Update comments in the executable and factor out the make_header() function.

8 years agoRemove a newline.
Michael Orlitzky [Fri, 6 Nov 2015 02:14:51 +0000 (21:14 -0500)]
Remove a newline.

8 years agoRemove a TODO I don't intend to DO.
Michael Orlitzky [Thu, 5 Nov 2015 00:10:04 +0000 (19:10 -0500)]
Remove a TODO I don't intend to DO.

8 years agoAdd some tests for moving users.
Michael Orlitzky [Thu, 5 Nov 2015 00:09:44 +0000 (19:09 -0500)]
Add some tests for moving users.

8 years agoMake pruning use the correct config and clean up *before* running tests, too.
Michael Orlitzky [Thu, 5 Nov 2015 00:08:46 +0000 (19:08 -0500)]
Make pruning use the correct config and clean up *before* running tests, too.

8 years agoFix variable names in the prune tests.
Michael Orlitzky [Wed, 4 Nov 2015 23:14:13 +0000 (18:14 -0500)]
Fix variable names in the prune tests.

8 years agoUse semantic bound on pg library.
Michael Orlitzky [Wed, 4 Nov 2015 23:14:00 +0000 (18:14 -0500)]
Use semantic bound on pg library.

8 years agoAllow sorting of User/Domain for testing.
Michael Orlitzky [Wed, 4 Nov 2015 23:13:41 +0000 (18:13 -0500)]
Allow sorting of User/Domain for testing.

8 years agoFix broken nesting in lib/mv/plugins/postfixadmin.rb.
Michael Orlitzky [Wed, 4 Nov 2015 23:13:11 +0000 (18:13 -0500)]
Fix broken nesting in lib/mv/plugins/postfixadmin.rb.

8 years agoStop pretending that we'll ever work with another DBMS.
Michael Orlitzky [Wed, 4 Nov 2015 17:07:16 +0000 (12:07 -0500)]
Stop pretending that we'll ever work with another DBMS.

8 years agoAdd an idempotence test for pruning.
Michael Orlitzky [Wed, 4 Nov 2015 16:40:23 +0000 (11:40 -0500)]
Add an idempotence test for pruning.

8 years agoAdd even more TODO items.
Michael Orlitzky [Wed, 4 Nov 2015 05:25:52 +0000 (00:25 -0500)]
Add even more TODO items.

8 years agoAdd a few more TODOs.
Michael Orlitzky [Wed, 4 Nov 2015 05:24:53 +0000 (00:24 -0500)]
Add a few more TODOs.

8 years agoAdd a test case for prune.
Michael Orlitzky [Wed, 4 Nov 2015 05:18:45 +0000 (00:18 -0500)]
Add a test case for prune.

8 years agoAdd some new fixtures in preparation for prune tests.
Michael Orlitzky [Wed, 4 Nov 2015 05:18:12 +0000 (00:18 -0500)]
Add some new fixtures in preparation for prune tests.

8 years agoDon't include RmPlugin from PrunePlugin (pointless; also crashes tests!).
Michael Orlitzky [Wed, 4 Nov 2015 05:12:35 +0000 (00:12 -0500)]
Don't include RmPlugin from PrunePlugin (pointless; also crashes tests!).

8 years agoRemove pointless include.
Michael Orlitzky [Wed, 4 Nov 2015 03:58:11 +0000 (22:58 -0500)]
Remove pointless include.

8 years agoSimplify prune plugins and fix array difference error.
Michael Orlitzky [Tue, 3 Nov 2015 17:41:32 +0000 (12:41 -0500)]
Simplify prune plugins and fix array difference error.

8 years agoAdd "-f" to the "rm" call in bin/install-fixtures.sh.
Michael Orlitzky [Tue, 3 Nov 2015 17:25:45 +0000 (12:25 -0500)]
Add "-f" to the "rm" call in bin/install-fixtures.sh.

8 years agoRename mail_root to dovecot_mail_root for consistency.
Michael Orlitzky [Tue, 3 Nov 2015 16:39:16 +0000 (11:39 -0500)]
Rename mail_root to dovecot_mail_root for consistency.

8 years agoSwitch to the Affero GPL3 license.
Michael Orlitzky [Tue, 3 Nov 2015 07:54:47 +0000 (02:54 -0500)]
Switch to the Affero GPL3 license.

8 years agoBegin cleaning up the test code to add some prune/mv cases.
Michael Orlitzky [Tue, 3 Nov 2015 03:54:15 +0000 (22:54 -0500)]
Begin cleaning up the test code to add some prune/mv cases.

8 years agoSwitch to MiniTest and update the test output.
Michael Orlitzky [Mon, 2 Nov 2015 04:14:41 +0000 (23:14 -0500)]
Switch to MiniTest and update the test output.

8 years agoClean up user/domain describing in the plugins.
Michael Orlitzky [Mon, 2 Nov 2015 03:00:37 +0000 (22:00 -0500)]
Clean up user/domain describing in the plugins.

8 years agoOverhaul everything to get consistent error reports.
Michael Orlitzky [Mon, 2 Nov 2015 02:35:57 +0000 (21:35 -0500)]
Overhaul everything to get consistent error reports.

8 years agoUpdate a comment and delete a newline.
Michael Orlitzky [Fri, 30 Oct 2015 03:38:23 +0000 (23:38 -0400)]
Update a comment and delete a newline.

8 years agoAdd missing principal stuff to the Davical fixtures.
Michael Orlitzky [Fri, 30 Oct 2015 03:37:54 +0000 (23:37 -0400)]
Add missing principal stuff to the Davical fixtures.

8 years agoAdd a quick script to load the test databases and fixtures for me.
Michael Orlitzky [Fri, 30 Oct 2015 03:24:25 +0000 (23:24 -0400)]
Add a quick script to load the test databases and fixtures for me.

8 years agoAdd another error reporting TODO and mention not overwriting existing stuff.
Michael Orlitzky [Fri, 30 Oct 2015 02:53:51 +0000 (22:53 -0400)]
Add another error reporting TODO and mention not overwriting existing stuff.

8 years agoGet DovecotMv just barely working.
Michael Orlitzky [Fri, 30 Oct 2015 02:53:26 +0000 (22:53 -0400)]
Get DovecotMv just barely working.

8 years agoMove the "mv" invalid destination user check into the runner.
Michael Orlitzky [Fri, 30 Oct 2015 02:52:59 +0000 (22:52 -0400)]
Move the "mv" invalid destination user check into the runner.

8 years agoGet the MvRunner working, at least for Postfixadmin.
Michael Orlitzky [Fri, 30 Oct 2015 02:07:51 +0000 (22:07 -0400)]
Get the MvRunner working, at least for Postfixadmin.

8 years agoImplement user moving for Postfixadmin.
Michael Orlitzky [Fri, 30 Oct 2015 02:07:29 +0000 (22:07 -0400)]
Implement user moving for Postfixadmin.

8 years agoAdd domain_exists() to PostfixadminPlugin.
Michael Orlitzky [Fri, 30 Oct 2015 01:49:29 +0000 (21:49 -0400)]
Add domain_exists() to PostfixadminPlugin.

8 years agoDump our output buffer if a plugin crashes.
Michael Orlitzky [Fri, 30 Oct 2015 01:20:46 +0000 (21:20 -0400)]
Dump our output buffer if a plugin crashes.

8 years agoAdd some "mv" brainstorming to the TODO.
Michael Orlitzky [Fri, 30 Oct 2015 00:58:14 +0000 (20:58 -0400)]
Add some "mv" brainstorming to the TODO.

8 years agoAllow the getting of a dovecot user path even if it doesn't exist.
Michael Orlitzky [Fri, 30 Oct 2015 00:57:44 +0000 (20:57 -0400)]
Allow the getting of a dovecot user path even if it doesn't exist.

8 years agoDisable domain moves in the dummy MvRunner.
Michael Orlitzky [Fri, 30 Oct 2015 00:56:50 +0000 (20:56 -0400)]
Disable domain moves in the dummy MvRunner.

8 years agoClarify error class comments.
Michael Orlitzky [Fri, 30 Oct 2015 00:56:29 +0000 (20:56 -0400)]
Clarify error class comments.

8 years agoRemove mv_domain() from MvPlugin.
Michael Orlitzky [Fri, 30 Oct 2015 00:55:29 +0000 (20:55 -0400)]
Remove mv_domain() from MvPlugin.

8 years agoRemove "-K" from the shebang, and remove the outdated intro comment.
Michael Orlitzky [Fri, 30 Oct 2015 00:54:51 +0000 (20:54 -0400)]
Remove "-K" from the shebang, and remove the outdated intro comment.

8 years agoFix nil error when only postfixadmin is enabled.
Michael Orlitzky [Fri, 30 Oct 2015 00:45:57 +0000 (20:45 -0400)]
Fix nil error when only postfixadmin is enabled.

9 years agoFix SQL query clobbering in PostfixadminMv.
Michael Orlitzky [Wed, 17 Sep 2014 15:56:47 +0000 (11:56 -0400)]
Fix SQL query clobbering in PostfixadminMv.

9 years agoFix a SQL query in the AgendavMv plugin.
Michael Orlitzky [Wed, 17 Sep 2014 15:56:09 +0000 (11:56 -0400)]
Fix a SQL query in the AgendavMv plugin.

9 years agoAdd a preliminary PostfixadminMv.
Michael Orlitzky [Wed, 17 Sep 2014 00:53:14 +0000 (20:53 -0400)]
Add a preliminary PostfixadminMv.

9 years agoRemove a superclass from DovecotMv that no longer exists.
Michael Orlitzky [Wed, 17 Sep 2014 00:52:44 +0000 (20:52 -0400)]
Remove a superclass from DovecotMv that no longer exists.

9 years agoUpdate the supported version of Roundcube.
Michael Orlitzky [Wed, 17 Sep 2014 00:11:55 +0000 (20:11 -0400)]
Update the supported version of Roundcube.

10 years agoMake list_users() methods public in several plugins.
Michael Orlitzky [Sun, 5 Jan 2014 03:35:46 +0000 (22:35 -0500)]
Make list_users() methods public in several plugins.
Add a list_aliases() method to the PostfixAdminPlugin module.
Rename the existing test file.
Add a README.fixtures giving an overview of what's in the test databases.
Check the database for expected contents after removing a user and domain.

10 years agoAdd a real rm test.
Michael Orlitzky [Sat, 4 Jan 2014 20:01:12 +0000 (15:01 -0500)]
Add a real rm test.

10 years agoFix a crashy typo.
Michael Orlitzky [Sat, 4 Jan 2014 20:00:13 +0000 (15:00 -0500)]
Fix a crashy typo.

10 years agoMean business when testing.
Michael Orlitzky [Sat, 4 Jan 2014 19:57:23 +0000 (14:57 -0500)]
Mean business when testing.

10 years agoExplicitly require 'common/errors' in RmRunner.
Michael Orlitzky [Sat, 4 Jan 2014 19:57:01 +0000 (14:57 -0500)]
Explicitly require 'common/errors' in RmRunner.

10 years agoFactor out plugin running into the Plugin module (along with the includers() handling).
Michael Orlitzky [Sat, 4 Jan 2014 19:41:08 +0000 (14:41 -0500)]
Factor out plugin running into the Plugin module (along with the includers() handling).

10 years agoRename plugin_class to plugin_module.
Michael Orlitzky [Sat, 4 Jan 2014 19:00:18 +0000 (14:00 -0500)]
Rename plugin_class to plugin_module.

10 years agoMove the Runner selection into the plugin.
Michael Orlitzky [Sat, 4 Jan 2014 18:38:29 +0000 (13:38 -0500)]
Move the Runner selection into the plugin.

10 years agoReplace 'account' with 'user' everywhere.
Michael Orlitzky [Sat, 4 Jan 2014 18:07:57 +0000 (13:07 -0500)]
Replace 'account' with 'user' everywhere.

10 years agoAdd a TODO item.
Michael Orlitzky [Wed, 4 Dec 2013 03:24:55 +0000 (22:24 -0500)]
Add a TODO item.

10 years agoUpdate PruneDummyRunner to pass a Configuration to PostfixadminPrune.
Michael Orlitzky [Wed, 6 Nov 2013 14:10:16 +0000 (09:10 -0500)]
Update PruneDummyRunner to pass a Configuration to PostfixadminPrune.

10 years agoUpdate the TODO.
Michael Orlitzky [Mon, 7 Oct 2013 18:04:50 +0000 (14:04 -0400)]
Update the TODO.

10 years agoAdd some fixture code.
Michael Orlitzky [Mon, 7 Oct 2013 18:03:19 +0000 (14:03 -0400)]
Add some fixture code.

10 years agoAdd a test suite which just creates/deletes databases for now.
Michael Orlitzky [Mon, 7 Oct 2013 14:21:19 +0000 (10:21 -0400)]
Add a test suite which just creates/deletes databases for now.

10 years agoPass a Configuration object to each plugin's initialize().
Michael Orlitzky [Mon, 7 Oct 2013 14:20:46 +0000 (10:20 -0400)]
Pass a Configuration object to each plugin's initialize().

10 years agoAdd a Rakefile.
Michael Orlitzky [Mon, 7 Oct 2013 13:16:29 +0000 (09:16 -0400)]
Add a Rakefile.

10 years agoOnly output the header when there's plugin output.
Michael Orlitzky [Sun, 6 Oct 2013 23:05:34 +0000 (19:05 -0400)]
Only output the header when there's plugin output.

10 years agoGet prune working, at least in a simple case.
Michael Orlitzky [Sun, 6 Oct 2013 22:55:50 +0000 (18:55 -0400)]
Get prune working, at least in a simple case.

10 years agoUpdate TODO.
Michael Orlitzky [Sun, 6 Oct 2013 20:09:14 +0000 (16:09 -0400)]
Update TODO.

10 years agoRename PostfixadminDb, RoundcubeDb without the Db suffix.
Michael Orlitzky [Sun, 6 Oct 2013 20:06:57 +0000 (16:06 -0400)]
Rename PostfixadminDb, RoundcubeDb without the Db suffix.
Make PostfixadminDb a regular plugin.

10 years agoImplement user_exists() everywhere and use it to correct the console output.
Michael Orlitzky [Sun, 6 Oct 2013 19:43:45 +0000 (15:43 -0400)]
Implement user_exists() everywhere and use it to correct the console output.

10 years agoMove domain removal into the plugins.
Michael Orlitzky [Sun, 6 Oct 2013 19:35:18 +0000 (15:35 -0400)]
Move domain removal into the plugins.

10 years agoMove the LICENSE and README into a doc/ folder.
Michael Orlitzky [Mon, 30 Sep 2013 02:11:49 +0000 (22:11 -0400)]
Move the LICENSE and README into a doc/ folder.
Add a TODO.

10 years agoWay too many changes to mention. The 'rm' mode works now.
Michael Orlitzky [Mon, 30 Sep 2013 01:27:24 +0000 (21:27 -0400)]
Way too many changes to mention. The 'rm' mode works now.

10 years agoAdd a bunch more crap and rewrite a bunch more crap. Now the 'rm' mode at least runs.
Michael Orlitzky [Sun, 29 Sep 2013 22:12:51 +0000 (18:12 -0400)]
Add a bunch more crap and rewrite a bunch more crap. Now the 'rm' mode at least runs.

10 years agoIn the middle of refactoring the binary to accept three modes of execution. Does...
Michael Orlitzky [Thu, 29 Aug 2013 18:32:51 +0000 (14:32 -0400)]
In the middle of refactoring the binary to accept three modes of execution. Does nothing at the moment.

10 years agoFix typo in mv_plugin.
Michael Orlitzky [Thu, 29 Aug 2013 16:21:37 +0000 (12:21 -0400)]
Fix typo in mv_plugin.
Rename the 'rm' plugin classes with an 'Rm' suffix.

10 years agoAdd default configuration for Agendav and DAViCal.
Michael Orlitzky [Thu, 29 Aug 2013 16:21:11 +0000 (12:21 -0400)]
Add default configuration for Agendav and DAViCal.

11 years agoBegin building the framework to rename accounts. A pile of crap right now.
Michael Orlitzky [Tue, 19 Mar 2013 19:48:20 +0000 (15:48 -0400)]
Begin building the framework to rename accounts. A pile of crap right now.

11 years agoFactor out common code that can be used to mv (rename) accounts.
Michael Orlitzky [Tue, 19 Mar 2013 18:38:35 +0000 (14:38 -0400)]
Factor out common code that can be used to mv (rename) accounts.
Separate Plugin/RmPlugin modules.

11 years agoDon't cast the username to an int in the AgenDAV plugin.
Michael Orlitzky [Tue, 19 Mar 2013 16:46:43 +0000 (12:46 -0400)]
Don't cast the username to an int in the AgenDAV plugin.

11 years agoAdd a missing space in the header.
Michael Orlitzky [Tue, 19 Mar 2013 15:56:04 +0000 (11:56 -0400)]
Add a missing space in the header.
One more try at retrieving the DAViCal principal_id.

11 years agoPrint the plugin name on the same line as the executable, time.
Michael Orlitzky [Tue, 19 Mar 2013 15:47:13 +0000 (11:47 -0400)]
Print the plugin name on the same line as the executable, time.

11 years agoFix table name (again) in DAViCal plugin.
Michael Orlitzky [Tue, 19 Mar 2013 15:42:09 +0000 (11:42 -0400)]
Fix table name (again) in DAViCal plugin.

11 years agoFix table name in DAViCal plugin.
Michael Orlitzky [Tue, 19 Mar 2013 15:38:28 +0000 (11:38 -0400)]
Fix table name in DAViCal plugin.

11 years agoRemove unnecessary queries from the Roundcube plugin.
Michael Orlitzky [Tue, 19 Mar 2013 15:38:12 +0000 (11:38 -0400)]
Remove unnecessary queries from the Roundcube plugin.

11 years agoIgnore the DAViCal superuser.
Michael Orlitzky [Mon, 18 Mar 2013 23:50:59 +0000 (19:50 -0400)]
Ignore the DAViCal superuser.

11 years agoWhitespace/comment cleanup.
Michael Orlitzky [Mon, 18 Mar 2013 23:46:31 +0000 (19:46 -0400)]
Whitespace/comment cleanup.

11 years agoAdd another totally-untested plugin: davical.
Michael Orlitzky [Mon, 18 Mar 2013 23:44:57 +0000 (19:44 -0400)]
Add another totally-untested plugin: davical.