~jan0sch/smederee
Showing 11 changes starting from 2909bffa7a0707adac83f4b49920eecb783bf038.
This release contains BREAKING CHANGES in the database structure!
Added
-----
- extensions to the markdown renderer for:
- anchors for headings
- table rendering
- task list items
- linkable line number for file viewer
Changed
-------
- **BREAKING CHANGE** configuration file format
- **BREAKING CHANGE** move database tables to custom schemas
- move database migration files to custom path
- adjust migration tooling accordingly
- move some types and classes to other modules
- limit length of patch comment shown on repository overview page
- remove unused imports and variables
- add some debug logging
- create two migrators properly
- migrate hub and tickets database schemas as expected
Fixes: 252c14a83f46a13760979e5af3a79fb46772670a
- remove unused imports
- remove unused variables
This patch is _huge_ and breaks out the already implemented tickets features
(labels and milestones) into a separate module. Very likely the ticketing
will move into a service of its own so this will ease things further down
the road. But yes, it has complicated things now. ;-)
BREAKING CHANGES
----------------
- module configuration is now wrapped into a top most "module" value
So instead of having
```
database
service
```
in the configuration for the hub module, now we have
```
hub {
database
service
}
```
General changes
---------------
- add more flexible ignore rule for module specific local configurations
- adjust options for the JVM when running sbt
- update Scala to 3.3.0-RC to be able to use code health checks
- enable code health checks (unused warnings etc.)
- update flyway to 9.15.2
- update circe to 0.14.5
- update os-lib to 0.9.1
Database layer and migrations
-----------------------------
- use schemas per module to avoid clashes within the same database
- move migration files into specific folders to avoid conflicts with flyway
Email module
------------
- add EmailAddress type (moved from hub Email type)
Hub module
----------
- move some types and classes to other modules because of usage also for
tickets
- implement views (twirl templates) for tickets
- limit length of patch comment on repository overview page
i18n module
-----------
- add LanguageCode types (moved from hub module)
Security module
---------------
- add CsrfToken, Password, PasswordHash, UserId and Username (moved from
hub module)
Tickets module
--------------
- add database migrations for base tables
- add base classes (moved from hub) and configuration