ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67755
|
Mon Jan 19 17:17:32 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Request | All | - | Re: Configure default time range in 'Find' | Hi there, In the "Find" page, I changed the default of the "Show last" drop down box in the Entry Date section from the (unstated) "All time" to "Day", and added back in an "All Time" option at the very bottom. This gives a default of searching the last day, and one has to think and select the period of time to search back on.
I did this on my 2.9.2-2475 version, recompiled and it works. Two lines of code changed and even my cr*ppy coding was up to the task. I don't know if Stefan would want to put this into the Master copy (I'll forward the changes if you want Stefan, but it's pretty easy if I can do it), but if you can edit and recompile (Eoin) I can tell you which to lines for immediate functionality. Back up everything first, though!
Eoin Butler wrote: |
Yes, this works, but users inevitably forget to select "last week" or whatever, and just leave it blank, which means their search unintentionally takes a long time. It would be much better if one could configure it to default to something "fast".
Stefan Ritt wrote: |
Have you tried in the "Find" page to set a start date, or select "Show last: Month". This shoudl speed up searching quit a bit.
|
|
|
67756
|
Tue Jan 20 00:58:58 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Request | All | - | Re: Configure default time range in 'Find' | It has just occurred to me that you may also have to check the non-English files, (./resorces/eloglang_xxxx) as this change introduces a new term "All time" that would need translation into the other lexicons.
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
David.
David Pilgram wrote: |
Hi there, In the "Find" page, I changed the default of the "Show last" drop down box in the Entry Date section from the (unstated) "All time" to "Day", and added back in an "All Time" option at the very bottom. This gives a default of searching the last day, and one has to think and select the period of time to search back on.
I did this on my 2.9.2-2475 version, recompiled and it works. Two lines of code changed and even my cr*ppy coding was up to the task. I don't know if Stefan would want to put this into the Master copy (I'll forward the changes if you want Stefan, but it's pretty easy if I can do it), but if you can edit and recompile (Eoin) I can tell you which to lines for immediate functionality. Back up everything first, though!
Eoin Butler wrote: |
Yes, this works, but users inevitably forget to select "last week" or whatever, and just leave it blank, which means their search unintentionally takes a long time. It would be much better if one could configure it to default to something "fast".
Stefan Ritt wrote: |
Have you tried in the "Find" page to set a start date, or select "Show last: Month". This shoudl speed up searching quit a bit.
|
|
|
|
67762
|
Thu Jan 22 17:32:16 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Request | All | - | Re: Configure default time range in 'Find' | If my coding had been up to it, I would have done this and submitted... thanks Stefan.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
67803
|
Wed Feb 4 10:33:16 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Windows | 3.0.0 | Re: Permission on reply | Hi Banata,
If you only have a few people who can reply, then use
Allow reply = <user list>
and no need to produce a "Deny reply" list.
If most people are able to reply, but a few are *not* allowed to reply - bad behaviour or whatever - then the Deny reply list is more appropriate, and no need to generate an "Allow reply" userlist.
David.
Banata Wachid Ridwan wrote: |
so let say I just want to add certain members for replying logbook, so I just need to add parameter Allow reply = <user list>
and automatically all members not listed will be forbidden, am I correct?
I dont need to specify members for "Deny Reply" right ?
Stefan Ritt wrote: |
You can use the switches
Alloe reply = <user list>
Deny reply = <user list>
to give only certain uses the right to use that command.
/Stefan
Banata Wachid Ridwan wrote: |
is it possible to set reply only for certain member?
all members can submit lobook, but only certain member can make reply on it
thanx for help and so sorry if I have too many question :D
|
|
|
|
67812
|
Fri Feb 20 16:18:36 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | 2.7.1 | Re: maximum attributes for drop down menu. | Hi Rob,
I don't think the default number of 100 has ever changed. However, you can change the number in the source
code and recompile. This was discussed in elog:67674
I increased my maximum from 100 to 120 and recompiled. At some point, though, you'll overflow some stack or other, and maybe that's why you've got the limit of 250. You might also want to consider Andreas's alternative (which I am also thinking about).
rob wrote: | We use a servername field to be able to select a server.
When i entered my entire serverlist (574 entries), only 250 of them show up.
Looking at the online documentation about attributes, it is stated that there is a maximum of 100 entries.
With the version we are using (2.7.1) it seems the limit is 250
Can someone tell me if version 3 has the same limitation, or that the max has been increased?
Rob. |
|
67818
|
Sat Feb 28 14:08:43 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Windows | 2.9.2 | Re: Elog stability with multiple users | I grant that this may be a complete red herring, but your description below - not available and having to reboot -
might have another explanation. At least in Linux.
I have found that if you have a broken thread, and you try to access that thread, the daemon goes into an endless
loop and
I could not kill off the daemon by normal means, but had to reboot the computer. The daemon cannot cope with not
finding
an entry where one is referenced by a subsequent (or previous, I assume) entry.
A broken thread can occur if you move a thread with a large number of subsequent entries - more than say 50 (I
don't know
the precise number) from one log book to another. The copy part of the move works, but the deleting of the entries
in the
original log book is incomplete, leaving an orphan set of (later) entires. Access those, and it's time for a
reboot. Which makes
finding them a potentially tedius and multiple rebooting exercise. I know, because I've had to track a number in
my time.
Just a thought.
David.
> We have reduced entries for Search reasons by removing older text files and that seems to speed up things.
> However, a recurring problem persists during peak period where the service connection is lost (site says "Not
> found" on both client and directly on server), and it cannot be restarted or killed. Only a reboot of the 2010
> x64 virtual server will make it available again.
>
> Any further info or details I can provide please advise. Thank you Stefan. |
67823
|
Sun Mar 15 16:41:49 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Comment | All | - | Re: Configure default time range in 'Find' | Hi Stefan,
There's one pre-set value you forgot to include in this, which is the genuinely required "Show last all time". I archive many logbooks by years, and so for the year 2005 (say), searching by anything other than all time will always bring up zero results. And it gets annoying that the default default is "Day", the number of times I've forgotten...
I got around this by allowing a "Show last default = 0", modifying the relevent line in the block of code you modified when this was introduced to make this select "i==0", and that did the trick.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
67824
|
Sun Mar 15 17:53:44 2015 |
| David Pilgram | David.Pilgram@epost.org.uk | Comment | All | - | Re: Configure default time range in 'Find' | Law of unintended consequences came into play. If you use 0, then on the results page it says "Restricted search to last 0 Days". So that also needs tweeking, and that's really put my c coding (or lack of it) to the test. But I've changed that phrase to "Unrestricted search" followed by blank for when the parameter "last" is 0.
Oh, and a typo, "seach" instead of "search".
No doubt other features will show up...
David Pilgram wrote: |
Hi Stefan,
There's one pre-set value you forgot to include in this, which is the genuinely required "Show last all time". I archive many logbooks by years, and so for the year 2005 (say), searching by anything other than all time will always bring up zero results. And it gets annoying that the default default is "Day", the number of times I've forgotten...
I got around this by allowing a "Show last default = 0", modifying the relevent line in the block of code you modified when this was introduced to make this select "i==0", and that did the trick.
Stefan Ritt wrote: |
I added a new optoin "Show last default = <days>", where one can pre-set the "Show last" drop-down box. I think this is a good idea, so now people can configure their elog to a certain default in this parameter. Of course all settings in the Find page are AND'ed together, so if one restricts the search to tha last week, but then looks for a date more in the past, the result will be zero by definition. The change is in the GIT repository. If you cannot recompile the code yourself, you have to wait for the next release.
David Pilgram wrote: |
By the way, in further testing, the "Show last" selection over-rides whatever two dates are selected, so if you ask for any entry in Dec 2014, but the "Show last" selects "week", nothing is found - very quickly. I trust that is what you're after, Eoin. I'll keep my change to the coding, but that's personal choice.
|
|
|
|
|