From 78565692efb8e32481c75bc1b6e4bac838f0d37c Mon Sep 17 00:00:00 2001 From: NicoB77 Date: Fri, 1 Dec 2023 17:39:20 +0100 Subject: [PATCH] =?UTF-8?q?Maximale=20L=C3=A4nge=20des=20SMTP-Benutzername?= =?UTF-8?q?ns=20auf=20140=20erh=C3=B6ht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gui/control/EinstellungControl.java | 2 +- .../server/DDLTool/Updates/Update0423.java | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/de/jost_net/JVerein/server/DDLTool/Updates/Update0423.java diff --git a/src/de/jost_net/JVerein/gui/control/EinstellungControl.java b/src/de/jost_net/JVerein/gui/control/EinstellungControl.java index a82e87f80..4590294f1 100644 --- a/src/de/jost_net/JVerein/gui/control/EinstellungControl.java +++ b/src/de/jost_net/JVerein/gui/control/EinstellungControl.java @@ -965,7 +965,7 @@ public TextInput getSmtpAuthUser() throws RemoteException return smtp_auth_user; } smtp_auth_user = new TextInput(Einstellungen.getEinstellung() - .getSmtpAuthUser(), 50); + .getSmtpAuthUser(), 140); return smtp_auth_user; } diff --git a/src/de/jost_net/JVerein/server/DDLTool/Updates/Update0423.java b/src/de/jost_net/JVerein/server/DDLTool/Updates/Update0423.java new file mode 100644 index 000000000..20c377305 --- /dev/null +++ b/src/de/jost_net/JVerein/server/DDLTool/Updates/Update0423.java @@ -0,0 +1,36 @@ +/********************************************************************** + * This program is free software: you can redistribute it and/or modify it under the terms of the + * GNU General Public License as published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without + * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See + * the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with this program. If not, + * see . + * + **********************************************************************/ +package de.jost_net.JVerein.server.DDLTool.Updates; + +import de.jost_net.JVerein.server.DDLTool.AbstractDDLUpdate; +import de.jost_net.JVerein.server.DDLTool.Column; +import de.willuhn.util.ApplicationException; +import de.willuhn.util.ProgressMonitor; + +import java.sql.Connection; + +public class Update0423 extends AbstractDDLUpdate +{ + public Update0423(String driver, ProgressMonitor monitor, Connection conn) + { + super(driver, monitor, conn); + } + + @Override + public void run() throws ApplicationException + { + execute(alterColumn("einstellung", + new Column("smtp_auth_user", COLTYPE.VARCHAR, 140, null, false, false))); + } +} \ No newline at end of file