Commit graph

468 commits

Author SHA1 Message Date
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
Jan Dittberner bedd48dedc Merge branch 'release/0.11.1' into production
* release/0.11.1:
  bump version number, add release to changelog
  add version number to gnuviechadmin
  enable translations for contact form
2015-02-01 22:19:45 +01:00
Jan Dittberner b5714f2af3 bump version number, add release to changelog 2015-02-01 22:19:18 +01:00
Jan Dittberner 251e8a54f6 add version number to gnuviechadmin
- add __version__ to gnuviechadmin/__init__.py
- change docs/conf.py to use version number from gnuviechadmin
- add gnuviechadmin.context_processors.version_info to add
  gnuviechadmin_version to template context
- add version and technology links to templates/base.html footer
- add CSS styles for footer formatting
2015-02-01 22:15:40 +01:00
Jan Dittberner 1bee80044c enable translations for contact form 2015-02-01 20:58:53 +01:00
Jan Dittberner 8c30ec697d release 0.11.0
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCgAGBQJUzntVAAoJEA15HcjXN8HZABwIAI93Y531nuMnQ6MsA9sTpPqB
 ovkDZVqu/qUHB79M0ta45tnXQgyjRhChYxUQiSg8APg0p2xhA2BMOcpdDrljfgFA
 IHPug+7h5//5dqCpqwCx5L3wOIIwwnjRFgsU9T5vdVKFMsvQUwpry1a7a/ZqL27w
 9syJ2IuvcVJb1IjjMA28+TNw/3Yh+ESRsZz9R/JZ1NVELDqmExnoy+0BsLc9FYRM
 gKOsn0TKbmSF4QsKBwDJwRVZcKXuk7yGj+AtvwupldIznorc7GRtByk1BGK/7Pyw
 WqvbNO3Mm5cdwXsC/md3bG+ShteIDLqBWq1HTyt19OxZF8OxGsHKwzRfd8tLDAE=
 =2ZBC
 -----END PGP SIGNATURE-----

Merge tag '0.11.0'

release 0.11.0

* tag '0.11.0':
  update docs version, add release to changelog
2015-02-01 20:15:41 +01:00
Jan Dittberner 11222c584d Merge branch 'release/0.11.0' into production
* release/0.11.0:
  update docs version, add release to changelog
  fix tests
  add icons to top level navigation
  add contact_form link in top navigation
  add context processing for contact_form views
  define DEFAULT_FROM_EMAIL in production settings
  implement contact form
  add imprint as flatpage
  fix issues with changed URLs
  add new german translation strings
  add new view CustomerHostingPackageList
  configure local logging
  mark active menu item as active
  add links to webmail, phpmyadmin and phppgadmin
2015-02-01 20:15:22 +01:00
Jan Dittberner 83a67a9e37 update docs version, add release to changelog 2015-02-01 20:15:00 +01:00
Jan Dittberner e913b1f771 fix tests 2015-02-01 20:12:23 +01:00
Jan Dittberner e87e4ca268 add icons to top level navigation 2015-02-01 19:39:09 +01:00
Jan Dittberner 52b6dd5845 add contact_form link in top navigation
- add contact_form URLs to gnuviechadmin.urls
- set href of contact link to 'contact_form'
2015-02-01 19:37:13 +01:00
Jan Dittberner f9e4e67cf6 add context processing for contact_form views 2015-02-01 19:34:41 +01:00
Jan Dittberner 42f3ed7f06 define DEFAULT_FROM_EMAIL in production settings 2015-02-01 19:34:12 +01:00