~jan0sch/smederee

Showing 11 changes starting from 0efbb97ad9658f246962533c44a5d9b561d227db.
2023-08-27 (Sun), 8:36 AM - Jens Grassel - 0efbb97ad9658f246962533c44a5d9b561d227db

Update spring security to 6.1.3

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-27 (Sun), 8:35 AM - Jens Grassel - af30f5dc3076ce628ddc376ed468ffe502f3e8fc

Update sbt to 1.9.4

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • project/build.properties with 1 added and 1 removed lines
2023-08-17 (Thu), 1:54 PM - Jens Grassel - d0b80bf5c066581bc49a953fc36abd1d8a42ca85

Update cats to 2.10.0

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-17 (Thu), 1:51 PM - Jens Grassel - f6c299722cce1a5915c4f0456a8379e659fcd3da

Update logback to 1.4.11

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-16 (Wed), 8:52 AM - Jens Grassel - 0f9348a883c6a6ad93fc03547a3e1dec8f271bab

VCS: Explicitly add content disposition headers upon archive download.

- add content disposition header containing the filename upon repository
  archive download

Fixes: https://tickets.smeder.ee/~jan0sch/smederee/tickets/3
Summary of changes
1 files modified with 14 lines added and 5 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 14 added and 5 removed lines
2023-08-16 (Wed), 8:13 AM - Jens Grassel - 1c6eb8e14f237c49bcfb7776ff318344dc1838a3

VCS: Change download package code to fix unicode filename issues.

The darcs dist command has problems with unicode characters in filenames
producing archives that have wrongly named directories and files.

Therefore the `tar` command is now used to create an archive of a repository.

Fixes: https://tickets.smeder.ee/~jan0sch/smederee/tickets/5
Summary of changes
1 files modified with 41 lines added and 17 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 41 added and 17 removed lines
2023-08-15 (Tue), 5:15 PM - Jens Grassel - 5fc565ef2efabae641fa76ca8e1754aa3ca82887

VCS: Fix unicode issues in the file browser.

- explicitly decode the path parts coming from the url

Fixes: https://tickets.smeder.ee/~jan0sch/smederee/tickets/4
Summary of changes
2 files modified with 2 lines added and 2 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 1 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html with 1 added and 1 removed lines
2023-08-09 (Wed), 12:49 PM - Jens Grassel - 30f419688493197fd6ebc31e2b10fd28e76cda31

i18n: Fix generator causing flaky test.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/i18n/src/test/scala/de/smederee/i18n/LanguageCodeTest.scala with 1 added and 1 removed lines
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