~jan0sch/smederee

Showing 11 changes starting from d7aa2965983cdd00fb20629aef651f8b6a6400b3.
2024-02-06 (Tue), 4:19 PM - Jens Grassel - d7aa2965983cdd00fb20629aef651f8b6a6400b3

Hub: Set correct password reset link in email.

Fixes: https://tickets.smeder.ee/~jan0sch/smederee/tickets/6
Summary of changes
1 files modified with 3 lines added and 1 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/ResetPasswordRoutes.scala with 3 added and 1 removed lines
2024-02-06 (Tue), 4:09 PM - Jens Grassel - ceb670bd04b2fa6652466a94acf291e88c6dcdd5

Hub: Add error handling middleware for better error logging.

Summary of changes
1 files modified with 19 lines added and 1 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/HubServer.scala with 19 added and 1 removed lines
2024-02-06 (Tue), 3:10 PM - Jens Grassel - bea6dc86ea721249d2f31df1124c60f9fa18d934

Cleanup and add another test for `ResetPasswordRoutes`.

Summary of changes
1 files modified with 40 lines added and 7 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/ResetPasswordRoutesTest.scala with 40 added and 7 removed lines
2024-02-06 (Tue), 11:16 AM - Jens Grassel - 6c48d3b0796a44153cedcf634b58a1befeeed3b0

Add baseline for testing reset password routes.

Summary of changes
3 files added
  • modules/hub/src/test/scala/de/smederee/hub/ResetPasswordRoutesTest.scala
  • modules/hub/src/test/scala/de/smederee/hub/TestEmailMiddleware.scala
  • modules/hub/src/test/scala/de/smederee/hub/TestResetPasswordRepository.scala
2024-02-04 (Sun), 4:19 PM - Jens Grassel - 89f0c1140461955925352eb48fed7ed4ed1c439d

Fix discarded non unit value in `DarcsCommandsTest`

Summary of changes
1 files modified with 1 lines added and 4 lines removed
  • modules/darcs/src/test/scala/de/smederee/darcs/DarcsCommandsTest.scala with 1 added and 4 removed lines
2024-02-02 (Fri), 4:55 PM - Jens Grassel - 287ebf4b46073414bf3237267b1a0e1a39a927cc

contributing: change wording regarding fork and branch in 3.4.7

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • CONTRIBUTING.md with 1 added and 1 removed lines
2024-02-02 (Fri), 4:48 PM - Jens Grassel - 3fa45eaa5f06bbbc519bdf372b3707c77dba0773

build: enable Xfatal-warnings whenever possible

- enable Xfatal-warnings flag for each module that doesn't use twirl
- fix a fatal warning in the `MarkdownRenderer`
Summary of changes
2 files modified with 6 lines added and 1 lines removed
  • build.sbt with 5 added and 0 removed lines
  • modules/html-utils/src/main/scala/de/smederee/html/MarkdownRenderer.scala with 1 added and 1 removed lines
2024-02-02 (Fri), 8:56 AM - Jens Grassel - 8df8c18bcfb48cf053543dce19d5f347b27d25b9

Set version to next SNAPSHOT version.

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • build.sbt with 1 added and 1 removed lines
2024-02-02 (Fri), 8:52 AM - Jens Grassel - bf5ca6f7245f506d957ba6143b46c421f5f7602d

TAG v0.11.0

This release contains BREAKING CHANGES in the database structure!

To mitigate the effect create a backup of your database first. Then follow
these instructions:

1. stop the service
2. dump the data of your database only (`pg_dump -a dbname > data.sql`)
3. !!! Remove the `flyway_schema_history` tables from the dump !!!
4. drop the database and create a new one with the same name
5. apply the update
6. start the service
7. stop the service after the migrations have been applied
8. restore the data (`cat data.sql | psql dbname`)

Please note that you might need additional parameters for `pg_dump` and `psql`
depending on your database configuration like username, password or prepended
`sudo` command.

Changed
-------

- **BREAKING CHANGE** remove unnecessary quoting in sql
Summary of changes
2024-02-02 (Fri), 8:41 AM - Jens Grassel - 9f56177b9744c6b7ac7aed38ec814f769cacb89a

Prepare RELEASE v0.11.0

Summary of changes
2 files modified with 27 lines added and 1 lines removed
  • CHANGELOG.md with 26 added and 0 removed lines
  • build.sbt with 1 added and 1 removed lines
2024-02-02 (Fri), 8:31 AM - Jens Grassel - 3b26852baf0846b946c0c72cc9fa4522da709a46

BREAKING: database: remove unnecessary quoting in sql

Remove unnecessary quoting in sql commands and migrations. It gives no benefit
because we do not use reserved names and it increases the amount of characters
to type.

BREAKING CHANGE!
----------------

This will break already running systems!

To mitigate the effect create a backup of your database first. Then follow
these instructions:

1. stop the service
2. dump the data of your database only (`pg_dump -a dbname > data.sql`)
3. !!! remove the flyway_schema_history tables from the dump !!!
4. drop the database and create a new one with the same name
5. apply the update
6. start the service
7. stop the service after the migrations have been applied
8. restore the data (`cat data.sql | psql dbname`)

Please note that you might need additional parameters for pg_dump and psql
depending on your database configuration like username, password or prepended
sudo command.
Summary of changes
22 files modified with 502 lines added and 511 lines removed
  • modules/hub/src/main/resources/db/migration/hub/V1__base_tables.sql with 74 added and 73 removed lines
  • modules/hub/src/main/resources/db/migration/hub/V2__repository_tables.sql with 24 added and 25 removed lines
  • modules/hub/src/main/resources/db/migration/hub/V3__fork_tables.sql with 12 added and 13 removed lines
  • modules/hub/src/main/resources/db/migration/hub/V4__add_language.sql with 4 added and 4 removed lines
  • modules/hub/src/main/resources/db/migration/hub/V6__add_full_name.sql with 4 added and 4 removed lines
  • modules/hub/src/main/resources/db/migration/hub/V7__organisations_table.sql with 40 added and 41 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala with 11 added and 11 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieOrganisationRepository.scala with 5 added and 5 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieResetPasswordRepository.scala with 5 added and 5 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieSignupRepository.scala with 3 added and 5 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieVcsMetadataRepository.scala with 32 added and 34 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/BaseSpec.scala with 10 added and 10 removed lines
  • modules/tickets/src/main/resources/db/migration/tickets/V1__create_schema.sql with 3 added and 3 removed lines
  • modules/tickets/src/main/resources/db/migration/tickets/V2__base_tables.sql with 155 added and 155 removed lines
  • modules/tickets/src/main/resources/db/migration/tickets/V3__add_language.sql with 4 added and 4 removed lines
  • modules/tickets/src/main/resources/db/migration/tickets/V4__add_resolution.sql with 4 added and 4 removed lines
  • modules/tickets/src/main/resources/db/migration/tickets/V5__add_closeable_milestones.sql with 4 added and 5 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/DoobieLabelRepository.scala with 5 added and 6 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/DoobieProjectRepository.scala with 30 added and 29 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketRepository.scala with 63 added and 64 removed lines
  • modules/tickets/src/main/scala/de/smederee/tickets/DoobieTicketServiceApi.scala with 2 added and 3 removed lines
  • modules/tickets/src/test/scala/de/smederee/tickets/BaseSpec.scala with 8 added and 8 removed lines