Commit Graph

46 Commits

Author SHA1 Message Date
57565b4589 disable spring boot test 2025-08-06 15:07:21 +02:00
12d1962add add AccountListener 2025-08-05 11:44:11 +02:00
a1c1bf35e3 enable redis indexed web session
- update RemoteAuthentication to use user id as name
- add EnableRedisIndexedWebSession to Application
- remove redis namespace from application.yml
2025-08-05 11:44:11 +02:00
00ac2a2a1f set up Kafka 2025-08-05 11:44:11 +02:00
fae242b7b9 edit account UI improvements 2025-08-05 11:43:48 +02:00
76a4408d38 update RemoteAuthenticationManager
- authenticate add default event on success and error
- processToken nicer catch
- makeSimpleGrantedAuthorities to add ROLE_ to role in
2025-08-05 11:42:46 +02:00
c2fdca48d3 add icons 2025-07-31 23:16:25 +02:00
a1d0501fee extract paths from SecurityConfiguration to authorize 2025-07-31 23:16:25 +02:00
fd9c927b02 update remote user authentication 2025-07-31 23:16:25 +02:00
9321a7eadd add UserAccessDeniedHandler make 404 on 401 2025-07-31 22:47:28 +02:00
e2b3448f97 add CsrfAccessDeniedHandler make 400 2025-07-31 22:47:27 +02:00
61f215c3c7 add ssl/tls
- add expose port in gradle.properties
- update README.md
- update application.yml
2025-07-31 13:11:59 +02:00
a44889da83 update application properties 2025-07-31 11:21:29 +02:00
a9cdf3592d add default error
- add error setting in application.yml
- update tailwind.css
- add error.html
- add information.html
- update UserAttribute with GuestUser
- add ErrorAttributes
- add GuestUser
2025-07-31 09:21:47 +02:00
07af820970 update templates 2025-07-30 17:27:15 +02:00
4f6f3fa83d add tailwind
- add build-tailwind.sh
- add build-tailwind.bat
- add tailwind.config.js
- add layout.html
2025-07-30 14:29:23 +02:00
hlaeja
61d9fe509c [RELEASE] - Bump version 2025-07-29 18:52:58 +00:00
hlaeja
d00950ce12 [RELEASE] - Release version: 0.3.0 v0.3.0 2025-07-29 18:52:56 +00:00
880363c9a7 update gradlew 2025-07-29 20:52:15 +02:00
0c063c3f5c add GitHub action
- update release in README.md
- add action run checks
- add action release
- remove release.sh
2025-07-29 20:52:15 +02:00
b34b9f5b22 update project 2025-07-29 20:52:15 +02:00
534a77193b [RELEASE] - bump version 2025-04-05 13:19:46 +02:00
e29b989f92 [RELEASE] - release version: 0.2.0 v0.2.0 2025-04-05 13:19:44 +02:00
dc1b069fad small changes to template 2025-04-05 13:17:46 +02:00
fc981b0039 clean up error handling
extract remote service error handling
- use helper in AccountRegistryService
- use helper in DeviceRegistryService
- add responseErrorHandler in Helper.kt
- add hlaejaErrorHandler in Helper.kt

change NoChangeException to extend HlaejaException

change NotFoundException to extend HlaejaException
2025-04-04 16:28:59 +02:00
1525702f07 add device type
add postEditType to TypeController

update form.html and messages.html for saving types

add updateType in DeviceRegistryService

add WebClient deviceRegistryTypesUpdate in DeviceRegisterWebClientCalls.kt

add getEditType to TypeController

update type form.html for edit device type

add Type Response toTypeForm in Mapping.kt

add getType to DeviceRegistryService

add WebClient deviceRegistryType in DeviceRegisterWebClientCalls.kt

update edit link in device type list.html

add getCreateType and postCreateType to TypeController

add device type form.html

add TypeFormadd TypeForm toTypeRequest in Mapping.kt

add TypeForm

add createType to DeviceRegistryService

add deviceRegistryTypesCreate in DeviceRegisterWebClientCalls.kt

add TypeNameDuplicateException

add DeviceRegistryException

extract validationErrors from postCreateAccount in AccountController to util Controller

update AccountController getAccounts and TypeController getTypes with max show value

add redis for spring boot session
  - make RemoteUserDetail Serializable
  - add application properties
  - add dependencies

add TypeController

add list.html for type

extract fragment pagination.html from users.html

add DeviceRegistryService with getTypes

add DeviceRegisterWebClientCalls.kt with deviceRegistryTypes

set up hlaeja device registry

add type to layout menu

add type to admin SecurityConfiguration
2025-04-04 16:01:01 +02:00
4c4baa95dd Update html layout
- add messages fragment
  - extract error and success message list from edit.html
  - extract error message list from create.html
  - add messages.html

- update edit account
  - update AccountController
    - update postEditAccount for validation
    - update getEditAccount for roleGroups
  - update validation for AccountForm for edit
  - add EditGroup
  - update Account.Response.toAccountForm()
  - update edit.html

- update create account
  - update AccountController
    - update postCreateAccount for validation
    - update getCreateAccount for role group
  - add validation to AccountForm
  - add PasswordMatchValidator
  - add annotation PasswordMatch
  - add CreateGroup
  - add temporary getRoles() in AccountRegistryService
  - update AccountForm.toAccountRequest() in Mapping
  - change management.css
    - add ::selection
    - add Selected Option Styling
  - add passwordMatchCheck to management.js
  - update create.html

- update user
  - add makeLocalTime in management.js
  - update users.html
  - update Pagination
    - add size of items
    - rename size to show

- update goodbye.html

- update logout.html

- update login.html

- update welcome.html

- update index.html

- update layout
  - update management.css
  - update management.js
  - update layout.html
2025-04-02 13:13:58 +02:00
4c6c7dd9d8 [RELEASE] - bump version 2025-02-07 17:24:50 +01:00
63cdf24db4 [RELEASE] - release version: 0.1.0 v0.1.0 2025-02-07 17:24:45 +01:00
1bfe835bb5 update name for hlaeja libraries 2025-02-07 17:23:53 +01:00
cf729050ee make it easier on the eyes 2025-01-28 21:55:14 +01:00
794c0c49d6 added basic edit save account
- changes to AccountController
  - added postEditAccount
  - change postCreateAccount to use lambda
- added success message to edit.html
- added lambda to deal with password to toAccountRequest in Mapping.kt
- added updateAccount to AccountRegistryService
- added accountRegistryUpdate to WebClientCalls.kt
- added NoChangeException
- added NotFoundException
2025-01-28 21:54:16 +01:00
14e7971f73 added basic edit account
- add link in to edit a user in users.html
- change to AccountController
  - update getCreateAccount for change to AccountForm
  - add getEditAccount
- add edit.html
- change to Mapping.kt
  - update AccountForm toAccountRequest to throw exception if password null
  - add Account Response toAccountForm
- change password and passwordConfirm to be null in AccountForm
- add PasswordException
- add getAccount to AccountRegistryService
- add accountRegistryAccount to WebClientCalls.kt
2025-01-28 21:37:22 +01:00
8e65de0350 added basic create account
- add link in to creat in users.html
- AccountController
  - add getCreateAccount
  - add postCreateAccount
- add create.html
- add AccountForm to Account Request in Mapping.kt
- add AccountForm
- add addAccount to AccountRegistryService
- add accountRegistryCreate to WebClientCalls.kt
- add UsernameDuplicateException
- add AccountRegistryException
- add HlaejaException
2025-01-27 13:05:44 +01:00
34349653db updating users with pagination 2025-01-26 14:24:10 +01:00
c40f1a0036 Basic accounts
- add account link in welcome.html
- add AuthorizeExchangeSpec adminPaths in SecurityConfiguration
- add AccountController
- add users.html
- add getAccounts in AccountRegistryService
- add WebClient accountRegistryAccounts in webClient
2025-01-23 14:02:59 +01:00
3212226853 Update so there is an open landing page and a login page
- make / public
- add login on index.html
- add UserAttribute
- add hasRole to RemoteAuthentication
- update HomeController to give welcome instead of index if login.
- add welcome.html
2025-01-20 21:44:27 +01:00
9f6d7066b7 Add remote authentication for users
- add RemoteReactiveAuthenticationManager
- add RemoteAuthentication
- add RemoteUserDetail
- add AccountRegistryService
- add WebClientCalls.kt with accountRegistryAuthenticate
- add Helper.kt with logCall
- add Mapping.kt toAuthenticationRequest
2025-01-17 14:08:13 +01:00
7cf39926d7 set up hlaeja account registry 2025-01-17 13:38:37 +01:00
410cbd2b21 set up hlaeja JWT 2025-01-17 13:19:44 +01:00
d97502bcf8 add WebClientConfiguration 2025-01-17 10:59:27 +01:00
3bd6f3b5af Added basic login and logout functionality
- update SecurityConfiguration
  - add logout
  - add login
- add AuthenticationController
- add goodbye.html
- add logout.html
- add login.html
2025-01-17 10:59:14 +01:00
b812f835ab add SecurityConfiguration 2025-01-17 10:59:00 +01:00
50ea6764d0 set up spring security 2025-01-16 23:19:15 +01:00
091f172521 make simple test landing pages
- add HomeController
- add index.html
- add layout.html
- add management.js
- add management.css
- add css js and html to .editorconfig
2025-01-16 23:05:24 +01:00
182508e919 Set up project structure 2025-01-16 23:03:38 +01:00