]> git.mxchange.org Git - mailer.git/blob - inc/extensions/other/mode-update.php
Added update_year.sh (still not fully flexible) and updated all years with it.
[mailer.git] / inc / extensions / other / mode-update.php
1 <?php
2 /************************************************************************
3  * Mailer v0.2.1-FINAL                                Start: 06/25/2013 *
4  * ===================                          Last change: 06/25/2013 *
5  *                                                                      *
6  * -------------------------------------------------------------------- *
7  * File              : mode-setup.php                                   *
8  * -------------------------------------------------------------------- *
9  * Short description : Other administrative settings                    *
10  * -------------------------------------------------------------------- *
11  * Kurzbeschreibung  : Weitere administrative Einstellungen             *
12  * -------------------------------------------------------------------- *
13  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
14  * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
15  * For more information visit: http://mxchange.org                      *
16  *                                                                      *
17  * This program is free software; you can redistribute it and/or modify *
18  * it under the terms of the GNU General Public License as published by *
19  * the Free Software Foundation; either version 2 of the License, or    *
20  * (at your option) any later version.                                  *
21  *                                                                      *
22  * This program is distributed in the hope that it will be useful,      *
23  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
24  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
25  * GNU General Public License for more details.                         *
26  *                                                                      *
27  * You should have received a copy of the GNU General Public License    *
28  * along with this program; if not, write to the Free Software          *
29  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
30  * MA  02110-1301  USA                                                  *
31  ************************************************************************/
32
33 // Some security stuff...
34 if (!defined('__SECURITY')) {
35         die();
36 } // END - if
37
38 // @TODO Remove double tabs from all lines
39                 switch (getCurrentExtensionVersion()) {
40                         case '0.0.1': // SQL queries for v0.0.1
41                                 // Update notes (these will be set as task text!)
42                                 setExtensionUpdateNotes("Fehler <div class=\"notice\">Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227</div> behoben.");
43                                 break;
44
45                         case '0.0.2': // SQL queries for v0.0.2
46                                 // Update notes (these will be set as task text!)
47                                 setExtensionUpdateNotes("Speichern der Einstellungen vereinfacht. Es wird dazu die Funktion adminSaveSettings() verwendet.");
48                                 break;
49
50                         case '0.0.3': // SQL queries for v0.0.3
51                                 // Update notes (these will be set as task text!)
52                                 setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist.");
53                                 break;
54
55                         case '0.0.4': // SQL queries for v0.0.4
56                                 addConfigAddSql('max_comma', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 3');
57
58                                 // Update notes (these will be set as task text!)
59                                 setExtensionUpdateNotes("Angezeigte Kommastellen k&ouml;nnen zwischen 0 und 5 eingestellt werden.");
60                                 break;
61
62                         case '0.0.5': // SQL queries for v0.0.5
63                                 // Update notes (these will be set as task text!)
64                                 setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen beseitigt.");
65                                 break;
66
67                         case '0.0.6': // SQL queries for v0.0.6
68                                 // Update notes (these will be set as task text!)
69                                 setExtensionUpdateNotes("Problem mit Speicherung der Einstellungen endlich beseitigt.");
70                                 break;
71
72                         case '0.0.7': // SQL queries for v0.0.7
73                                 // Update notes (these will be set as task text!)
74                                 setExtensionUpdateNotes("Ausgabemodus der CSS-Dateien hinzugef&uuml;gt. Bitte auch das Admin-Template aktualisieren!");
75                                 break;
76
77                         case '0.0.8': // SQL queries for v0.0.8
78                                 // Update notes (these will be set as task text!)
79                                 setExtensionUpdateNotes("Erweiterung bleibt wegen integrierten Schalters immer aktiv.");
80                                 break;
81
82                         case '0.0.9': // SQL queries for v0.0.9
83                                 // Update notes (these will be set as task text!)
84                                 setExtensionUpdateNotes("Abspeichern der Einstellungen repariert.");
85                                 break;
86
87                         case '0.1.0': // SQL queries for v0.2.1
88                                 // Update notes (these will be set as task text!)
89                                 setExtensionUpdateNotes("Folgende Einstellungen k&ouml;nnen auf 0 gesetzt werden:
90 <ol>
91 <li>Selbe beworbene URL nicht mehr bewerbar (0 = URL kann sofort wieder gebucht werden)</li>
92 <li>G&uuml;ltigkeitsdauer der Best&auml;tigungslinks (0 = Best&auml;tigungslinks laufen nie ab)</li>
93 <li>Sperrzeit des Mitgliedprofiles nach &Auml;nderung (0 = Mitglied kann sein Account immer und sofort &auml;ndern)</li>
94 <li>Profilaktualisierungsinterval (0 = Es wird keine Mail zum Profilaktualisierunng durch das Mitglied ausgesendet(</li>
95 <li>Erneute Aussendung der Mail (0 = Siehe oben)</li>
96 </ol>");
97                                 break;
98
99                         case '0.1.1': // SQL queries for v0.1.1
100                                 // Update notes (these will be set as task text!)
101                                 setExtensionUpdateNotes("Gast- und Mitgliedsmen&uuml;s lassen sich voneinander getrentt ein- und auschalten.");
102                                 break;
103
104                         case '0.1.2': // SQL queries for v0.1.2
105                                 // Update notes (these will be set as task text!)
106                                 setExtensionUpdateNotes("W&ouml;rter <strong>{?mt_word?}</strong>, <strong>{?mt_word2?}</strong> und <strong>{?mt_word3?}</strong> sind austauschbar.");
107                                 break;
108
109                         case '0.1.3': // SQL queries for v0.1.3
110                                 // Update notes (these will be set as task text!)
111                                 setExtensionUpdateNotes("Wort &quot;Baustelle&quot; vom Auto-Versand entfernt, da dieser nun klappt.");
112                                 break;
113
114                         case '0.1.4': // SQL queries for v0.1.4
115                                 // Update notes (these will be set as task text!)
116                                 setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
117                                 break;
118
119                         case '0.1.5': // SQL queries for v0.1.5
120                                 // Update notes (these will be set as task text!)
121                                 setExtensionUpdateNotes("Abspeichern von Einstellungen repariert.");
122                                 break;
123
124                         case '0.1.6': // SQL queries for v0.1.6
125                                 addConfigAddSql('reject_url', "VARCHAR(255) NOT NULL DEFAULT '{?URL?}'");
126
127                                 // Update notes (these will be set as task text!)
128                                 setExtensionUpdateNotes("Bei Ablehnung der URL wird jetzt endlich eine Standard-URL eingesetzt, die konfigurierbar ist. Fehler beim Laden der Konfiguration gefunden.");
129                                 break;
130
131                         case '0.1.7': // SQL queries for v0.1.7
132                                 addConfigAddSql('currency', "VARCHAR(255) NOT NULL DEFAULT '&euro;'");
133
134                                 // Update notes (these will be set as task text!)
135                                 setExtensionUpdateNotes("Standard-W&auml;hrung der Geb&uuml;hren f&uuml;r alle Erweiterungen geltend hinzugef&uuml;gt.");
136                                 break;
137
138                         case '0.1.8': // SQL queries for v0.1.8
139                                 // Update notes (these will be set as task text!)
140                                 setExtensionUpdateNotes("Die sonstigen Einstellungen lassen sich nun nur noch &auml;ndern, wenn die Erweiterung <strong>other</strong> auch installiert ist. Anderfalls gibt es einen SQL-Fehler beim Speichern und GROSS_GESCHRIEBENE Worte im Formular.");
141                                 break;
142
143                         case '0.1.9': // SQL queries for v0.1.9
144                                 addConfigAddSql('mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
145
146                                 // Update notes (these will be set as task text!)
147                                 setExtensionUpdateNotes("Bei fehlerhafter Mail w&auml;hrend der Best&auml;tigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.");
148                                 break;
149
150                         case '0.2.0': // SQL queries for v0.2.0
151                                 addConfigChangeSql('mailid_error_redirect', 'mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
152
153                                 // Update notes (these will be set as task text!)
154                                 setExtensionUpdateNotes("Bei fehlerhafter Mail w&auml;hrend der Best&auml;tigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.");
155                                 break;
156
157                         case '0.2.1': // SQL queries for v0.2.1
158                                 addConfigAddSql('min_age', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 16');
159
160                                 // Update notes (these will be set as task text!)
161                                 setExtensionUpdateNotes("Minimumalter ist nun konfigurierbar.");
162                                 break;
163
164                         case '0.2.2': // SQL queries for v0.2.2
165                                 addConfigAddSql('display_debug_sqls', "ENUM('N','Y') NOT NULL DEFAULT 'N'");
166
167                                 // Update notes (these will be set as task text!)
168                                 setExtensionUpdateNotes("(Fast) alle SQL-Abfragen lassen sich nun zu Debugging-Zwecken (!) einschalten. Nur der Administrator sieht diese unten am Ende der Seite.");
169                                 break;
170
171                         case '0.2.3': // SQL queries for v0.2.3
172                                 addConfigAddSql('max_send', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 10');
173
174                                 // Update notes (these will be set as task text!)
175                                 setExtensionUpdateNotes("Fehlende Konfiguration hinzugef&uuml;gt.");
176                                 break;
177
178                         case '0.2.4': // SQL queries for v0.2.4
179                                 // Register filter
180                                 registerFilter(__FILE__, __LINE__, 'page_footer', 'DISPLAY_DEBUG_SQL', FALSE, TRUE, isExtensionDryRun());
181
182                                 // Update notes (these will be set as task text!)
183                                 setExtensionUpdateNotes("Filter zum Anzeigen (Debug) von ausgef&uuml;hrten SQL-Anweisungen hinzugef&uuml;gt.");
184                                 break;
185
186                         case '0.2.5': // SQL queries for v0.2.5
187                                 addConfigAddSql('code_length', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 5');
188
189                                 // Update notes (these will be set as task text!)
190                                 setExtensionUpdateNotes("Codel&auml;nge aus tables.sql rausgeholt.");
191                                 break;
192
193                         case '0.2.6': // SQL queries for v0.2.6
194                                 addConfigAddSql('internal_stats', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
195
196                                 // Update notes (these will be set as task text!)
197                                 setExtensionUpdateNotes("Interne Statistiken sind nun abschaltbar (kann Performance bringen).");
198                                 break;
199
200                         case '0.2.7': // SQL queries for v0.2.7
201                                 addConfigChangeSql('stats_enabled', 'internal_stats', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
202
203                                 // Update notes (these will be set as task text!)
204                                 setExtensionUpdateNotes("Der Suffix <strong>_enabled</strong> in Konfigurationseintr&auml;gen ist deprecated und sollte nicht mehr verwendet werden. Da sonst Wrapper-Funktionsnamen wie z.B. <strong>isStatsEnabledEnabled()</strong> nach streng genommender Namenskonvention entstehen.");
205                                 break;
206
207                         case '0.2.8': // SQL queries for v0.2.8
208                                 addConfigChangeSql('mailid_error_redirect', 'mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
209
210                                 // Update notes (these will be set as task text!)
211                                 setExtensionUpdateNotes("<strong>mailid_error_redirect</strong> bzw. alle ENUMs haben gross geschriebene Werte.");
212                                 break;
213
214                         case '0.2.9': // SQL queries for v0.2.9
215                                 addConfigAddSql('word_wrap', 'TINYINT(3) NOT NULL DEFAULT 15');
216
217                                 // Update notes (these will be set as task text!)
218                                 setExtensionUpdateNotes("Anzahl Zeichen f&uuml;r <strong>wordwrap()</strong>-Aufruf hinzugef&uuml;gt.");
219                                 break;
220
221                         case '0.3.0': // SQL queries for v0.3.0
222                                 addConfigAddSql('check_double_email', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
223                                 addConfigAddSql('admin_notify', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
224                                 addConfigAddSql('activate_xchange', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
225
226                                 // Update notes (these will be set as task text!)
227                                 setExtensionUpdateNotes("Konfiguration aus allgemeiner <strong>tables.sql</strong> zu dieser Erweiterung verschoben.");
228                                 break;
229                 } // END - switch
230
231 // [EOF]
232 ?>