~jan0sch/smederee

Showing 11 changes starting from 65c1f559ded2a7982e13886dcd729ef7d3559866.
2023-08-09 (Wed), 12:38 PM - Jens Grassel - 65c1f559ded2a7982e13886dcd729ef7d3559866

Hub: Add increasing time delay for failed login attempts.

- increase default number of failed attempts for locking to 10
- add time delay from the second failed attempt on which increases with each
  attempt
Summary of changes
4 files modified with 15 lines added and 8 lines removed
  • modules/hub/src/main/resources/reference.conf with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala with 11 added and 4 removed lines
  • modules/hub/src/universal/conf/application.conf.sample with 2 added and 2 removed lines
  • modules/tickets/src/main/resources/reference.conf with 1 added and 1 removed lines
2023-08-09 (Wed), 8:06 AM - Jens Grassel - 488a78c4566902c21b3367790b4eaae775ec5492

Hub: Enable possible account unlocking.

- add log messages for authentication failures and locking to enable possible
  integration with log scrapers like fail2ban
- add route to unlock accounts using the username and the unlock token
Summary of changes
2 files modified with 36 lines added and 10 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/Account.scala with 6 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala with 30 added and 10 removed lines
2023-08-09 (Wed), 8:05 AM - Jens Grassel - d2a107c19e5ee33bde5ab4a14a3588544a631117

Hub: Adjust time delay for password reset to never be zero.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRoutes.scala with 1 added and 1 removed lines
2023-08-08 (Tue), 3:43 PM - Jens Grassel - f9a45add82135cc252df87c381afdc037d2a9bc5

Update sbt-header to 5.10.0

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • project/plugins.sbt with 1 added and 1 removed lines
2023-08-08 (Tue), 3:42 PM - Jens Grassel - cffbce8b4d0e3adba29aadfff2c4f2f26446a57f

Update logback to 1.4.9

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2023-08-08 (Tue), 3:35 PM - Jens Grassel - b9c00febab66a3bba780a30509ffeb63918cdc1f

Build: Remove hard coded test run before packaging.

Summary of changes
1 files modified with 0 lines added and 9 lines removed
  • build.sbt with 0 added and 9 removed lines
2023-08-08 (Tue), 3:07 PM - Jens Grassel - 6f64dd894d7d5db173d1ddc9f0cefed6f71f867a

Hub: Change CSRF protection error handling.

The old behaviour (redirect with silenty dropping the cookie) did not work
correctly behind reverse proxies.
Now an error page is shown that includes a hint to the user that it might be
necessary to delete the site cookies.

This situation is triggered by changing the CSRF protection key during a user
session.
Summary of changes
1 files added
  • modules/hub/src/main/twirl/de/smederee/hub/views/errors/csrfFailed.scala.html
3 files modified with 6 lines added and 5 lines removed
  • modules/hub/src/main/resources/messages.properties with 2 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/HubServer.scala with 3 added and 4 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/main.scala.html with 1 added and 1 removed lines
2023-08-08 (Tue), 3:06 PM - Jens Grassel - 5ccc67fb3859446a6b12d82dc202ac22218d1033

Hub: Fix rendering of meta tags object to properly render set attributes.

Summary of changes
1 files modified with 4 lines added and 1 lines removed
  • modules/hub/src/main/twirl/de/smederee/hub/views/meta.scala.html with 4 added and 1 removed lines
2023-08-04 (Fri), 9:09 AM - Jens Grassel - edc1da24b631c1dfd6d7b17cbab06ff897982f46

Update semanticdb to 4.8.7

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • project/plugins.sbt with 1 added and 1 removed lines
2023-08-03 (Thu), 6:03 PM - Jens Grassel - a55031fe01e62cc043a47ff9c5d9ab972bf6c080

Fix broken test compilation due to linking to reset password page.

Summary of changes
1 files modified with 9 lines added and 6 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala with 9 added and 6 removed lines
2023-08-03 (Thu), 5:58 PM - Jens Grassel - f8cb576f46a51aa7d4a4d3ee2517835b959dde87

Hub: Link from login page to reset password page and some cleanup.

Summary of changes
3 files modified with 14 lines added and 15 lines removed
  • modules/hub/src/main/resources/messages.properties with 1 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala with 4 added and 7 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/login.scala.html with 9 added and 8 removed lines