Pascal Volk <neverseen@users.sourceforge.net> [Wed, 03 Mar 2010 20:23:18 +0000] rev 229
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
was removed. new: mailbox.format, in order to support all mailbox formats
from Dovecot. Maildir is the default format.
Adjusted VirtualMailManager/Config and update_config.py to the changes
mentioned above.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 03 Mar 2010 14:32:30 +0000] rev 228
VMM/maillocation: MailLocation.__init__(): take a 'format' name,
instead of a 'directory' name.
- added function known_format() to the module.
VMM/Account: Adjusted to above changes.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 02 Mar 2010 19:24:36 +0000] rev 227
VMM/Account: Adjusted to changes in maillocation.MailLocation.
VMM/maillocation: Class MailLocation added missing property `mid`.
Added new error to VMM/constants/ERROR and doc/source/vmm_constants_error
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 02 Mar 2010 17:40:58 +0000] rev 226
VMM/maillocation: rewrote MailLocation class.
Renamed MailLocation.py to maillocation.py.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 01 Mar 2010 05:31:43 +0000] rev 225
VMM/Transport: reworked Transport class.
Use assertions for argument checks. Removed methods getID() and
getTransport(). This values are now accessible through the read-only
attributes id and transport.
VMM/{Account,Domain}: adjusted to modifications in Transport class.
A few code cleanups.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 01 Mar 2010 04:46:46 +0000] rev 224
VMM/pycompat: added function any() for Python 2.4
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 01 Mar 2010 02:31:03 +0000] rev 223
replaced some "for x in list …"
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 28 Feb 2010 20:51:34 +0000] rev 222
VMM/Domain: get_gid() return 0 instead of raising an Exception,
if the domain wasn't found in the database.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 27 Feb 2010 21:36:55 +0000] rev 221
VMM/Alias: renamed Alias.add_destination() to add_destinations().
Now it's possible to add one ore more destinations to the alias with a
single method call.
VMM/Handler: adjusted Handler.aliasAdd() to the API changes of the Alias
class. Also use get_gid from the Domain module to get the gid of a
domain. We don't need complete Domain object, only the gid.
Handler.getWarnings(): no longer return the __warnings list. Return a
copy instead and empty the Handler.__warnings list.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 27 Feb 2010 20:58:49 +0000] rev 220
doc: Added the alias documentation.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 27 Feb 2010 10:51:04 +0000] rev 219
VMM/pycompat: added to the repository. Provides all() for Py24.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 27 Feb 2010 09:28:33 +0000] rev 218
VMM/EmailAddress: implemented EmailAddress.__hash__().
So we can have a set() of EmailAddress instances.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 27 Feb 2010 06:24:20 +0000] rev 217
VMM/cli: small optimizations in the functions w_std() and w_err()
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 26 Feb 2010 02:35:25 +0000] rev 216
Moved VirtualMailManager/Exceptions to VirtualMailManager/errors.
Renamed VMM*Exception classes to *Error.
No longer add the attribute 'message' to VMMError if it doesn't exist, like in
Python 2.4. It has been deprecated as of Python 2.6.
Also removed the methods code() and msg(), the values are now accessible via
the attributes 'code' and 'msg'.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 25 Feb 2010 17:56:08 +0000] rev 215
PEP-8-ified the work of the last days.
Renamed methods in class Alias:
addDestination() -> add_destination()
delDestination() -> del_destination()
getDestinations() -> get_destinations()
Renamed methods in class Relocated:
setDestination() -> set_destination()
getInfo() -> get_info()
Renamed VMM/constants/VERSION.py -> VMM/constants/version.py
Adjusted relevant parts of the documentation.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 24 Feb 2010 05:48:15 +0000] rev 214
VMM/Exceptions: use the inherited CTor in all VMM*Exception classes.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 24 Feb 2010 05:04:30 +0000] rev 213
VMM:/{Alias,EmailAddress,Relocated}: use assertions for argument checks.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 24 Feb 2010 04:01:48 +0000] rev 212
doc: extended documentation.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 22 Feb 2010 10:44:13 +0000] rev 211
VMM/Config: LazyConfig.getboolean(), convert the value in our getboolean.
So RawConfigParser hasn't to do the whole get() stuff again.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 22 Feb 2010 10:25:48 +0000] rev 210
Added 'doc/build' to the ignored files.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 22 Feb 2010 10:20:46 +0000] rev 209
VMM{/Config}: reduced docstrings. Added doc to the repository.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 22 Feb 2010 04:26:52 +0000] rev 208
VMM: removed unneeded/duplicated regular expression definitions
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 22 Feb 2010 03:14:12 +0000] rev 207
VMM/Config: moved Config.sections() to class LazyConfig.
No longer import the ENCODING from VirtualMailManager, it's no longer required
in the Config module.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 20 Feb 2010 17:20:52 +0000] rev 206
VMM/Config: renamed LazyConfig's get_boolean() to getboolean().
VMM/cli/Config: import required ConfigParser.RawConfigParser.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 13 Feb 2010 04:20:09 +0000] rev 205
VMM/cli: added __init__.py to the repository.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 13 Feb 2010 03:20:42 +0000] rev 204
VMM/{,cli/}Config: fixed imports. Small code cleanups and cosmetic.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 12 Feb 2010 09:10:54 +0000] rev 203
VMM/Alias: small code cleanups and cosmetic.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 12 Feb 2010 04:26:30 +0000] rev 202
VMM/Relocated: small code cleanups and cosmetic.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 12 Feb 2010 04:15:18 +0000] rev 201
VMM/Config: LazyConfigOption.__init__() cast 'default' to 'cls'.
If the default value is not None, make sure it has the proper type.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 11 Feb 2010 07:20:49 +0000] rev 200
VMM/Config: attributes of class LazyConfigOption are read-only now.
Some small code cleanups.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 11 Feb 2010 03:08:11 +0000] rev 199
VMM: renamed function chk_domainname() -> check_domainname().
Moved EmailAddress.check_localpart() -> VirtualMailManager.check_localpart().
Some small code cleanups in class EmailAddress.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 10 Feb 2010 08:55:51 +0000] rev 198
VMM/Domain: added function get_gid() to the Domain module.
We don't need to load all the domain related information from the
database, when we need only the GID of a domain. For example in the
Alias or Relocated classes.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 10 Feb 2010 07:38:19 +0000] rev 197
VMM/{Relocated,Handler}: reworked Relocated class, adjusted Handler.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 10 Feb 2010 02:13:35 +0000] rev 196
VMM/{Alias,Handler}: reworked Alias class, adjusted Handler class.
Handler:
- attribute _dbh is no longer private, the VMM/cli/Handler uses it also.
- adjusted to changes in Alias and EmailAddress classes.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 09 Feb 2010 22:14:08 +0000] rev 195
VMM/EmailAddress: reworked class EmailAddress again.
The attributes domainname and localpart are now read-only.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 09 Feb 2010 04:59:40 +0000] rev 194
VMM/EmailAddress: reworked once more.
- moved EmailAddress.__chkLocalpart() -> __module__.check_localpart()
- renamed EmailAddress.__chkAddress() -> EmailAddress._chk_address()
- attributes domainname and localpart are no longer protected
- added missing doc strings.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 08 Feb 2010 03:14:59 +0000] rev 193
VMM/EmailAddress: rework EmailAddress class.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 07 Feb 2010 06:28:35 +0000] rev 192
VMM/Handler: fixed a SyntaxError. Oops
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 07 Feb 2010 06:12:48 +0000] rev 191
VMM/Handler: __mailDirMake() add warning for skipped mailboxes.
- domainInfo() removed old deprecated warning.
- fixed PEP8 warnings.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 07 Feb 2010 03:44:04 +0000] rev 190
VMM/{,cli/}Handler: reverted most of cs cf1b5f22dbd2 added a cli handler.
Moved the interactive stuff from VMM/Handler to the derived VMM/cli/Handler.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 06 Feb 2010 18:42:05 +0000] rev 189
moved VMM/cli/CliConfig to VMM/cli/Config
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 06 Feb 2010 04:09:17 +0000] rev 188
VMM/Handler: __init__ accepts now a config_type ('default'||'cli').
- fixed syntax errors, introduced with the last commit.
VMM/Config: added Config.configure() -> NotImplementedError.
VMM/__init__: install gettext global, everything depends on it.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 06 Feb 2010 02:11:55 +0000] rev 187
VMM/{,cli/Cli}Config: Moved interactive stuff to new CliConfig class.
Renamed Config.getsections() to Config.sections(). Small cosmetics.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 05 Feb 2010 20:16:44 +0000] rev 186
moved VMM/cli/handler to VMM/Handler
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 05 Feb 2010 20:13:32 +0000] rev 185
VMM/*: Moved some methods from classes to modules __init__.
- Adjusted many import statements.
- Small adjustments and whitespace cosmetics in Config.py
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 04 Feb 2010 19:08:01 +0000] rev 184
moved VMM/VMM to VMM/cli/handler
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 02 Feb 2010 02:28:28 +0000] rev 183
vmm: reworked subcommand/arguments mapping.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 01 Feb 2010 20:53:39 +0000] rev 182
VMM/VMM: Allow version/help subcommands even with missing configuration options.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 01 Feb 2010 19:57:42 +0000] rev 181
update_config: do not add options w/ default values.
remove config.done
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 01 Feb 2010 18:46:17 +0000] rev 180
VMM/Config: dropped option config.done
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 30 Jan 2010 05:15:21 +0000] rev 179
man: updated documentation …
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 29 Jan 2010 23:56:45 +0000] rev 178
po: Quick refresh - for documentation purpose.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 26 Jan 2010 19:39:51 +0000] rev 177
man/{,de/}man5: added a note about how to use default settings.
man/de/man5: s/Abschnitt*/Sektion*/g
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 25 Jan 2010 03:09:47 +0000] rev 176
man: Added used default values to manual.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 24 Jan 2010 09:06:05 +0000] rev 175
VMM/VMM: allow configure subcommand also with missing settings.
Removed method VirtualMailManager.setupIsDone()
VMM/Config: Config.load() added 'finally' clause.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 24 Jan 2010 06:40:38 +0000] rev 174
VMM/Config: reworked configuration handling.
Implemented LazyConfig(RawConfigParser) and LazyConfigOption(object)
Rewrote Config class:
* use default values and added some validation stuff
* removed attributes: __VMMsections and __changes
* replaced methods __chkSections() and __chkOptions() with __chkCfg
VMM/VMM: Adjusted to reworked Config class.
* removed attribute __cfgSections
* removed methods: cfgGetBoolean(), cfgGetInt(), cfgGetString()
* added methods: cfgDget(), cfgPget(), cfgSet()
VMM/__init__: added function get_unicode()
vmm: Adjusted to replaced methods in VMM/VMM.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 22 Jan 2010 04:31:38 +0000] rev 173
branch merge
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 22 Jan 2010 04:22:59 +0000] rev 172
VMM/Config: Fixed error handling of missing sections in vmm.cfg.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 22 Jan 2010 04:00:48 +0000] rev 171
VMM/Config: Fixed error handling of missing sections in vmm.cfg.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 18 Jan 2010 18:34:48 +0000] rev 170
man: reworded some parts.