Commit graph

494 commits

Author SHA1 Message Date
e487dad026 Improve settings
The commit removes the non-existing sys.path import, simplifies the
condition in the show_debug_toolbar function and defines ALLOWED_HOSTS
for the test environment.
2019-07-05 21:25:31 +02:00
977189c263 Update and improve docker image
This commit updates the docker image to be based on Debian 10 Buster.
The startup script waits until the database container becomes available.
Needed dependencies for building the PostgreSQL driver were added to the
docker image.
2019-07-05 21:23:24 +02:00
e36a8baedf Update dependencies 2019-07-05 21:22:49 +02:00
3d18392b67 Fix tests for Python 3
- drop Python 2 __future__ imports
- fix tests to handle new Django and Python 3 module names
- reformat changed files with black
2019-01-30 21:27:25 +01:00
ddec6b4184 Use gnuviechadmin.settings
Specific settings have been removed, they are now triggerd by the
GVA_ENVIRONMENT variable.
2019-01-30 21:08:14 +01:00
96a8e0e995 Update dependencies, use Python 3.6 2019-01-30 21:07:37 +01:00
10a83d36f7 Fix locale support 2018-12-26 14:51:34 +01:00
24009bff3e Set version to 0.12.0-alpha 2018-12-26 14:51:03 +01:00
c3e0506133 Update dependencies 2018-12-26 14:50:20 +01:00
6f5c0a1b7c Use custom SHOW_TOOLBAR_CALLBACK 2018-12-26 14:49:56 +01:00
6a982f8db2 Release hotfix 0.11.5 0.11.5
-----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAlwjdWsUHGphbkBkaXR0
 YmVybmVyLmluZm8ACgkQDXkdyNc3wdlVYAf/Y2AQsMQwp/MYht+xse2tznRVHPid
 XVDj8urrvW/Me7ugcuVdtIoOa1M+sc/8MGhpHWBzp92qAqpkQwkhTZZovaselLzq
 00+cf9HjNdUG+gEOW5eGBP0O0iN7bd/p1HqnmLtGEAx3YoKe4z2YHAl59Nb2jWoV
 9UiohbSK7+4fThC8r2Hj2zPmwnQ3t5QFLEWIp8xyvF+DQ3zuxXOoZlBK+9VR676j
 FxHox9eQ4iJpswlOzYDfS1nGzfVixI0cCvRuZeM1sHWteKVJrqOzNjKAAMi47T+v
 Jqq92EpLUFCsRxH+d5yvhLgNX6BpvWPtTDzd/SO6G+K4l/1whwWU//wG+g==
 =5PHe
 -----END PGP SIGNATURE-----

Merge tag '0.11.5'

Release hotfix 0.11.5 0.11.5
2018-12-26 13:35:55 +01:00
bfcabe664f Merge branch 'hotfix/0.11.5' into production 2018-12-26 13:34:48 +01:00
271421cdf8 Set version number 2018-12-26 13:33:36 +01:00
71aad5e078 Remove Xing from settings and templates
Xing canceled API access for us.
2018-12-26 13:28:25 +01:00
6cebd80c89 Started port to Django 2.1, Python 3, Docker
This commit is a rough port to Django 2.1, Python 3 and a Docker based local
development setup. Tests fail/error but migrations and the web frontend are
already runnable. Task queue functionality is untested and translations seem to
have trouble.
2018-11-19 23:28:40 +01:00
adc57657dd Use pipenv for requirements 2018-11-17 20:07:29 +01:00
c676415c97 Update vagrant setup to stretch64 with LXC 2018-08-10 11:57:00 +02:00
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
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
e8bdf3fec1 Fix wrong tag in password reset done template 2016-12-31 14:03:57 +01:00
4eb135eeb9 Add hosting package data example 2016-09-25 17:32:25 +02:00
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
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
150c9111ca Ignore PyCharm files 2016-09-25 01:10:45 +02:00
89011b155a Improve vagrant setup
Install python-cryptography from jessie-backports and remove
autogenerated comments from Vagrantfile.
2016-09-24 23:54:57 +02:00
5dc3549896 Improve documentation
This commit adds a lot of documentation including block diagramms for
message flows.
2016-09-24 21:57:28 +02:00
09cfc6a373 Update Sphinx, bpython and cursies to latest versions 2016-02-01 22:31:34 +00:00
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
6c606034b3 Add docstrings from gvaldap settings 2016-01-31 23:22:07 +01:00
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
9d843c920a Add docstring to gnuviechadmin.settings.base 2016-01-31 21:50:11 +01:00
cd696ceb1f Fix flake8 finding 2016-01-31 21:50:11 +01:00
f3b76a09b7 Add code quality requirements 2016-01-31 21:50:11 +01:00
07b0eb6981 Update celery dependency 2016-01-31 21:50:11 +01:00
eda20937dc Use separate test vhost for celery queues 2016-01-31 21:46:14 +01:00
e0449148a7 Move salt states and pillar data to separate repository 2016-01-31 21:45:06 +01:00
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
f1f0e35ea1 Update documentation copyright years 2016-01-29 17:26:23 +01:00
a03a00e61b Add private network for inter VM communication 2016-01-29 16:52:14 +01:00
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
41fbb58def Switch to AGPLv3+ licensing 2016-01-29 14:53:12 +01:00
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
37b18a17af Update German translation
This commit updates the German translation files and adds missing
translations.
2016-01-29 11:07:41 +01:00
e7006ac4a6 Fix encoding name
This commit fixes the encoding specification of
osusers.tests.test_models.
2016-01-29 10:04:59 +00:00
0a0524f1f0 Add tests for userdbs.views.ChangeDatabaseUserPassword
This commit adds tests for the ChangeDatabaseUserPassword view.
2016-01-29 10:03:24 +00:00
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
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
e9fc8b7f89 Push coverage for osusers to 100% 2016-01-28 13:44:29 +00:00
a8e28fd595 Update system during provisioning 2016-01-26 13:24:22 +01:00
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