Commit Graph

26 Commits (db40d40305e5ceeff1802763a280ec7f8c268069)

Author SHA1 Message Date
Niclas Thobaben db40d40305 Setup Docker build and deployment + Jenkinsfile #3
nclazz/nclazz-mail-relay/pipeline/head There was a failure building this commit Details
2022-02-15 14:23:57 +01:00
Niclas Thobaben 48d5a75b6d Fixed integration tests not picked up by IntelliJ 2022-02-15 14:08:26 +01:00
Niclas Thobaben e46611f4ee added Spring Boot Actuator 2022-02-15 13:53:57 +01:00
Niclas Thobaben 195da6a64c Fixed JavaMailSender Bean not set in integration tests 2022-02-15 13:42:58 +01:00
Niclas Thobaben 8d6524b098 fixed failing tests from changing from URL 2022-02-15 13:40:36 +01:00
Niclas Thobaben 1c83636c8e updated README.md 2022-02-15 13:37:47 +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