diff --git a/osinaweb/db.sqlite3 b/osinaweb/db.sqlite3 index eef03a39..ee4f9e00 100644 Binary files a/osinaweb/db.sqlite3 and b/osinaweb/db.sqlite3 differ diff --git a/osinaweb/osinacore/templates/customer_index.html b/osinaweb/osinacore/templates/customer_index.html index de85d055..f6a1911f 100644 --- a/osinaweb/osinacore/templates/customer_index.html +++ b/osinaweb/osinacore/templates/customer_index.html @@ -249,7 +249,7 @@ + + + diff --git a/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc b/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc index 4f5f11be..b8299840 100644 Binary files a/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc and b/osinaweb/osinaweb/__pycache__/settings.cpython-310.pyc differ diff --git a/osinaweb/osinaweb/settings.py b/osinaweb/osinaweb/settings.py index 128aacf6..a43e4b4b 100644 --- a/osinaweb/osinaweb/settings.py +++ b/osinaweb/osinaweb/settings.py @@ -159,7 +159,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' EMAIL_HOST = 'osinamail.ositcom.com' EMAIL_PORT = 587 -EMAIL_HOST_USER = 'osina@ositcom.com' -DEFAULT_FROM_EMAIL = 'osina@ositcom.com' +EMAIL_HOST_USER = 'osina@fositcom.com' +DEFAULT_FROM_EMAIL = 'osina@jositcom.com' EMAIL_HOST_PASSWORD = 'EMILEselim!@67' EMAIL_USE_TLS = True diff --git a/osinaweb/support/__pycache__/consumers.cpython-310.pyc b/osinaweb/support/__pycache__/consumers.cpython-310.pyc index 79eb2c70..1c3d460d 100644 Binary files a/osinaweb/support/__pycache__/consumers.cpython-310.pyc and b/osinaweb/support/__pycache__/consumers.cpython-310.pyc differ diff --git a/osinaweb/support/__pycache__/models.cpython-310.pyc b/osinaweb/support/__pycache__/models.cpython-310.pyc index 312b0e5c..5b0a1074 100644 Binary files a/osinaweb/support/__pycache__/models.cpython-310.pyc and b/osinaweb/support/__pycache__/models.cpython-310.pyc differ diff --git a/osinaweb/support/__pycache__/routing.cpython-310.pyc b/osinaweb/support/__pycache__/routing.cpython-310.pyc index 38bee9ff..59e279fb 100644 Binary files a/osinaweb/support/__pycache__/routing.cpython-310.pyc and b/osinaweb/support/__pycache__/routing.cpython-310.pyc differ diff --git a/osinaweb/support/consumers.py b/osinaweb/support/consumers.py index aea2c1cc..b568c739 100644 --- a/osinaweb/support/consumers.py +++ b/osinaweb/support/consumers.py @@ -231,6 +231,8 @@ class NewTicketConsumer(WebsocketConsumer): })) + + class NewTicketUpdateConsumer(WebsocketConsumer): def connect(self): self.user = self.scope['user'] @@ -270,7 +272,7 @@ class NewTicketUpdateConsumer(WebsocketConsumer): else: html = render_to_string("details_templates/partials/customer-ticket-display.html", context) self.send(text_data=json.dumps({ - 'event_type': 'new_ticket_update_group', + 'event_type': 'new_ticket_update', 'html': html, 'ticket_id': ticket_id })) diff --git a/osinaweb/support/models.py b/osinaweb/support/models.py index d18a7aac..ba4f3a67 100644 --- a/osinaweb/support/models.py +++ b/osinaweb/support/models.py @@ -137,9 +137,6 @@ class Ticket(models.Model): return all_staff - - - @receiver(post_save, sender=Ticket) def send_signal_on_save(sender, instance, created, **kwargs): if created: