ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
816
|
Wed Nov 24 18:59:45 2004 |
| Rich Persaud | dev2id@yahoo.com | Request | All | 2.5.4-6 | Re: Attribute Negative Search | > > Can "Display" links work with multiple options?
> >
> > "ABC | DEF" is currently one link.
> >
> > Ideally, it would be two links, each formatted per the "Display" string.
>
> I don't understand your qyestion. You have an attribute with MOptions, so you
> get "ABC | DEF" displayed in the list view. All links in each line point to
> the individual entry, so what is the benefit of having two links for ABC and DEF?
Display Subsystem = <a href="/LogBook1/?Subsystem=$Subsystem" style="color:
saddlebrown">$Subsystem</a>
ABC and DEF links would perform filter searches of a _different_ logbook.
Separate links would perform separate searches.
> > Is there a way to disable wildcard matching in searches?
> > A search for "1" returns "1" and "10" and "11".
> > Is there a way to perform an explict match?
> > Could there be a numeric match if the attribute type is numeric?
>
> That should all be possible with the build-in regular expression. Just type
>
> \b1\b
>
> where "\b" means "word boundary". I agree that a numerical comparison for
> numerical attributes would be better, I will put that on the to-do list.
Thanks, this is very helpful.
> > Could there be a multi-value option for free text fields, e.g. comma-
> > separated? This would allow multi-parent relationships between log items.
> >
> > E.g. specifying 12, 15 as a value would create unique Display links
> > for "12" and "15", based on the Display specification for that attribute.
> >
> > This would be like "multiple fixed options", for the purpose of formatting.
>
> Again, this is not clear to me. What do you mean by "display specification"?
> Is it the "List display = ..." option or the "Format attribute = ..." option?
> What is a "multi-parent relationship"? Why do you need multiple options for a
> free text field? Why can't you use the MOptions specification?
MOptions does not work because the options are not fixed. The options can be any
numeric ID for items in a related logbook.
Consider the case of two logbooks, where we wish to associate items in the second
logbook with more than one item in the first logbook. We could define separate
attributes for each "parent item", e.g. Parent1, Parent2, Parent3, then use a
"Display" spec to convert a numeric ID into a hyperlink to the first logbook's item.
The exact relationship is not important, could be parent/peer/child - some generic
relationship.
The benefit here would be the same as having separate links for MOptions attribute
values. |
817
|
Wed Nov 24 19:05:53 2004 |
| Rich Persaud | dev2id@yahoo.com | Bug report | All | 2.5.4-6 | Re: BUG: lost entry data | > > After THREE tries to enter a long detailed list of questions, all have been
> > replaced by just one: why do ELOG textareas and entry forms lose all data
> > if the browser goes back/forward? Or if a submission causes an error?
> > Other forms in other applications don't have this kind of data loss.
> >
> > Submitting this now before I lose it again. Will submit rest of questions
> > as separate entries.
>
> Really strange. I tried with Mozilla Firefox and IE 6.0 and none of them lost
> the entry data. What browser did you use? As far as I learned, data only
> vanishes on pages which have an HTTP header containing "Expires: ..." with a
> date in the past. But I made sure that the entry form does not contain this.
IE 6.0.
I am accessing an internal ELOG instance through an Apache reverse proxy on port
80, per the FAQ. Just tested without the proxy and there is no data loss problem
with back/forward.
When I access the ELOG forum, I am going through a forward proxy to the Internet,
which probably explains the data loss on error messages.
Will investigate proxy configuration regarding "Expires: " headers and post here
if I find a solution.
> Please refreain in the future from sending many small entries. People being
> registered with email notifications on the forum get flooded by notifications.
> In worst case, write your posting using an editor and do copy-and-paste into a
> single posting.
Sorry about that, will do. |
818
|
Thu Nov 25 08:42:07 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.5.4-6 | Re: Attribute Negative Search | > Display Subsystem = <a href="/LogBook1/?Subsystem=$Subsystem" style="color:
> saddlebrown">$Subsystem</a>
>
> ABC and DEF links would perform filter searches of a _different_ logbook.
>
> MOptions does not work because the options are not fixed. The options can be any
> numeric ID for items in a related logbook.
>
> Consider the case of two logbooks, where we wish to associate items in the second
> logbook with more than one item in the first logbook. We could define separate
> attributes for each "parent item", e.g. Parent1, Parent2, Parent3, then use a
> "Display" spec to convert a numeric ID into a hyperlink to the first logbook's item.
> The exact relationship is not important, could be parent/peer/child - some generic
> relationship.
>
> The benefit here would be the same as having separate links for MOptions attribute
> values.
Ah, now I'm getting your point. You want kind of relational database where a logbook
correspond to a table, using the entry ID as primary key. Well, elog was not designed
having that in mind, so its capabilities will always be very limited. A MySQL with
phpMyAdmin might be better for that.
But what you could do is to put manual links betweek logbooks. If you enter in an
attribute following text:
elog:Forum/816 elog:Forum/806
then you get two links to entries 806 and 816. Writing this is a bit more than just
"816 | 806", but it's less than writing directly an HTML link. |
822
|
Sun Dec 5 13:09:12 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Windows | 2.5.5-1 | Re: ELOG-Server crashes after date entry | 'Date' attributes can only be between 1970 and 2037, since I use internally the
unix time format. I added a test so future versions will complain and not crash
when the date is outside that range.
If you need dates before 1970, don't use the 'Date' format, simply use strings. |
831
|
Mon Dec 6 21:22:20 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2.5.5-2 | Re: external authentication possible? | > In order to avoid having to remember multiple usernames/passwords for
> different systems, is it possible for ELOG to use external authentication
> via Active Directory, etc?
Not yet. |
832
|
Mon Dec 6 21:48:19 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | All | 2.5.5-2 | Re: back button does not work | > hi
> the back button/liunk does not work
> if i click on an entry and then back, it does not work properly, i see the
> same entry
> if i click on the new button or the find button, and then back, it does
> not work properly
> mfg guenter
Thanks for reporting that bug, it has been fixed in the curreny CVS version. |
833
|
Mon Dec 6 22:48:19 2004 |
| Steve Jones | steve.jones@freescale.com | Info | All | 2.5.5-2 | Re: external authentication possible? | > > In order to avoid having to remember multiple usernames/passwords for
> > different systems, is it possible for ELOG to use external authentication
> > via Active Directory, etc?
>
> Not yet.
I would note that this is a request that comes in fairly frequently, but to
Stephan's credit (and looking back at previous comments) the task of trying to
implement authentication that would *not* be a maintenance nightmare basically
pushes such a request down to the bottom of the list.
The only common denominator that could possibly cover all contingencies would
be LDAP authentication. One way of doing this in a more-or-less universal
fashion is to offload the auth task from eLog itself and place the burden on
Apache. This means figuring out how to get Apache to pass auth info to eLog
when eLog operates behind Apache. In the end, anything that can use LDAP as an
authentication mechanism (like AD) can host eLog - as long as eLog can glom off
of Apache's ability to do the actual authenticating.
For our twiki (source from twiki.org) website, we use the following config:
-- In Apache http.conf
LoadModule auth_ldap_module libexec/auth_ldap.so
AddModule auth_ldap.c
AccessFileName .htaccess
# Twiki
Include /proj/www/twiki/conf/httpd.conf
-- The http.conf in the Twiki directory
<VirtualHost *>
DocumentRoot "/proj/www/twiki/html"
ServerName twiki
ErrorLog error_log
CustomLog access_log combined
<Directory "/proj/www/twiki/html/bin/">
Options +ExecCGI
allow from all
AllowOverride Authconfig FileInfo Indexes Limit Options
</Directory>
<Location /bin>
Options +ExecCGI
AuthType Basic
AuthName CoreID
CustomLog access_log combined
<Directory "/proj/www/twiki/html/bin/">
Options +ExecCGI
allow from all
AllowOverride Authconfig FileInfo Indexes Limit Options
</Directory>
<Location /bin>
Options +ExecCGI
AuthType Basic
AuthName ID
AuthLDAPURL
ldap://ldap.co.com:389/ou=People,ou=Intranet,dc=co,dc=com?uid?sub?(objectClass=*)
require valid-user
allow from all
<Limit OPTIONS>
Order Deny,Allow
Deny from all
</LIMIT>
</Location>
</VirtualHost>
--- Then the DocumentRoot ("/proj/www/twiki/html") has a '.htaccess' file with
the following:
RedirectPermenant / http://twiki.co.com/bin/view.cgi
--- Also in the /bin directory we have:
Redirect http://twiki.sps.mot.com/index.html http://twiki.sps.mot.com/bin/view.cgi
AuthType Basic
AuthName "LDAP Login"
AuthLDAPURL
ldap://ldap.co.com:389/ou=People,ou=Intranet,dc=co,dc=com?uid?sub?(objectClass=*)
SetHandler cgi-script
ErrorDocument 401 /bin/oops.cgi/TWiki/TWikiRegistration?template=oopsauth
<Files ~ "[^/]*\.html$">
SetHandler blabla
allow from all
</Files>
<Files "*">
require valid-user
allow from all
</Files>
-------------------------
Whether this is at all relevant, well . . . . |
838
|
Thu Dec 9 11:30:49 2004 |
| Guenter Nowak | Guenter.Nowqak@t-systems.at | Bug report | All | 2.5.5-2 | Re: back button does not work | > > hi
> > the back button/liunk does not work
> > if i click on an entry and then back, it does not work properly, i see the
> > same entry
> > if i click on the new button or the find button, and then back, it does
> > not work properly
> > mfg guenter
>
> Thanks for reporting that bug, it has been fixed in the curreny CVS version.
thanks |
|