Bug Found, posted by nickc1 on Mon Jun 16 17:44:49 2003
|
Ive just been alerted to a bug with email notifications in Elog.
Basically if your log book contains a space then the URL that is sent in
emails when creating tickets or updating old entries doesnt put %20 (IEs
space) inthe URL it leaves a space hense breaking the link.
for example
Correct Way prior to 2.3.8
http://192.168.0.1:99/Provisioning%20Request/35
Broken way with new version
http://192.168.0.1:99/Provisioning Request/35
^
Link is broken at this point
My config looks like this
Email Status Assigned = $Owner@abc.co.uk
Email Status Re-Assigned = $Owner@abc.co.uk
Email Status Completed = $Requester@abc.co.uk
Email "Send Update Email" Yes = $Requester@abc.co.uk
Use Email Subject = A Provisioning Ticket has been assigned to you or
completed
Use Email From = NetworkTeam@abc.co.uk |
logboog for new project, posted by Etienne Van Caillie on Wed Jun 18 14:50:23 2003
|
we develop some improvement to elog and modify the C source
to adapt some internal improvement.
1. shellonsubmit command : give the possibility to execute external program
from elog by sending specific parameter (user/logbook/message ID)
2. elog log file in xml format : give a better view on what happens with
users see attachments easy to push the files to excel or sql database.
3. synchronisation to mySql or SQL server through perl routine and the
shellonsubmit command
this will push any new/edit/delete command in sql server so we keep a full
historic off all transaction in ELOG
4. sms gateway : from elog entry we send sms message throught internet
gateway (perl routine)
If somebody has good experience in C and Perl I suggest to contact me to
improve this wonderfull product
Thank Stephan
other projet :
we use a logbook from our external phone call
from our telephone connected to RS232 and/or TAPI interface we keep the
phone number and try to find the name from sql server : if found
we want to push an automatic entry in elog and fill specific field like
name/contact/last phone call....
I will ask to Stephan Ritt what's the best way to include our routine in
his standard source ?
could we create a specific logbook for the wishlist
in elog/contribution may be some parameters for the actual status of the
project ?
SQL :
for our sql link we have a probleme as elog re use id when deleted
we must generate an unique ID for each elog CREATE
and a version# field automaticly incremented after each update.
This must be implemented in ELOG source. |
Re: runtime error under Mac OS X 10.2, posted by Recai Oktas on Mon Jun 30 02:41:33 2003
|
Seems a stack problem. I don't have an OS X box to validate my guess. I've
made a Google search with the keywords: EXC_BAD_ACCESS stack "os x"
Perhaps the following reply [1] might help...
How big are they? You're probably running into the default stack size
limit, which is 512 KB. Try `unlimit stacksize` in your shell before
running, which will give you 65536 KB per stack.
[1] http://zerowing.idsoftware.com/archives/gtkrad-macos/2003-January/000453.html |
elog2sql - a script to convert elog logbooks to a MySQL database, posted by Fred Hooper on Thu Jul 3 07:25:49 2003
|
Announcing: elog2sql
elog2sql was created to help translate logbooks created by the program
``elog'' from the native elog flat file format to a MySQL database. I had a
need to have the elog data in a database, and it appears from the forum that
several others had a similar need.
I created a set of perl scripts that will allow the translation of elog
logbooks into a MySQL database. The design and implementation of these
scripts are a simple one, and allow the one-time copying of a set of logbooks.
The elog2sql toolkit consists of two scripts. The first script, parsecfg.pl,
reads a elogd.cfg, and creates a sql file that will create a set of db
tables corresponding to elog logbooks. The second script, parselog.pl, takes
a set of elog logfiles, and creates a sql file that will enter the logbook
data into the database. The result is a copy of the elog logbook that can
used as desired inside the framework of MySQL. Attachments are handled by
inserting an entry of the attachment name into an seperate attachment table.
This allows multiple attachments per entry.
You can download the elog2sql program archive at
http://www.davidfannin.com/elog2sql/elog2sql.tar.gz . It contains the
scripts and basic documentation. You can read the man page at
http://www.davidfannin.com/elog2sql/index.html
email for questions or comments. |
Currently being edited option has gone, posted by nickc1 on Thu Jul 10 10:11:41 2003
|
In the current source which ive compiled and am using on our elog system,
the feature that you put in for me that says "Entry is currently being
edited by Joe Bloggs on 192.168.0.10" has vanished.
It removes existing locks from before updating the binary but doesnt but
new ones on.
Is this something that was removed intentionally or by accident ?
Thanks |
Account expiration, posted by eric wooten on Wed Jul 30 08:13:56 2003
|
I know there's an item on the wishlist for password expiration, so how
about account expiration..?? (after so many days of inactivity).
One complaint that comes from management is that when a user leaves the
agency, the elog account seems to never get deleted. There way of asking
me, why I never keep up with the user account deletions. Ha Ha, like I
have time to constantly compare the user list from elog to the user list of
other systems.
Another plea on my part, for Elog to allow for authentication via external
database - such as LDAP, so we wouldn't have to maintain another user
database.
Thanks,
Eric |
Re: speed is very slow if logbook contains many entries, posted by Etienne Van Caillie on Mon Nov 24 10:25:10 2003
|
> I implemented the new scheme where
>
> - under Windows, the configuration is only checked once every access
>
> - under Unix, the configuration is read initially, and on every -HUP signal
>
> This should speed up the server considerably. The next bottleneck is the
> rsputs2() function, which requires quite some computing power in order to find
> any "http://", "//", etc. strings in every output. If anybody knows a
> more clever way of coding that, please let me know.
>
> The new version is under CVS.
may be use the logic in the 'format' attribute
like 'email', http, ftp
so elog will test only on these attributes |
Javascript for Bookmark Link for one-click submission to elog, posted by Fred Hooper on Sat Jan 31 09:33:35 2004
|
I have created a javascript to be used as a browser link that allows a one
step cut and paste from a web browser into a elog logbook.
The intended application is allow a user to do a text selection in a web
browser, then click on a bookmark that automagically pastes the selected
text, the current browser page url, and the current browser page title into
a pre-defined elog logbook. I do some research where I would like to save
some text from a webpage, but also have a record of where the webpage came
from. However, you should find that you can extend this script in a varity
of ways for your own application.
The script is a simple one: it uses javascript in a saved bookmark to get
your selected text, title, and url, and then creates a new browser window
with a elog form, and print the document variables into the form, and then
submits the form to elog. The key advantage to this approach is that you
can use the "post" command, rather than "get", to submit to the text section
of an elog logbook. The only way I found now to submit to elog via a
bookmark is using the "get" command, and it doesn't allow entry of the
"text" field, only attribute fields.
The second major advantage to using POST is that you can submit a much large
quanity of information ; However, some checking on this leads me to believe
that the limit is browser and server depended, so YMMV. However, a great
discussion on the limits of browsers can be found here:
http://www.squarefree.com/bookmarklets/browsers.html .
One of the major limits is that IE6.0 browsers have a maxium of 508 bytes
per bookmark - This book runs over 800 bytes, so I suspect tha IE6+ will not
allow it. I tested the link with Mozilla and Firebird 0.7.
This script will need to edited for you to use with your elog logbook.
The script should be fairly self-explainitory, if you are used to html forms
and have some exposure to javascript.
You will need to modifiy the following fields:
1) in form action = http://<your_domain.com>/elog/<logbook>/?cmd=New
change the link to point to your specific logbook to be used for entry.
2) the attribute fields need match up with the ones in your logbook.
The ones listed in the template are Author, Email, Title, and URL.
If you have fixed fields (like Author and Email), then you can
predefine these fields as shown.
I have the page title used as the entry for Title, and the page url is
use as the URL attribute.
Finally, I have the text selection used as the entry for the Text field.
You can add additional fields by creating a new <input ...> segment
in the script. For those more clever than me, you can concatinate the
title, url and selection to paste into the Text area as well.
3) once you have a edited version of the script (make sure you keep it as a
single line), you can then create a new bookmark in your browser, and then
paste the script into the properties->location field (for Mozilla/Firebird)
or the properites->url field (IE). Give it a good name like "post to elog"
4) once saved, you can then go a web page, select some text, and then go to
your bookmarks and click on the bookmark. It should then create a new
window in elog with a completed logbook entry.
some notes:
1) again, this may not work on IE6+ browsers due to M$ limitations.
2) You may have to be logged in already to elog for this work - I have not
tested the interaction using a password protected elog
3) You can only post to a single elog logbook - You'll need to have multiple
bookmarks for multiple logbooks.
|
|