Commit Graph

429 Commits

Author SHA1 Message Date
Jan Dittberner adc57657dd Use pipenv for requirements 2018-11-17 20:07:29 +01:00
Jan Dittberner c676415c97 Update vagrant setup to stretch64 with LXC 2018-08-10 11:57:00 +02:00
Jan Dittberner 40c07745d2 Hotfix Release 0.11.4
-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAlhnrVsACgkQDXkdyNc3
 wdnfNAgAn7x1rlKR2RynhUY8Xdy9qDLTmJHFGdsYUR5m92VftcE7LDnvrZBNa26T
 kdprjxsA8xOfUGlX5BVFbY4FvFORuJUj8TP3NMUcJlL726dWWS0a8FKif9bLgtx4
 Ccca1DJDIFM72fniNyA6jxbNNvftQtEDohXiwzUE8IP932vgPr2tB55yoaZSVoUd
 El3yl1IZWVX8F4G/HyrCqO1BPTxmDbDJIiTNwMNrx1Hg4NZHWCzufFIcNrfkGqHI
 0LPxnHn6RAdxKFWxXi8JanHR91fosnpCLwLqWIkSskdKiStEg4FfRUffAtIDFoHa
 g0cwuBKwedmcibQLgTvekI2W0P/XGg==
 =I6aI
 -----END PGP SIGNATURE-----

Merge tag '0.11.4'

Hotfix Release 0.11.4

* tag '0.11.4':
  Fix wrong tag in password reset done template
2016-12-31 14:06:39 +01:00
Jan Dittberner 8f4c6d5696 Merge branch 'hotfix/0.11.4' into production
* hotfix/0.11.4:
  Fix wrong tag in password reset done template
2016-12-31 14:06:22 +01:00
Jan Dittberner e8bdf3fec1 Fix wrong tag in password reset done template 2016-12-31 14:03:57 +01:00
Jan Dittberner 4eb135eeb9 Add hosting package data example 2016-09-25 17:32:25 +02:00
Jan Dittberner 108f0e85bf Protect /etc/salt/grains
Make sure that the permissions of /etc/salt/grains only allow access for the
root user.
2016-09-25 17:27:42 +02:00
Jan Dittberner 36d082006b Improve TaskResult admin view
Provide a better presentation of TaskResult instances by specifying the
list_display fields and allowing to filter finished and unfinished tasks.
2016-09-25 16:36:31 +02:00
Jan Dittberner 150c9111ca Ignore PyCharm files 2016-09-25 01:10:45 +02:00
Jan Dittberner 89011b155a Improve vagrant setup
Install python-cryptography from jessie-backports and remove
autogenerated comments from Vagrantfile.
2016-09-24 23:54:57 +02:00
Jan Dittberner 5dc3549896 Improve documentation
This commit adds a lot of documentation including block diagramms for
message flows.
2016-09-24 21:57:28 +02:00
Jan Dittberner 09cfc6a373 Update Sphinx, bpython and cursies to latest versions 2016-02-01 22:31:34 +00:00
Jan Dittberner 3c5d02776a Update Django and gvacommon dependencies
This commit updates the Django dependency version to 1.9.2 and gvacommon
to 0.3.0 that provides gvacommon.settings_utils.get_env_variable. The
gnuviechadmin.settings.base module now uses this implementation instead
of an own copy and the corresponding test has been removed too.
2016-02-01 22:27:05 +00:00
Jan Dittberner 6c606034b3 Add docstrings from gvaldap settings 2016-01-31 23:22:07 +01:00
Jan Dittberner 3d95a9f61a Switch result backend to redis
The AMQP result backend proved as impractical, this commit switches to
redis instead. The redis server is setup on the webinterface host but
can be configured on another host.
2016-01-31 21:50:49 +01:00
Jan Dittberner 9d843c920a Add docstring to gnuviechadmin.settings.base 2016-01-31 21:50:11 +01:00
Jan Dittberner cd696ceb1f Fix flake8 finding 2016-01-31 21:50:11 +01:00
Jan Dittberner f3b76a09b7 Add code quality requirements 2016-01-31 21:50:11 +01:00
Jan Dittberner 07b0eb6981 Update celery dependency 2016-01-31 21:50:11 +01:00
Jan Dittberner eda20937dc Use separate test vhost for celery queues 2016-01-31 21:46:14 +01:00
Jan Dittberner e0449148a7 Move salt states and pillar data to separate repository 2016-01-31 21:45:06 +01:00
Jan Dittberner 6147a90066 Improve salt setup
This commit improves the salt setup of the Vagrant box:
- Salt output is reduced to log level warning
- Hosts entries are created for the internal IPs of all planned gva
  component VMs
- .bashrc and a .bash_functions sourced from it are now managed for the
  vagrant user
- the VM name has been changed to gva.local
- recent salt versions do not depend on m2crypto anymore, therefore it
  is now installed before x509certificate functions are called
- the rabbitmq_vhost for gva is now setup before any users are created
  because the previous implementation was broken with recent salt
  versions
- the gnuviechadmin-locale-data-compile step has been simplified because
  Django 1.9's compilemessages takes care of recursive .mo file
  compilation
- pillar data has been separated by role (especially queue permissions
  and credentials)
- salt configuration is now unified with gvaldap
2016-01-29 22:42:45 +01:00
Jan Dittberner f1f0e35ea1 Update documentation copyright years 2016-01-29 17:26:23 +01:00
Jan Dittberner a03a00e61b Add private network for inter VM communication 2016-01-29 16:52:14 +01:00
Jan Dittberner 2018520646 Start changelog for next release
This commit updates the changelog, switches to git code browsing for the
release links and uses correct semantic versioning.
2016-01-29 14:21:43 +00:00
Jan Dittberner 41fbb58def Switch to AGPLv3+ licensing 2016-01-29 14:53:12 +01:00
Jan Dittberner 5b48a3f2db Use gvacommon from own repository
This commit removes the included gvacommon copy. Gvacommon has its own
development repository and is now added as a dependency via
requirements/base.txt.
2016-01-29 13:26:18 +00:00
Jan Dittberner 37b18a17af Update German translation
This commit updates the German translation files and adds missing
translations.
2016-01-29 11:07:41 +01:00
Jan Dittberner e7006ac4a6 Fix encoding name
This commit fixes the encoding specification of
osusers.tests.test_models.
2016-01-29 10:04:59 +00:00
Jan Dittberner 0a0524f1f0 Add tests for userdbs.views.ChangeDatabaseUserPassword
This commit adds tests for the ChangeDatabaseUserPassword view.
2016-01-29 10:03:24 +00:00
Jan Dittberner 1f700fc06a Add tests for userdbs.views.DeleteUserDatabase
This commit adds tests for the DeleteUserDatabase view and improves the
grammar of flash messages of the userdbs.views module.
2016-01-29 09:40:14 +00:00
Jan Dittberner e6c38b632b Add test for userdbs.views.AddUserDatabase
This commit adds tests for userdbs.views.AddUserDatabase, the view
itself has been modified so that it is only reachable when the hosting
package actually has database options available.
2016-01-28 16:17:50 +01:00
Jan Dittberner e9fc8b7f89 Push coverage for osusers to 100% 2016-01-28 13:44:29 +00:00
Jan Dittberner a8e28fd595 Update system during provisioning 2016-01-26 13:24:22 +01:00
Jan Dittberner ed0a93bb3d Update dependencies
- Update to Django 1.9.1, crispy-forms 1.6.0, kombu 3.0.33, requests
  2.9.1 and snowballstemmer 1.2.1
2016-01-09 14:47:37 +00:00
Jan Dittberner de501cfdde Fix Django deprecation warning
Django 1.9 deprecates passing a context directly to the render function
in template loader. This commit creates a proper template rendering
context before rendering the mails sent from the contact form.
2016-01-09 14:46:04 +00:00
Jan Dittberner b8893e92d7 Add timestamps to task result model 2016-01-09 14:26:52 +00:00
Jan Dittberner 6a6009e7f2 Fix template error in passwort reset response 2015-12-26 12:29:22 +01:00
Jan Dittberner 085b126416 Update to Django 1.9
- update all dependencies
- fix deprecation warnings and errors for Django 1.9 compatibility
2015-12-19 20:11:23 +01:00
Jan Dittberner 1b30b1a38c Define logging for tests 2015-12-07 00:24:23 +00:00
Jan Dittberner c9a9fa11b2 Refactor userdbs app to use signals
This commit isolates the celery task invocations of the userdbs app into
signal handlers. All celery interaction is now asynchronously handled in
userdbs.signals.
2015-12-07 00:23:07 +00:00
Jan Dittberner 1649e4592e Add tests for userdbs app
This commit adds a set of unit tests for the userdbs app. Some tests
will fail because a refactoring to signals comes with the next commit.
2015-12-07 00:22:13 +00:00
Jan Dittberner e96aac82fc Add tests for taskresults app
This commit adds tests for the taskresults management command
fetch_taskresults and completes the test coverage for
taskresults.models.
2015-12-06 18:47:11 +01:00
Jan Dittberner 4e54b6fcc5 Add osusers.views tests
This commit adds tests for the osusers.views module. An incompatibility
with Django 1.8 in EditSshPublicKeyComment has been fixed.
2015-12-06 17:49:10 +01:00
Jan Dittberner 28ff099df9 Improve osusers.models coverage
This commit adds tests for more corner cases of
SshPublicKeyManager.parse_keytext to raise the test coverage to 100%.
The method now handles invalid keys more thoroughly.
2015-12-06 17:47:27 +01:00
Jan Dittberner 8616b2d6c9 Add tests for osusers.forms
This commit adds test classes for osusers.forms in
osusers.tests.test_forms.
2015-12-06 15:35:23 +01:00
Jan Dittberner 4f39c0d2c4 Add tests for osusers.admin
This commit raises the test coverage for osusers.admin to 100% by adding
tests for UserAdmin, GroupAdmin, SshPublicKeyCreationForm and
SshPublicKeyAdmin. The commit adds a refactoring TODO to
SshPublicKeyAdmin.perform_delete_selected because the asynchronous
background task should be launched from a signal handler.
2015-12-05 22:23:25 +00:00
Jan Dittberner fb1f31a9bc Fix flake8 warnings
This commit fixes all warnings created by flake8 by removing unused
imports and variable assignments. Some wrongly indented lines are now
indented correctly.
2015-12-05 13:47:41 +00:00
Jan Dittberner 30600ce107 Add tests for managemails.views
This commit adds a test suite for the views defined in
managemails.views. One issue discovered when writing tests is fixed by
checking the request method in CreateMailbox.dispatch.
2015-11-28 19:01:52 +00:00
Jan Dittberner 6533205479 Add TODO comments for mailbox task calls 2015-11-28 19:01:10 +00:00