~jan0sch/smederee

Showing 11 changes starting from 9ce2f0f947b7e1781c1534e52bfe2a698dc247af.
2023-01-09 (Mon), 4:47 PM - Jens Grassel - 9ce2f0f947b7e1781c1534e52bfe2a698dc247af

Prepare RELEASE 0.4.0

Summary of changes
2 files modified with 7 lines added and 5 lines removed
  • CHANGELOG.md with 2 added and 0 removed lines
  • build.sbt with 5 added and 5 removed lines
2023-01-09 (Mon), 4:41 PM - Jens Grassel - c58485fe63ca711cd48b681ba40c149ca104b04b

More functionality regarding forking of repositories.

While already possible ("clone to your account") there was no metadata
stored regarding the actual fork and thus the connection between the
repositories was lost.

Now a separate table (`forks`) holds the relations and allows for additional
functionality. Currently only the showing of the parent repository (the one
from which was forked) on the repository overview page is implemented.
Summary of changes
1 files added
  • modules/hub/src/main/resources/db/migration/V3__fork_tables.sql
7 files modified with 189 lines added and 8 lines removed
  • CHANGELOG.md with 5 added and 0 removed lines
  • modules/hub/src/it/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala with 107 added and 0 removed lines
  • modules/hub/src/main/resources/messages_en.properties with 1 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala with 12 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/VcsMetadataRepository.scala with 23 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 23 added and 7 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryOverview.scala.html with 18 added and 1 removed lines
2023-01-09 (Mon), 4:37 PM - Jens Grassel - 5f9caa17c8ce2ab87badbff683dd8b24fa7c90ee

Update Changelog with forgotten entries since last release.

Summary of changes
1 files modified with 6 lines added and 0 lines removed
  • CHANGELOG.md with 6 added and 0 removed lines
2023-01-09 (Mon), 3:53 PM - Jens Grassel - 267727e5ea49ae5cca8a554bc79a30a037cf1a6a

Disable scalafix no var rule for Testrepository.

Summary of changes
1 files modified with 1 lines added and 0 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala with 1 added and 0 removed lines
2023-01-08 (Sun), 5:59 PM - Jens Grassel - d3a2a6704398fda78eb5dbf86cfdbe1bc1db02db

Update sbt to 1.8.2

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-01-05 (Thu), 10:05 AM - Jens Grassel - aa3dc39735a35f05eed6b6eb42e4304c8b99c7cc

Update sbt to 1.8.1

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • project/build.properties with 1 added and 1 removed lines
2022-12-31 (Sat), 4:05 PM - Jens Grassel - 7184525e4d0f70ff84ace7335642afc9eb4bf136

Add tests for `AuthenticationRoutes`.

- add `AuthenticationFailure` enum
- implement basic tests using `TestAuthenticationRepository` as dummy repo
Summary of changes
2 files added
  • modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala
  • modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala
1 files modified with 25 lines added and 6 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala with 25 added and 6 removed lines
2022-12-31 (Sat), 3:47 PM - Jens Grassel - 9c16f2655ff1c1151c7709d91380703527e065fc

Adjust settings for test framework.

- disable parallel test execution as recommended by munit documentation
Summary of changes
1 files modified with 3 lines added and 1 lines removed
  • build.sbt with 3 added and 1 removed lines
2022-12-31 (Sat), 3:46 PM - Jens Grassel - c5a7b083e276b6fed8f12248dab4c8188a4f5188

Fix generators for usernames.

The prefix character was not lowercased and could therefore risk generating
an invalid username.
Summary of changes
2 files modified with 2 lines added and 2 lines removed
  • modules/hub/src/it/scala/de/smederee/hub/Generators.scala with 1 added and 1 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/Generators.scala with 1 added and 1 removed lines
2022-12-31 (Sat), 2:58 PM - Jens Grassel - 0fa827b4b4808bd63ea4ce44760499e98b055462

Update sbt-twirl to 1.6.0-RC1

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • project/plugins.sbt with 1 added and 1 removed lines
2022-12-29 (Thu), 6:40 PM - Jens Grassel - fa61404699f43aa7e3760793a6efa493ffebf634

Remove randomised id attribute for CSRF form field.

It complicates testing and is not needed because the name attribute is
sufficient.
Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/twirl/de/smederee/hub/views/csrfToken.scala.html with 1 added and 1 removed lines