Santiago L
03666d8ed0
Filter related addresses by account
2021-10-14 13:03:08 +02:00
Santiago L
e88e27a56e
Make MailboxViewSet writable: create & update
2021-10-07 14:14:21 +02:00
Santiago L
9a4f4ee17c
Fix SetPasswordHyperlinkedSerializer (update to new DRF)
2021-10-07 14:11:50 +02:00
Santiago L
008f49100f
Fix display_mailboxes format (mark HTML as safe)
2021-09-24 13:54:34 +02:00
Santiago L
b0f77ad591
Merge branch 'master' into dev/api-writable
2021-07-13 13:25:00 +02:00
Santiago L
639ecdde58
Merge pull request #9 from ribaguifi/dev/django2.2
...
Upgrade to Django 2.2.X series
2021-07-13 13:20:30 +02:00
Santiago L
361b4b41a8
Upgrade Pygments and phonenumbers libraries
2021-07-13 12:55:35 +02:00
Santiago L
6720df314b
Bump jsonfield version to 3.1.0
2021-07-13 12:46:20 +02:00
Santiago L
9f80c75da7
Drop unused python-ecdsa dependency
2021-07-13 12:09:29 +02:00
Santiago L
1258a27688
Bump django-localflavor version to 3.1
...
See related issue #10
2021-07-13 12:01:27 +02:00
Santiago L
a400c25de9
Upgrade django-filter & django-extensions
2021-07-13 11:48:41 +02:00
Santiago L
e3ec82a182
Bump django-rest-framework version to 3.12.4
2021-07-13 11:24:07 +02:00
Santiago L
cda47e2fb6
Remove deprecated passlib setting __vary_rounds
...
Deprecated since version 1.7 and will be removed in 2.0
The (very minimal) security benefit it provides was judged to not
be worth code complexity it requires.
2021-07-09 13:03:53 +02:00
Santiago L
d3e5ea59a9
Bump passlib version to 1.7.4
2021-07-09 12:34:43 +02:00
Santiago L
b37d9cc515
Remove unneeded custom 'delete_selected'
...
`has_delete_permission` already avoids deleting main system users
2021-07-08 14:48:51 +02:00
Santiago L
1faab905d6
Remove duplicated 'delete_selected' action of TicketAdmin
...
Fixes admin.E130 error
2021-07-08 13:58:37 +02:00
Santiago L
de26baf75a
Refactor TransactionProcessAdmin.delete_selected override
...
Override `delete_queryset` instead of overriding `delete_selected`
action. Fixes admin.E130 error.
Related ticket https://github.com/django/django/pull/10603
2021-07-08 13:49:24 +02:00
Santiago L
50f916fa4d
Replace `base_name` => `basename` for consisntency's sake
...
Changed on DRF 3.12.x and related to PR https://github.com/encode/django-rest-framework/pull/5990
2021-07-08 12:46:55 +02:00
Santiago L
c21a52a756
Bump django-rest-framework version to 3.12.2
2021-07-08 12:46:17 +02:00
Santiago L
a90e500186
Bump Django version to 2.2.24
2021-07-08 12:32:53 +02:00
Santiago L
7d6a2474ab
Handle missing url attribute on write requests
2021-07-08 12:25:29 +02:00
Santiago L
b365580165
Merge branch 'master' into dev/api-writable
2021-06-22 14:13:28 +02:00
Santiago L
bcfed9cb79
Use BaseCommand on orchestraversion
...
class NoArgsCommand has been removed on Django 1.10
2021-06-22 14:11:06 +02:00
Santiago L
867d9afe65
Make /aoi/addresses/ endpoint writable
2021-06-18 11:11:50 +02:00
Santiago L
e1d71fa620
Add support to create Address via API
2021-06-08 13:37:00 +02:00
Santiago L
70f7551e7d
Replace Router.get_default_base_name by Router.get_default_basename
...
Deprecated in DRF 3.9.0
2021-06-08 13:34:36 +02:00
Santiago L
81c67778e5
Fix RelatedDomainSerializer model
...
Regression introduced by 7d975637d5
partially fixed on 48ef1f21e3
2021-06-08 12:58:36 +02:00
Santiago L
9a3b6dcbc3
Add 'exclude' attribute to TransactionSerializer
...
Creating a ModelSerializer without either the 'fields' attribute or the
'exclude' attribute has been deprecated since 3.3.0
2021-06-08 10:23:04 +02:00
Santiago L
5e7a823205
Revert "documentation ribaguifi style instalation"
...
This reverts commit 5b4b7310e6
.
Remove duplicated project settings template.
2021-06-08 10:05:40 +02:00
Santiago L
e1224ddd57
Add django_filters to INSTALLED_APPS
...
Fix TemplateDoesNotExist django_filters/rest_framework/form.html
2021-06-08 10:02:59 +02:00
Santiago L
7b59931bcf
Merge pull request #8 from ribaguifi/dev/django2.1-admin
...
Refactor admin code to support Django 2.1
2021-05-24 12:55:35 +02:00
Santiago L
0e10d2b142
Bump python-dateutil to 2.7.0+
2021-05-24 12:53:50 +02:00
Santiago L
47eb0f1efe
Rename local var display because shadows built-in
2021-05-24 12:37:36 +02:00
Santiago L
28c03ac6c8
Handle HTML safe rendering on accounts, bills & payments
...
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-24 12:36:49 +02:00
Santiago L
9953124a95
Replace Context by dict
...
Since Django 1.10 template objects returned by get_template() and
select_template() no longer accept a Context in their render() method.
2021-05-24 11:19:30 +02:00
Santiago L
06c226d302
Handle HTML safe rendering on webapps & miscellaneous
...
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-21 11:17:06 +02:00
Santiago L
4f695c2e6e
Handle HTML safe rendering on orchestration, resources & history
...
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-21 10:47:27 +02:00
Santiago L
e6495a967b
Handle HTML safe rendering on issues, plans & saas
...
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-21 10:07:59 +02:00
Santiago L
6d8a2ced53
Context shoud be dict on render_email_template()
...
template.Context intance is no longer accepted
2021-05-20 14:08:09 +02:00
Santiago L
a2927f7616
Add required param `renderer` to MarkDownWidget
2021-05-20 14:02:10 +02:00
Santiago L
f13fea5030
Fix display format on accounts, databases...
...
domains, mailboxes & mailer
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-20 13:58:16 +02:00
Santiago L
f0683660ae
Fix display format on bills, orders & services
...
Drop `allow_tags` attribute which has been removed on Django 2.0
2021-05-17 14:15:12 +02:00
Santiago L
b24ddf7546
Handle empty ping response
2021-05-17 13:22:08 +02:00
Santiago L
3b4bb51925
Fix display format on SaaS & Sever admin list
...
mark_safe generated HTML
2021-05-17 13:20:18 +02:00
Santiago L
a6c5aa32df
Fix Mailbox creation.
...
Direct assignment to the reverse side of a many-to-many set is
prohibited. Use addresses.set() instead.
2021-05-17 12:54:16 +02:00
Santiago L
13b4ac5eee
Add required param `renderer` to ReadOnlyPasswordHashWidget
2021-05-13 14:42:05 +02:00
Santiago L
8dc792b851
Fix render() of PaddingCheckboxSelectMultiple widget
2021-05-13 12:37:17 +02:00
Santiago L
5a21f766b4
Add required param `renderer` to Widget.render
...
Added on Django 1.11 and required since 2.1
The renderer argument is added to the Widget.render() method.
https://docs.djangoproject.com/en/2.1/releases/1.11/#id2
2021-05-13 11:52:34 +02:00
Santiago L
7183174f4c
Handle empty address on Server.clean()
2021-05-13 10:57:48 +02:00
Santiago L
48ef1f21e3
Navigate through FK field to related model
...
Fix regression introduced by 7d975637d5
when there is a misunderstanding while replacing deprecated rel.to
2021-05-12 14:38:17 +02:00