~jan0sch/smederee

Showing 11 changes starting from 41fc72b7bdf917cf1f31cf3cacbeb03afed88830.
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
2024-07-14 (Sun), 2:39 PM - Jens Grassel - 224eb5b36f2104130bef70d38cc8e62eab3780d0

security: refactor permission model

- rename `Execute` to `Manage`
- adjust documentation for rights/permissions of each case
Summary of changes
1 files modified with 7 lines added and 7 lines removed
  • modules/security/src/main/scala/de/smederee/security/Permission.scala with 7 added and 7 removed lines
2024-07-12 (Fri), 7:26 AM - Jens Grassel - 10cb8ca5f461ed485ce85064667f585678140cb8

Update sbt-twirl to 2.0.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
2024-07-12 (Fri), 7:23 AM - Jens Grassel - e2bf55bae7f0355320c1a937a962b288d363dfb4

Update scoverage to 2.1.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