Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 774 of 808  Not logged in ELOG logo
    icon2.gif   Re: prevent CVS and XML exports, posted by Emiliano Gabrielli on Mon Jun 20 09:56:28 2005 

Stefan Ritt wrote:

Paul Paquette wrote:
Hello All and Happy Father's Day,

How do I prevent Anonymous Users from exporting the Data when using the search funtion?

Thank You

Paul


By not allowing anonymous access at all. The CVS and XML exports do not contain more information than anonymous users can see on the web page, so there is no reason to prevent it. Anybody could view all pages anonymously (if guest access is allowed) and reconstruct the CVS data easily.


You are obviously talking about CSV (Comma Separated Values), and not CVS (Cuncurrent Verioning System).. Smile
    icon1.gif   Re: Menu text ignored??, posted by Emiliano Gabrielli on Mon Jun 20 09:59:10 2005 

Stefan Ritt wrote:

Well, maybe I should allow both options "Find menu text" and "List menu text", change it in the documentation, and in a year from now remove the "Find menu text".


It's a great way to solve the misunderstanding IMHO, tnx Wink
icon4.gif   [BUG] show only new entries, posted by Emiliano Gabrielli on Wed Jun 22 11:04:41 2005 
the new link "show only new entries" is very useful but seems to still have some problems:

  • I can't find any simple way to return to the "every entries" display .. may be the link has to be switched to a checkbox to be actived or not
  • I found a way (at least)... following the "config" link, doing nothing and coming back restores the view .. this is a feature now, but when a less tricky mechanism will be implemented will become a bug Tongue


another entry for my wishlist:
writeing the above code I noticed that the elcode buttons are lacking of a "
  • " shortcut .. it will be very usefull Smile

    PS:
    Writeing the wish above I noticed that the [ *] is interpreted as an item also otside the LIST tag .. so .. or the LIST tag is optional, or the [ *] should not be interpreted outside of it ... it's another bug ? TongueP
  • icon4.gif   [BUG] quick filter, posted by Emiliano Gabrielli on Thu Jun 23 11:03:18 2005 elog-calendar-test_1.jpg
    it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

    see the snapshot attached
        icon4.gif   Re: [BUG] show only new entries, posted by Emiliano Gabrielli on Mon Jun 27 15:09:12 2005 

    Stefan Ritt wrote:

    Emiliano Gabrielli wrote:
    the new link "show only new entries" is very useful but seems to still have some problems:

    • I can't find any simple way to return to the "every entries" display .. may be the link has to be switched to a checkbox to be actived or not
    • I found a way (at least)... following the "config" link, doing nothing and coming back restores the view .. this is a feature now, but when a less tricky mechanism will be implemented will become a bug Tongue


    I added a "Show all entries" link to go back.

    I think you only committed the changes to elcode.js but not the ones relative to elogd.c ... the Attribute quick filter is now empty, and no "show all entries" is ever displayed
        icon2.gif   Re: [BUG] quick filter, posted by Emiliano Gabrielli on Mon Jun 27 15:16:37 2005 

    Stefan Ritt wrote:

    Emiliano Gabrielli wrote:
    it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

    see the snapshot attached


    Fixed in current CVS.

    BTW, I would display the date selection calender in a new floating window, not to take away all the precious screen space at the top. Then I would use the same calendar as for the date attributes, not to confuse users with two different styles.


    Are you sure you really committed it ? Smile
    Reguarding the calendar... the picture is just one of my tests .. I started using a popup window, but it makes complicated to do all the job I want.. so my current idea is to implemnet it a a dropdown layer, it will save both the precious space and the functionality..
    I don't use the existing style becouse of, in the first popup try, it was to simple .. now I can't use it directly becouse I don't need any popup anymore.. but ok, we can keep the same style of course Smile
        icon2.gif   Re: [BUG] quick filter, posted by Emiliano Gabrielli on Mon Jun 27 15:19:05 2005 

    Emiliano Gabrielli wrote:

    Stefan Ritt wrote:

    Emiliano Gabrielli wrote:
    it seems that the select box of quick filters are showing also the "{n}" appended to the Attributes in order to obtain conditional Attributes ...

    see the snapshot attached


    Fixed in current CVS.

    BTW, I would display the date selection calender in a new floating window, not to take away all the precious screen space at the top. Then I would use the same calendar as for the date attributes, not to confuse users with two different styles.


    uhm... now the drop down menu is composed of only blancs ..

    Reguarding the calendar... the picture is just one of my tests .. I started using a popup window, but it makes complicated to do all the job I want.. so my current idea is to implemnet it a a dropdown layer, it will save both the precious space and the functionality..
    I don't use the existing style becouse of, in the first popup try, it was to simple .. now I can't use it directly becouse I don't need any popup anymore.. but ok, we can keep the same style of course Smile
        icon14.gif   Re: [BUG] quick filter, posted by Emiliano Gabrielli on Mon Jun 27 15:37:25 2005 

    Emiliano Gabrielli wrote:

    Stefan Ritt wrote:


    Fixed in current CVS.


    uhm... now the drop down menu is composed of only blancs ..


    the following patch should solve the problem Wink
    --- src/elogd.c 24 Jun 2005 20:22:33 -0000      1.685
    +++ src/elogd.c 27 Jun 2005 13:34:05 -0000
    @@ -15853,7 +15853,7 @@
                          if (comment[0] == 0)
                             strcpy(comment, attr_options[i][j]);
    
    -                     for (i1=i2=0 ; i1<=(int)comment ; i1++) {
    +                     for (i1=i2=0 ; i1<=(int)strlen(comment) ; i1++) {
                             if (comment[i1] == '(') {
                                option[i2++] = '\\';
                                option[i2++] = '(';
    
    ELOG V3.1.5-3fb85fa6