mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Version 2.9.0
SVN revision: 2396
This commit is contained in:
parent
a8852f284e
commit
9df63a72a2
@ -1,6 +1,14 @@
|
|||||||
Version 2.9.0, released Januar xxxx
|
Version 2.9.0, released March 9th 2011
|
||||||
==========================================
|
======================================
|
||||||
|
|
||||||
|
- Fixed corrupted config file under Ubuntu
|
||||||
|
- Automatically log in after self registration
|
||||||
|
- Fixed XSS issue with mail0
|
||||||
|
- Fixed problem if an attribute contains "?"
|
||||||
|
- Fixed bug with SSL connection shutdown
|
||||||
|
- Added 'Toggle all' for MOptions
|
||||||
|
- Moved 'Search text also in attributes' to the right
|
||||||
|
- Added find by time from Andreas Luedeke
|
||||||
- Implemented Kerberos authentication
|
- Implemented Kerberos authentication
|
||||||
- Implemented "Propagate attributes = ..."
|
- Implemented "Propagate attributes = ..."
|
||||||
- fixed bug with importing CSV containing a text body
|
- fixed bug with importing CSV containing a text body
|
||||||
|
|||||||
@ -2184,7 +2184,17 @@ Options Location = Main Building{a}, New Building{b}, Old Building{c}
|
|||||||
If both authentications <code><b>Kerberos, File</b></code> are enabled,
|
If both authentications <code><b>Kerberos, File</b></code> are enabled,
|
||||||
the credentials are first authenticated via the Kerberos server, and - if
|
the credentials are first authenticated via the Kerberos server, and - if
|
||||||
not successful - via the password file. This allows combined elog
|
not successful - via the password file. This allows combined elog
|
||||||
installations with centralized and local elog accounts.
|
installations with centralized and local elog accounts. If the Kerberos
|
||||||
|
authentication was successful, the password in the password
|
||||||
|
file is overwritten with the encrypted Kerberos password. This allows the
|
||||||
|
system to work even if the Kerberos server is temporarily not accessible.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
If the password is changed via the "Change Password" button on the config
|
||||||
|
page, the system tries to change the password in the Kerberos database. On
|
||||||
|
some installation it has been found that this does not work, in which case
|
||||||
|
you have to change your password by other means (such as via the Windows
|
||||||
|
login if you use a Windows Domain).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
21
src/elogd.c
21
src/elogd.c
@ -9809,7 +9809,8 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
rsprintf(" {\n");
|
rsprintf(" {\n");
|
||||||
rsprintf(" for (var i = 0; i < document.form1.elements.length; i++)\n");
|
rsprintf(" for (var i = 0; i < document.form1.elements.length; i++)\n");
|
||||||
rsprintf(" {\n");
|
rsprintf(" {\n");
|
||||||
rsprintf(" if (document.form1.elements[i].type == 'checkbox' && document.form1.elements[i].disabled == false) {\n");
|
rsprintf
|
||||||
|
(" if (document.form1.elements[i].type == 'checkbox' && document.form1.elements[i].disabled == false) {\n");
|
||||||
rsprintf(" a = document.form1.elements[i].name;\n");
|
rsprintf(" a = document.form1.elements[i].name;\n");
|
||||||
rsprintf(" a = a.substring(0, attrib.length);\n");
|
rsprintf(" a = a.substring(0, attrib.length);\n");
|
||||||
rsprintf(" if (a == attrib)\n");
|
rsprintf(" if (a == attrib)\n");
|
||||||
@ -10540,7 +10541,8 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
rsprintf("<br>");
|
rsprintf("<br>");
|
||||||
}
|
}
|
||||||
|
|
||||||
rsprintf("<input type=button value=\"%s\" onClick=\"ToggleAll('%s');\">\n", loc("Toggle all"), ua);
|
rsprintf("<input type=button value=\"%s\" onClick=\"ToggleAll('%s');\">\n",
|
||||||
|
loc("Toggle all"), ua);
|
||||||
|
|
||||||
if (attr_flags[index] & AF_EXTENDABLE) {
|
if (attr_flags[index] & AF_EXTENDABLE) {
|
||||||
sprintf(str, loc("Add %s"), attr_list[index]);
|
sprintf(str, loc("Add %s"), attr_list[index]);
|
||||||
@ -20398,7 +20400,8 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
|
|||||||
rsprintf("<tr><td class=\"listframe\">\n");
|
rsprintf("<tr><td class=\"listframe\">\n");
|
||||||
rsprintf("<table width=\"100%%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
|
rsprintf("<table width=\"100%%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n");
|
||||||
|
|
||||||
if (isparam("ma") || isparam("ya") || isparam("da") || isparam("ha") || isparam("na") || isparam("ca")) {
|
if (isparam("ma") || isparam("ya") || isparam("da") || isparam("ha") || isparam("na")
|
||||||
|
|| isparam("ca")) {
|
||||||
memset(&tms, 0, sizeof(struct tm));
|
memset(&tms, 0, sizeof(struct tm));
|
||||||
tms.tm_year = y1 - 1900;
|
tms.tm_year = y1 - 1900;
|
||||||
tms.tm_mon = m1 - 1;
|
tms.tm_mon = m1 - 1;
|
||||||
@ -20417,7 +20420,8 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
|
|||||||
rsprintf("<td class=\"attribvalue\">%s</td></tr>", str);
|
rsprintf("<td class=\"attribvalue\">%s</td></tr>", str);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isparam("mb") || isparam("yb") || isparam("db") || isparam("hb") || isparam("nb") || isparam("cb")) {
|
if (isparam("mb") || isparam("yb") || isparam("db") || isparam("hb") || isparam("nb")
|
||||||
|
|| isparam("cb")) {
|
||||||
memset(&tms, 0, sizeof(struct tm));
|
memset(&tms, 0, sizeof(struct tm));
|
||||||
tms.tm_year = y2 - 1900;
|
tms.tm_year = y2 - 1900;
|
||||||
tms.tm_mon = m2 - 1;
|
tms.tm_mon = m2 - 1;
|
||||||
@ -21282,9 +21286,11 @@ void format_email_text(LOGBOOK * lbs, char attrib[MAX_N_ATTR][NAME_LENGTH],
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (old_mail)
|
if (old_mail)
|
||||||
strlcpy(mail_text + strlen(mail_text), loc("An old ELOG entry has been updated"), size-strlen(mail_text));
|
strlcpy(mail_text + strlen(mail_text), loc("An old ELOG entry has been updated"),
|
||||||
|
size - strlen(mail_text));
|
||||||
else
|
else
|
||||||
strlcpy(mail_text + strlen(mail_text), loc("A new ELOG entry has been submitted"), size-strlen(mail_text));
|
strlcpy(mail_text + strlen(mail_text), loc("A new ELOG entry has been submitted"),
|
||||||
|
size - strlen(mail_text));
|
||||||
strcat(mail_text, ":");
|
strcat(mail_text, ":");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21462,7 +21468,8 @@ void format_email_html(LOGBOOK * lbs, int message_id, char attrib[MAX_N_ATTR][NA
|
|||||||
strlcpy(mail_text + strlen(mail_text), "</h3>\r\n", size - strlen(mail_text));
|
strlcpy(mail_text + strlen(mail_text), "</h3>\r\n", size - strlen(mail_text));
|
||||||
}
|
}
|
||||||
|
|
||||||
strlcpy(mail_text + strlen(mail_text), "<table border=\"3\" cellpadding=\"4\">\r\n", size-strlen(mail_text));
|
strlcpy(mail_text + strlen(mail_text), "<table border=\"3\" cellpadding=\"4\">\r\n",
|
||||||
|
size - strlen(mail_text));
|
||||||
|
|
||||||
if (flags & 32) {
|
if (flags & 32) {
|
||||||
sprintf(mail_text + strlen(mail_text), "<tr><td bgcolor=\"#CCCCFF\">%s</td>", loc("Logbook"));
|
sprintf(mail_text + strlen(mail_text), "<tr><td bgcolor=\"#CCCCFF\">%s</td>", loc("Logbook"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user