Pascal Volk <neverseen@users.sourceforge.net> [Tue, 04 May 2010 00:01:35 +0000] rev 287
VMM/password: moved the 'scheme check' code from pwhash() to the
new function verify_scheme().
VMM/Config: use verify_scheme() to check the scheme when
LazyConfig.set() is called.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 03 May 2010 20:38:36 +0000] rev 286
VMM/Config: removed the default value of misc.dovecot_version.
There are too many different versions installed on different systems.
So, it doesn't make much sense to have a default value.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 03 May 2010 20:00:06 +0000] rev 285
VMM/Handler: import the errors before raising them.
Rephrased the 'permission error' message.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 03 May 2010 08:25:26 +0000] rev 284
VMM/password: Added support Blowfish/SHA-256/SHA-512 crypt().
Also updated Config and man section 5.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Apr 2010 08:02:03 +0000] rev 283
VMM/Handler: code cleanups in the user/alias/relocated info methods.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Apr 2010 04:42:08 +0000] rev 282
VMM/Handler: fixed destination check in Handler.aliasAdd().
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Apr 2010 03:03:47 +0000] rev 281
VMM/Alias: moved the postconf stuff from the Handlers to Alias class.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 30 Apr 2010 00:01:15 +0000] rev 280
VMM/{Config,Handler}: moved Config.install() to Handler.cfg_install().
Handler.cfg_install() must be called explicitly. To avoid 'strange' problems.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Apr 2010 23:03:24 +0000] rev 279
VMM/cli/Handler: fixed AttributeError in CliHandler.__init__().
Attribute '_scheme' was removed in previous commit.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Apr 2010 12:08:43 +0000] rev 278
VMM/Handler: removed password hashing related stuff.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Apr 2010 11:51:12 +0000] rev 277
VMM{,/cli}/Handler: adjusted user* methods to the changes in Account.
All user methods was renamed from userAction() to user_action().
Added missing docstrings.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Apr 2010 08:48:50 +0000] rev 276
VMM/Account: always pass the EmailAddress to the pwhash() call.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Apr 2010 05:57:53 +0000] rev 275
VMM/Account: some modifications and small improvements in class Account.
- replaced the tid by a Transport instance
- check mailbox format dependencies in _repare()
- reset all attributes when the Account was deleted
- don't select information, we have already, from the db
- added __nonzero__() method
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Apr 2010 03:38:19 +0000] rev 274
VMM/password: added small output check on _dovecotpw().
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 29 Apr 2010 03:05:22 +0000] rev 273
VMM/common: added a caching dict for version_hex()/version_str()
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Apr 2010 09:00:02 +0000] rev 272
VMM/Config: Added method Config.install() -> global cfg_dget().
VirtualMailManager.Configuration removed -> some adjustments.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Apr 2010 05:37:14 +0000] rev 271
INSTALL: dropped group mail related stuff.
UPGRADE: be more details about nobody's primary group.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Apr 2010 05:28:36 +0000] rev 270
configuration: Dropped setting misc.gid_mail.
That setting was never useful, since none of the virtual users was a member
of a system group.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Apr 2010 04:12:29 +0000] rev 269
man/{,de/}man5/vmm.cfg.5.rst: Updated descriptions of dovecotpw
and password_scheme settings.
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Apr 2010 03:34:57 +0000] rev 268
VMM: added new modules password and pycompat.hashlib.
INSTALL: updated
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 28 Apr 2010 02:24:23 +0000] rev 267
VMM/maillocation: Use the hex version, since we are able to convert
it to an string, in case of a failure.
Tobias Berling <t-obi@users.sourceforge.net> [Tue, 27 Apr 2010 22:49:46 +0000] rev 266
VMM/{Account,common,Handler}: Improved version_hex().
- common: version_hex() now supports 'serials' > 16.
Added version_str() as counterpart to version_hex().
- Account, Handler: updated hardcoded Dovecot versions.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 26 Apr 2010 02:15:36 +0000] rev 265
VMM/{Account,common,maillocation}: Dovecot version (check) fixes.
- Account: fixed versions dependencies.
- maillocation: use the version string, may be uses in a error message.
- common: version_hex() raises a ValueError, instead of returning 0,
if the version string is invalid.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 25 Apr 2010 04:51:14 +0000] rev 264
Use the complete Dovecot version, not only the concatenated major
and minor parts. (1.2.11 instead of 12).
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 25 Apr 2010 03:03:09 +0000] rev 263
VMM/common: improved version_hex() in order to convert also
alpha, beta and release candidate versions.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 24 Apr 2010 02:49:45 +0000] rev 262
VMM: moved some non-init functions to the new common module.
Adjusted imports in the Config and Handler module.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 23 Apr 2010 03:18:44 +0000] rev 261
setup.py: Added sub-package pycompat to the packages list.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 22 Apr 2010 18:51:16 +0000] rev 260
VMM/pycompat: is now a sub-package.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 20 Apr 2010 03:04:16 +0000] rev 259
merged changes from default(9bf8d97ced88)
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 20 Apr 2010 02:59:08 +0000] rev 258
VMM/VMM: corrected name of password scheme PLAIN-MD4.
Tobias Berling <mail@tobiasberling.de> [Sun, 18 Apr 2010 19:02:23 +0000] rev 257
VMM/Alias.py: Replaced some %r with '%s'.
VMM/AliasDomain.py: save(), switch(), delete(): Update AliasDomain._gid after
database change. Added dbc.close() to AliasDomain.delete().
create_tables{,-dovecot-1.2.x}.pgsql: Fixed a typo.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 18 Apr 2010 15:42:46 +0000] rev 256
VMM: added 'Configuration' variable and set_configuration().
Handler.__init__() now exports its config via set_configuration().
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 17 Apr 2010 21:39:00 +0000] rev 255
VMM/Handler: renamed some methods and added their missing docstrings:
- cfgDget() -> cfg_dget()
- cfgPget() -> cfg_pget()
- userByID() -> user_by_uid()
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 16 Apr 2010 03:58:07 +0000] rev 254
VMM: moved functions ace2idna(), check_domainname(), idn2ascii()
and relevant parts to the Domain module.
Adjusted imports in modules AliasDomain, EmailAddress and Handler.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 16 Apr 2010 03:02:34 +0000] rev 253
VMM: moved check_localpart() to the EmailAddress module.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 23:25:24 +0000] rev 252
VMM/Account: renamed function getAccountByID -> get_account_by_uid.
Fixed AttributeError (tid) in Account._prepare(). Removed unused imports.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 22:04:33 +0000] rev 251
VMM/Handler: Implemented Handler._chk_other_address_types().
Removed the static methods accountExists(), aliasExists(), relocatedExists()
and _exists().
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 20:21:18 +0000] rev 250
VMM/{Account,Alias,Relocated}: added a address property to the classes
Account, Alias and Relocated.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 19:46:53 +0000] rev 249
VMM/Relocated: implemented Relocated.__nonzero__() for truth value testing.
Use EmailAddress' __str__() method when raising RelocatedErrors.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 17:10:02 +0000] rev 248
merged changes from default(dbcb29ac89fa)
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 17:06:30 +0000] rev 247
INSTALL: simplified the 'SETUID copy of deliver' part
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 03:42:04 +0000] rev 246
VMM/Account: Account.get_info() use the domain's transport, if tid matches.
Pascal Volk <neverseen@users.sourceforge.net> [Thu, 15 Apr 2010 03:05:01 +0000] rev 245
VMM/Account: reworked class Account.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 13 Apr 2010 18:11:52 +0000] rev 244
VMM/Handler: adjusted Handler.aliasDomain*() methods to changes
in the AliasDomain class. Updated docstrings.
Pascal Volk <neverseen@users.sourceforge.net> [Tue, 13 Apr 2010 18:07:52 +0000] rev 243
VMM/AliasDomain: some cleanups in class AliasDomain.
Added missing docstrings.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 05 Apr 2010 15:04:55 +0000] rev 242
VMM/Domain: search() small code cleanups.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 05 Apr 2010 14:54:53 +0000] rev 241
VMM/Handler: small code cleanups and an improved import statement.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 05 Apr 2010 11:26:54 +0000] rev 240
merged changes from default(184970fd7486)
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 05 Apr 2010 11:00:13 +0000] rev 239
VMM/Domain: search() lists now all matching domains, also when
the result contains primary and alias names, but the found alias is not an
alias for any of the found primaries.
Pascal Volk <neverseen@users.sourceforge.net> [Mon, 05 Apr 2010 10:22:51 +0000] rev 238
VMM/VMM: applied 'code compression' from v0.6.x(09b7e3fe29b3) to
VirtualMailManager.domainList().
Tobias Berling <mail@tobiasberling.de> [Sun, 04 Apr 2010 22:44:58 +0000] rev 237
VMM/Handler: compressed Handler.domainList() and replaced “%s” with '%s' in
error message.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 04 Apr 2010 08:16:46 +0000] rev 236
VMM/Domain: reworked Domain class.
Adjusted classes Account, AliasDomain and Handler to changes in the
Domain class.
Pascal Volk <neverseen@users.sourceforge.net> [Sat, 03 Apr 2010 02:14:13 +0000] rev 235
VMM/Transport: Renamed attribute/property {,_}id to {,_}tid.
Pascal Volk <neverseen@users.sourceforge.net> [Fri, 02 Apr 2010 17:30:44 +0000] rev 234
VMM: check_localpart() use '%s' instead of %r in error messages.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 21 Mar 2010 09:59:05 +0000] rev 233
merged changes from default(8c4df3dd2d2c)
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 21 Mar 2010 09:26:00 +0000] rev 232
vmm: minimal cleanups.
Pascal Volk <neverseen@users.sourceforge.net> [Sun, 21 Mar 2010 09:17:26 +0000] rev 231
VMM: VirtualMailManager.__pwhash() added support for 'doveadm pw'.
dovecotpw was replaced by `doveadm pw` in Dovecot v2.0. To use doveadm
instead of dovecotpw use the following settings in vmm.cfg:
[bin]
dovecotpw = /path/to/doveadm
[misc]
dovecotvers = 20
Pascal Volk <neverseen@users.sourceforge.net> [Wed, 03 Mar 2010 20:54:18 +0000] rev 230
man: updated configuration manual pages (maildir.* -> mailbox.*).
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