~jan0sch/smederee

Showing 11 changes starting from 398bce8aff0eee9b73e93d612a3d01eb8bf7d6c0.
2023-05-16 (Tue), 1:23 PM - Jens Grassel - 398bce8aff0eee9b73e93d612a3d01eb8bf7d6c0

Tickets: Add route to show a ticket for guests.

Summary of changes
1 files modified with 12 lines added and 2 lines removed
  • modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala with 12 added and 2 removed lines
2023-05-16 (Tue), 1:18 PM - Jens Grassel - 30142ca6315275e443b45bbee2579f64bfdeca61

VCS: Link to patch details from repository overview page.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryOverview.scala.html with 1 added and 1 removed lines
2023-05-16 (Tue), 1:11 PM - Jens Grassel - bc961e8622946f8c0370cc0a41e7286a62398870

Tickets: Add route for showing single tickets.

- add route for authenticated users to show a ticket
- add translations for ticket status and resolution
- add template format helpers for ticket status and submitter
- add rendering function for ticket content to markdown renderer
Summary of changes
3 files added
  • modules/hub/src/main/twirl/de/smederee/tickets/views/format/formatTicketStatus.scala.html
  • modules/hub/src/main/twirl/de/smederee/tickets/views/format/formatTicketSubmitter.scala.html
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTicket.scala.html
5 files modified with 105 lines added and 2 lines removed
  • modules/hub/src/main/resources/messages.properties with 13 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/MarkdownRenderer.scala with 20 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala with 65 added and 1 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/format/formatDateTime.scala.html with 1 added and 1 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/Ticket.scala with 6 added and 0 removed lines
2023-05-16 (Tue), 8:03 AM - Jens Grassel - 941f08d70b902da07884a7e4f83db49c70bf999d

Tickets: Improve ticket listing.

- tidy up html template
- link to submitter
- link from title to ticket detail page
- separate colours for ticket number and title of resolved tickets
- strike through ticket number of resolved tickets
Summary of changes
2 files modified with 18 lines added and 5 lines removed
  • modules/hub/src/main/resources/assets/css/main.css with 9 added and 0 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html with 9 added and 5 removed lines
2023-05-16 (Tue), 8:01 AM - Jens Grassel - 865de377ce2b8ab1db66aa2f0a30de3dcd5a4cec

Tickets: Save current user as submitter.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala with 1 added and 1 removed lines
2023-05-16 (Tue), 8:00 AM - Jens Grassel - b59071a9874e9a7f5cc965db5b8de75d9c98cad6

CSS: Change colour of links to default.

Summary of changes
1 files modified with 0 lines added and 4 lines removed
  • modules/hub/src/main/resources/assets/css/main.css with 0 added and 4 removed lines
2023-05-15 (Mon), 7:21 PM - Jens Grassel - f31fdcd29191906e80b6192849af9df27435df8b

Tickets: Add route for ticket creation.

- add simple form and route for creating tickets
- add `incrementNextTicketNumber` to project repository
- some code cleanup
- tests
Summary of changes
3 files added
  • modules/hub/src/main/scala/de/smederee/tickets/TicketForm.scala
  • modules/hub/src/main/twirl/de/smederee/tickets/views/createTicket.scala.html
  • modules/hub/src/main/twirl/de/smederee/tickets/views/format/formatDateTime.scala.html
9 files modified with 283 lines added and 36 lines removed
  • modules/hub/src/main/resources/messages.properties with 14 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/HubServer.scala with 7 added and 7 removed lines
  • modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala with 123 added and 2 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html with 31 added and 23 removed lines
  • modules/tickets/src/it/scala/de/smederee/tickets/BaseSpec.scala with 30 added and 4 removed lines
  • modules/tickets/src/it/scala/de/smederee/tickets/DoobieProjectRepositoryTest.scala with 30 added and 0 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/DoobieProjectRepository.scala with 26 added and 0 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/ProjectRepository.scala with 10 added and 0 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/Ticket.scala with 12 added and 0 removed lines
2023-05-13 (Sat), 6:32 AM - Jens Grassel - 888c8971314cf78d94d3ec3f334ff90957d495be

Update sbt to 1.8.3

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-05-12 (Fri), 1:47 PM - Jens Grassel - e227c36f9d1f60b111d53a0afecd1fb407577a4e

Ticket routes and filtering

- add basic proof of concept functionality for a tickets route
- fix a bug in the JOIN for fetching tickets and submitters
- add more tests for the filtering capabilities of the DoobieTicketRepository
- fix possible stack overflow in Ticket Order / Ordering instances
Summary of changes
2 files added
  • modules/hub/src/main/scala/de/smederee/tickets/TicketRoutes.scala
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showTickets.scala.html
8 files modified with 246 lines added and 10 lines removed
  • modules/hub/src/main/resources/assets/css/main.css with 9 added and 0 removed lines
  • modules/hub/src/main/resources/messages.properties with 4 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/HubServer.scala with 4 added and 0 removed lines
  • modules/hub/src/main/twirl/de/smederee/tickets/views/showProjectMenu.scala.html with 3 added and 0 removed lines
  • modules/tickets/src/it/scala/de/smederee/tickets/DoobieTicketRepositoryTest.scala with 167 added and 4 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala with 22 added and 3 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/Ticket.scala with 34 added and 2 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/TicketRepository.scala with 3 added and 1 removed lines
2023-05-12 (Fri), 7:10 AM - Jens Grassel - 4c55c9d8789e1241711c2482686df2f415efb4ed

Build configuration: Fork JVM als for integration tests

Summary of changes
1 files modified with 2 lines added and 0 lines removed
  • build.sbt with 2 added and 0 removed lines
2023-05-11 (Thu), 9:34 AM - Jens Grassel - 9b334ebeb26da34ada601b8819e55f5108e0f208

Update scalafmt to 3.7.3

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • .scalafmt.conf with 1 added and 1 removed lines