diff --git a/INSTALL.md b/INSTALL.md index e7e115e..93cc52f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -34,4 +34,14 @@ The application is then available at [http://localhost:8000/]. If you want to make your Kumify instance available through a network, you will need to set up something like gunicorn and nginx. How this works is beyond the scope of this document. To prepare your static files for this, make sure ```STATIC_ROOT``` is set to the correct location in localsettings.py if you don't use S3, then run: -```python3 manage.py collectstatic``` \ No newline at end of file +```python3 manage.py collectstatic``` + +### Cron job + +In order to use scheduled tasks, you need to make sure that the ```/cron/``` endpoint is called at regular intervals. Every five minutes should work fine. Use a command like ```curl http://localhost:8000/cron/```, for example. + +### Telegram webhook + +If you wish to receive incoming messages through the Telegram gateway, your server must be reachable from the Internet. Configure a public IP/domain name as well as an HTTPS certificate, then run: + +```python3 manage.py telegramwebhook``` \ No newline at end of file diff --git a/cronhandler/__init__.py b/cronhandler/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/cronhandler/admin.py b/cronhandler/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/cronhandler/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/cronhandler/apps.py b/cronhandler/apps.py new file mode 100644 index 0000000..ca5dbe7 --- /dev/null +++ b/cronhandler/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class CronhandlerConfig(AppConfig): + name = 'cronhandler' diff --git a/cronhandler/models.py b/cronhandler/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/cronhandler/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/cronhandler/signals.py b/cronhandler/signals.py new file mode 100644 index 0000000..72976d0 --- /dev/null +++ b/cronhandler/signals.py @@ -0,0 +1,3 @@ +from django.dispatch import Signal + +cron = Signal() \ No newline at end of file diff --git a/cronhandler/tests.py b/cronhandler/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/cronhandler/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/cronhandler/urls.py b/cronhandler/urls.py new file mode 100644 index 0000000..3da875a --- /dev/null +++ b/cronhandler/urls.py @@ -0,0 +1,9 @@ +from .views import CronHandlerView + +from django.urls import path + +app_name = "cron" + +urlpatterns = [ + path('', CronHandlerView.as_view(), name="cronhandler"), +] \ No newline at end of file diff --git a/cronhandler/views.py b/cronhandler/views.py new file mode 100644 index 0000000..3a6e140 --- /dev/null +++ b/cronhandler/views.py @@ -0,0 +1,8 @@ +from django.views.generic import View +from django.http import HttpResponse + +from .signals import cron + +class CronHandlerView(View): + def get(self, *args, **kwargs): + return HttpResponse() \ No newline at end of file diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.bundle.js b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.js similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.bundle.js rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.js diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.bundle.js.map b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.js.map similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.bundle.js.map rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.js.map diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.bundle.min.js b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.min.js similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.bundle.min.js rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.min.js diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.bundle.min.js.map b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.min.js.map similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.bundle.min.js.map rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.bundle.min.js.map diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.js b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.js similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.js rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.js diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.js.map b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.js.map similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.js.map rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.js.map diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.min.js b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.min.js similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.min.js rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.min.js diff --git a/frontend/static/frontend/bootstrap/js/bootstrap.min.js.map b/frontend/static/frontend/vendor/bootstrap/js/bootstrap.min.js.map similarity index 100% rename from frontend/static/frontend/bootstrap/js/bootstrap.min.js.map rename to frontend/static/frontend/vendor/bootstrap/js/bootstrap.min.js.map diff --git a/frontend/static/frontend/bootstrap/scss/_alert.scss b/frontend/static/frontend/vendor/bootstrap/scss/_alert.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_alert.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_alert.scss diff --git a/frontend/static/frontend/bootstrap/scss/_badge.scss b/frontend/static/frontend/vendor/bootstrap/scss/_badge.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_badge.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_badge.scss diff --git a/frontend/static/frontend/bootstrap/scss/_breadcrumb.scss b/frontend/static/frontend/vendor/bootstrap/scss/_breadcrumb.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_breadcrumb.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_breadcrumb.scss diff --git a/frontend/static/frontend/bootstrap/scss/_button-group.scss b/frontend/static/frontend/vendor/bootstrap/scss/_button-group.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_button-group.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_button-group.scss diff --git a/frontend/static/frontend/bootstrap/scss/_buttons.scss b/frontend/static/frontend/vendor/bootstrap/scss/_buttons.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_buttons.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_buttons.scss diff --git a/frontend/static/frontend/bootstrap/scss/_card.scss b/frontend/static/frontend/vendor/bootstrap/scss/_card.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_card.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_card.scss diff --git a/frontend/static/frontend/bootstrap/scss/_carousel.scss b/frontend/static/frontend/vendor/bootstrap/scss/_carousel.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_carousel.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_carousel.scss diff --git a/frontend/static/frontend/bootstrap/scss/_close.scss b/frontend/static/frontend/vendor/bootstrap/scss/_close.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_close.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_close.scss diff --git a/frontend/static/frontend/bootstrap/scss/_code.scss b/frontend/static/frontend/vendor/bootstrap/scss/_code.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_code.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_code.scss diff --git a/frontend/static/frontend/bootstrap/scss/_custom-forms.scss b/frontend/static/frontend/vendor/bootstrap/scss/_custom-forms.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_custom-forms.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_custom-forms.scss diff --git a/frontend/static/frontend/bootstrap/scss/_dropdown.scss b/frontend/static/frontend/vendor/bootstrap/scss/_dropdown.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_dropdown.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_dropdown.scss diff --git a/frontend/static/frontend/bootstrap/scss/_forms.scss b/frontend/static/frontend/vendor/bootstrap/scss/_forms.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_forms.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_forms.scss diff --git a/frontend/static/frontend/bootstrap/scss/_functions.scss b/frontend/static/frontend/vendor/bootstrap/scss/_functions.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_functions.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_functions.scss diff --git a/frontend/static/frontend/bootstrap/scss/_grid.scss b/frontend/static/frontend/vendor/bootstrap/scss/_grid.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_grid.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_grid.scss diff --git a/frontend/static/frontend/bootstrap/scss/_images.scss b/frontend/static/frontend/vendor/bootstrap/scss/_images.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_images.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_images.scss diff --git a/frontend/static/frontend/bootstrap/scss/_input-group.scss b/frontend/static/frontend/vendor/bootstrap/scss/_input-group.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_input-group.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_input-group.scss diff --git a/frontend/static/frontend/bootstrap/scss/_jumbotron.scss b/frontend/static/frontend/vendor/bootstrap/scss/_jumbotron.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_jumbotron.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_jumbotron.scss diff --git a/frontend/static/frontend/bootstrap/scss/_list-group.scss b/frontend/static/frontend/vendor/bootstrap/scss/_list-group.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_list-group.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_list-group.scss diff --git a/frontend/static/frontend/bootstrap/scss/_media.scss b/frontend/static/frontend/vendor/bootstrap/scss/_media.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_media.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_media.scss diff --git a/frontend/static/frontend/bootstrap/scss/_mixins.scss b/frontend/static/frontend/vendor/bootstrap/scss/_mixins.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_mixins.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_mixins.scss diff --git a/frontend/static/frontend/bootstrap/scss/_modal.scss b/frontend/static/frontend/vendor/bootstrap/scss/_modal.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_modal.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_modal.scss diff --git a/frontend/static/frontend/bootstrap/scss/_nav.scss b/frontend/static/frontend/vendor/bootstrap/scss/_nav.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_nav.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_nav.scss diff --git a/frontend/static/frontend/bootstrap/scss/_navbar.scss b/frontend/static/frontend/vendor/bootstrap/scss/_navbar.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_navbar.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_navbar.scss diff --git a/frontend/static/frontend/bootstrap/scss/_pagination.scss b/frontend/static/frontend/vendor/bootstrap/scss/_pagination.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_pagination.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_pagination.scss diff --git a/frontend/static/frontend/bootstrap/scss/_popover.scss b/frontend/static/frontend/vendor/bootstrap/scss/_popover.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_popover.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_popover.scss diff --git a/frontend/static/frontend/bootstrap/scss/_print.scss b/frontend/static/frontend/vendor/bootstrap/scss/_print.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_print.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_print.scss diff --git a/frontend/static/frontend/bootstrap/scss/_progress.scss b/frontend/static/frontend/vendor/bootstrap/scss/_progress.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_progress.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_progress.scss diff --git a/frontend/static/frontend/bootstrap/scss/_reboot.scss b/frontend/static/frontend/vendor/bootstrap/scss/_reboot.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_reboot.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_reboot.scss diff --git a/frontend/static/frontend/bootstrap/scss/_root.scss b/frontend/static/frontend/vendor/bootstrap/scss/_root.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_root.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_root.scss diff --git a/frontend/static/frontend/bootstrap/scss/_spinners.scss b/frontend/static/frontend/vendor/bootstrap/scss/_spinners.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_spinners.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_spinners.scss diff --git a/frontend/static/frontend/bootstrap/scss/_tables.scss b/frontend/static/frontend/vendor/bootstrap/scss/_tables.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_tables.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_tables.scss diff --git a/frontend/static/frontend/bootstrap/scss/_toasts.scss b/frontend/static/frontend/vendor/bootstrap/scss/_toasts.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_toasts.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_toasts.scss diff --git a/frontend/static/frontend/bootstrap/scss/_tooltip.scss b/frontend/static/frontend/vendor/bootstrap/scss/_tooltip.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_tooltip.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_tooltip.scss diff --git a/frontend/static/frontend/bootstrap/scss/_transitions.scss b/frontend/static/frontend/vendor/bootstrap/scss/_transitions.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_transitions.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_transitions.scss diff --git a/frontend/static/frontend/bootstrap/scss/_type.scss b/frontend/static/frontend/vendor/bootstrap/scss/_type.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_type.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_type.scss diff --git a/frontend/static/frontend/bootstrap/scss/_utilities.scss b/frontend/static/frontend/vendor/bootstrap/scss/_utilities.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_utilities.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_utilities.scss diff --git a/frontend/static/frontend/bootstrap/scss/_variables.scss b/frontend/static/frontend/vendor/bootstrap/scss/_variables.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/_variables.scss rename to frontend/static/frontend/vendor/bootstrap/scss/_variables.scss diff --git a/frontend/static/frontend/bootstrap/scss/bootstrap-grid.scss b/frontend/static/frontend/vendor/bootstrap/scss/bootstrap-grid.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/bootstrap-grid.scss rename to frontend/static/frontend/vendor/bootstrap/scss/bootstrap-grid.scss diff --git a/frontend/static/frontend/bootstrap/scss/bootstrap-reboot.scss b/frontend/static/frontend/vendor/bootstrap/scss/bootstrap-reboot.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/bootstrap-reboot.scss rename to frontend/static/frontend/vendor/bootstrap/scss/bootstrap-reboot.scss diff --git a/frontend/static/frontend/bootstrap/scss/bootstrap.scss b/frontend/static/frontend/vendor/bootstrap/scss/bootstrap.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/bootstrap.scss rename to frontend/static/frontend/vendor/bootstrap/scss/bootstrap.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_alert.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_alert.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_alert.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_alert.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_background-variant.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_background-variant.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_background-variant.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_background-variant.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_badge.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_badge.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_badge.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_badge.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_border-radius.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_border-radius.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_border-radius.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_border-radius.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_box-shadow.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_box-shadow.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_box-shadow.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_box-shadow.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_breakpoints.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_breakpoints.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_breakpoints.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_breakpoints.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_buttons.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_buttons.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_buttons.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_buttons.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_caret.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_caret.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_caret.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_caret.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_clearfix.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_clearfix.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_clearfix.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_clearfix.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_deprecate.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_deprecate.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_deprecate.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_deprecate.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_float.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_float.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_float.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_float.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_forms.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_forms.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_forms.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_forms.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_gradients.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_gradients.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_gradients.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_gradients.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_grid-framework.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_grid-framework.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_grid-framework.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_grid-framework.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_grid.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_grid.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_grid.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_grid.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_hover.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_hover.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_hover.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_hover.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_image.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_image.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_image.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_image.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_list-group.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_list-group.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_list-group.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_list-group.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_lists.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_lists.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_lists.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_lists.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_nav-divider.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_nav-divider.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_nav-divider.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_nav-divider.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_pagination.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_pagination.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_pagination.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_pagination.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_reset-text.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_reset-text.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_reset-text.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_reset-text.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_resize.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_resize.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_resize.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_resize.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_screen-reader.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_screen-reader.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_screen-reader.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_screen-reader.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_size.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_size.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_size.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_size.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_table-row.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_table-row.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_table-row.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_table-row.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_text-emphasis.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_text-emphasis.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_text-emphasis.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_text-emphasis.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_text-hide.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_text-hide.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_text-hide.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_text-hide.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_text-truncate.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_text-truncate.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_text-truncate.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_text-truncate.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_transition.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_transition.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_transition.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_transition.scss diff --git a/frontend/static/frontend/bootstrap/scss/mixins/_visibility.scss b/frontend/static/frontend/vendor/bootstrap/scss/mixins/_visibility.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/mixins/_visibility.scss rename to frontend/static/frontend/vendor/bootstrap/scss/mixins/_visibility.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_align.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_align.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_align.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_align.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_background.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_background.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_background.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_background.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_borders.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_borders.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_borders.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_borders.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_clearfix.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_clearfix.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_clearfix.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_clearfix.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_display.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_display.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_display.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_display.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_embed.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_embed.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_embed.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_embed.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_flex.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_flex.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_flex.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_flex.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_float.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_float.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_float.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_float.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_interactions.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_interactions.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_interactions.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_interactions.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_overflow.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_overflow.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_overflow.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_overflow.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_position.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_position.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_position.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_position.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_screenreaders.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_screenreaders.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_screenreaders.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_screenreaders.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_shadows.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_shadows.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_shadows.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_shadows.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_sizing.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_sizing.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_sizing.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_sizing.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_spacing.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_spacing.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_spacing.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_spacing.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_stretched-link.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_stretched-link.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_stretched-link.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_stretched-link.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_text.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_text.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_text.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_text.scss diff --git a/frontend/static/frontend/bootstrap/scss/utilities/_visibility.scss b/frontend/static/frontend/vendor/bootstrap/scss/utilities/_visibility.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/utilities/_visibility.scss rename to frontend/static/frontend/vendor/bootstrap/scss/utilities/_visibility.scss diff --git a/frontend/static/frontend/bootstrap/scss/vendor/_rfs.scss b/frontend/static/frontend/vendor/bootstrap/scss/vendor/_rfs.scss similarity index 100% rename from frontend/static/frontend/bootstrap/scss/vendor/_rfs.scss rename to frontend/static/frontend/vendor/bootstrap/scss/vendor/_rfs.scss diff --git a/frontend/static/frontend/datatables/dataTables.bootstrap4.css b/frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.css similarity index 100% rename from frontend/static/frontend/datatables/dataTables.bootstrap4.css rename to frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.css diff --git a/frontend/static/frontend/datatables/dataTables.bootstrap4.js b/frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.js similarity index 100% rename from frontend/static/frontend/datatables/dataTables.bootstrap4.js rename to frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.js diff --git a/frontend/static/frontend/datatables/dataTables.bootstrap4.min.css b/frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.min.css similarity index 100% rename from frontend/static/frontend/datatables/dataTables.bootstrap4.min.css rename to frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.min.css diff --git a/frontend/static/frontend/datatables/dataTables.bootstrap4.min.js b/frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.min.js similarity index 100% rename from frontend/static/frontend/datatables/dataTables.bootstrap4.min.js rename to frontend/static/frontend/vendor/datatables/dataTables.bootstrap4.min.js diff --git a/frontend/static/frontend/datatables/jquery.dataTables.js b/frontend/static/frontend/vendor/datatables/jquery.dataTables.js similarity index 100% rename from frontend/static/frontend/datatables/jquery.dataTables.js rename to frontend/static/frontend/vendor/datatables/jquery.dataTables.js diff --git a/frontend/static/frontend/datatables/jquery.dataTables.min.js b/frontend/static/frontend/vendor/datatables/jquery.dataTables.min.js similarity index 100% rename from frontend/static/frontend/datatables/jquery.dataTables.min.js rename to frontend/static/frontend/vendor/datatables/jquery.dataTables.min.js diff --git a/frontend/static/frontend/jquery-easing/jquery.easing.compatibility.js b/frontend/static/frontend/vendor/jquery-easing/jquery.easing.compatibility.js similarity index 100% rename from frontend/static/frontend/jquery-easing/jquery.easing.compatibility.js rename to frontend/static/frontend/vendor/jquery-easing/jquery.easing.compatibility.js diff --git a/frontend/static/frontend/jquery-easing/jquery.easing.js b/frontend/static/frontend/vendor/jquery-easing/jquery.easing.js similarity index 100% rename from frontend/static/frontend/jquery-easing/jquery.easing.js rename to frontend/static/frontend/vendor/jquery-easing/jquery.easing.js diff --git a/frontend/static/frontend/jquery-easing/jquery.easing.min.js b/frontend/static/frontend/vendor/jquery-easing/jquery.easing.min.js similarity index 100% rename from frontend/static/frontend/jquery-easing/jquery.easing.min.js rename to frontend/static/frontend/vendor/jquery-easing/jquery.easing.min.js diff --git a/frontend/static/frontend/jquery/jquery.js b/frontend/static/frontend/vendor/jquery/jquery.js similarity index 100% rename from frontend/static/frontend/jquery/jquery.js rename to frontend/static/frontend/vendor/jquery/jquery.js diff --git a/frontend/static/frontend/jquery/jquery.min.js b/frontend/static/frontend/vendor/jquery/jquery.min.js similarity index 100% rename from frontend/static/frontend/jquery/jquery.min.js rename to frontend/static/frontend/vendor/jquery/jquery.min.js diff --git a/frontend/static/frontend/jquery/jquery.min.map b/frontend/static/frontend/vendor/jquery/jquery.min.map similarity index 100% rename from frontend/static/frontend/jquery/jquery.min.map rename to frontend/static/frontend/vendor/jquery/jquery.min.map diff --git a/frontend/static/frontend/jquery/jquery.slim.js b/frontend/static/frontend/vendor/jquery/jquery.slim.js similarity index 100% rename from frontend/static/frontend/jquery/jquery.slim.js rename to frontend/static/frontend/vendor/jquery/jquery.slim.js diff --git a/frontend/static/frontend/jquery/jquery.slim.min.js b/frontend/static/frontend/vendor/jquery/jquery.slim.min.js similarity index 100% rename from frontend/static/frontend/jquery/jquery.slim.min.js rename to frontend/static/frontend/vendor/jquery/jquery.slim.min.js diff --git a/frontend/static/frontend/jquery/jquery.slim.min.map b/frontend/static/frontend/vendor/jquery/jquery.slim.min.map similarity index 100% rename from frontend/static/frontend/jquery/jquery.slim.min.map rename to frontend/static/frontend/vendor/jquery/jquery.slim.min.map diff --git a/frontend/templates/frontend/footer.html b/frontend/templates/frontend/footer.html index 2bd6732..81162d6 100644 --- a/frontend/templates/frontend/footer.html +++ b/frontend/templates/frontend/footer.html @@ -1,19 +1,19 @@ {% load static %} - - + + - + - - + + diff --git a/frontend/templates/frontend/header.html b/frontend/templates/frontend/header.html index a834ee9..700cc2f 100644 --- a/frontend/templates/frontend/header.html +++ b/frontend/templates/frontend/header.html @@ -20,7 +20,7 @@ - + {% for style in styles %} diff --git a/frontend/templates/frontend/sidebar.html b/frontend/templates/frontend/sidebar.html index 056556b..fded251 100644 --- a/frontend/templates/frontend/sidebar.html +++ b/frontend/templates/frontend/sidebar.html @@ -48,6 +48,13 @@ Moods + +
Are you sure you wish to delete this notification? This cannot be undone.
+ +Time | +
---|
{{ notification.time }} | +