~jan0sch/smederee

Showing 11 changes starting from 6eafa5407480d49134469e6d515f8a82b6ede316.
2023-06-18 (Sun), 8:37 AM - Jens Grassel - 6eafa5407480d49134469e6d515f8a82b6ede316

Add semanticdb compiler plugin explicitly.

- add semanticdb compiler plugin
- enable semanticdb via `Global` directive

This fixes potential issues with the semanticdb version bundled with the
metals language server not being released for recent scala versions for the
price of keeping semanticdb up to date ourselfs.
Summary of changes
2 files modified with 6 lines added and 0 lines removed
  • build.sbt with 3 added and 0 removed lines
  • project/plugins.sbt with 3 added and 0 removed lines
2023-06-17 (Sat), 4:45 PM - Jens Grassel - 021e84fa938d5adfd49aff91a133487c3a9b445e

Generators: Reduce unable to generate data samples issues.

Summary of changes
2 files modified with 12 lines added and 2 lines removed
  • modules/hub/src/test/scala/de/smederee/hub/Generators.scala with 6 added and 1 removed lines
  • modules/tickets/src/test/scala/de/smederee/tickets/Generators.scala with 6 added and 1 removed lines
2023-06-17 (Sat), 3:49 PM - Jens Grassel - 4e4251a937b2899ccaceaa74bc29f9b7ded65547

Hub: Add basic administrative commands for the cli.

- change hub service to start as before if no arguments are given
- print out help if `help`, `--help` or `-h` is given as argument
- add basic commands for user administration
    - delete a locked(!) user account by name
	- find an unlocked(!) user account either by email or name
	- list all unlocked(!) user accounts
	- lock an unlocked user account by name
	- unlock a locked user account by name

This is still somewhat crude but it works for now. :-)
Summary of changes
1 files modified with 389 lines added and 186 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/HubServer.scala with 389 added and 186 removed lines
2023-06-17 (Sat), 3:31 PM - Jens Grassel - c0fc9f2f7f044407becb7ef8802ecaf24f29f077

Change findLockedAccount to work with optional unlock token.

Change the findLockedAccount function in the AuthenticationRepository to work
with an optional unlock token parameter to ease administration work.

The function will now search for a locked user account with either the given
name or (if given) with the given name and the given token.
Summary of changes
4 files modified with 27 lines added and 8 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/AuthenticationRepository.scala with 2 added and 2 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala with 4 added and 3 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala with 20 added and 2 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala with 1 added and 1 removed lines
2023-06-16 (Fri), 2:55 PM - Jens Grassel - 4469cca6122cee19e8e47344f31c8a51d215fa2d

Default configuration: Fix indentation and add default database password.

Summary of changes
2 files modified with 12 lines added and 10 lines removed
  • modules/hub/src/main/resources/reference.conf with 6 added and 5 removed lines
  • modules/tickets/src/main/resources/reference.conf with 6 added and 5 removed lines
2023-06-16 (Fri), 2:54 PM - Jens Grassel - 34714b01b72e7c046f1a841f33b3b2db5200c514

Fix whitespace issues in test configuration.

Summary of changes
1 files modified with 8 lines added and 8 lines removed
  • modules/hub/src/test/resources/application.conf with 8 added and 8 removed lines
2023-06-16 (Fri), 2:53 PM - Jens Grassel - b8c1ff0b8a80a6cf50bd2a19ed4a9c55ae3cf63f

Logging: Suppress the logback status output upon startup.

Summary of changes
2 files modified with 6 lines added and 0 lines removed
  • modules/hub/src/main/resources/logback.xml with 3 added and 0 removed lines
  • modules/tickets/src/main/resources/logback.xml with 3 added and 0 removed lines
2023-06-16 (Fri), 2:37 PM - Jens Grassel - 51bc3db0e4ecdfa9cbda428e488013d6420346c3

Add `allAccounts()` method to AuthenticationRepository.

This method returns all accounts defined in the database.
Summary of changes
4 files modified with 38 lines added and 0 lines removed
  • modules/hub/src/main/scala/de/smederee/hub/AuthenticationRepository.scala with 8 added and 0 removed lines
  • modules/hub/src/main/scala/de/smederee/hub/DoobieAuthenticationRepository.scala with 6 added and 0 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/DoobieAuthenticationRepositoryTest.scala with 21 added and 0 removed lines
  • modules/hub/src/test/scala/de/smederee/hub/TestAuthenticationRepository.scala with 3 added and 0 removed lines
2023-06-16 (Fri), 2:34 PM - Jens Grassel - ded56d3375c203e9dfaf322ada87703eeaf518c4

Add Ordering and Order for Username type.

Summary of changes
1 files modified with 3 lines added and 1 lines removed
  • modules/security/src/main/scala/de/smederee/security/Username.scala with 3 added and 1 removed lines
2023-06-16 (Fri), 2:18 PM - Jens Grassel - 26204896b2226fca7edaf725cabc4a547cefa49b

SBT: Remove last remaints of IntegrationTest config

Summary of changes
1 files modified with 0 lines added and 4 lines removed
  • build.sbt with 0 added and 4 removed lines
2023-06-16 (Fri), 2:17 PM - Jens Grassel - 7c3b137ed950b8179d38141ebfa848e2feceab34

Update sbt to 1.9.0

Summary of changes
1 files modified with 1 lines added and 1 lines removed
  • project/build.properties with 1 added and 1 removed lines