Commit graph

512 commits

Author SHA1 Message Date
175ffd19f4 Add queue to file server tasks 2023-05-07 14:41:56 +02:00
27e9d27b2b Fix TaskResult.fetch_results 2023-05-07 14:02:10 +02:00
3b04595c7a Add better handling for missing groups 2023-05-07 13:45:30 +02:00
c7fda0e993 Add log file configuration support 2023-05-06 14:09:25 +02:00
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
be328758e6 Update dependencies 2023-05-02 17:44:39 +02:00
d88745f46b Fix tests 2023-04-29 13:10:25 +02:00
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
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
397e479925 Update dependencies 2023-04-29 10:33:31 +02:00
5db97f03d1 Use correct settings for celery 2023-04-29 10:33:17 +02:00
0962891a9b Implement invoice model and admin API 2023-04-23 14:43:44 +02:00
a136bcc52b List OS user in admin hosting package list 2023-04-22 13:16:13 +02:00
806ee80a85 Move contact_form templates to contact_form app 2023-04-22 13:14:24 +02:00
10628ee45f Add translation for user name part 2023-04-22 12:58:26 +02:00
be1ed6ecea Add styling for impersonate views 2023-04-22 12:56:05 +02:00
9fbd608837 Use signals for website celery tasks 2023-04-17 19:42:49 +02:00
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
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
0f91587c60 Remove unneeded users API view
The help-users API view is sufficient
2023-04-16 13:50:01 +02:00
a65b1574db Add admin user information REST API 2023-04-16 13:21:57 +02:00
9731d4e793 Add Django REST framework dependencies 2023-04-16 12:24:32 +02:00
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
4b7e311c62 Remove tests for removed models 2023-04-16 11:14:26 +02:00
37f3ed2506 Update changelog 2023-04-15 12:12:02 +02:00
e44bdd7be2 Bump version to 0.13.0 2023-04-15 12:07:12 +02:00
345b32f286 Remove unused powerdns support tables 2023-04-15 12:06:44 +02:00
d499b781d4 Implement impersonation 2023-04-15 11:48:53 +02:00
472e272305 Remove Twitter login, disable signups 2023-04-14 19:56:41 +02:00
dd67ee91da Require login for index view 2023-04-14 19:33:44 +02:00
a5b65974fb Remove django-braces requirement 2023-04-14 19:16:58 +02:00
35aae85c8d Move dashboard templates to dashboard app 2023-04-14 19:16:30 +02:00
3452e2a8c2 Update dependencies 2023-04-14 18:43:11 +02:00
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
38dae51a7a Unify with gvaldap/gvaweb 2023-02-19 17:48:25 +01:00
d2f94c7bec Fix Dockerfile for poetry 2023-02-19 15:53:00 +01:00
fc8f22432c Fix skipped tests in managemails 2023-02-19 15:13:31 +01:00
a8392ef91e Use sha512_crypt from passlib.handlers.sha2_crypt 2023-02-19 13:47:08 +01:00
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
d6fc29a2b8 Update to gvacommon 0.6.0 2023-02-19 12:38:19 +01:00
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
0f18e59d67 Fix deprecation warnings 2023-02-18 19:07:33 +01:00
b3588b5e6c Ignore direnv .envrc 2023-02-18 19:07:21 +01:00
03250cef00 Switch from pipenv to poetry 2023-02-18 19:07:05 +01:00
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
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
f220b865ff Add release version to changelog 2020-04-13 15:02:53 +02:00
a1084ec785 Bump version number 2020-04-13 15:01:37 +02:00
2328abe8db Do not show add_mailaddress for nonexistant mail domain
Fixes #7
2020-04-13 14:59:56 +02:00
b12a891fd7 Release 0.12.0
- Update to Python 3 and Django 2.2
 - improve development setup and documentation
 - integrate previous bugfix releases
 -----BEGIN PGP SIGNATURE-----
 
 iQFIBAABCgAyFiEEKHuXKkUYdvdO9493DXkdyNc3wdkFAl6QaMwUHGphbkBkaXR0
 YmVybmVyLmluZm8ACgkQDXkdyNc3wdnCUAf9H5wDLxRuPuow0rkli5XSNl/RWBMh
 tz10A7mO8QWJNcbGVSAw9Jol99htLTJb0MoyyonQKONfxlD4ro/0aDFsVJFRaH7M
 D9EQlmQuhm/3hvcDbO9+maEaZvPWYFYHuQQJpwDmAjuMnsXN7SxPEqq4Wu8OVB6G
 ebxuqR58MxJwmDEkZyA1D339gCbIo3PWWNeVInC8Gv9/yvhNx5KX0LrR8kRCpsWv
 N6YJ6DtMYo7UtqmdJmVa1xTlX6rG7znAIlC4gSXoRBspxeH3upd66KV1YkWqM+qd
 Iuum+4uRZfjkU2DRLNprxvHYp78sRQXBps4Kelo9LU/wbwUlHjnr6qS0Pg==
 =uD2Q
 -----END PGP SIGNATURE-----

Merge tag '0.12.0'

Release 0.12.0

- Update to Python 3 and Django 2.2
- improve development setup and documentation
- integrate previous bugfix releases
2020-04-10 14:38:40 +02:00