Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 635 of 807  Not logged in ELOG logo
ID Datedown Icon Author Author Email Category OS ELOG Version Subject
  1451   Thu Oct 13 10:56:29 2005 Reply Bertram Metzbmetz@sbs.comQuestionLinux2.6.0-betaRe: Long lines in printout
Hi Stefan,
I tried your suggestions with 'page shrinking' and 'message width', but they didn't help. What I do not understand is why this problem occurs only if the message text is formatted as plain text. The lines are printed correctly, if the text is formatted as EL code or as HTML.

It is of course possible to format new entries in EL code or HTML, but we have a lot of existing entries, which are formatted as plain text.

Kind regards,
Bertram
  1450   Thu Oct 13 08:32:20 2005 Reply Stefan Rittstefan.ritt@psi.ch Windows2.5.4Re: Trying to remove "mailto:" from the email address

Matt Kimball wrote:
We are using ver 2.5.4. As users enter new requests into the system, they would like email notifications. I have added the $user_email into a "notifications" section that we created. The email address that gets entered is "mailto:user@domain.com". Is there a way to remove the "mailto:"? Attached is my config file.


The "mailto:" is there for good reason. After you submit the entry, elogd converts the "mailto:" into
<a href="mailto:user@domain.com">user@domain.com</a>

so the browser shows the email address as a link. If you click it, the browser automatically opens your email client with the email address already in the "To:" field. The same works in the main text body. So if I put "mailto:stefan.ritt@psi.ch", it gets converted automatially to "stefan.ritt@psi.ch", a feature many people rely on.

Now from your request it looks to me like you want email notifications, so you put
Email System CareWare = ..., $user_email

In that case the "mailto:" gets automatically stripped during the email notification, so the user_email gets entered and will be used correctly for the notification.
  1449   Wed Oct 12 23:59:13 2005 Question Matt Kimballmatthew.j.kimball@state.or.us Windows2.5.4Trying to remove "mailto:" from the email address
We are using ver 2.5.4. As users enter new requests into the system, they would like email notifications. I have added the $user_email into a "notifications" section that we created. The email address that gets entered is "mailto:user@domain.com". Is there a way to remove the "mailto:"? Attached is my config file.

Thanks
Matt
Attachment 1: elogconfig.txt
#### Open Problems

Theme = default
Comment = HIV Client Services Requests
Subdir = hivclien
Time format = %B %d, %Y 
Use Lock = 0
Reverse sort = 1
Entries per page = 999
Page Title = Work Requests

### Menu Commands

## Use this line normally 
Menu Commands = Back, List, New, Edit, Find, Last Day, Last 10, Logout, Help, Move to, Config
Find Menu Commands = Back, List, New, Find, Select, Logout, Help, Move to, Config

Allow Delete = rpeterso, pmeyer, mattkimball
Allow Config = rpeterso, pmeyer, mattkimball

Move to = Completed Work Requests
Menu text = work_requests_menu.txt
Use Email Subject = $Title
Use Email Heading = The OIS Tracking system has just received a work request. 
Use Email Heading Edit = A work request in the OIS Tracking system has just been changed. 
Email All = $Notifications, "$Also Notify (email address)", patrick.j.meyer@state.or.us
Message comment = Please describe what you need here.
Attachment comment = Please attach screenshots or auxiliary documents here.
Display mode = summary

# Can add an edit column by putting Edit in the list, but it works a little cheesy, also, need to put edit.gif in the gif directory
List display = ID, Date, System, Title, Priority, Date Needed, Status, Work Order, Percent Complete, Expected Delivery, Estimated Hrs
Summary lines = 7
ID display = $message id

## Filter options
Quick filter = System, Priority, Status, Date, Work Order, Assigned To

##### The Good Stuff #########

### Attributes we are tracking
Attributes = Requestor, System, Subsystem, Title, Priority, Date Needed, Type, Also Notify (email address), Status, Assigned To, Percent Complete, Estimated Hrs, Actual Hrs, Date Added, Expected Delivery, Date Completed, Notifications, Requestor_Email, Completed 


### System Picking
Options System = CAREAssist{sy03}, CAREWare{sy04}, 


Options Requestor = Sharon Arnett, Annick Benson, Ryan Deibert, Vic Fox{rac}, Lisa McAuliffe, John McDaniel, Jill Snyder, Denise Skrykar, Carolyn Underwood, Other...{rzz}

### Priority -- changed from radio to regular to permit use in e-mail rules
Options Priority = A-Emergency{p1}, B-Critical{p2}, C-Other {p3}
Preset Priority = C-Other

### When it is needed (if there is a defined date)
Type Date Needed = date

### Type 
ROptions Type = Ad-hoc Query, Bug (Brk/Fix), Enhancement, Inquiry, Support, Other

### Also Notify - Just a blank field holds e-mail addresses of 
Comment Also Notify (email address) = <BR><b>Below for OIS staff only.</b>

### Status -- changed from radio to regular to permit use in e-mail, prefill, reply and lock rules 
Options Status = 1-Requested{s1}, 2-Need More Detail{s2}, 3-Estimated{s3}, 4-Assigned{s4}, 5-Delivered {s5}, 6-Closed (No Info/Dup/Not Approved){s6}
Preset Status = 1-Requested

### Work Order
ROptions Work Order = 1, 2, 3, 4, 5, 6+

### Actual Effort
Type Actual Effort = numeric
Comment Actual Effort = (in man-hours)

### Specify the day this was added
Type Date Added = date
Preset Date Added = $date

### Specify the expected delivery date
Type Expected Delivery = date

### When was the work request completed?
Type Date Completed = date

### Percent Complete
ROptions Percent Complete = 0%, 5%, 10%, 25%, 50%, 75%, 90%, 100%
## Preset Percent Complete = 0%

Options Completed = Yes, No
Preset Completed = No

### Don't even know if this stuff works...
Format Assigned To = 0, attribname, attribvalue, 30, 30
Format Estimated = 1, attribname, attribvalue, 3, 3
Format Actual = 1, attribname, attribvalue, 3, 3

preset Requestor_Email = $user_email
###locked attributes = Requestor_Email


######################
## The Status Specific Stuff
############################
{s1} Subst Completed = No
{s1 s3 s3 s3a s4 s5 s6 s7a s7b} Subst Completed = No
{s8a s8b s8c} Subst Completed = Yes

############################
### The System Specific Stuff
#############################

## CareAssist aka ADAP
{sy03} Options Subsystem = SpendDown, Reporting, ED!, Other
{sy03} Options Assigned To = Reginald Liggins, James Soult, 
{sy03 & s1} Preset Assigned To = James Soult
{sy03 & s1} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us, victor.j.fox@state.or.us, matthew.j.kimball@state.or.us, $user_email
{sy03 & s2} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s3} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s3a} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s4} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s5} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us, matthew.j.kimball@state.or.us 
{sy03 & s6} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s7a} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s7b} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s8a} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s8b} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us
{sy03 & s8c} Preset Notifications = reginald.liggins@state.or.us, james.soult@state.or.us,  victor.j.fox@state.or.us, matthew.j.kimball@state.or.us

## CAREWare
{sy04} Options Subsystem = Old, New, Other
{sy04} Options Assigned = Robin Peterson
{sy04} Preset Assigned To = Robin Peterson
Email System CareWare = robin.h.peterson@state.or.us, matthew.j.kimball@state.or.us, $user_email

## Cashfile
{sy05} Options Subsystem = Old, New, Other, Other
{sy05} Options Assigned To = Bob Winfield, Tony Sukonik, Robin Peterson
{sy05} Preset Assigned To = Robin Peterson
{sy05} Email System Cashfile = robin.h.peterson@state.or.us, john.mcadams@state.or.us, bob.e.winfield@state.or.us




#####################################################################################################
#####################################################################################################
  1448   Tue Oct 11 15:09:42 2005 Smile ScottKsnkgak@yahoo.comQuestionLinux2.6.0Re: elog fails to connect with "cannot get host name: Success" message

Stefan Ritt wrote:

ScottK wrote:
I can't seem to connect using elog:

elog -h <myhost>:8080 -v -l Servers -a "Type=Routine" -a "Author=ScottK" -m ~/test.txt



Maybe a

elog -h <myhost> -p 8080 -v -l .... ???


Oops - amazing when I read the syntax correctly -- it works! Thanks for taking the time to reply to a "dumb, RTFD" question, Stefan. Thank you for making a great program!

ScottK
  1447   Tue Oct 11 09:24:12 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux | Mac OSX2.6.0beta5Re: Cannot submit admin password while logbook is named in Chinese

Exaos Lee wrote:
Sorry for my poor English. The case is like this: When I set an admin password for my logbook which is named in Chinese, I cannot open the config page while the password is correct. It seems that the logbook named in Chinese cannot recieve the password submitted. If the logbook is named other than Chinese, everything is OK. I will repeat the problem and describe it more exactly.


A way around that problem would be to use user level access (via the Password file = ... and Admin user = ... settings). Can you try if that works under a Chinese logbook?
  1446   Mon Oct 10 19:33:05 2005 Reply Exaos LeeExaos.Lee@gmail.comBug reportLinux | Mac OSX2.6.0beta5Re: Cannot submit admin password while logbook is named in Chinese

Stefan Ritt wrote:

Exaos Lee wrote:
As the title.


There is no possibility to change an admin password. You probably mean that you logged in as admin and cannot change your own password, is that right? Do you use user level access via "password file = ..."? What is your elogd.cfg? I tried to switch language to German and I can change my own password via the config page.


Sorry for my poor English. The case is like this: When I set an admin password for my logbook which is named in Chinese, I cannot open the config page while the password is correct. It seems that the logbook named in Chinese cannot recieve the password submitted. If the logbook is named other than Chinese, everything is OK. I will repeat the problem and describe it more exactly.
  1445   Mon Oct 10 19:26:35 2005 Reply Exaos LeeExaos.Lee@gmail.comRequestAll2.6.0beta5Re: Some spell mistakes

Quote:
Ok, fixed in the current subversion repository. Better write such things by personal mail to me, since it might not interest the elog community very much.

Sorry. Wink I will mail you first next time.
  1444   Mon Oct 10 19:22:51 2005 Warning Exaos LeeExaos.Lee@gmail.comBug reportMac OSX2.6.0-betaInstall error on MacOS X
Executing "make" on MacOS X is OK, but "make install" failed due to the following error:
/usr/bin/install -m 0755 -d /usr/local/bin /usr/local/sbin /usr/local/man/man1/ /usr/local/man/man8/
/usr/bin/install -m 0755 -o bin -g bin elog elconv /usr/local/bin
install: bin: Invalid argument
make: *** [install] Error 67

The reason is that the account "bin" and group "bin" are missing on MacOS X. I also found that the following lines in "Makefile" doesn't work:
ifeq ($(OSTYPE),darwin)
CC = cc
endif

I have fixed this problem. The diff of Makefile as following:
diff Makefile.darwin Makefile.origin
====================================
24,25d23
< BINOWNER = bin
< BINGROUP = bin
30,31d27
< OSTYPE = $(shell uname)
<
40,43d35
< ifeq ($(OSTYPE),Darwin)
< OSTYPE=darwin
< endif
<
46,47d37
< BINOWNER = root
< BINGROUP = admin
89,90c79,80
<       $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elog elconv $(DESTDIR)
<       $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elogd $(SDESTDIR)
---
>       $(INSTALL) -m 0755 -o bin -g bin elog elconv $(DESTDIR)
>       $(INSTALL) -m 0755 -o bin -g bin elogd $(SDESTDIR)


The modified Makefiles have been attached.
Attachment 1: makefile_modified.tgz
ELOG V3.1.5-3fb85fa6