Commit graph

513 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 be328758e6 Update dependencies 2023-05-02 17:44:39 +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 397e479925 Update dependencies 2023-04-29 10:33:31 +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 9731d4e793 Add Django REST framework dependencies 2023-04-16 12:24:32 +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 37f3ed2506 Update changelog 2023-04-15 12:12:02 +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 3452e2a8c2 Update dependencies 2023-04-14 18:43:11 +02:00
Jan Dittberner f89de16f6e Improve docker build
- add .dockerignore
- add entrypoint.sh to ensure proper permissions in Docker volumes
- add TZ variable for consistent Celery timestamps
2023-02-20 15:39:14 +01:00
Jan Dittberner 38dae51a7a Unify with gvaldap/gvaweb 2023-02-19 17:48:25 +01:00
Jan Dittberner d2f94c7bec Fix Dockerfile for poetry 2023-02-19 15:53:00 +01: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 d6fc29a2b8 Update to gvacommon 0.6.0 2023-02-19 12:38:19 +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 b3588b5e6c Ignore direnv .envrc 2023-02-18 19:07:21 +01:00
Jan Dittberner 03250cef00 Switch from pipenv to poetry 2023-02-18 19:07:05 +01:00
Jan Dittberner 0c17f03489 Release 0.12.1
- fix internal server error when displaying a customer hosting package
   with an undefined mail domain
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAl6UY00ACgkQDXkdyNc3
 wdmM7Qf9HRWH41CNjC8PVxehVPTWFRNsoV9GZYIe5PWcywaOuVLWScUoPbr8FFUk
 dIZsgZl7Qc5yGcAGysD7L/OqDT40OByrShVsZ3onZZta8N2kbOIErbqdtqzOEOWy
 OYMMtjalqdEDsCnrVA35izyaAFvIlgsVZ/HthYMsye78aZolOMb18zTbzGxpMnNz
 il6EQUubMuSinMA7O71Jp9VrEm2BEmVrMW3/Bo7CI+byLMviy2nwfN4/DuTV/x6m
 8Zkx/p5EKBzbqqgtx2gi1bcZdj9XMe7ctMCoaLdSGCf1Q22EgVXKdBB5lWWwmuoQ
 h9utxqnY+JdlOmN64/npE3JYXF0s7A==
 =wx92
 -----END PGP SIGNATURE-----

Merge tag '0.12.1'

Release 0.12.1

- fix internal server error when displaying a customer hosting package
  with an undefined mail domain

* tag '0.12.1':
  Add release version to changelog
  Bump version number
  Do not show add_mailaddress for nonexistant mail domain
2020-04-13 15:04:18 +02:00
Jan Dittberner df3628499d Merge branch 'hotfix/0.12.1' into production
* hotfix/0.12.1:
  Add release version to changelog
  Bump version number
  Do not show add_mailaddress for nonexistant mail domain
2020-04-13 15:03:43 +02:00
Jan Dittberner f220b865ff Add release version to changelog 2020-04-13 15:02:53 +02: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