Browse Source

Merge branch 'main' into lang_de

lang_de
Stephan Richter 3 years ago
parent
commit
42593fcb3c
  1. 2
      pom.xml
  2. 2
      src/main/java/de/srsoftware/widerhall/data/MailingList.java
  3. 6
      src/main/java/de/srsoftware/widerhall/mail/ImapClient.java
  4. 2
      static/templates/navigation.st

2
pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.11</version>
<version>0.2.12</version>
<build>
<plugins>
<plugin>

2
src/main/java/de/srsoftware/widerhall/data/MailingList.java

@ -321,7 +321,7 @@ public class MailingList implements MessageHandler { @@ -321,7 +321,7 @@ public class MailingList implements MessageHandler {
@Override
public void onMessageReceived(Message message) throws MessagingException {
LOG.debug("Nachricht empfangen: {}",message.getFrom());
LOG.info("Nachricht empfangen: {}",message.getFrom());
String subject = message.getSubject();
if (subject.toLowerCase().contains("undelivered")){
try {

6
src/main/java/de/srsoftware/widerhall/mail/ImapClient.java

@ -179,10 +179,10 @@ public class ImapClient { @@ -179,10 +179,10 @@ public class ImapClient {
public ImapClient start() {
stop();
LOG.debug("Erzeuge ListeningThread…");
LOG.info("Erzeuge ListeningThread für…",username);
(listeningThread = new ListeningThread()).start();
LOG.debug("Erzeuge Heartbeat…");
LOG.info("Erzeuge Heartbeat für {}…",username);
(heartbeat = new Heartbeat()).start();
return this;
@ -190,7 +190,7 @@ public class ImapClient { @@ -190,7 +190,7 @@ public class ImapClient {
public ImapClient stop(){
if (listeningThread != null) {
LOG.debug("Stoppe alten ListeningThread…");
LOG.info("Stoppe alten ListeningThread für {}…",username);
listeningThread.dropListeners().doStop();
listeningThread = null;
}

2
static/templates/navigation.st

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
<nav>
<a href="index">Home</a>
<a href="admin">Administration</a>
<a class="button" href="reload" />Templates neu laden</a>
<!-- a class="button" href="reload" />Templates neu laden</a -->
</nav>
Loading…
Cancel
Save