~jan0sch/smederee

Showing 11 changes starting from 2349733a35d70db277e3fccfde6e1387057ba54d.
2023-03-06 (Mon), 1:32 PM - Jens Grassel - 2349733a35d70db277e3fccfde6e1387057ba54d

HTML/CSS: Add separate colours also for file todo renderer.

TODO items in normal file rendering are now also highlighted using different
colours for different item classes like in the markdown renderer.
Summary of changes
3 files modified with 63 lines added and 23 lines removed
  • modules/hub/src/main/resources/assets/css/main.css with 26 added and 2 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/MarkdownRenderer.scala with 21 added and 14 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html with 16 added and 7 removed lines
2023-03-06 (Mon), 11:52 AM - Jens Grassel - 26f9bee638e4a66f54a6fa7afa5b8618433cd82e

HTML/CSS: Add simple todo highlighting for regular files.

- highlight a code line with a found todo item in the default colour
Summary of changes
2 files modified with 12 lines added and 0 lines removed
  • modules/hub/src/main/resources/assets/css/main.css with 8 added and 0 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryFiles.scala.html with 4 added and 0 removed lines
2023-03-06 (Mon), 10:28 AM - Jens Grassel - 2a56d7d06bff5d7004ec3b4c6854baed1de07fa8

HTML/CSS: Add highlighting for todo items in file renderer.

- match on a [very limited] list of words that are considered
  "todo indicators"
- wrap matched words into a span tag with certain css class
- add css for highlighting
- works currently only for markdown files
Summary of changes
2 files modified with 95 lines added and 2 lines removed
  • modules/hub/src/main/resources/assets/css/main.css with 32 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/MarkdownRenderer.scala with 63 added and 2 removed lines
2023-03-06 (Mon), 8:48 AM - Jens Grassel - bcceccfa10036bb10399b87ec17accd0cebb5c57

hub: Change default db for integration tests

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • modules/hub/src/it/resources/application.conf with 1 added and 1 removed lines
2023-03-01 (Wed), 8:22 PM - Jens Grassel - 549eedbced045c64c120144d2798baa246c43d64

Update README with some notes for deployment and databases.

Summary of changes
1 files modified with 20 lines added and 3 lines removed
  • README.md with 20 added and 3 removed lines
2023-03-01 (Wed), 8:12 PM - Jens Grassel - 65f7c1d40f8a78a04a115c0661e2351edc761403

Update CHANGELOG

Summary of changes
1 files modified with 2 lines added and 2 lines removed
  • CHANGELOG.md with 2 added and 2 removed lines
2023-03-01 (Wed), 7:24 PM - Jens Grassel - 7f9f7add4fcf198c3af8fe04f03f905a1fd57da7

BREAKING CHANGES: Move ticket code to separate module and use DB schemas.

- move ticket code out of the hub module
- rewrite database code and migrations to use "hub" schema for the hub

This breaks existing installations! Because we're still in the alpha phase
this is tolerable although not great but I found no way to migrate an
existing installation automatically.

An existing installation MUST either configure a different database and
migrate the content from the old one into the new and into the hub schema
tables OR dump the old tables, clear the database and import the content
into the hub schema tables.
Summary of changes
25 files modified with 180 lines added and 258 lines removed
  • modules/hub/src/it/scala/de/smederee/hub/AuthenticationMiddlewareTest.scala with 0 added and 18 removed lines
  • modules/hub/src/it/scala/de/smederee/hub/BaseSpec.scala with 26 added and 8 removed lines
  • modules/hub/src/it/scala/de/smederee/hub/DatabaseMigratorTest.scala with 0 added and 6 removed lines
  • modules/hub/src/it/scala/de/smederee/hub/DoobieAccountManagementRepositoryTest.scala with 0 added and 17 removed lines
  • modules/hub/src/it/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala with 2 added and 2 removed lines
  • modules/hub/src/it/scala/de/smederee/hub/DoobieSignupRepositoryTest.scala with 0 added and 17 removed lines
  • modules/hub/src/it/scala/de/smederee/hub/DoobieVcsMetadataRepositoryTest.scala with 1 added and 18 removed lines
  • modules/hub/src/main/resources/assets/css/main.css with 4 added and 0 removed lines
  • modules/hub/src/main/resources/db/migration/V1__base_tables.sql with 37 added and 35 removed lines
  • modules/hub/src/main/resources/db/migration/V2__repository_tables.sql with 12 added and 12 removed lines
  • modules/hub/src/main/resources/db/migration/V3__fork_tables.sql with 6 added and 6 removed lines
  • modules/hub/src/main/resources/messages_en.properties with 2 added and 2 removed lines
  • modules/hub/src/main/resources/reference.conf with 1 added and 1 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/Account.scala with 0 added and 15 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DatabaseMigrator.scala with 21 added and 2 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieAccountManagementRepository.scala with 8 added and 8 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala with 9 added and 9 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieSignupRepository.scala with 3 added and 3 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala with 18 added and 8 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/HubServer.scala with 5 added and 17 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/LandingPageRoutes.scala with 5 added and 4 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/SignupRoutes.scala with 6 added and 10 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/config/SmedereeHubConfig.scala with 11 added and 31 removed lines
  • modules/hub/src/main/scala/de/smederee/ssh/DoobieSshAuthenticationRepository.scala with 3 added and 3 removed lines
  • modules/hub/src/main/twirl/de/smederee/hub/views/showRepositoryMenu.scala.html with 0 added and 6 removed lines
35 files removed
  • modules/hub/src/test/scala/de/smederee/tickets/ColourCodeTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/Generators.scala
  • modules/hub/src/test/scala/de/smederee/tickets/LabelDescriptionTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/LabelNameTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/LabelTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/MilestoneDescriptionTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/MilestoneTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/MilestoneTitleTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/TicketContentTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/TicketNumberTest.scala
  • modules/hub/src/test/scala/de/smederee/tickets/TicketTitleTest.scala
  • modules/hub/src/main/twirl/de/smederee/hub/views/tickets/editLabel.scala.html
  • modules/hub/src/main/twirl/de/smederee/hub/views/tickets/editLabels.scala.html
  • modules/hub/src/main/twirl/de/smederee/hub/views/tickets/editMilestone.scala.html
  • modules/hub/src/main/twirl/de/smederee/hub/views/tickets/editMilestones.scala.html
  • modules/hub/src/main/scala/de/smederee/tickets/Assignee.scala
  • modules/hub/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala
  • modules/hub/src/main/scala/de/smederee/tickets/DoobieMilestoneRepository.scala
  • modules/hub/src/main/scala/de/smederee/tickets/Label.scala
  • modules/hub/src/main/scala/de/smederee/tickets/LabelForm.scala
  • modules/hub/src/main/scala/de/smederee/tickets/LabelRepository.scala
  • modules/hub/src/main/scala/de/smederee/tickets/LabelRoutes.scala
  • modules/hub/src/main/scala/de/smederee/tickets/Milestone.scala
  • modules/hub/src/main/scala/de/smederee/tickets/MilestoneForm.scala
  • modules/hub/src/main/scala/de/smederee/tickets/MilestoneRepository.scala
  • modules/hub/src/main/scala/de/smederee/tickets/MilestoneRoutes.scala
  • modules/hub/src/main/scala/de/smederee/tickets/Submitter.scala
  • modules/hub/src/main/scala/de/smederee/tickets/Ticket.scala
  • modules/hub/src/main/scala/de/smederee/tickets/TicketRepository.scala
  • modules/hub/src/main/scala/de/smederee/html/LinkTools.scala
  • modules/hub/src/main/scala/de/smederee/html/MetaTags.scala
  • modules/hub/src/it/scala/de/smederee/tickets/DoobieLabelRepositoryTest.scala
  • modules/hub/src/it/scala/de/smederee/tickets/DoobieMilestoneRepositoryTest.scala
  • modules/hub/src/it/scala/de/smederee/tickets/Generators.scala
  • modules/hub/src/main/resources/db/migration/V4__ticket_tables.sql
2023-02-24 (Fri), 7:53 PM - Jens Grassel - 1748634ccfae207a0c1d69f656f5244ef644091e

Refactoring: Move html utils into separate module.

Summary of changes
4 files added
  • modules/html-utils/src/main/scala/de/smederee/html/ExternalUrlConfiguration.scala
  • modules/html-utils/src/main/scala/de/smederee/html/LinkTools.scala
  • modules/html-utils/src/main/scala/de/smederee/html/MetaTags.scala
  • modules/html-utils/src/test/scala/de/smederee/html/LinkToolsTest.scala
1 files modified with 20 lines added and 2 lines removed
  • build.sbt with 20 added and 2 removed lines
2023-02-24 (Fri), 3:42 PM - Jens Grassel - f2401b62e54636b4cc3cd948413c7ea632418cf3

Update CONTRIBUTING guide lines.

- change requirements for commit messages
- add requirements for referencing tickets or regressions
Summary of changes
1 files modified with 5 lines added and 3 lines removed
  • CONTRIBUTING.md with 5 added and 3 removed lines
2023-02-24 (Fri), 3:20 PM - Jens Grassel - 50df790d623c9766395d069d3ac927f8d08fba39

Update simple java mail to 7.9.1

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2023-02-24 (Fri), 3:19 PM - Jens Grassel - 651248a53ef4d23167775772080981818c38adb4

Update postgresql to 42.5.4

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines