Commit graph

333 commits

Author SHA1 Message Date
Jan Dittberner 8c7af9a246 Add queue information to user delete task chain 2023-05-07 14:47:30 +02:00
Jan Dittberner 175ffd19f4 Add queue to file server tasks 2023-05-07 14:41:56 +02:00
Jan Dittberner 27e9d27b2b Fix TaskResult.fetch_results 2023-05-07 14:02:10 +02:00
Jan Dittberner 3b04595c7a Add better handling for missing groups 2023-05-07 13:45:30 +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 866f6c8083 Remove duplicate functionality
- remove customer hosting package list
- replace useless dashboard with redirect
- move all hosting package list for superuser to top level menu item
- replace btn-default with btn-secondary
- improve email address management page
2023-04-29 12:35:49 +02:00
Jan Dittberner 2d05580ed3 Improve taskresults app
- show created/modified fields in admin
- add verbose output to management command
- add date hierarchy and action filters in admin
2023-04-29 11:13:38 +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 a136bcc52b List OS user in admin hosting package list 2023-04-22 13:16:13 +02:00
Jan Dittberner 806ee80a85 Move contact_form templates to contact_form app 2023-04-22 13:14:24 +02:00
Jan Dittberner 10628ee45f Add translation for user name part 2023-04-22 12:58:26 +02:00
Jan Dittberner be1ed6ecea Add styling for impersonate views 2023-04-22 12:56:05 +02:00
Jan Dittberner 9fbd608837 Use signals for website celery tasks 2023-04-17 19:42:49 +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 4b7e311c62 Remove tests for removed models 2023-04-16 11:14:26 +02:00
Jan Dittberner e44bdd7be2 Bump version to 0.13.0 2023-04-15 12:07:12 +02:00
Jan Dittberner 345b32f286 Remove unused powerdns support tables 2023-04-15 12:06:44 +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 a5b65974fb Remove django-braces requirement 2023-04-14 19:16:58 +02:00
Jan Dittberner 35aae85c8d Move dashboard templates to dashboard app 2023-04-14 19:16:30 +02:00
Jan Dittberner fc8f22432c Fix skipped tests in managemails 2023-02-19 15:13:31 +01:00
Jan Dittberner a8392ef91e Use sha512_crypt from passlib.handlers.sha2_crypt 2023-02-19 13:47:08 +01:00
Jan Dittberner 610f8976fc Refactor managemails to use signals
- use signals to trigger Celery tasks to create and delete mailboxes
- add generic TestCaseWithCeleryTasks class to handle celery task tests
  in a uniform way
2023-02-19 13:45:30 +01: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 2328abe8db Do not show add_mailaddress for nonexistant mail domain
Fixes #7
2020-04-13 14:59:56 +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 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
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 e8bdf3fec1 Fix wrong tag in password reset done template 2016-12-31 14:03:57 +01:00