Johannes johannes
  • Darmstadt
  • Joined on 2022-06-11
johannes commented on issue Fachschaft/sprechstunden-go#9 2022-11-22 15:59:23 +00:00
Trenne Veranstaltungen nach SoSe und WiSe

Ich meinte die Liste der Lehrveranstaltungen, die wir in die Datenbank einspeichern. Was dieses Issue mit Druck-Styles und langen Nutzereingaben zu tun hat, sehe ich (noch?) nicht.

Ggf. mach'…

johannes opened issue Fachschaft/sprechstunden-go#9 2022-11-22 15:34:07 +00:00
Trenne Veranstaltungen nach SoSe und WiSe
johannes pushed to main at Fachschaft/sprechstunden-go 2022-11-22 15:28:56 +00:00
5cf52a190c dummydatasql: streiche LA I für Physiker, wir haben schon LA für Physik und Lehramt
johannes commented on issue Fachschaft/sprechstunden-go#8 2022-11-20 13:28:53 +00:00
E-Mail obfuscaten

Sobald die Adresse halt einmal auf einer Spamliste steht, ist es ja auch zu spät.

Ich sehe dieses Issue als "sinnvoll, aber nicht zeitkritisch"

johannes opened issue Fachschaft/sprechstunden-go#8 2022-11-17 23:09:43 +00:00
E-Mail obfuscaten
johannes commented on issue Fachschaft/sprechstunden-go#5 2022-10-30 17:18:53 +00:00
Frage Mailadresse vor dem Löschen von Sprechstunden ab

Eine Auswertung der Logs ergab zudem, dass die meisten ungewünschten Mails durch Webcrawler ausgelöst wurden.

Dann könnte man alternativ die Löschen-Buttons auch einfach als POST-Forms…

johannes commented on issue Fachschaft/sprechstunden-go#5 2022-10-25 12:00:38 +00:00
Frage Mailadresse vor dem Löschen von Sprechstunden ab

Das mit den ungefragten Mails kann ich bestätigen

Schadet auf jeden Fall nicht das so zu implementieren, andererseits sind stud-Mails uU einfach zu erraten.

johannes commented on issue Fachschaft/sprechstunden-go#4 2022-09-27 16:10:11 +00:00
validiere auf alphanumerische Eingaben in Freitextfeldern

Ich kann den Fehler gerade nicht reproduzieren. Dann war die Ursache der Fehlermeldung wohl eine andere.

Nichtsdestotrotz halte ich Validierung für sinnvol (vielleicht möchte man Sonderzeichen…

johannes opened issue Fachschaft/sprechstunden-go#4 2022-09-27 14:31:24 +00:00
validiere auf alphanumerische Eingaben in Freitextfeldern
johannes opened issue Fachschaft/sprechstunden-go#3 2022-09-27 14:20:36 +00:00
Tabelle: Ränder einheitlich rendern
johannes commented on pull request Fachschaft/sprechstunden-go#1 2022-09-24 22:02:35 +00:00
preparations for styling: refactor template rendering

If you want to work on in go code, feel free to just merge this. I'll work on the actual template styling now.

johannes commented on pull request Fachschaft/sprechstunden-go#1 2022-09-24 21:51:40 +00:00
preparations for styling: refactor template rendering

Error wrapping looks nice. I started doing that.

In general it seems best to wrap errors which occur during runtime from the beginning of a http request handler, which then logs the error and…

johannes commented on pull request Fachschaft/sprechstunden-go#1 2022-09-24 21:46:18 +00:00
preparations for styling: refactor template rendering

Fixed (and spent too much time implementing this ^^)

johannes commented on pull request Fachschaft/sprechstunden-go#1 2022-09-24 21:44:42 +00:00
preparations for styling: refactor template rendering

This is not longer relevant, since all available templates are listed in one place inside our code and we do not parse filenames from anywhere else.

johannes pushed to styling at Fachschaft/sprechstunden-go 2022-09-24 13:03:42 +00:00
f04396809d rework template rendering, cache parsed templates
7a1448d6f9 requestRepo/newSecret: fix small bug
961a10915b Merge remote-tracking branch 'origin/main' into styling
6e97d867de Verbessere Logging und Fehlerbehandlung
Compare 4 commits »
johannes commented on pull request Fachschaft/sprechstunden-go#1 2022-09-21 21:06:15 +00:00
preparations for styling: refactor template rendering

https://www.alexedwards.net/blog/serving-static-sites-with-go

This link probably helps understanding which design I oriented at (one base template with specific blocks replaced per page)

johannes created pull request Fachschaft/sprechstunden-go#1 2022-09-21 20:50:32 +00:00
preparations for styling: refactor template rendering
johannes pushed to styling at Fachschaft/sprechstunden-go 2022-09-21 20:43:32 +00:00
a755a0b3e9 log template rendering errors; some docstrings
johannes created branch styling in Fachschaft/sprechstunden-go 2022-09-21 20:19:53 +00:00
johannes pushed to styling at Fachschaft/sprechstunden-go 2022-09-21 20:19:53 +00:00
d60b715d96 refactor template rendering logic to one base template
16e8cf9cd7 static file handler to include bootstrap stylesheets
Compare 2 commits »