Commit Graph

49 Commits (master)

Author SHA1 Message Date
Niclas Thobaben 18e99bce54 v1.0.1
nclazz/nclazz-mail-relay/pipeline/head There was a failure building this commit Details
2022-02-25 16:01:44 +01:00
Niclas Thobaben 9efd92f844 Merge pull request 'issue/19+20 Closes #19 #20' (#21) from issue/19+20 into master
nclazz/nclazz-mail-relay/pipeline/head Something is wrong with the build of this commit Details
Reviewed-on: #21
2022-02-25 15:58:31 +01:00
Niclas Thobaben dd23dfca8e Enable usage of relative urls by prepending referer on relative paths
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
nclazz/nclazz-mail-relay/pipeline/pr-master This commit looks good Details
2022-02-25 15:55:38 +01:00
Niclas Thobaben 74f4e9b2d8 Added 'Send via..' footer in mail #20 2022-02-25 15:51:43 +01:00
Niclas Thobaben 1d9f6d4470 [maven-release-plugin] prepare release v1.0.0
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 18:55:03 +01:00
Niclas Thobaben 461a70b91f Set Docker Image Version to 1.0.0 2022-02-15 18:45:25 +01:00
Niclas Thobaben 4c5da4f26e Added scm to pom.xml 2022-02-15 18:35:00 +01:00
Niclas Thobaben 1acd5fa3c2 Added maven release plugin 2022-02-15 18:31:17 +01:00
Niclas Thobaben 674d001ec6 Back to MariaDBDialect ... space at the end of property value
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 18:19:31 +01:00
Niclas Thobaben cbbe5d09d5 Trying out MySQLDialect instead of MariaDBDialect
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 18:16:56 +01:00
Niclas Thobaben cf4613d85b MySQL Connector was not available at runtime
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 18:11:16 +01:00
Niclas Thobaben 762229b04e Fixed initial schema generation in liquibase
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
Liquibase had some problems with executing two initial changelogs.

As the application has not yet been used in production it was save to just create a newly created initial schema.
2022-02-15 17:51:32 +01:00
Niclas Thobaben cc5d7be568 Set Hibernate MariaDB Dialect for swarm profile
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 17:37:40 +01:00
Niclas Thobaben 88fcfe5a93 Set Hibernate MariaDB Dialect for swarm profile
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 17:19:52 +01:00
Niclas Thobaben a60e41b71d Fix Liquibase author name
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 17:03:37 +01:00
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 2a94eeb501 Added Database Credentials #3
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 15:27:16 +01:00
Niclas Thobaben 7d3a37bfb8 Fixed Jenkinsfile AUTH_TOKEN invalid var #3
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 15:10:28 +01:00
Niclas Thobaben 083fe909f7 Fixed Jenkinsfile AUTH_TOKEN invalid var #3
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 15:08:43 +01:00
Niclas Thobaben fff1ea26cc Added missing env variables in application.properties. #3
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 15:05:18 +01:00
Niclas Thobaben 0afa1eacfd Updated credentials in Jenkinsfile. #3
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 14:58:26 +01:00
Niclas Thobaben d7edbc8237 Added some more Unit Test to verify equality between DTOs.
nclazz/nclazz-mail-relay/pipeline/head This commit looks good Details
2022-02-15 14:49:37 +01:00
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