Jan Dittberner
6533205479
Add TODO comments for mailbox task calls
2015-11-28 19:01:10 +00:00
Jan Dittberner
f2c3f64a87
Use MD5PasswordHasher for tests
...
This commit changes the password hasher for test runs to the
MD5PasswordHasher to speed up password hashing during test runs.
2015-11-28 19:00:03 +00:00
Jan Dittberner
1cfd4327da
Add tests for managemails.models
...
This commit adds tests for managemails.models to improve the test
coverage of that model. There are some changes to the classes in
managemails.models too:
- add a method create_mailbox to MailboxManager
- properly handle uncommited mailaddresses in MailAddress.set_mailbox
and MailAddress.set_forward_addresses
2015-11-28 14:07:34 +00:00
Jan Dittberner
03a7dc0320
Add test for managemails.forms
...
This commit adds tests for managemails.forms. A refactoring TODO is
added to MailAddressFieldMixin and pragma: no cover has been added to
code paths not reachable if no new constants are added to the
MAILBOX_OR_FORWARDS constant array.
2015-11-22 18:41:45 +00:00
Jan Dittberner
78f54d0c92
Add QA tool config to setup.cfg
...
This commit adds configuration for coverage, pep8 and flake8 to
setup.cfg. The .coveragerc is not needed anymore and is removed.
2015-11-22 18:40:40 +00:00
Jan Dittberner
28fc535f9e
Add tests for gvawebcore
...
This commit adds tests for gvawebcore.forms and gvawebcore.views.
2015-11-22 14:43:02 +00:00
Jan Dittberner
b11055807f
Clean PEP8 violations
2015-11-22 14:03:47 +00:00
Jan Dittberner
be0531ec30
Add test for gnuviechadmin.celery
...
This commit adds a refactoring for gnuviechadmin.celery to make the
installed apps detection testable. The test is added in
gnuviechadmin.tests.test_celery. Debug code in gnuviechadmin.urls is no
excluded from coverage reporting.
2015-11-22 14:31:04 +01:00
Jan Dittberner
7bcb0d3100
Add tests for gnuviechadmin.context_processors
...
This commit adds new tests for the gnuviechadmin.context_processors
module. The module gnuviechadmin.tests has been moved into a separate
directory for a more clear structure.
2015-11-22 13:13:42 +00:00
Jan Dittberner
de0f3b8ca1
Add translations for domains.models
...
addresses #17
2015-11-08 12:14:53 +01:00
Jan Dittberner
337947f50c
Update documentation
...
This commit adds documentation how to setup PowerDNS to use the
gnuviechadmin DNS schema. The queries are provided in a PowerDNS
configuration file.
Addresses #17
2015-11-07 22:17:43 +01:00
Jan Dittberner
c058cc7b1d
Improve DNS table models
...
This commit adds Meta information and __str__ methods to all DNS table
models. The new methods are now covered with new tests. The new
constants DNS_DOMAIN_METADATA_KINDS and DNS_TSIG_KEY_ALGORITHMS are
defined and used in the DNSDomainMetadata and DNSTSIGKey models. A
matching database schema migration is added.
Addresses #17
2015-11-07 16:10:38 +00:00
Jan Dittberner
1df2534cf3
Add DNS models
...
This commit add model classes closely matching the tables defined in
PowerDNS' schema as described at
https://doc.powerdns.com/md/authoritative/backend-generic-mypgsql/ .
The commit includes the model definitions a schema migration including
PostgreSQL specific CHECK constraints and the registration in the Django
admin interface.
addresses #17
2015-11-05 20:54:21 +00:00
Jan Dittberner
8e954a1a8c
Update to Django 1.8.6
2015-11-05 19:18:03 +01:00
Jan Dittberner
64b4302b87
Set vim as default editor
...
Use the alternatives system to set vim as default editor.
2015-10-25 18:30:27 +01:00
Jan Dittberner
fbfd3cf41b
Add tests for domains.views
...
This commit adds a test class to test the CreateHostingDomain view in
domains.views.
2015-10-25 17:30:15 +00:00
Jan Dittberner
f5759f3194
Add tests for domains app
...
Add missing tests for domains.forms and domains.models.
2015-10-15 19:50:18 +00:00
Jan Dittberner
7d7a8941c3
enable line numbers in vim
2015-10-13 22:31:27 +02:00
Jan Dittberner
2de53757df
improve contact_form test coverage
2015-10-13 22:31:20 +02:00
Jan Dittberner
e51d202abd
start test implementation for contact_form
2015-10-12 22:07:25 +00:00
Jan Dittberner
c5d9673ac3
remove unnecessary imports
2015-10-12 20:51:03 +02:00
Jan Dittberner
084dd5ba8d
add unit tests for dashboard app
2015-10-12 18:43:52 +00:00
Jan Dittberner
660ffa9de9
bump version to new development version
2015-10-12 18:42:14 +00:00
Jan Dittberner
d5bba7a22d
asynchronous refactoring
...
- don't execute celery tasks directly
- introduce optional parameters to fileserver tasks to allow chaining
- handle user/group/key create and delete tasks in new osusers.signals
class
- adapt unit tests
- change TaskResults model to store the task signatures
- generalize the local settings' logging configuration
2015-10-12 00:23:31 +02:00
Jan Dittberner
bcfea10e6f
add simplejson to make task serialization work
2015-10-11 23:17:21 +02:00
Jan Dittberner
4f36c21d5b
add host alias mq
2015-10-11 16:38:42 +02:00
Jan Dittberner
04871bb488
setup vimrc file for vagrant user
2015-10-11 15:38:45 +02:00
Jan Dittberner
8ebb5cad6a
bump dependency versions, fix tests and deprecation warnings
2015-10-11 15:30:23 +02:00
Jan Dittberner
68170f7576
enable rabbitmq management and add admin permissions
...
- allow database creation for gnuviechadmin user in local deployments to
allow test runs
- set administrator tag for gnuviechadmin user in rabbitmq
- add all permissions on gnuviechadmin vhost to gnuviechadmin user
- enable rabbitmq management plugin
2015-10-11 15:28:23 +02:00
Jan Dittberner
3270b43578
forward rabbitmq webadmin port from vagrant box
2015-10-11 15:27:46 +02:00
Jan Dittberner
5fe414133e
make settings configurable via pillar, default to local
2015-10-11 14:11:11 +02:00
Jan Dittberner
5578647f33
fix locale compilation, use variables for paths
...
- install gettext
- define and use variables checkout, home and appdir
2015-10-11 14:01:12 +02:00
Jan Dittberner
6a0f88d7d4
manage screenrc and set hostname in vagrant box
2015-10-11 12:02:22 +02:00
Jan Dittberner
33338af352
finish vagrant configuration
...
- ignore collected assets
- setup virtualenv and environment variables
- import additional salt state modules
2015-10-04 23:02:04 +02:00
Jan Dittberner
b07ab0a14b
add PostgreSQL database and message queues to vagrant box
2015-10-04 20:18:44 +02:00
Jan Dittberner
3c6b779c44
setup default nginx ssl/security configuration for vagrant
2015-10-04 19:32:42 +02:00
Jan Dittberner
18ae1e15f4
setup vagrant box roles and nginx package
2015-10-04 19:00:46 +02:00
Jan Dittberner
6f9b17dc49
setup salt provisioning for vagrant
2015-10-04 14:20:44 +02:00
Jan Dittberner
11b1befa1b
initial Vagrantfile
2015-10-04 12:08:15 +02:00
Jan Dittberner
1aa51cf61e
release 0.11.3
...
- bug fixes for ssh public key handling
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABCgAGBQJU6OPkAAoJEA15HcjXN8HZEPoH/02qF9W3E8Y55T07Re1sXwHv
qjx5lFMduMBIC3IsVSudpimKP2ds3rbO/Q+l3kN2nTFR3uHdKXXM48FlpIqwINL2
CJimvHh1PxkuqsFN6D2esGN079m/9VP0m3UMydX2QKbdkqQOBWO1CwOrUcL2pM5u
iKxYeqD6NGTtrPFz5bRRlBGtDRRWAChvUfja1sIHcOEa4KYlcI3E6qaKJ5mNTOhk
MfQfu7MoT2cUVhgBk2riGHnG4IQzFi1es/s1v2YWsg1ZfsBjWtYZthBw9KlOyS8u
Yt+AQK8VmX/Usb6pUojHd/9l2o+/fJVVnZEI3e9HQaEhWlBD3Z1ncA8dwfkWlJg=
=8lUx
-----END PGP SIGNATURE-----
Merge tag '0.11.3'
release 0.11.3
- bug fixes for ssh public key handling
* tag '0.11.3':
bump version number, add release version to changelog
2015-02-21 21:00:43 +01:00
Jan Dittberner
c5962632d2
Merge branch 'release/0.11.3' into production
...
* release/0.11.3:
bump version number, add release version to changelog
fix broken ssh public key handling
add appropriate filtering for SSH key list
2015-02-21 21:00:14 +01:00
Jan Dittberner
4c81502b8e
bump version number, add release version to changelog
2015-02-21 20:59:09 +01:00
Jan Dittberner
25b5b82a06
fix broken ssh public key handling
...
- make sure that AddSshPublicKeyForm does not try to parse the key if it is
None
- split the key text into a maximum of 3 parts to allow whitespace in comments
- update changelog
2015-02-21 20:57:18 +01:00
Jan Dittberner
dd38edd498
add appropriate filtering for SSH key list
...
- fix osusers.views.ListSshPublicKeys
- add changelog entry
2015-02-21 20:30:15 +01:00
Jan Dittberner
13160b522d
release 0.11.2
...
- mailforward setup bugfix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABCgAGBQJU1JWpAAoJEA15HcjXN8HZaOEIAIZCdTf6sbN91MZPIBRKPoau
Jzki+SIJpFs9v5mJLJSWw6kf6cDe/XME399365Mfw+lTsu1eCcMbvoNo1F2I/XRE
xe+KCVibVMH80qOZijrjJ7o8yG9vDC5UDU3Tzb/qS5GH7RNwFS76PVe/GDF0wgYh
nZEU2IbJl1gHfVbNUmW5XU09pgT2lx24qK2MzDrjco5B2atHgDMjFIz6ycdnEm6f
F+jQ+muX/803g3mLnSLD8Vid12J9+ugvgbw/km3bvGY4MS18VhwXP88ghmbM9iP4
Om/defjWK0Mufmyb6Sehu/S4Xt6C+vI9hpm7CP4bBsZ/D9liSRpB3+xpTOUYswA=
=RVpR
-----END PGP SIGNATURE-----
Merge tag '0.11.2'
release 0.11.2
- mailforward setup bugfix
* tag '0.11.2':
bump version number, add release to changelog
2015-02-06 11:21:34 +01:00
Jan Dittberner
a298548244
Merge branch 'release/0.11.2' into production
...
* release/0.11.2:
bump version number, add release to changelog
fix mail forwarding setup bug
improve documentation
2015-02-06 11:21:12 +01:00
Jan Dittberner
9cab636351
bump version number, add release to changelog
2015-02-06 11:20:47 +01:00
Jan Dittberner
2af30d6148
fix mail forwarding setup bug
...
- fix wrong variable name in
managemails.models.MailAddress.set_forward_addresses and typo in
managemails.forms.EditMailAddressForm
2015-02-06 11:17:03 +01:00
Jan Dittberner
78a11055f3
improve documentation
...
- add better README.rst
- improve structure of docs/index.rst
- add some words about deployment
- remove old implemented ideas and add some new ideas
2015-02-04 00:48:35 +01:00
Jan Dittberner
f154a2efac
release 0.11.1
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABCgAGBQJUzpiDAAoJEA15HcjXN8HZ9wQH/isO/WnSUJJfQCaO7nxPXJOW
z7Uq0hRyk91nnvSY5sGJRkx5eO3DEYrf54bOSiykDcAR6hWVixs+xTFTc/CahpCL
i9i9W/MZ/Ae3LkrF653QtOS/+bnBx1V9B9Yr0BnqpSev2KcRr9/nMPIeklB51dpV
ub40c4ZnReHadUZaTfKptecie4LygU7s/dDKcyyUKN6yvHc4tyQfvm0J0ldRtAs6
fKQizNXjAhskMyNVgqXGc6K0dpoBkJBTf7C48uMaLpem4RChPdUV0FnUlqaqnZWy
HQ3ttCASt4QxH1Nw/ZG4iDNeGvnEogMm9Rch4vkkBKsxs9kZtlTI7iHUTUbgf7k=
=6c9Z
-----END PGP SIGNATURE-----
Merge tag '0.11.1'
release 0.11.1
* tag '0.11.1':
bump version number, add release to changelog
2015-02-01 22:20:20 +01:00