1
0
Fork 0
Commit graph

120 commits

Author SHA1 Message Date
b8139e91f2 start argparse transition (addresses #33)
* use argparse instead of old home grown solution for argument
   parsing
 * change ClientCli class to use argparse
 * disable SysuserCli, DomainCli and RecordCli
 * mark strings as translatable (addresses #34)
2009-08-01 17:24:02 +02:00
076621a0be add argparse as dependency (addresses #33) 2009-08-01 17:24:02 +02:00
222b35b033 add PasteDeploy dependency, remove pudge dependency
* upgrade migrate repository structure (fixes #32, #27)
 * switch to PasteDeploy (fixes #31)
 * update for SQLAlchemy 0.5 compatibility
 * add python-gnutls dependency (addresses #35)
2009-08-01 17:20:39 +02:00
483c1f9038 add IPv6 support to gvaserver (fixes #30) 2009-07-18 20:23:03 +02:00
92c1e21f32 use Python interpreter from runtime environment
* bin/gva, bin/gvaserver: use /usr/bin/env to find python binary
   (fixes #29)
 * create a basic .gitignore file
 * update copyright years in modified files
2009-07-18 19:38:26 +02:00
6883909d73 update sqlalchemy and sqlalchemy-migrate dependency versions (addresses #27) 2009-07-18 18:57:58 +02:00
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
4ee62d5b2e Add nosetest configuration to setup.cfg
* Set defaults for python setup.py nosetests runs (fixes #23)
 * add .coverage and *.sqlite to svn:ignore


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@261 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-06-07 15:40:04 +00:00
030a733fbd Remove orphaned code in test and testdb (fixes #22)
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@260 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-06-07 15:18:38 +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
c049fd9bc9 r1018@denkpolster: jan | 2008-04-01 17:51:24 +0200
addresses #1
   * add (commented) dependencies to pyme and python-crack
   * update copyright years
 


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@247 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-02 11:04:01 +00:00
0838856b76 r1017@denkpolster: jan | 2008-04-01 17:14:52 +0200
addresses #1
   * add alias for release builds
   * add date in version number
 


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@246 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-04-02 11:03:55 +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
fbe448ca62 improve setuptools usage, addresses #1
* add dependency to migrate
 * update scripts property
 * optimize imports


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@244 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-02-29 20:45:31 +00:00
c6baab12e6 - repository reorganisation
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@243 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-01-12 22:26:28 +00:00
dea15a6c4f - repository reorganization
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@242 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-01-12 22:24:08 +00:00
5c1a97e82d - start repository reorganisation
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@241 a67ec6bc-e5d5-0310-a910-815c51eb3124
2008-01-12 22:11:55 +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
d5ace903bf - set svn:keywords property
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@236 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-25 16:14:17 +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
b8c1b30e11 - ignore *.pyc in directory
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@231 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-07-09 14:59:03 +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
1846c9bcd8 - new listclients script
- distutils setup script
- moved scripts to bin subdirectory


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@218 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-11 19:08:37 +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
5b7a1d990d - new listclients script
- distutils setup script
- moved scripts to bin subdirectory


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@216 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-10 22:23:17 +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
adbf8e440d - executable property set
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@214 a67ec6bc-e5d5-0310-a910-815c51eb3124
2007-02-08 21:08:37 +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
bf7992a600 - initial work on a mod_python based web frontend
- add logs to svn:ignore
- use psycopg2 in backend


git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@198 a67ec6bc-e5d5-0310-a910-815c51eb3124
2006-11-04 20:24:36 +00:00