Commit Graph

22 Commits (5efb429bb8b3aec2ed05967523b1ddacad42dff1)

Author SHA1 Message Date
Niclas Thobaben 5efb429bb8 Added Liquibase DB Migration. Closes #17
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 16:54:42 +01:00
Niclas Thobaben 11bd724c8f Added simple Request Logging. Closes #18 2022-02-15 16:21:41 +01:00
Niclas Thobaben c082d5fb66 Refactored form endpoint `/form` -> `/send` 2022-02-15 13:22:55 +01:00
Niclas Thobaben 6755dc007c Use code in error query parameter. Closes #5
End users should have the possibility to provide their own
error messages. Therefore not the message, instead the error
code is provided.
2022-02-15 13:15:12 +01:00
Niclas Thobaben d6ba02e29e Add QueryParams to error redirect from from #5 2022-02-15 13:01:31 +01:00
Niclas Thobaben a284b8f9c8 Redirect to referer on Error #8
If `onError` is not set, the default referer will be used.
2022-02-15 12:17:34 +01:00
Niclas Thobaben daea4c04ca Improved Logging
Added some logging statements into Relay and MailForwarder for better debugging. Closes #11
2022-02-15 12:07:44 +01:00
Niclas Thobaben f6e792b4e8 Implemented a simple Token Authentication for the /accounts endpoints, so not everyone can just create and delete accounts for fun. Closes #14 2022-02-15 11:52:20 +01:00
Niclas Thobaben 333ee23c42 Implemented Validation of MessageForm in RestController and FormController. Closes #13 2022-02-15 11:10:03 +01:00
Niclas Thobaben 34e6e55ea4 Implemented Validation of AccountForm. #13 2022-02-15 01:34:57 +01:00
Niclas Thobaben 5a68b1484a Enabled async sending of mails. Closes #15 2022-02-14 21:48:57 +01:00
Niclas Thobaben b1cb69080a Changed Token size from 64 chars -> 16 2022-02-14 21:46:37 +01:00
Niclas Thobaben 984912ab70 Hooked up JavaMailSender to send mails from application. Closes #9 2022-02-14 21:35:33 +01:00
Niclas Thobaben 674e6f1447 Implemented Token Generation. Closes #6 2022-02-14 19:15:56 +01:00
Niclas Thobaben 8f6fcf2578 Refactored RelayAccount -> Account 2022-02-14 19:02:52 +01:00
Niclas Thobaben 6015b06a87 Implemented Accounts CRUD functionality via REST API. Closes #10 2022-02-14 19:00:58 +01:00
Niclas Thobaben cbe55fbd5a Implemented Persistence with Spring Data JPA. Closes #1 2022-02-14 17:51:59 +01:00
Niclas Thobaben 76ee50b63f Implemented Form Handling. Closes #4 2022-02-14 16:11:52 +01:00
Niclas Thobaben 7366459279 Restructured packages to adapter/port architecture 2022-02-14 14:55:35 +01:00
Niclas Thobaben 72d70b8a57 Implemented RelayRestController and MessageForm 2022-02-14 14:22:10 +01:00
Niclas Thobaben a1d0af4e1d Implemented message forwarding from Relay to RelayAccount 2022-02-14 13:50:34 +01:00
Niclas Thobaben cb63cd3d4e initial commit 2022-02-14 13:16:52 +01:00