1
0
Fork 0
Commit graph

30 commits

Author SHA1 Message Date
3683df2011 improve test coverage (addresses #28)
* gnuviechadmin/tests/functional/test_xmlrpc_users.py:
  push test coverage to 100%
* gnuviechadmin/xmlrpc/users.py:
  implement rudimentary role_exists methods
  fix variable name
* add egg-info

git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@263 a67ec6bc-e5d5-0310-a910-815c51eb3124
2009-07-05 22:40:32 +00:00
daf9517a83 * some pylint fixes (addresses #24)
* add pydoc in client and domain backend classes
 * add support for buildutils in setup.py


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@262 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-06-07 21:25:35 +00:00
b183465d5e Enable logging in tests (fixes #21)
* add logging.config.fileConfig in gnuviechadmin/tests/__init__.py
 * provide default logging configuration in test.ini


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@259 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-06-07 15:12:38 +00:00
065996e0df Unit tests and password validation code
* provide nose based unit test infrastructure (fixes #20)
 * create unit tests for gnuviechadmin.util.passwordutils
 * add password validation function to gnuviechadmin.util.passwordutils
   (fixes #19)
 * make new files PEP8 clean (addresses #18)


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@258 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-06-07 14:48:52 +00:00
09180938f1 Code style changes
* make code PEP8 clean (addresses #18)
 * add copyright information to all python files


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@257 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-06-06 19:20:18 +00:00
7c4d25da43 Start work on XML-RPC functionality
* provide an XMLRPC server start script (bin/gvaserver) (addresses #5)
 * encapsulate XMLRPC visible code in gnuviechadmin.xmlrpc.XMLRPCFacade
 * start implementation of authkit compatible Users implementation
   gnuviechadmin.xmlrpc.users.GVAUsers (addresses #17)


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@256 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-06-06 16:06:05 +00:00
6d33a0e147 improve stmtcreator
* fix __main__ spelling (fixes #15)
 * raise a ValueError for wrong lines and explain the correct syntax 


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@255 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-07 17:13:17 +00:00
1d288681b7 r1101@denkpolster: jan | 2008-04-05 23:22:04 +0200
work on documentation
  * documentation updates (addresses #13)
  * make stmtcreator execute as __main__ only


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@254 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-05 21:22:12 +00:00
5e143677d8 r1097@denkpolster: jan | 2008-04-05 20:48:26 +0200
fixed unicode handling for templates (fixes #14)
  * templates are now assumed to be UTF-8 encoded
  * output files are written in UTF-8 encoding too


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@253 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-05 18:48:46 +00:00
44b5f81c45 r1096@denkpolster: jan | 2008-04-05 20:28:56 +0200
provide a useable gva.cfg.tmpl
  * add all required parameters to gva.cfg.tmpl and document them (fixes #12)
  * set a usable database url in defaults.cfg


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@252 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-05 18:48:39 +00:00
27489ef06f r1095@denkpolster: jan | 2008-04-05 20:26:09 +0200
bugfix for sqlalchemy >= 0.4.1
  * use session.save_or_update() (fixes #6)
  * update copyright year and add python editor comment


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@251 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-05 18:48:33 +00:00
7152902ff3 r1093@denkpolster: jan | 2008-04-05 18:54:02 +0200
correctly handle empty user lists in sysuser create
  * use prefix + 01 if list of users with prefix is empty (fixes #11)


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@250 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-05 16:54:07 +00:00
cccc6b8fe3 r1085@denkpolster: jan | 2008-04-04 22:07:37 +0200
work on SQLite support (fixes #9)
  * correctly handle unicode output of SQLite (gpgmail.py)
  * only use schema for PostgreSQL databases (settings.py)
  * make SQLite and PostgreSQL mandatory (migrate.cfg)
  * add SQLite SQL to database version 1 of dbrepo


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@249 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-04 20:07:39 +00:00
4ae866c559 r1083@denkpolster: jan | 2008-04-04 20:36:31 +0200
work on compatibility issues
  * make gnuviechadmin compatible with (fixes #6)
  * setup database at startup if necessary (fixes #8)


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@248 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-04 18:36:46 +00:00
639b58df6e provide compatibility with sqlalchemy 0.4
* fix sqlalchemy imports (fixes #6)
 * set runtime dependencies to sqlalchemy >= 0.4 and
   sqlalchemy-migrate >= 0.4


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@245 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-03-06 19:09:59 +00:00
f24de13a6f - working with sqlalchemy 0.3.10
- remove duplicate foreign key definitions from tables.py
- use _saltchars in passwordutils.py


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@240 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-01-12 20:46:28 +00:00
aaa23c9c5f - use first free uid in range for system user accounts
- new function for getting the first free uid in a range in getenttools


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@237 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-26 13:21:36 +00:00
d46d04567d - add *.log to svn:ignore
- move mail function to gpgmail module
- add parameter x-action=pgp-encrypted to mails


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@235 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-25 16:04:40 +00:00
732bb17fc5 - always encrypt if we have a key
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@232 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-10 15:50:25 +00:00
fdea3217c8 - mail related tables in database schema
- gpg encryption for mails
- domain creation and deletion completed
- logging
- use pwd and grp


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@230 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-09 06:46:36 +00:00
3f4457bdca - database versioning with migrate
- backend for domains
- settings for immutable things and config encapsulation


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@229 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-05 09:00:34 +00:00
0d12afc71e - use a schema for the gnuviechadmin tables
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@228 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-03 09:13:20 +00:00
926acaddfa - restructured
- implementation of client and sysuser cli
- backend for client, sysuser, domain and record
- unified cli binary gva


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@226 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-02 09:14:47 +00:00
ee36146629 - CliCommand base class for cli commands
- client command for creating clients
- gva dispatcher


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@224 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-28 21:15:20 +00:00
3f099c72ff - more setuptools magic
- move configuration to config files
 - default configuration in defaults.cfg
 - site configuration in gva.cfg


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@221 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-13 18:18:09 +00:00
bd306389f0 - move table description to tables.py
- new sysuser class


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@220 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-12 21:39:14 +00:00
6b1c80899d - moved all database specific code to the module, cli is just a frontend
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@219 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-11 20:09:07 +00:00
58125cdf29 - extended field width of phone, fax and mobile fields to 32
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@217 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-10 22:42:05 +00:00
a0778661c6 - configuration information file (like mailman)
- GNU GPL information in each file
- more pythonic way to define attributes
- exception class


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@215 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-10 13:52:59 +00:00
c84fc9a90c - initial client handling code
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@213 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-08 21:06:58 +00:00