Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 482 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  2162   Tue Mar 13 17:27:49 2007 Entry Justin Ellisonjustin@techadvise.comRequest CurrentAddition of a "Restrict edit attribute" option?
It would be a nice addition to have a config file option named "Restrict edit attribute".

Basically, I would like to have an attribute that was either:

a) An Option Attribute named Status with options of "Open" or "Closed"
b) An Option Attribute named Closed that was boolean.

Then, we could leave the item as editable until either choice "a" above was set to closed or choice "b" was true, at which point only admins could edit the item.

Sound plausible?

Justin
  2167   Wed Mar 14 15:03:41 2007 Reply Justin Ellisonjustin@techadvise.comRequest CurrentRe: Addition of a "Restrict edit attribute" option?
Sorry, I didn't explain it enough.

This feature is like "Restrict edit time", but instead of setting an entire entry as read only after n hours, we set it read only if attribute y is true. Admin would be able to go in and reset that attribute to false to unlock the entry for editing, but no one else would be able to.

That make more sense?

Justin
  2169   Wed Mar 14 15:43:51 2007 Reply Justin Ellisonjustin@techadvise.comRequest CurrentRe: Addition of a "Restrict edit attribute" option?

Stefan Ritt wrote:

I understand what you want. The conditional attributes I showed you give you that functionality, except that unlocking is a bit painful for the admin (has to edit the config file each time). Sorry, but that's all I can give you.


Now I understand what you were getting at. Sorry for the confusion. That should work fine for us - unlocking is something that shouldn't ever happen.

Thanks for the quick response!

Justin
  803   Tue Nov 23 05:41:31 2004 Reply Neil Swartzjunkswartz@optonline.netInfoAll2.5.2Re: New ELOG version with XML and CSV import/export
> > I was able to find the export feature under find. Could you let me know where 
> > the import feature is? Or how I turn it on.
> 
> Oops, I frogot to document this, thank you for reminding me. You have to add the
> "CSV Import" command manually to the list of menu commands, like:
> 
> Find menu commands = New, Find, Select, Config, CSV Import, Help
> 
> I was wondering if I should make this as the default, but many people maybe do not
> have the demand of having CSV Import, so it might be annoying for them. What do
> you think?

I needed the export feature and could not find documentation on it in the latest 
version. I finally read the code and added Find Menu Text = <filename>
where filename had the tags XML, CSV1, and CSV2
This always exports all records. Shouldn't it just export the records appearing in 
the window?
Also, there is a CSV Import menu item, why isn't there CSV Export? Or just Export 
with radio buttons controlling the format.
(BTW, the XML export is not valid. Internet Explorer complains about the first line)

Great Software. Love it. Keep up the good work!
  811   Wed Nov 24 03:30:31 2004 Smile Neil Swartzjunkswartz@optonline.netInfoAll2.5.2Re: New ELOG version with XML and CSV import/export
> > I needed the export feature and could not find documentation on it in the latest 
> > version. I finally read the code and added Find Menu Text = <filename>
> > where filename had the tags XML, CSV1, and CSV2
> > This always exports all records. Shouldn't it just export the records appearing in 
> > the window?
> 
> Exporting workes as follows: Click on "Find", and switch the radio button to XML or CSV.
> If you click on "Search", you will be prompted where to save the resulting "export.xml"
> or "export.csv". I did this through the search page because you can then specify som
> filters, in order not to export all records.
> 
> > (BTW, the XML export is not valid. Internet Explorer complains about the first line)
> 
> The XML charset in the first line was missing. I fixed that, new version under CVS. Or
> you can manually change the first line to
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>

Thanks much!! I can't believe I missed seeing those options. Works great. (There is a 
danger to having the source code. You tend to read it instead of looking at the way the 
program works )

BTW,
Is there any way to turn off the Text column at the right side of the list?
  845   Sun Dec 12 17:46:39 2004 Question Neil Swartzjunkswartz@optonline.netBug reportWindows2.5.5-2Redirect to wrong hostname
I have a computer that has a different idea of its name from the DNS 
server. When I run ELOG and someone clicks "Search" I get a page not found.
I tried starting with "-n <hostname>", but elog still uses gethostname.
The example is that DNS says my machine is "abc.company.com" and netstat -
a says elog is listening on 8080 abc.personaldomain.com

Here is the code from elogd.c:

   /* get host name for mail notification */
   gethostname(host_name, sizeof(host_name));
   phe = gethostbyname(host_name);
   if (phe != NULL)
      phe = gethostbyaddr(phe->h_addr, sizeof(int), AF_INET);
   /* if domain name is not in host name, hope to get it from phe */
   if (strchr(host_name, '.') == NULL && phe != NULL)
      strcpy(host_name, phe->h_name);

I think you should be using tcp_hostname instead of gethostname if it is 
specified.
  868   Sat Jan 8 16:40:04 2005 Question Neil Swartzjunkswartz@optonline.netQuestionAll2.5.5Find using multiple values with MOptions
I have a logbook with an attribute that has a number of fixed values. I 
use MOptions to prevent typos when entering and allow multiple "keywords".
When searching the users can only search on one keyword.
Is there any way to search on multiple values (AAA|BBB|CCC)? If I do not 
use MOption, they can do this, but the users entering logs may mistype the 
keywords.
  869   Sat Jan 8 17:31:07 2005 Warning Neil Swartzjunkswartz@optonline.netBug reportAllv2.5.5-4MOptions and Extendable
If an attribute uses MOptions and is also extendable, clicking "Add 
<attribute name>" and entering a value adds the value to the MOptions, but 
does not put the value into the log entry. The log record has that 
attribute blank.
You have to go back into the record and edit it to put the new value in.
ELOG V3.1.5-3fb85fa6