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.