digitalfabrik / coldaid-backend Goto Github PK
View Code? Open in Web Editor NEWA fork of the new Integreat cms for the use case of coldaid
License: Apache License 2.0
A fork of the new Integreat cms for the use case of coldaid
License: Apache License 2.0
So far the UI of the app still has a lot of placeholder (like TODOs, stockphotos etc.). These should be replaced by useful information and better images.
Imprint: Generic Legal Notice
Contact: E-Mail address and other contact information
Privacy: Generic Privacy Notice
Show how many beds are available in an accommodation and show additional information, e.g. the current weather.
Add filters for gender, pets, children etc...
Currently, the App cannot query our API correctly because the cms is lacking the correct CORS headers. I propose to use a plugin for this: https://pypi.org/project/django-cors-headers/
Please add this to the dependencies and configure the minimal settings.
Alternatively, you can modify the relevant API endpoints by the following code snippet:
response = JsonResponse(result, safe=False) # Turn off Safe-Mode to allow serializing arrays
response["Access-Control-Allow-Origin"] = "http://localhost:3000"
response["Access-Control-Allow-Headers"] = "*"
return response
Building upon #43 the concept needs to be implemented in the code. Therefore, the affected views and styles have to be updated.
TODOs:
Beschreibung des Lösungsansatzes und des Wirkprinzips. Wie soll die Applikation wirken und welchen Zweck erfüllt sie im Einsatz für die unterschiedlichen Stakeholder und welchen nutzen haben diese?
Dokumente: Lastenheft, Pflichtenheft, Dokumentation Backend, Frontend, Coldaid
The app already provides a certain level of internationalization, but there are missing translations. These needs to be added and updated.
Integrate Request form into the frontend app.
Add model to store number of beds for a specific target group. We need the following attributes:
accomodation
(foreign key to accommodation model)num_beds
num_free_beds
target_group
things to consider for validation:
num_free_beds
has to be equal or lower to num_beds
.Bestehend aus den Anfragen für eine Abholung durch den Kältebus soll eine optimale Fahrtroute dem Fahrer angeboten werden.
So far, some specific user roles had been set, but these need to be checked and updated. As a few user roles only have to see certain functionalities in the UI, this should be implemented into the CMS. Furthermore, the given rights should be refactored.
At the moment, the languages are kind of broken, as not all translated strings can be found. This should be investigated and updated to provide a multilingual CMS.
As the CMS is able to deliver additional POIs via the API. These should be shown on the map as well.
Following steps need to be done for that:
Implement API calls.
Use map presentations with POIS of the API
For providing a stable system the APIs needs to be tested and integrated. This also affects the endpoints that has been developed for the Kältebus applications.
So far, the relevant points can only be found behind some small buttons. This should be changed and moved to a more visible position. Ideally as a submenu in the left navbar.
Add a model to store target groups for beds. This way, we can predefine a few categories but also give the possibility to extend the options if the choices are not sufficient.
name
slug
description
Implementierung von Schnittstellen im Backend und Frontend zur Bereitstellung und Verwendung von Daten.
A certain GPS functionality has been implemented, but the correctness has to be validated. If the feature isn't working accordingly, the feature has be refactored.
We definitely need a area to present the general information that the CMS can provide. For doing to the following steps has to been done:
Add additional navigation button
Implement API calls
Apply styling to the view
Display error-message
Use currently selected language for API calls
Extracted Issue from the whole responsive implementation.
Zusammenführung der drei Funktionalitätsdokumentationen und Überarbeitung in einheitliche Beschreibung der einzelnen Funktionalitäten. Nummerierung der einzelnen Funktionalitäten. Dies soll analog zur Dokumentation "Coldaid" sein. Jede Funktionalität sollte beschrieben werden mit einer ID/Nummerierung, Titel, Rolle (Wer nutzt diese Funktionalität?), Priorität (Hoch/Mittel/Niedrig), einer User-Story und einer kurzen Beschreibung. Nicht Funktionale Anforderungen wie Mehrsprachigkeit und leichte Sprache sollten auch als Anforderung kurz beschrieben werden.
Gliederung:
User Story: https://www.business-wissen.de/artikel/scrum-so-erstellen-sie-gute-user-stories/
Dokumente: Dokumentation Coldaid, Backend, Frontend, Lastenheft, Pflichtenheft
KältebusfahrerInnen benötigen einen Login indem die Funktionen "Fahrtenbuch", "Abholanfrage Annahme/Freigabe" und "Routenoptimierung" verfügbar sind.
Dabei braucht es auch sowas wie einen Login im Login für verschiedene Fahrzeuge.
Beschreibung der Problemstellung, welche Probleme existieren in der heutigen Obdachlosenhilfe, die mit der digitalen Applikation gelöst werden sollen? Prüfung der bestehenden Dokumentationen und zusammenführung der bisherigen Ergebnisse und falls notwendig Ergänzung dieser.
Dokumente: Dokumentation Coldaid, Backend, Frontend, Lastenheft, Pflichtenheft
Kältebusanwenderin soll Angaben zur Versorgung des hilfesuchenden Menschen machen können, sodass InstanzverwalterIn die Möglichkeit haben Statistiken über Schwerpunkte und Auslastung der Fahrzeuge in Abhängigkeit von Uhrzeit und Temperatur sich ausgeben zu lassen, um Probleme erkennen zu können.
Beschreibung der unterschiedlichen Stakeholder. Welche unterschiedlichen Gruppen gibt es im Kontext der entwickelten digitalen Lösung und wie können Sie eingebunden werden? Recherche der Stakeholder und Beschreibung der Rolle, Aufgaben und Vernetzung untereinander (Metaebene), sowie nennung von Beispielen in Berlin.
Bei den Trägern sollten Beratungs- und Hilfsangebote so gut wie möglich aufgeschlüsselt werden, bspw. Essensausgabe für obdachlose Menschen, Notunterkünfte, ... (Siehe Lastenheft)
http://projektmanagement-manufaktur.de/stakeholderanalyse
Dokumente: Lastenheft
Some research regarding REACT is required and a few mockups should be created to develop an idea of a mobile view of the app.
Steps to perform:
Add documentation of the API for the frontend.
From the test results a report has to be generated.
current version of develop
commit hash: 701f9a8
Steps to reproduce:
Click Create Accommodation Button:
fill out all necessary form fields
press publish
below the error messages:
This script needs root privileges to connect to the docker deamon. It will be automatically restarted with sudo.
AccommodationForm instantiated with data None and instance None
AccommodationTranslationForm instantiated with data None and instance None
AccommodationForm instantiated with data None and instance None
AccommodationTranslationForm instantiated with data None and instance None
"GET /static/CACHE/js/skins/ui/oxide/skin.min.css HTTP/1.1" 404 1732
"GET /static/CACHE/js/skins/ui/oxide/content.min.css HTTP/1.1" 404 1741
AccommodationForm instantiated with data <QueryDict: {'csrfmiddlewaretoken': ['6EgjN7lFIBJUccGk7mTKe2mg4miUYt28MyOJuHfJweHxjuetAeAKZnXYNX6HvvVn'], 'submit_public': ['Publish'], 'slug': [''], 'title': ['aaa'], 'short_description': ['aaaa'], 'description': ['<p>aaaa</p>'], 'address': ['Lehrter Straße 68'], 'postcode': ['10365'], 'city': ['Berlin'], 'country': ['Deutschland'], 'longitude': ['1'], 'latitude': ['1'], 'institution': ['1'], 'phone_number': [''], 'mobile_number': ['111111100000'], 'spoken_languages': ['1', '2'], 'wc_available': ['on'], 'shower_available': ['on'], 'intake_from': ['14:00'], 'intake_to': ['02:00']}> and instance None
AccommodationTranslationForm instantiated with data <QueryDict: {'csrfmiddlewaretoken': ['6EgjN7lFIBJUccGk7mTKe2mg4miUYt28MyOJuHfJweHxjuetAeAKZnXYNX6HvvVn'], 'submit_public': ['Publish'], 'slug': [''], 'title': ['aaa'], 'short_description': ['aaaa'], 'description': ['<p>aaaa</p>'], 'address': ['Lehrter Straße 68'], 'postcode': ['10365'], 'city': ['Berlin'], 'country': ['Deutschland'], 'longitude': ['1'], 'latitude': ['1'], 'institution': ['1'], 'phone_number': [''], 'mobile_number': ['111111100000'], 'spoken_languages': ['1', '2'], 'wc_available': ['on'], 'shower_available': ['on'], 'intake_from': ['14:00'], 'intake_to': ['02:00']}> and instance None
generate_unique_slug()
foreign_model: "accommodation"
region: "Augsburg"
language: "German"
unique slug: aaa
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/decorators.py", line 45, in _wrapper
return bound_method(*args, **kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/backend/cms/decorators.py", line 27, in wrap
return function(request, *args, **kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/contrib/auth/mixins.py", line 85, in dispatch
return super().dispatch(request, *args, **kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "/home/eric/Projects/Python/integreat-coldaid-backend/backend/cms/views/accommodations/accommodation_view.py", line 110, in post
not beds_formset.is_valid()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/forms/formsets.py", line 301, in is_valid
self.errors
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/forms/formsets.py", line 281, in errors
self.full_clean()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/forms/formsets.py", line 322, in full_clean
for i in range(0, self.total_form_count()):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/forms/formsets.py", line 110, in total_form_count
return min(self.management_form.cleaned_data[TOTAL_FORM_COUNT], self.absolute_max)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/functional.py", line 80, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/forms/formsets.py", line 92, in management_form
code='missing_management_form',
django.core.exceptions.ValidationError: ['ManagementForm data is missing or has been tampered with']
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/utils/deprecation.py", line 94, in __call__
response = response or self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/wsgiref/handlers.py", line 137, in run
self.result = application(self.environ, self.start_response)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/contrib/staticfiles/handlers.py", line 65, in __call__
return self.application(environ, start_response)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/wsgi.py", line 141, in __call__
response = self.get_response(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/base.py", line 75, in get_response
response = self._middleware_chain(request)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 94, in technical_500_response
html = reporter.get_traceback_html()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/views/debug.py", line 332, in get_traceback_html
t = DEBUG_ENGINE.from_string(fh.read())
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/engine.py", line 136, in from_string
return Template(template_code, engine=self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 156, in __init__
self.nodelist = self.compile_nodelist()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 194, in compile_nodelist
return parser.parse()
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 449, in parse
raise self.error(token, e)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 447, in parse
filter_expression = self.compile_filter(token.contents)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 563, in compile_filter
return FilterExpression(token, self)
File "/home/eric/Projects/Python/integreat-coldaid-backend/.venv/lib/python3.7/site-packages/django/template/base.py", line 663, in __init__
"from '%s'" % (token[upto:], token))
django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: ':"r"' from 'server_time|date:"r"'
"POST /augsburg/accommodations/de-de/new HTTP/1.1" 500 59
As the inquiries could provide some useful information for the policy of the city. These information should be anonymously aggregated and crossed with external sources like weather APIs etc to visualize potential correlations.
Anlegen, Löschen und Editieren von Fahrzeugen.
Metadaten:
The former defined test cases has to be done with a certain amount of users.
Export the information about an accommodation to external files.
Depends on #3
For applying the testing, several user routes and functionalities have to be identified. Therefore, test cases and corresponding functionalities has to be defined.
Create (first entry for new accommodations) and edit meta data (name, requirements, opening time etc.)
The functionality of the Kältebus-Branch needs to be merged into the develop branch. This, probably, needs some refactoring and adjustments. In the end the user should be able to Create, read, update and delete inquiries for the Kältebus.
Add a model for accommodations, which should inherit all attributes of points of interest plus the following attributes:
institution (Träger) - possibly foreign key to organization
rules of the accommodation
information about beds can be obtained by a reverse foreign key from the beds model.
For the demo, we should provide better test data. Add a region "Berlin" with most of all official accommodations and export them using the commands
source .venv/bin/activate
in combination with
integreat-cms dumpdata cms > new_test_data.json
or
integreat-cms dumpdata --settings=backend.docker_settings cms > new_test_data.json
depending on whether you use docker or not.
So far, the information bar in the map view is rather simple. Additional styling of the information would increase the UI by a lot.
Add the possibility to manage the beds of an accommodation, e.g. add/remove beds, occupy/free beds, change the category of beds etc...
Für die Abschlusspräsentation soll eine 10-15 minütige Präsentation vorbereitet werden.
Abgabe: 15. Juni 23:59 Uhr per Slack oder E-Mail
Add the possiblity to add, edit and delete bed target groups
As the prototype should be presented to different organizations better test data should be added to suggest a "real life" appealing.
Alle Teilergebnisse sollen zusammengeführt werden in einem Dokument und von der Sprache vereinheitlicht werden.
Das Gesamtdokument findet sich unter: https://drive.google.com/file/d/1EXVedLUyTcVK80QHv0zxxMtaW6DILNQT/view?usp=sharing
Ergebnisse:
Problemstellung: Bereits im Dokument
Stakeholderanalyse: https://docs.google.com/document/d/1d4ROM7IWjY3WE4qhqp8G9Gf5ClemJhto9MrjyTIx-dU/edit
Lösungsansatz: David
EPICs: https://docs.google.com/document/d/1Y4JHYPQSJYQ1_1B2wpAW8XZld2yQmrpQ/edit
Stakeholderanalyse: https://docs.google.com/document/d/1d4ROM7IWjY3WE4qhqp8G9Gf5ClemJhto9MrjyTIx-dU/edit
Rollout:
Bestehende Probleme: Tuan
Mindestanforderung an Funktionalität:
Fördertöpfe: https://docs.google.com/document/d/1QBC_xXFKjOXI8F_G5f9D3sbHL1f659pUYocdvT1M3SE/edit?ts=5ecf845c
Maßnahmenpakete: https://docs.google.com/document/d/1j9m4C0m3sxqMmiIhnqjD10l33MtYHkwLnoNOpWRUZR0/edit
Projektplan:
Abgabe: 15. Juni 23:59 Uhr per Slack oder E-Mail
KältebusanwenderInnen soll es bei Nutzung mehrerer Fahrzeuge je nach Standort und Priorität möglich sein, Anholanfragen anzunehmen/freizugeben, sodass keine Doppelungen auftreten.
Beschreibung welche Probleme bei dem bisherigen Prototypen vorhanden sind, beispielsweise schlechte UI, fehlende Inhalte, mehr Übersetzungen (Welche sollten mindestens in Berlin vorhanden sein?), welche Funktionalitäten fehlen noch in der bisherigen Implementierung, dass ein Rollout möglich und sinnvoll ist?
Dokumente: Dokumentation Backend, Frontend, Coldaid, Pflichten- und Lastenheft
EndanwenderIn kann einen Incident für sich selbst oder für einen Dritten auslösen und fordert damit eine Abholung durch einen Kältebus an, um so in eine sichere Unterkunft gebracht zu werden.
vor der Anfrage "Leitfaden" mit Bestätigungen zur Klärung der Dringlichkeit der Abholanfrage.
Beispiele:
Ist die Person ansprechbar? Ja/Nein
Möchte die Person Hilfe in Anspruch nehmen? Ja/Nein
Möchte die Person in eine Unterkunft gebracht werden? Ja/Nein
Hat die Person etwas wärmendes bei sich (Decke/Schlafsack/dicke Jacke)?
Input:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.