~jan0sch/smederee

Showing 11 changes starting from 87450d361e7959c8b31cc997edcd0b3978fb41ca.
2023-05-25 (Thu), 4:34 PM - Jens Grassel - 87450d361e7959c8b31cc997edcd0b3978fb41ca

Update cats-effect to 3.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-05-25 (Thu), 4:32 PM - Jens Grassel - 78ad0993acefd57869626013e5c5cd0125d2da0b

Update pureconfig to 0.17.4

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2023-05-25 (Thu), 4:31 PM - Jens Grassel - 9bc955a9cb58775a97df5059097b24ecde46b901

Update Scala to 3.3.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-05-23 (Tue), 7:42 PM - Jens Grassel - 624ff2e48d10dc4e21d997f6ccb4cad7f673245d

Tickets: Enable integration of ticket sites still hosted by the hub service.

This is a big patch including several changes:

- add a field `ticketsEnabled` to a `VcsRepository`
- add the column `tickets_enabled` to the database table for repository
  metadata
- adjust the related code in formes, routes and the database layer
- some cleanup in `DoobieVcsMetadataRepository`
- add new configuration options for ticket-service integration to the hub
  configuration used to generate links to the tickets
- add new configuration options for hub-service integration to the ticket
  service configuration used to generate links to everything related to hub
- replace tabs with spaces in the reference configuration of the ticket
  service
- add basic test for the ticket service configuration
- adjust templates regarding link rendering between the service urls
- add basic templates (main, navbar, etc.) to template path of ticket
  templates

Modify the actions for forms in the ticket templates to point to the hub
service base uri because the routes are still in the hub service. This will
need to be changed once they move into the ticket service running
seperately.
Summary of changes
5 files added
  • modules/hub/src/main/resources/db/migration/hub/V5__add_ticket_tracker.sql
  • modules/hub/src/main/twirl/de/smederee/tickets/views/main.scala.html
  • modules/hub/src/main/twirl/de/smederee/tickets/views/meta.scala.html
  • modules/hub/src/main/twirl/de/smederee/tickets/views/navbar.scala.html
  • modules/tickets/src/test/scala/de/smederee/tickets/config/SmedereeTicketsConfigurationTest.scala
32 files modified with 414 lines added and 197 lines removed
  • modules/hub/src/it/scala/de/smederee/hub/Generators.scala with 7 added and 6 removed lines
  • modules/hub/src/main/resources/messages.properties with 3 added and 0 removed lines
  • modules/hub/src/main/resources/reference.conf with 8 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala with 40 added and 10 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/EditVcsRepositoryForm.scala with 22 added and 9 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/NewVcsRepositoryForm.scala with 13 added and 6 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepository.scala with 3 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 63 added and 27 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/config/SmedereeHubConfig.scala with 22 added and 3 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/LabelRoutes.scala with 17 added and 2 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/MilestoneRoutes.scala with 8 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala with 8 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/createRepository.scala.html with 6 added and 0 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/editRepository.scala.html with 6 added and 0 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryBranches.scala.html with 2 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html with 2 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryHistory.scala.html with 2 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryMenu.scala.html with 7 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryOverview.scala.html with 2 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryPatch.scala.html with 2 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/createTicket.scala.html with 4 added and 4 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editLabel.scala.html with 4 added and 4 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editLabels.scala.html with 5 added and 5 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestone.scala.html with 4 added and 4 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editMilestones.scala.html with 5 added and 5 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/editTicket.scala.html with 4 added and 4 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html with 5 added and 4 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTicket.scala.html with 5 added and 5 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html with 4 added and 4 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/Generators.scala with 7 added and 6 removed lines
  • modules/tickets/src/main/resources/reference.conf with 86 added and 79 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/config/SmedereeTicketsConfiguration.scala with 38 added and 2 removed lines
2023-05-23 (Tue), 12:39 PM - Jens Grassel - 0fcddc959653307cbde277cd8af98dc09d7dbb1f

HTML: Extend meta tags model with robot tags.

- add more robot tags
- add explanations to robot tags
- add default meta tags helper providing a noindex and nofollow approach
Summary of changes
1 files modified with 59 lines added and 5 lines removed
  • modules/html-utils/src/main/scala/de/smederee/html/MetaTags.scala with 59 added and 5 removed lines
2023-05-23 (Tue), 9:42 AM - Jens Grassel - 25ab895498360559f5049619ec205e41e5ef701b

Cleanup: Replace tabs with spaces in reference.conf

Summary of changes
1 files modified with 152 lines added and 152 lines removed
  • modules/hub/src/main/resources/reference.conf with 152 added and 152 removed lines
2023-05-22 (Mon), 1:12 PM - Jens Grassel - 82cd8d014e25675a2b839cdfa26c826fbd3a13f6

Tickets: Hard code link to hub overview page for now.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html with 1 added and 1 removed lines
2023-05-22 (Mon), 12:33 PM - Jens Grassel - 8e784521934e446e29af5e7b537dfec17fcf6357

Authentication: Set domain name in cookie to allow sharing across sub domains.

The authentication cookie will now get the domain field filled with the
configured hostname of the hub service. As long as it is set to the top
domain (e.g. smeder.ee) then this will allow sharing the cookie across sub
domains.
Summary of changes
5 files modified with 79 lines added and 25 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/AuthenticationRoutes.scala with 6 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/HubServer.scala with 1 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/SessionHelpers.scala with 17 added and 16 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/AuthenticationRoutesTest.scala with 52 added and 7 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/SessionHelpersTest.scala with 3 added and 1 removed lines
2023-05-21 (Sun), 8:52 AM - Jens Grassel - 0e104088566697a365156f43bf48ac14e429a6a5

Update Scala to 3.3.0-RC6

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2023-05-21 (Sun), 8:43 AM - Jens Grassel - 942eecead99c935f83af6be1d8c57ebefa3f0471

Refactoring: Rename some routes in VcsRepositoryRoutes.

Summary of changes
1 files modified with 4 lines added and 4 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 4 added and 4 removed lines
2023-05-19 (Fri), 3:39 PM - Jens Grassel - d9c728b56e9152a68d83095792beda784c0ef838

Update and delete ticket projects in sync with vcs repos.

Summary of changes
1 files modified with 5 lines added and 2 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/VcsRepositoryRoutes.scala with 5 added and 2 removed lines