Release 2.7.1-1

SVN revision: 2002
This commit is contained in:
Stefan Ritt 2008-01-22 07:30:50 +00:00
parent bd7ff5eeba
commit 6b7f08c081
7 changed files with 83 additions and 55 deletions

View File

@ -5,7 +5,7 @@ On PC6562:
- Put all new options in doc/config.html - Put all new options in doc/config.html
- Increse version in elogd.c - Increse version in elogd.c
- Do the same in doc/index.html - Do the same in doc/index.html and index_d.html
- Modify ChangeLog - Modify ChangeLog
- Add release date to ChangeLog - Add release date to ChangeLog
- Do a "make indent" - Do a "make indent"

View File

@ -1,3 +1,31 @@
Version 2.7.1, released Jan. 22th, 2008
=======================================
- Set current encoding to ELCode if 'allowed encoding = 3'
- Improved sorting speed when 100000's entries are present
- Fixed bug with truncated entries
- Implemented 'sort attributes = ID'
- Changed default encoding to 2
- Do not translate 'activate' (gives problems by email program encoding)
- Implemented pipelining
- Changed default for allowed encoding
- Fixed possible buffer overflow
- Fixed possible endless loop in replace_inline_img
- Convert "elog:/<n>" to "<ID>/<n>" for HTML encoding
- Display icon comment also in threaded and summary view
- Fixed &nbsp; & co. in summary view
- Fixed umlaute in summary display
- Added search button for quick filters for MSIE
- Upgraded to FCKeditor 2.5beta
- Implemented 'Use Email URL'
- Fixed bug with --+Text+--
- Implement InsertLink
- Fixed double sent attachments in email notifications
- Added CTRL-N for new list item, thanks to Bill Pier
- Changed resource directoy to be removed on uninstall
- Added FCKeditor extraction to Makefile
- Fixed email notification with HTML inline images
Version 2.7.0, released Oct. 25th, 2007 Version 2.7.0, released Oct. 25th, 2007
======================================= =======================================

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.7.0</div> <div class="version">Current version is : 2.7.1</div>
<center> <center>
<a href="http://www.softpedia.com/progClean/ELOG-Clean-30897.html"><img border="0" src="http://www.softpedia.com/images/spyward/softpedia_free_award_f.gif" alt="certificate" title="certificate" /></a> <a href="http://www.softpedia.com/progClean/ELOG-Clean-30897.html"><img border="0" src="http://www.softpedia.com/images/spyward/softpedia_free_award_f.gif" alt="certificate" title="certificate" /></a>
</center> </center>

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.7.0</div> <div class="version">Current version is : 2.7.1</div>
<center> <center>
<a href="http://www.softpedia.com/progClean/ELOG-Clean-30897.html"><img border="0" src="http://www.softpedia.com/images/spyward/softpedia_free_award_f.gif" alt="certificate" title="certificate" /></a> <a href="http://www.softpedia.com/progClean/ELOG-Clean-30897.html"><img border="0" src="http://www.softpedia.com/images/spyward/softpedia_free_award_f.gif" alt="certificate" title="certificate" /></a>

View File

@ -437,7 +437,6 @@ unspecified = ospecifiserad
To subscribe to any logbook, click on 'Config' in that logbook = För att prenumerera på en loggbok, klicka på 'Konfigurera' i den loggboken To subscribe to any logbook, click on 'Config' in that logbook = För att prenumerera på en loggbok, klicka på 'Konfigurera' i den loggboken
ELOG XML import = ELOG XML-import ELOG XML import = ELOG XML-import
Derive attributes from XML file = Hämta attribut från XML-fil Derive attributes from XML file = Hämta attribut från XML-fil
Keep original entry IDs (may overwrite existing entries, but is required if imported entries contain replies) = Behåll original post-ID (kan skriva över befintliga poster, men krävs om importerade poster innehåller svar)
XML filename = XML filnamn XML filename = XML filnamn
Invalid date format = Ogiltigt datumformat Invalid date format = Ogiltigt datumformat
XML file does not contain %s element = XML-filen innehåller inte %s element XML file does not contain %s element = XML-filen innehåller inte %s element

View File

@ -10,7 +10,7 @@
\********************************************************************/ \********************************************************************/
/* Version of ELOG */ /* Version of ELOG */
#define VERSION "2.7.0" #define VERSION "2.7.1"
char svn_revision[] = "$Id$"; char svn_revision[] = "$Id$";
/* ELOG identification */ /* ELOG identification */
@ -4374,7 +4374,8 @@ int el_retrieve(LOGBOOK * lbs,
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
int el_submit_attachment(LOGBOOK * lbs, const char *afilename, const char *buffer, int buffer_size, char *full_name) int el_submit_attachment(LOGBOOK * lbs, const char *afilename, const char *buffer, int buffer_size,
char *full_name)
{ {
char file_name[MAX_PATH_LENGTH], ext_file_name[MAX_PATH_LENGTH + 100], str[MAX_PATH_LENGTH], *p; char file_name[MAX_PATH_LENGTH], ext_file_name[MAX_PATH_LENGTH + 100], str[MAX_PATH_LENGTH], *p;
int fh; int fh;
@ -7172,7 +7173,8 @@ void show_html_header(LOGBOOK * lbs, BOOL expires, char *title, BOOL close_head,
rsprintf("</head>\n"); rsprintf("</head>\n");
} }
void show_browser(char *browser) { void show_browser(char *browser)
{
if (stristr(browser, "opera")) if (stristr(browser, "opera"))
rsprintf("var browser = \"Opera\";\n"); rsprintf("var browser = \"Opera\";\n");
else if (stristr(browser, "konqueror")) else if (stristr(browser, "konqueror"))
@ -18908,8 +18910,7 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
strlcat(msg_list[index].string, " ", sizeof(msg_list[index].string)); strlcat(msg_list[index].string, " ", sizeof(msg_list[index].string));
sprintf(str, "%08d", message_id); sprintf(str, "%08d", message_id);
strlcat(msg_list[index].string, str, sizeof(msg_list[index].string)); strlcat(msg_list[index].string, str, sizeof(msg_list[index].string));
} } else if (strieq(sort_attr[i], loc("Logbook"))) {
else if (strieq(sort_attr[i], loc("Logbook"))) {
strlcpy(msg_list[index].string, msg_list[index].lbs->name, 256); strlcpy(msg_list[index].string, msg_list[index].lbs->name, 256);
} }
} }
@ -20893,7 +20894,8 @@ int set_attributes(LOGBOOK * lbs, char attributes[][NAME_LENGTH], int n)
int submit_elog_reply(LOGBOOK * lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH], char *text) int submit_elog_reply(LOGBOOK * lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH], char *text)
{ {
int n_reply, i, status; int n_reply, i, status;
char str1[80], str2[80], att_file[MAX_ATTACHMENTS][256], reply_to[MAX_REPLY_TO * 10], list[MAX_N_ATTR][NAME_LENGTH]; char str1[80], str2[80], att_file[MAX_ATTACHMENTS][256], reply_to[MAX_REPLY_TO * 10],
list[MAX_N_ATTR][NAME_LENGTH];
status = el_retrieve(lbs, message_id, NULL, attr_list, NULL, 0, status = el_retrieve(lbs, message_id, NULL, attr_list, NULL, 0,
NULL, NULL, NULL, reply_to, att_file, NULL, NULL); NULL, NULL, NULL, reply_to, att_file, NULL, NULL);
@ -21419,8 +21421,7 @@ void submit_elog(LOGBOOK * lbs)
sprintf(str, "elog:%d/", message_id); sprintf(str, "elog:%d/", message_id);
strsubst(p, TEXT_SIZE, "elog:/", str); strsubst(p, TEXT_SIZE, "elog:/", str);
el_submit(lbs, message_id, TRUE, date, attr_list, attrib, n_attr, el_submit(lbs, message_id, TRUE, date, attr_list, attrib, n_attr,
p, in_reply_to, reply_to, p, in_reply_to, reply_to, encoding, att_file, TRUE, NULL);
encoding, att_file, TRUE, NULL);
} }
/*---- email notifications ----*/ /*---- email notifications ----*/
@ -24274,7 +24275,8 @@ void show_uploader_finished(LOGBOOK * lbs)
rsprintf(" {\n"); rsprintf(" {\n");
rsprintf(" if (opener.document.title == \"FCKeditor\") {\n"); rsprintf(" if (opener.document.title == \"FCKeditor\") {\n");
rsprintf(" i = opener.parent.next_attachment;\n"); rsprintf(" i = opener.parent.next_attachment;\n");
rsprintf(" opener.FCKeditorAPI.GetInstance('Text').InsertHtml('<img alt=\"%s\" src=\"%s%s\" name=\"att'+i+'\">');\n", rsprintf
(" opener.FCKeditorAPI.GetInstance('Text').InsertHtml('<img alt=\"%s\" src=\"%s%s\" name=\"att'+i+'\">');\n",
att + 14, base_url, ref); att + 14, base_url, ref);
rsprintf(" opener.parent.document.form1.inlineatt.value = '%s';\n", att); rsprintf(" opener.parent.document.form1.inlineatt.value = '%s';\n", att);
rsprintf(" opener.parent.document.form1.jcmd.value = 'Upload';\n"); rsprintf(" opener.parent.document.form1.jcmd.value = 'Upload';\n");
@ -25740,8 +25742,7 @@ int process_http_request(const char *request, int i_conn)
return_length = 0; return_length = 0;
/* extract logbook */ /* extract logbook */
if (strchr(request, '/') == NULL || strchr(request, '\r') == NULL if (strchr(request, '/') == NULL || strchr(request, '\r') == NULL || strstr(request, "HTTP") == NULL) {
|| strstr(request, "HTTP") == NULL) {
/* invalid request, make valid */ /* invalid request, make valid */
return process_http_request("GET / HTTP/1.0\r\n\r\n", i_conn); return process_http_request("GET / HTTP/1.0\r\n\r\n", i_conn);
} }