~wegtam/smederee

Showing 11 changes starting from c40a532e67069c21163d7a2e2044f8d6646d2375.
2024-07-22 (Mon), 9:14 AM - Jens Grassel - c40a532e67069c21163d7a2e2044f8d6646d2375

chore: migrate test to ScalaCheckEffect

Summary of changes
1 files modified with 110 lines added and 116 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/DoobieSignupRepositoryTest.scala with 110 added and 116 removed lines
2024-07-22 (Mon), 9:10 AM - Jens Grassel - 6093191a3eabd73f47364101273aacd8168399e5

chore: migrate test to ScalaCheckEffect

Summary of changes
1 files modified with 197 lines added and 211 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/DoobieResetPasswordRepositoryTest.scala with 197 added and 211 removed lines
2024-07-22 (Mon), 9:05 AM - Jens Grassel - b2466e506a577ea6ae72f053cc674f2fb29e2f80

chore: migrate test to ScalaCheckEffect

Summary of changes
1 files modified with 21 lines added and 18 lines removed
  • modules/hub/src/test/scala/de/smederee/ssh/DoobieSshAuthenticationRepositoryTest.scala with 21 added and 18 removed lines
2024-07-22 (Mon), 8:54 AM - Jens Grassel - 41fc72b7bdf917cf1f31cf3cacbeb03afed88830

chore: migrate test to ScalaCheckEffect

Summary of changes
2 files modified with 220 lines added and 199 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/DoobieAccountManagementRepositoryTest.scala with 218 added and 199 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/Generators.scala with 2 added and 0 removed lines
2024-07-22 (Mon), 8:52 AM - Jens Grassel - 24957aada07ce9c398a5f3d1a880ad0e38ccaeec

codingstyle: exclude build definition files from automatic formatting

Summary of changes
2 files modified with 5 lines added and 2 lines removed
  • .scalafmt.conf with 4 added and 2 removed lines
  • CODINGSTYLE.md with 1 added and 0 removed lines
2024-07-22 (Mon), 7:51 AM - Jens Grassel - f84160f508d04211cfafcca776f98da63f76ace1

chore: migrate test to ScalaCheckEffect

Summary of changes
1 files modified with 368 lines added and 400 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala with 368 added and 400 removed lines
2024-07-21 (Sun), 7:42 PM - Jens Grassel - ccc9caffdf75cf57716fe6595cce4b0c0fe3cd42

chore: migrate test to ScalaCheckEffect

- rewrite generators to automatically provide a `NonEmptyList[A]` if needed
- adjust `DoobieOrganisationRepositoryTest`
Summary of changes
2 files modified with 431 lines added and 420 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/DoobieOrganisationRepositoryTest.scala with 403 added and 420 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/Generators.scala with 28 added and 0 removed lines
2024-07-21 (Sun), 7:40 AM - Jens Grassel - dbdefe8d234d4eebb2578b39cb77733a07307444

chore: migrate test to ScalaCheckEffect

Summary of changes
1 files modified with 175 lines added and 178 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala with 175 added and 178 removed lines
2024-07-21 (Sun), 7:33 AM - Jens Grassel - 20d0f4730c6e442123a92db09796811afeed755a

Update flyway to 10.16.0

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2024-07-21 (Sun), 7:00 AM - Jens Grassel - 3aafe7008be70fd4da6a97ce28610487a27a3e63

Update os-lib to 0.10.3

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2024-07-17 (Wed), 7:34 PM - Jens Grassel - 1a3e36c52da001590a8cea80c8533469b6f0d704

vcs: Implement permissions for repositories

- add database table for mapping permissions between repositories and organisations
- extend VcsMetadataRepository with getter and setter for permissions
- extend BaseSpec with createOrganisation helper
- add tests for getter and setter
- add ScalaCheck Effect testing library for easier usage of scalacheck with effectful tests
Summary of changes
1 files added
  • modules/hub/src/main/resources/db/migration/hub/V9__repository_permissions.sql
6 files modified with 277 lines added and 30 lines removed
  • build.sbt with 31 added and 28 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala with 26 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/VcsMetadataRepository.scala with 25 added and 0 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/BaseSpec.scala with 59 added and 1 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala with 129 added and 1 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/Generators.scala with 7 added and 0 removed lines