diff --git a/doc/ChangeLog b/doc/ChangeLog index 3ff3aa2d..8bd1fd7a 100755 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,30 @@ +Version 2.9.1, released February 20th 2012 +========================================== + +- Improved broken link handling +- Fixed problem with record splitting introduced in FF 10 +- Added Xcode project file +- Added extra parameter to mxml_parse_buffer +- Do a "rsort" on date attributes if "Reverse sort = 1" +- Fixed date substitution +- Check for locked attributes on chkform() +- Fixed missing user login time +- Removed old -a -r -w password options from documentation +- Set 'ufnm' cookie with full name, needed for shift check list +- Fixed crash reported in elog forum entry #67084 +- Changed printchar() to putchar(), since the first is not available under native OSX +- Check for inactive account during login +- Added check for content-length to be non-negative +- Print warning if "preset text" file cannot be found +- Implemented SVG previews through ImageMagick +- Show Kerberos error number +- added rmoval of pid file +- Switched off Kerberos support by default +- Use logged in user's email address for From: in email notifications +- Fixed bug with "." replacements in emails +- Fixed mangeling of <> in email notification +- Fixed missing error if user name exists already + Version 2.9.0, released March 9th 2011 ====================================== diff --git a/resources/eloglang.brazilian b/resources/eloglang.brazilian index 44a2e878..a98ba3b8 100755 --- a/resources/eloglang.brazilian +++ b/resources/eloglang.brazilian @@ -126,8 +126,6 @@ No Email address registered with user name "%s" = N Password recovery for ELOG %s = Recuperao de senha para ELOG %s ELOG password recovery = Recuperao de senha do ELOG Error sending Email via "%s" = Erro no envio de email via "%s" -Email address "%s" not registered = Endereo de email "%s" no registrado -User name "%s" not registered = Nome de usurio "5s" no registrado Enter your user name or email address = Entre com o nome do usurio ou com endereo de email Forgot = Esquecido ELOG new user = Novo usurio do ELOG @@ -484,3 +482,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.bulgarian b/resources/eloglang.bulgarian index b0bbdd7d..c5c25523 100755 --- a/resources/eloglang.bulgarian +++ b/resources/eloglang.bulgarian @@ -171,8 +171,6 @@ No Email address registered with user name "%s" = Password recovery for ELOG %s = ELOG %s Email notification = . Error sending Email via "%s" = . "%s" -Email address "%s" not registered = . "%s" -User name "%s" not registered = "%s" ELOG new user = ELOG Retype password = No = @@ -484,3 +482,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.czech b/resources/eloglang.czech index bb4c1ee1..24618f79 100644 --- a/resources/eloglang.czech +++ b/resources/eloglang.czech @@ -139,7 +139,6 @@ Search text also in attributes = Hledej text také v atributech Date = Date ID = ID Forgot password? = Zapoměl si heslo? -Email address "%s" not registered = Adresa Emailu "%s" není registrována ELOG password recovery = ELOG obnova hesla No Email address registered with user name "%s" = Žádná Emailová adresa není registrována s uživatelským jménem "%s" Error sending Email via "%s" = Chybné zasílání Emailu přes "%s" @@ -160,7 +159,6 @@ Change %s = Změň %s Add new option here = Přidej sem novou volbu Expand all = Rozbal vše Add %s = Přidej %s -User name "%s" not registered = Uživatel "%s" není registrován Synchronization = Synchronizace Error: Value %s not allowed for boolean attributes = Chyba: Hodnota %s není dovolena pro boolean atribut Error: Attribute option %s not existing = Chyba: Atribut Volba %s neexistuje @@ -481,3 +479,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.danish b/resources/eloglang.danish index 1041ca62..40a47ebb 100755 --- a/resources/eloglang.danish +++ b/resources/eloglang.danish @@ -140,7 +140,6 @@ Search text also in attributes = S Date = Dato ID = ID Forgot password? = Glemt kendeord? -Email address "%s" not registered = Email Adresse "%s" ikke registreret ELOG password recovery = Gendan ELOG kendeord No Email address registered with user name "%s" = Bruger " har ikke registreret mail adresse Error sending Email via "%s" = Fejl ved afsendelse af e mail via "%s" @@ -161,7 +160,6 @@ Change %s = rediger %s Add new option here = Tilfj ny Funktion Expand all = Udvid Alle Add %s = Tilfj %s -User name "%s" not registered = Bruger Navn "%s" ikke registreret Synchronization = Synkronisering Error: Value %s not allowed for boolean attributes = Fejl: vrdi %s ikke tilladt for bool'ske Attributer Error: Attribute option %s not existing = Fejl: Attribut Funktion %s eksisterer ikke @@ -484,3 +482,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.dutch b/resources/eloglang.dutch index 51d19a0f..a1e7710c 100755 --- a/resources/eloglang.dutch +++ b/resources/eloglang.dutch @@ -140,7 +140,6 @@ Search text also in attributes = Zoek ook in attributen Date = Datum ID = ID Forgot password? = Wachtwoord vergeten? -Email address "%s" not registered = E-mailadres "%s" is niet geregistreerd ELOG password recovery = ELOG Wachtwoord Herstel No Email address registered with user name "%s" = Voor gebruiker "%s" is geen e-mail adres geregistreerd Error sending Email via "%s" = Fout bij het versturen van e-mail via "%s" @@ -161,7 +160,6 @@ Change %s = %s wijzigen Add new option here = Hier nieuwe optie opgeven Expand all = Alles uitbreiden Add %s = Voeg %s toe -User name "%s" not registered = Gebruikersnaam "%s" is niet geregistreerd Synchronization = Synchronisatie Error: Value %s not allowed for boolean attributes = Fout: Waarde %s niet toegestaan voor booleaanse attributen Error: Attribute option %s not existing = Fout: Attribuut optie %s bestaat niet @@ -218,7 +216,6 @@ Please enter attribute '%s' = Geef een attribuut '%s' Entry time = Geef de tijd op Start = Start End = Eind -Fromi = Van After = Na to = aan Before = Voor @@ -479,3 +476,9 @@ Your account has been activated = Je account is geactiveerd Please subscribe to logbooks if you want to receive automatic email notifications = Abonneer je op logboeken als je automatisch meldingen wilt ontvangen This is an automatically generated account recovery email for host %s = Dit is een automatisch gegenereerd bericht voor het herstellen van het account voor server %s Please click on following link to recover your account = Klik op de volgende link om je account te herstellen + +# +#---- please translate following items and then remove this comment ----# +# +Email address "%s" not registered = +User name "%s" not registered = \ No newline at end of file diff --git a/resources/eloglang.french b/resources/eloglang.french index d88653d9..316ae521 100755 --- a/resources/eloglang.french +++ b/resources/eloglang.french @@ -138,7 +138,6 @@ Search text also in attributes = Rechercher Date = Date ID = ID Forgot password? = Mot de passe oubli ? -Email address "%s" not registered = L'adresse ml. "%s" n'est pas enregistre sur ce serveur ELOG password recovery = Rcupration de mot de passe ELOG No Email address registered with user name "%s" = Il n'y a pas d'adresse ml. enregistre pour le nom d'utilisateur "%s" Forgot = Oubli @@ -158,7 +157,6 @@ Add new option here = Ajouter une nouvelle option ici Suppress shell execution = Empcher l'excution de commandes Change %s = Modifier %s Error sending Email via "%s" = Erreur lors de l'envoi d'un ml. via "%s" -User name "%s" not registered = Le nom d'utilisateur "%s" n'est pas enregistr Synchronization = Synchronisation recipients = destinataires Error: Value %s not allowed for boolean attributes = Erreur : la valeur %s n'est pas valide pour les attributs boolens @@ -477,3 +475,9 @@ Your account has been activated = Votre compte a Please subscribe to logbooks if you want to receive automatic email notifications = Vous devez vous abonner des registres si vous voulez recevoir des messages de notification automatiques This is an automatically generated account recovery email for host %s = Ceci est un message automatique de rcupration de compte pour le serveur %s Please click on following link to recover your account = Veuillez cliquer sur le lien suivant pour rcuprer votre compte + +# +#---- please translate following items and then remove this comment ----# +# +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.german b/resources/eloglang.german index b84fdfab..78e683ed 100755 --- a/resources/eloglang.german +++ b/resources/eloglang.german @@ -139,7 +139,6 @@ Search text also in attributes = Text auch in Attributen suchen Date = Datum ID = ID Forgot password? = Kennwort vergessen? -Email address "%s" not registered = Email-Adresse "%s" nicht registriert ELOG password recovery = ELOG Kennwort-Wiederherstellung No Email address registered with user name "%s" = Fr Benutzername "%s" wurde keine Email-Adresse registriert Error sending Email via "%s" = Fehler beim Versenden der Email ber "%s" @@ -160,7 +159,6 @@ Change %s = %s Add new option here = Neue Option hier eingeben Expand all = Alles erweitern Add %s = %s hinzufgen -User name "%s" not registered = Benutzername "%s" ist nicht registriert Synchronization = Synchronisation Error: Value %s not allowed for boolean attributes = Fehler: Wert %s ist nicht erlaubt fr bool'sche Attribute Error: Attribute option %s not existing = Fehler: Attribut Option %s existiert nicht @@ -476,3 +474,5 @@ Your account has been activated = Ihr Zugang wurde aktiviert Please subscribe to logbooks if you want to receive automatic email notifications = Bitte abbonieren Sie Logbher, um automatisch Email-Benachrichtigungen zu bekommen This is an automatically generated account recovery email for host %s = Dies ist eine automatisch generierte Email fr die Rcksetzung des Zugangs auf dem Computer %s Please click on following link to recover your account = Bitte klicken Sie auf folgenden Link, um Ihren Zugang zurckzusetzen +Email address "%s" not registered = Email Adressed "%s" ist nicht registriert +User name "%s" not registered = Benutzername "%s" ist nicht registriert diff --git a/resources/eloglang.italian b/resources/eloglang.italian index 289a3105..7de939e5 100755 --- a/resources/eloglang.italian +++ b/resources/eloglang.italian @@ -139,7 +139,6 @@ Search text also in attributes = Ricerca il testo anche negli attributi Date = Data ID = ID Forgot password? = Dimenticata la password? -Email address "%s" not registered = Indirizzo e-mail "%s" non registrato ELOG password recovery = ELOG ripristino password No Email address registered with user name "%s" = Nessun indirizzo e-mail registrato con il nome utente "%s" Error sending Email via "%s" = Errore nell'nvio della e-mail con "%s" @@ -159,7 +158,6 @@ Update = Aggiorna Change %s = Cambia %s Add new option here = Aggiungi qui una nuova opzione Add %s = Aggiungi %s -User name "%s" not registered = Il nome "%s" non registrato Synchronization = Sincronizzazione Error: Value %s not allowed for boolean attributes = Errore: valore %s non consentito per elementi booleani Error: Attribute option %s not existing = Errore: l'opzione %s dell'elemento non esiste @@ -479,3 +477,6 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = + diff --git a/resources/eloglang.japanese b/resources/eloglang.japanese index 6b4a90d2..e636e076 100755 --- a/resources/eloglang.japanese +++ b/resources/eloglang.japanese @@ -96,8 +96,6 @@ No Email address registered with user name "%s" = Password recovery for ELOG %s = ELOG %s ɑ΂pX[h𕜋 ELOG password recovery = ELOGpX[h̕ Error sending Email via "%s" = "%s"@dq[𑗂ۂɃG[܂ -Email address "%s" not registered = dq[AhX "%s"͓o^Ă܂ -User name "%s" not registered = [U[ "%s"͓o^Ă܂ Enter your user name or email address = [U[dq[AhX͂Ă Forgot = Forgot ELOG new user = ELOGVK[U @@ -480,3 +478,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = \ No newline at end of file diff --git a/resources/eloglang.ru_CP1251 b/resources/eloglang.ru_CP1251 index e9ab9f7a..60e686f3 100644 --- a/resources/eloglang.ru_CP1251 +++ b/resources/eloglang.ru_CP1251 @@ -170,8 +170,6 @@ No Email address registered with user name "%s" = Password recovery for ELOG %s = %s Email notification = Error sending Email via "%s" = "%s" -Email address "%s" not registered = - "%s" -User name "%s" not registered = "%s" ELOG new user = Retype password = No = @@ -485,3 +483,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.spanish b/resources/eloglang.spanish index 64e417e9..acbcae4c 100755 --- a/resources/eloglang.spanish +++ b/resources/eloglang.spanish @@ -126,8 +126,6 @@ No Email address registered with user name "%s" = No se encuentra registr Password recovery for ELOG %s = Recuperacion de clave para ELOG %s ELOG password recovery = Recuperacion de clave ELOG Error sending Email via "%s" = Error al enviar email via "%s" -Email address "%s" not registered = La direccion de email "%s" no esta registrada -User name "%s" not registered = El usuario "%s" no esta registrado Enter your user name or email address = Ingrese su nombre de usuario o direccion de email Forgot = Olvidar ELOG new user = Nuevo usuario de ELOG @@ -479,3 +477,8 @@ Please subscribe to logbooks if you want to receive automatic email notification This is an automatically generated account recovery email for host %s = Este es un email de recuperacin de cuenta generado automaticamente para el host %s Please click on following link to recover your account = Por favor haga click en el siguiente link para recuperar su cuenta +# +#---- please translate following items and then remove this comment ----# +# +Email address "%s" not registered = +User name "%s" not registered = \ No newline at end of file diff --git a/resources/eloglang.swedish b/resources/eloglang.swedish index 744f8ab9..81584a5a 100644 --- a/resources/eloglang.swedish +++ b/resources/eloglang.swedish @@ -132,7 +132,6 @@ Search text also in attributes = S Date = Datum ID = ID Forgot password? = Glmt lsenordet? -Email address "%s" not registered = E-post adress "%s" r inte registrerad ELOG password recovery = terskapande av ELOG lsenord No Email address registered with user name "%s" = Ingen e-post adress registrerad fr anvndare "%s" Error sending Email via "%s" = Fel vid sndingen av e-post via "%s" @@ -150,7 +149,6 @@ Update = Uppdatera by = av Add new option here = Lgg till ett nytt alternativ (en ny funktion) hr Expand all = Expandera alla -User name "%s" not registered = Anvndarnamn "%s" inte registrerat Synchronization = Synkronisering Last submission = Senaste post Synchronize = Synkronisera @@ -483,3 +481,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.turkish b/resources/eloglang.turkish index 4474c732..04f1b819 100755 --- a/resources/eloglang.turkish +++ b/resources/eloglang.turkish @@ -142,7 +142,6 @@ Search text also in attributes = Metni Date = Tarih ID = ID Forgot password? = Parolay unuttunuz mu? -Email address "%s" not registered = "%s" e-posta adresi kaytl deil ELOG password recovery = ELOG parola yenileme No Email address registered with user name "%s" = "%s" kullanc ismine herhangi bir e-posta adresi kaytl deil Error sending Email via "%s" = "%s" ile e-posta gnderirken hata @@ -163,7 +162,6 @@ Change %s = %s de Add new option here = Buraya yeni seenek ekle Expand all = Tmn a Add %s = %s ekle -User name "%s" not registered = "%s" kullanc ad kaytl deil Synchronization = Eleme Error: Value %s not allowed for boolean attributes = Hata: Boole zellikleri iin %s deerine izin verilmedi Error: Attribute option %s not existing = Hata: %s zellik seenei yok @@ -483,3 +481,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.zh_CN-GB2312 b/resources/eloglang.zh_CN-GB2312 index e3d8fd81..ace23cc6 100644 --- a/resources/eloglang.zh_CN-GB2312 +++ b/resources/eloglang.zh_CN-GB2312 @@ -140,7 +140,6 @@ Search text also in attributes = ͬʱ Date = ID = ID Forgot password? = ˰ɣ -Email address "%s" not registered = ʼַ "%s" ûбע ELOG password recovery = ELOG ָ No Email address registered with user name "%s" = û "%s" ûṩʼַ Error sending Email via "%s" = ޷ͨ "%s" ͵ʼ @@ -160,7 +159,6 @@ Update = Change %s = ޸ %s Add new option here = µѡ Add %s = %s -User name "%s" not registered = û "%s" ûע Synchronization = ͬ Error: Value %s not allowed for boolean attributes = ֵ %s Ϊ Error: Attribute option %s not existing = ѡ %s @@ -482,3 +480,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/resources/eloglang.zh_CN-UTF8 b/resources/eloglang.zh_CN-UTF8 index d8f9566a..67d34b98 100644 --- a/resources/eloglang.zh_CN-UTF8 +++ b/resources/eloglang.zh_CN-UTF8 @@ -140,7 +140,6 @@ Search text also in attributes = 同时搜索属性中的文本 Date = 日期 ID = ID Forgot password? = 忘记密码了吧? -Email address "%s" not registered = 电子邮件地址 "%s" 没有被注册 ELOG password recovery = ELOG 密码恢复 No Email address registered with user name "%s" = 用户 "%s" 没有提供电子邮件地址 Error sending Email via "%s" = 无法通过 "%s" 发送电子邮件 @@ -160,7 +159,6 @@ Update = 更新 Change %s = 修改 %s Add new option here = 新的选项 Add %s = 增加 %s -User name "%s" not registered = 用户 "%s" 没有注册 Synchronization = 同步 Error: Value %s not allowed for boolean attributes = 错误:值 %s 不允许为布尔属性 Error: Attribute option %s not existing = 错误:属性选项 %s 不存在 @@ -482,3 +480,5 @@ Your account has been activated = Please subscribe to logbooks if you want to receive automatic email notifications = This is an automatically generated account recovery email for host %s = Please click on following link to recover your account = +Email address "%s" not registered = +User name "%s" not registered = diff --git a/src/elog.c b/src/elog.c index 5048bf33..1ec34ae5 100755 --- a/src/elog.c +++ b/src/elog.c @@ -9,7 +9,7 @@ \********************************************************************/ -#define VERSION "2.9.0" +#define VERSION "2.9.1" char svn_revision[] = "$Id$"; /* ELOG identification */ diff --git a/src/elogd.h b/src/elogd.h index d2086bbf..c910bd0c 100644 --- a/src/elogd.h +++ b/src/elogd.h @@ -9,7 +9,7 @@ \********************************************************************/ /* Version of ELOG */ -#define VERSION "2.9.0" +#define VERSION "2.9.1" #define _GNU_SOURCE #include diff --git a/src/locext.c b/src/locext.c index d3f78551..c9f609b6 100755 --- a/src/locext.c +++ b/src/locext.c @@ -80,7 +80,7 @@ int scan_file(char *infile, char *outfile) p2++; } - size = (int) p2 - (int) p; + size = (int) (p2 - p); if (size >= (int) sizeof(str)) { printf("Error: string too long\n"); free(buf); diff --git a/xcode/elogd.xcodeproj/project.pbxproj b/xcode/elogd.xcodeproj/project.pbxproj index 418dc242..5cc88f70 100644 --- a/xcode/elogd.xcodeproj/project.pbxproj +++ b/xcode/elogd.xcodeproj/project.pbxproj @@ -28,6 +28,10 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + D51F4A9214F27F3C00CB29E9 /* index.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = index.html; path = /elog/doc/index.html; sourceTree = ""; }; + D51F4A9414F27F4400CB29E9 /* index_nd.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = index_nd.html; path = /elog/doc/index_nd.html; sourceTree = ""; }; + D528A7C314F278C800D33974 /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = ChangeLog; path = /elog/doc/ChangeLog; sourceTree = ""; }; + D528A7C514F278DA00D33974 /* checklist.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = checklist.txt; path = /elog/checklist.txt; sourceTree = ""; }; D52BA2FA13999DB0000458E3 /* elogd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = elogd; sourceTree = BUILT_PRODUCTS_DIR; }; D52BA31013999DE4000458E3 /* mxml.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mxml.c; path = /mxml/mxml.c; sourceTree = ""; }; D52BA31113999DE4000458E3 /* mxml.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = mxml.h; path = /mxml/mxml.h; sourceTree = ""; }; @@ -90,6 +94,10 @@ D5F11B9013AFA146002CE8BF /* Resources */ = { isa = PBXGroup; children = ( + D51F4A9414F27F4400CB29E9 /* index_nd.html */, + D51F4A9214F27F3C00CB29E9 /* index.html */, + D528A7C514F278DA00D33974 /* checklist.txt */, + D528A7C314F278C800D33974 /* ChangeLog */, D5F11B9113AFA164002CE8BF /* elogd.cfg */, ); name = Resources; @@ -122,6 +130,7 @@ D52BA2F113999DB0000458E3 /* Project object */ = { isa = PBXProject; attributes = { + LastUpgradeCheck = 0420; ORGANIZATIONNAME = PSI; }; buildConfigurationList = D52BA2F413999DB0000458E3 /* Build configuration list for PBXProject "elogd" */;