Version 2.5.9-1

SVN revision: 1339
This commit is contained in:
Stefan Ritt 2005-05-02 10:06:33 +00:00
parent 5541e9716c
commit dcc7e7d22e
12 changed files with 108 additions and 16 deletions

View File

@ -1,3 +1,31 @@
Version 2.5.9, released May 2nd, 2005
=====================================
- Added str_escape from Emiliano Gabrielli
- Implemented 'case sensitive search' flag
- Applied patch from Emiliano to fix possible buffer overflow
- Fixed crashes with very long (revisions) attributes
- Fixed missing icons in top groups
- Fixed wrong year under IE with datetime attibutes
- Added SMTP error reporting
- Added 'set current time/date' funcitonality
- Use base64 encoding for email subject
- Adde 'Raw' mode for export
- Fixed bug with conditions and '&'
- Fixed crash on 'm*' regex search
- Redirect to source logbook for copy/move
- Open attachments in separate browser window
- Implemented drop-down boxes for copy/move also on individual entry page
- Implemented 'Duplicate' command
- Implemented datetime format
- Subsittute ' ' in attachment file names by '_'
- Changed is_ascii() to accept umlaute
- Implemented 'expand selection', defaulting to one
- Applied patch from Recai to give precedence to directories from the command line
- Fixed problem with '&' in href links
- Fixed problem with 'protect selection page' and invalid authentication
- Fixed bug with crashing elog on 'protect selection page'
Version 2.5.8, released March 21st, 2005 Version 2.5.8, released March 21st, 2005
======================================== ========================================

View File

@ -25,7 +25,7 @@
&nbsp;[<a class="nav" href="#links">Links</a>]&nbsp; *&nbsp;</div> &nbsp;[<a class="nav" href="#links">Links</a>]&nbsp; *&nbsp;</div>
<P class="Sub">Home of the <i>Electronic Logbook</i> package by <a href="mailto:Stefan.Ritt&#64;psi.ch"> <P class="Sub">Home of the <i>Electronic Logbook</i> package by <a href="mailto:Stefan.Ritt&#64;psi.ch">
Stefan Ritt</a></P> Stefan Ritt</a></P>
<div class="version">Current version is : 2.5.8</div> <div class="version">Current version is : 2.5.9</div>
<hr> <hr>
<a name="whatis"> <a name="whatis">
<div class="section">&nbsp; What is ELOG ? &nbsp;</div> <div class="section">&nbsp; What is ELOG ? &nbsp;</div>

View File

@ -353,3 +353,9 @@ Subscribe to logbooks =
enable automatic email notifications = enable automatic email notifications =
Set all = Set all =
Set none = Set none =
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -353,3 +353,9 @@ Subscribe to logbooks =
enable automatic email notifications = enable automatic email notifications =
Set all = Set all =
Set none = Set none =
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -353,3 +353,9 @@ Subscribe to logbooks =
enable automatic email notifications = enable automatic email notifications =
Set all = Set all =
Set none = Set none =
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -356,3 +356,9 @@ Subscribe to logbooks =
enable automatic email notifications = enable automatic email notifications =
Set all = Set all =
Set none = Set none =
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -349,3 +349,13 @@ Subscribe to logbooks = S'abonner aux registres
enable automatic email notifications = activer les notifications par mél. enable automatic email notifications = activer les notifications par mél.
Set all = Activer tout Set all = Activer tout
Set none = Désactiver tout Set none = Désactiver tout
#
#---- please translate following items and then remove this comment ----#
#
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -348,3 +348,10 @@ Subscribe to logbooks = Logb
enable automatic email notifications = Automatische Email Benachrichtigung ermöglichen enable automatic email notifications = Automatische Email Benachrichtigung ermöglichen
Set all = Alle ermöglichen Set all = Alle ermöglichen
Set none = Keinen ermöglichen Set none = Keinen ermöglichen
Set current time = Aktuelle Zeit setzen
Please enter hour for attribute '%s' = Bitte Stunde eingeben für Attribut '%s'
Please enter minute for attribute '%s' = Bitte Minute eingeben für Attribut '%s'
Please enter second for attribute '%s' = Bitte Sekunde eingeben für Attribut '%s'
No admin user has been defined in configuration file = In der Konfigurationsdatei ist kein Benutzer mit Administrationsrechten eingetragen
Duplicate = Duplizieren

View File

@ -352,3 +352,9 @@ Subscribe to logbooks =
enable automatic email notifications = enable automatic email notifications =
Set all = Set all =
Set none = Set none =
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -351,3 +351,9 @@ Subscribe to logbooks =
enable automatic email notifications = enable automatic email notifications =
Set all = Set all =
Set none = Set none =
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -349,3 +349,9 @@ Subscribe to logbooks =
enable automatic email notifications = enable automatic email notifications =
Set all = Set all =
Set none = Set none =
Set current time =
Please enter hour for attribute '%s' =
Please enter minute for attribute '%s' =
Please enter second for attribute '%s' =
No admin user has been defined in configuration file =
Duplicate =

View File

@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG Contents: Web server program for Electronic Logbook ELOG
$Log$ $Log$
Revision 1.641 2005/05/02 10:06:33 ritt
Version 2.5.9-1
Revision 1.640 2005/04/29 20:26:12 ritt Revision 1.640 2005/04/29 20:26:12 ritt
Added str_escape from Emiliano Gabrielli Added str_escape from Emiliano Gabrielli
@ -1035,7 +1038,7 @@
\********************************************************************/ \********************************************************************/
/* Version of ELOG */ /* Version of ELOG */
#define VERSION "2.5.8-6" #define VERSION "2.5.9-1"
char cvs_revision[] = "$Id$"; char cvs_revision[] = "$Id$";
/* ELOG identification */ /* ELOG identification */
@ -14022,7 +14025,8 @@ void display_line(LOGBOOK * lbs, int message_id, int number, char *mode,
add_subst_time(lbs, (char (*)[NAME_LENGTH]) slist, add_subst_time(lbs, (char (*)[NAME_LENGTH]) slist,
(char (*)[NAME_LENGTH]) svalue, "entry time", date, &j); (char (*)[NAME_LENGTH]) svalue, "entry time", date, &j);
strsubst(display, sizeof(display), (char (*)[NAME_LENGTH]) slist, (char (*)[NAME_LENGTH]) svalue, j); strsubst(display, sizeof(display), (char (*)[NAME_LENGTH]) slist,
(char (*)[NAME_LENGTH]) svalue, j);
} else } else
sprintf(display, "%d", message_id); sprintf(display, "%d", message_id);
@ -16000,7 +16004,8 @@ void show_elog_list(LOGBOOK * lbs, INT past_n, INT last_n, INT page_n, char *inf
add_subst_time(lbs, (char (*)[NAME_LENGTH]) slist, add_subst_time(lbs, (char (*)[NAME_LENGTH]) slist,
(char (*)[NAME_LENGTH]) svalue, "entry time", date, &j); (char (*)[NAME_LENGTH]) svalue, "entry time", date, &j);
strsubst(str, sizeof(str), (char (*)[NAME_LENGTH]) slist, (char (*)[NAME_LENGTH]) svalue, j); strsubst(str, sizeof(str), (char (*)[NAME_LENGTH]) slist, (char (*)[NAME_LENGTH]) svalue,
j);
setparam(attr_list[i], str); setparam(attr_list[i], str);
} }
@ -18853,7 +18858,8 @@ void show_elog_entry(LOGBOOK * lbs, char *dec_path, char *command)
add_subst_time(lbs, (char (*)[NAME_LENGTH]) slist, add_subst_time(lbs, (char (*)[NAME_LENGTH]) slist,
(char (*)[NAME_LENGTH]) svalue, "entry time", date, &j); (char (*)[NAME_LENGTH]) svalue, "entry time", date, &j);
strsubst(display, sizeof(display), (char (*)[NAME_LENGTH]) slist, (char (*)[NAME_LENGTH]) svalue, j); strsubst(display, sizeof(display), (char (*)[NAME_LENGTH]) slist,
(char (*)[NAME_LENGTH]) svalue, j);
} else } else
strcpy(display, attrib[i]); strcpy(display, attrib[i]);
@ -20505,8 +20511,7 @@ void interprete(char *lbook, char *path)
/* deliver icons without password */ /* deliver icons without password */
if (chkext(path, ".gif") || chkext(path, ".jpg") || if (chkext(path, ".gif") || chkext(path, ".jpg") ||
chkext(path, ".png") || chkext(path, ".ico") || chkext(path, ".png") || chkext(path, ".ico") || chkext(path, ".htm") || chkext(path, ".css")) {
chkext(path, ".htm") || chkext(path, ".css")) {
/* check if file in resource directory */ /* check if file in resource directory */
strlcpy(str, resource_dir, sizeof(str)); strlcpy(str, resource_dir, sizeof(str));
strlcat(str, path, sizeof(str)); strlcat(str, path, sizeof(str));