Commit graph

106 commits

Author SHA1 Message Date
Jan Dittberner 11c04df074 Add flatpage URL for /issues/
Jira has been decommissioned and replaced with a flatpage
2024-02-11 13:12:54 +01:00
Jan Dittberner 78e06dd2b9 Update dependencies
- updated minimum version of several dependencies in pyproject.toml
- update of django-allauth required to add
  allauth.account.middleware.AccountMiddleware to MIDDLEWARE setting
2024-01-13 13:38:03 +01:00
Jan Dittberner 5e527ef10d Release 0.15.1 2023-07-23 11:24:46 +02:00
Jan Dittberner 4b74f5d04b Release 0.15.0 2023-07-23 10:28:00 +02:00
Jan Dittberner f21987158b Release 0.14.4 2023-07-22 22:35:49 +02:00
Jan Dittberner 1d4f070867 Release 0.14.3 2023-07-22 22:25:36 +02:00
Jan Dittberner 69638b6b6d Release 0.14.2 2023-07-22 21:57:40 +02:00
Jan Dittberner b69ecbfa2d Prepare release 0.14.1 2023-07-22 20:46:47 +02:00
Jan Dittberner 22945f72bf Prepare release
- update changelog
- update dependencies
- bump version
2023-07-22 20:12:00 +02:00
Jan Dittberner affb49a971 Update to Django 4.2
- fix deprecation warnings
- update dependencies
2023-07-08 19:21:02 +02:00
Jan Dittberner c7fda0e993 Add log file configuration support 2023-05-06 14:09:25 +02:00
Jan Dittberner 376cfab88f Fix output of response_for_exception in tests
Django has a django.core.handlers.exception.response_for_exception that
handles SuspiciousOperationException, that is expected behaviour and
should not be logged in test output.
2023-05-02 17:57:13 +02:00
Jan Dittberner d88745f46b Fix tests 2023-04-29 13:10:25 +02:00
Jan Dittberner 5db97f03d1 Use correct settings for celery 2023-04-29 10:33:17 +02:00
Jan Dittberner 0962891a9b Implement invoice model and admin API 2023-04-23 14:43:44 +02:00
Jan Dittberner 8e42cb9c18 Start switch to Bootstrap 5
- drop jQuery and fontawesome dependencies
- add bootstrap5 and bootstrap-icons
- update fonts mfizz
- update base templates and the first set of other templates
- replace blocktrans and trans with blocktranslate and translate to
  prepare for Django 4
- move hostingpakcage templates to hostingpackages/templates
- update translations
2023-04-16 22:11:32 +02:00
Jan Dittberner 5cf7ef7a23 Strip API to required minimum
- disable browseable API
- use IsAdminUser for DEFAULT_PERMISSION_CLASSES
- register explicit API views for HelpUser model
2023-04-16 14:34:45 +02:00
Jan Dittberner 0f91587c60 Remove unneeded users API view
The help-users API view is sufficient
2023-04-16 13:50:01 +02:00
Jan Dittberner a65b1574db Add admin user information REST API 2023-04-16 13:21:57 +02:00
Jan Dittberner f9ea88cd24 Add new app 'help' for user support
This commit adds a new model that enhances the user profile with an
offline support code, a postal address and an email address to allow
users to reset their profile.

The commit adds to Django admin commands 'populate' and
'reset_offline_code' to maintain the help user profiles from the Django
command line.
2023-04-16 12:20:37 +02:00
Jan Dittberner e44bdd7be2 Bump version to 0.13.0 2023-04-15 12:07:12 +02:00
Jan Dittberner d499b781d4 Implement impersonation 2023-04-15 11:48:53 +02:00
Jan Dittberner 472e272305 Remove Twitter login, disable signups 2023-04-14 19:56:41 +02:00
Jan Dittberner dd67ee91da Require login for index view 2023-04-14 19:33:44 +02:00
Jan Dittberner 4af1a39ca4 Upgrade to Django 3.2
- update dependencies
- fix deprecation warnings
- fix tests
- skip some tests that need more work
- reformat changed code with isort and black
2023-02-18 22:46:48 +01:00
Jan Dittberner 0f18e59d67 Fix deprecation warnings 2023-02-18 19:07:33 +01:00
Jan Dittberner a1084ec785 Bump version number 2020-04-13 15:01:37 +02:00
Jan Dittberner 42b6f8d91d Bump version to 0.12.0 2020-04-10 14:19:36 +02:00
Jan Dittberner 47a1e1dc55 Fix settings to work with salt state definitions
- move from assets to static
2020-03-07 18:25:49 +01:00
Jan Dittberner 0bf37d1bea Improve docker setup
Add gvaweb and gvaldap containers to docker-compose.yml. Unify most of
Dockerfile with gvaweb and gvaldap. Add empty directories for mounting
asset and media files into bind mounted docker volumes. Run application
as separate system user.
2020-03-03 13:11:46 +01:00
Jan Dittberner 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
Jan Dittberner 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
Jan Dittberner 10a83d36f7 Fix locale support 2018-12-26 14:51:34 +01:00
Jan Dittberner 24009bff3e Set version to 0.12.0-alpha 2018-12-26 14:51:03 +01:00
Jan Dittberner 6f5c0a1b7c Use custom SHOW_TOOLBAR_CALLBACK 2018-12-26 14:49:56 +01:00
Jan Dittberner 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
Jan Dittberner 271421cdf8 Set version number 2018-12-26 13:33:36 +01:00
Jan Dittberner 71aad5e078 Remove Xing from settings and templates
Xing canceled API access for us.
2018-12-26 13:28:25 +01:00
Jan Dittberner 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
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 eda20937dc Use separate test vhost for celery queues 2016-01-31 21:46: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 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 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 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 b11055807f Clean PEP8 violations 2015-11-22 14:03:47 +00:00