Commit Graph

653 Commits

Author SHA1 Message Date
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
Santiago L aebbd424fc Fix admin list_display with HTML content 2021-05-12 14:16:28 +02:00
Santiago L 5389f425ce mark_safe display_websites & display_addresses 2021-05-12 13:55:47 +02:00
Santiago L 58be94bde2 Upgrade orchestra middlewares
Refactor to changes introduced on Django 1.10
https://docs.djangoproject.com/en/2.1/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware
2021-05-11 14:00:41 +02:00
Santiago L be5e06129a Add password validation settings
New on Django 1.9
2021-05-11 13:48:26 +02:00
Santiago L 69df9780bf Update setting MIDDLEWARE_CLASSES to MIDDLEWARE 2021-05-11 13:47:33 +02:00
Santiago L f7627926cb Replace detail_route with action decorator
DRF 3.10.0 deprecates the detail_route decorator in favor of action
2021-05-06 13:08:21 +02:00
Santiago L d5fce3b6e2 Replace string_concat() with format_lazy()
On Django 1.11 django.utils.translation.string_concat() is
deprecated in favor of django.utils.text.format_lazy()
and it has been removed on Django 2.1
2021-05-06 12:07:17 +02:00
Santiago L d6cebf66a2 DjangoFilterBackend moved to django_filters 2021-05-06 10:57:11 +02:00
Santiago L 0338b927cf query.order_by is a tuple, update value to compare 2021-04-22 14:51:03 +02:00
Santiago L 97f1c7ef2b Replace field.rel.to with field.remote_field.model
Field.rel and Field.remote_field.to are removed in Django 2.x
2021-04-22 14:44:47 +02:00
Santiago L b6cf0c34f5 Call User.is_authenticated and User.is_anonymous as properties 2021-04-22 14:31:05 +02:00
Santiago L 7fa7106d72 Update migrations to include mandatory on_delete
Django 2.0
2021-04-22 14:18:01 +02:00
Santiago L a8b17da992 Squash migrations 2021-04-22 13:29:09 +02:00
Santiago L c689a6e44c Fix Message.author on_cascade because cannot be null. 2021-04-22 10:52:33 +02:00
Santiago L de979011f9 Deprecated Passing a 3-tuple or an app_name to include()
Django 1.9
2021-04-22 10:51:23 +02:00
Santiago L 7d975637d5 Replace ForeignKey.field.rel.to --> field.model
rel.to dropped on Django 2.0
2021-04-22 10:44:09 +02:00
Santiago L d863598d81 Define on_delete argument for ForeignKey and OneToOneField
Required since Django 2.0
2021-04-22 10:28:00 +02:00
Santiago L eadc06d4c5 django.core.urlresolvers moved to django.urls
Django 2.0
2021-04-21 14:27:18 +02:00
Santiago L 2b06652a5b Handle edge cases of last day of the month of billing period. 2021-03-31 12:11:53 +02:00
Santiago L dc722ec17a Set env variable to skip REST_API tests. 2021-03-31 10:39:47 +02:00
Santiago L e7aabf4799 Python3 requires to open explicitly on binary mode to write bytes 2021-03-30 17:46:42 +02:00
Cayo Puigdefabregas fa8a895299 fixing test traffic monitors is a list 2021-03-30 15:21:50 +02:00
Cayo Puigdefabregas 091120d3c2 fixing test_traffic get_total 2021-03-30 15:21:23 +02:00
Cayo Puigdefabregas c952d782cd fixing mailbox test 2021-03-30 15:21:00 +02:00
Cayo Puigdefabregas 226327cacf fixing job test 2021-03-30 15:20:37 +02:00
Cayo Puigdefabregas 6f043cd272 fixing ftp test 2021-03-30 15:20:25 +02:00
Cayo Puigdefabregas 0633df114e fixing DomainBillingTest 2021-03-30 15:19:39 +02:00
Cayo Puigdefabregas a53b71bab1 fixed choices 2021-03-30 15:19:19 +02:00
Cayo Puigdefabregas c010c10157 fixed admin_login in test 2021-03-30 14:28:15 +02:00
Santiago L acac7727c2 Fix services tests 2021-03-30 14:27:21 +02:00
Cayo Puigdefabregas 48ef6d63bc Fixed bug in python backend 2021-03-30 14:25:10 +02:00
Santiago L 45bf31c9da Fix freezegun version 2021-03-30 14:19:17 +02:00
Santiago L 08a76a8de4 Ignore Account.is_staff kwarg (auth.AbstractBaseUser) 2021-03-30 13:56:04 +02:00
Santiago L 14fbd98e33 Refactor PHP tests dropping legacy controller (backend) 2021-03-30 13:35:00 +02:00
Santiago L 58395147c9 Replace PasswdVirtualUserBackend with RoundcubeIdentityController 2021-03-30 13:13:26 +02:00
Santiago L c505f9a3c6 Replace SystemUserBackend with UNIXUserController 2021-03-30 13:11:41 +02:00
Santiago L f4c0a7413c Generate missing migrations. 2021-03-30 12:52:12 +02:00
Santiago L 9d2d0befc4 Rename `async`--> `run_async`
On Python3.5 async becames a reserved keyword.
2021-03-30 12:51:12 +02:00
Cayo Puigdefabregas 898c6882c8 fixed stop and restart services 2021-01-30 15:09:30 +01:00
Cayo Puigdefabregas a236bbdf5d fixed start services 2021-01-30 15:06:48 +01:00
Cayo Puigdefabregas 6ce4d6b877 fixed make_options for all commands 2021-01-30 14:59:49 +01:00
Cayo Puigdefabregas 8da89ae22a fixing commands we need 2021-01-30 14:17:18 +01:00
Cayo Puigdefabregas 78db4fb8d5 fixed 2021-01-30 13:55:27 +01:00
Cayo Puigdefabregas 24e75bc07f fixed pg 2021-01-29 11:44:10 +01:00
Cayo Puigdefabregas 5b4b7310e6 documentation ribaguifi style instalation 2021-01-28 19:58:48 +01:00
Cayo Puigdefabregas 38275847d9 fixing results 2021-01-28 19:57:42 +01:00
Cayo Puigdefabregas a4c3b00205 Fixed comand line of setuppostgress 2021-01-28 16:47:54 +01:00