ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68534
|
Fri Jan 6 11:05:18 2017 |
| Xuan Wu | wux@ihep.ac.cn | Question | Linux | 3.1.2 | Re: How to make two attributes reacting with each other | So, as far as I know that ROptions and IOptions doesn't support conditional attributes.
I think what you suggest is a nice idea. An alternative way is putting Category attribute before Icon attribute and adding a tooltip to Icon attribute. However, I think your advice is better. Thanks!
Cheers
Xuan
Andreas Luedeke wrote: |
IOptions does not support conditional attributes.
I think the proper solution would be to remove the icon selection field from the input form:
Show Attributes Edit = Author, Author Email, Category, System, Subject
The user would then only be able to edit the Category, the Icon would always be set accordingly. I would think that this would be the appropriate behaviour.
Cheers, Andreas
Xuan Wu wrote: |
What I mean is that, when I select a catagory, the icon will change. If I change the icon, I need the catagory change too.
Stefan Ritt wrote: |
If you select a (different) category, the current icon setting simply gets overwritten, what ever it was before.
Xuan Wu wrote: |
Sorry for my carelessness. What you said is definitely right. I just wonder how can Icon and Catagory change simultaneously whatever which one be selected first.
Stefan Ritt wrote: |
The example I gave you worked for me, I actually tested it. Please note that it contains
Options Category = ...
and not
ROptions Category = ...
Stefan
Xuan Wu wrote: |
Thanks for your quick reply! I just test what you suggested, even I test {1} Preset on edit Icon = icon1.gif, they both didn't work.
Stefan Ritt wrote: |
You can do that with conditional attributes (see documentation):
Attributes = Author, Author Email, Icon, Category, System, Subject
Options Category = Shift Summary{1}, Report{2}, Reply{3}, Fault{4}, Issue{5}, Resolved{6}, Maintenance{7}
IOptions Icon = icon1.gif, elc_list.png, icon3.gif, icon8.gif, icon4.gif, icon14.gif, elc_anchor.png
{1} Preset Icon = icon1.gif
{2} Preset Icon = elc_list.png
{3} Preset Icon = icon3.gif
{4} Preset Icon = icon8.gif
{5} Preset Icon = icon4.gif
{6} Preset Icon = icon14.gif
{7} Preset Icon = elc_anchor.gif
Icon comment icon1.gif = Shift Summary
Icon comment icon3.gif = Reply
Icon comment icon4.gif = Issue
Icon comment icon8.gif = Fault
Icon comment icon14.gif = Resolved
Icon comment elc_list.png = Report
Icon comment elc_anchor.png = Maintenance
Xuan Wu wrote: |
Hi all,
I have two attributes defined like following
Attributes = Author, Author Email, Icon, Category, System, Subject
ROptions Category = Shift Summary, Report, Reply, Fault, Issue, Resolved, Maintenance
IOptions Icon = icon1.gif, elc_list.png, icon3.gif, icon8.gif, icon4.gif, icon14.gif, elc_anchor.png
Icon comment icon1.gif = Shift Summary
Icon comment icon3.gif = Reply
Icon comment icon4.gif = Issue
Icon comment icon8.gif = Fault
Icon comment icon14.gif = Resolved
Icon comment elc_list.png = Report
Icon comment elc_anchor.png = Maintenance
When the Shift Summary category being selected, I wish the icon1.gif Icon being selected automaticlly, as well as when icon8.gif being selected, Fault category be selected. How can I get this? Any advice or suggestions will be appreciated.
Cheers,
Xuan
|
|
|
|
|
|
|
|
|
68535
|
Sun Jan 8 19:26:29 2017 |
| Alex Kühnel | alexander.kuehnel@gmail.com | Question | Linux | 3.1.2 | Is it possible to add custom menu commands | hi forum,
my question, is it possible to add a custom menu entry (f.e. "Auswertung"). I will start a new php page and do some system code starting from the new page. I have attached a pic of my "Bereitschaftsdoku".
I have a filter for the week (KW1 2017). With this filer i display all my jobs for this week. At the end I have to count all minutes for class 583 (Tagesstunden) and class 586 (Sonn und Feiertage) and display the results.
regards
/alex |
Attachment 1: bereitschaft.PNG
|
|
68760
|
Tue Mar 6 18:01:30 2018 |
| Piotr Zolnierczuk | zolnie@yahoo.com | Question | Linux | 3.1.3 | Re: how to insert images inline | Got it to work. Removed "Preview attachments = 1" from the global section.
Thanks for your help.
Piotr
Piotr Zolnierczuk wrote: |
I did just that. The image was properly send to the server (it appears in the attachement list). However clicking OK still produces "Image source URL is missing".
What is the URL that refers to an attachment? I've tried 68759/<1> and 68759/1 and even elog:1234/<1> (where 1234).
Stefan Ritt wrote: |
Before you click OK on your point 4, click on "Send to Server".
Stefan
Piotr Zolnierczuk wrote: |
Hi,
I recently upgraded elog from 2.7 to 3.1 and have a hard time to insert images inline. The attachements work just fine. I am certain it is something silly, but I cannot figure it out.
- In edit mode, I click the image icon
- A pop-up "Image Propertied" shows with two tabs "Image Info" and "Upload" (selected)
- Click on Browse button and select an image
- Now
- if I click OK, I get an error "Image source URL is missing".
- if I go to "Image Info" tab - what URL am I supposed to enter, 68757/<1> ?
I found an old thread elog:68410 (from 2016) but could not find a solution that would work for me. Where does "Preview attachments" option should be inserted? In the global section?
Hopefully there's a simple explanation for this
Piotr
|
|
|
|
68785
|
Sun Apr 15 08:03:21 2018 |
| Michael Kelsey | kelsey@slac.stanford.edu | Bug report | Mac OSX | 3.1.3 | Re: "Slow script" problem posting/editing from Safari -- browser hangs, times out | Thank you for your suggestion, Stefan! The sysadmin who handles our e-Log server implemented your suggestion earlier today (Saturday). I have been able to successfully create and modify e-Log entries with Safari since then. Since the "slow script" issue has been intermittent in the past, I plan to continue testing and monitoring for the next day or so. Nevertheless, it appears that removing the waiting loop has alleviated my problem.
-- Mike Kelsey
Followup Sunday 15 Apr (U.S. Pacifiic time): I think your suggestion has solved my problem. I've been able to create and modify e-Log entries through our server multiple times over the weekend. There have been no hangs, timeouts, or lost content. Thank you very much for your response!
Stefan Ritt wrote: |
I'm not 100% sure, but I believe it should work without the
while (in_asend);
So can you please remove that line (it's in src/elogd.c) and recompile elogd and test it?
Stefan
Michael Hibbard wrote: |
I dont' have a solution, but I just wanted to bring more attention to your post. I too am having the same issue with the ELOG system and the Safari browser. I have noticed that ELOG is most stabel and function on the client end from the IE browser. A few weeks ago I also had to switch from using ELOG on the client end from Safari to Firefox.
Michael Kelsey wrote: |
Hello! The CDMS collaboration is using e-Log as one of it's issue tracking systems. In the last few months, I have noticed a problem when either creating or editing entries from my usual Safari browser (currently 11.1 on MacOSX 10.13.4): The [Submit] button triggers a spinning beach ball, with no connection to our e-Log server, and after several minutes, Safari complains the the page had to be reloaded, discarding all of my edits, uploads, whatever. This used to be occasional, but in the past month it has become routine, such that the only way I can edit or create entries is by launching a different browser entirely (Firefox), just for e-Log editing.
Now, I am also seeing the same problems with Firefox, but at the "occasional" level. The difference is that Firefox produces some diagnostic information, which is why I'm posting here. When the browser hangs, after a short while Firefox produces a "Warning: unresponsive script" drop-down box:
Warning: unresponsive script
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
Script: http://titus.stanford.edu/cdms…/SuperSim/681?cmd=Edit&steal=1:30
[] Don't ask me again
[Debug script] [Stop script] [Continue]
If I use the [Debug script] button, the call stack shows "onclick 681:1" -> "chkform 681:30", and the line-by-line traceback shows the chkform function:
16 var in_asend = false;
17
18 function chkform()
19 {
20 if (last_key == 13) {
21 var ret = confirm('Really submit this entry?');
22 if (!ret) {
23 last_key = 0;
24 return false;
25 }
26 }
27
28 if (autoSaveTimer != null)
29 clearTimeout(autoSaveTimer);
30 while (in_asend); <=== This is the stuck line
31 submitted = true;
32 return true;
33 }
I presume that in_asend is supposed to get changed from false to true asynchronously, by some other parallel communication with the server. But that doesn't seem to be happening.
Does this look like an issue with the e-Log distribution? Or is there a configuration issue with our e-Log server which we could improve?
|
|
|
|
68790
|
Wed Apr 18 13:18:07 2018 |
| Stefan Werler | stefan.werler@ah-senden.de | Comment | Windows | 3.1.1 | Re: Email Config | many thanks
Stefan Ritt wrote: |
SMTP host = ...
as written in the documentation!
Automatic email after expiration is not possible.
Stefan Werler wrote: |
Hi,
I´m new in ELOG,
Can u explain me how i config the Mailing?
in my Configuration i do have not the ability to set an Email Host/Server. or i didn´t find it....
I have to use ELOG as ticket system, is it possible to send an email automatically after expiration of a period?
|
|
|
68798
|
Tue May 8 16:17:28 2018 |
| Joseph McKenna | joseph.mckenna@cern.ch | Bug report | Linux | 2.9.2 | Re: Elog ID entry bug at >99999 entries | Thank you all for your kind responses. Please consider this thread resolved: no bug in elog
Chris Rasmussen wrote: |
ah yes, that was a helpful clue. Our elogd.cfg file led me to a .js file which redefines the ID to the elog:SequencerEvents/XXXXX format and it indeed had a silly hard coded length of that string.
Since I am pretty sure this is our code, I think it is safe to say that this is not a bug in the elog
Andreas Luedeke wrote: |
Well, in my example the ID link worked just fine.
There could be a string length limitation, but it could be as well the way you are creating the ID that is the source of the problem: I would need the part of your elogd.cfg that defines how you format your ID in order to try to reproduce your problem.
Cheers, Andreas
Chris Rasmussen wrote: |
Hi Andreas, I'm working on the same experiment as Joseph who submitted the bug report.
You are right, IDs greater than 10^5 are created no problem. The issue is with the internal elog link, in this case of the form elog:SequencerEvents/XXXXX The link generated uses only the first 5 digits of the message ID, and therefore links to the wrong message. In the two attachments you can see our sequencer event number 100098, first displaying the message where all of the ID is displayed and secondly in "full" view of the elog front page. Here, the "ID" column contains a link with the string: elog:SequencerEvents/10009. Our problem is that we often use this string to paste into other elogs and generate a link to the sequencer event message. However, since the string uses too few digits, we end up with a link to the wrong message
Andreas Luedeke wrote: |
I am not sure I understand your bug report.
I can easily create IDs greater than 100'000 (see attached picture), but that is not your problem, or is it?
Cheers, Andreas
Joseph McKenna wrote: |
We have a possible bug with elog that the ID for an elog entry at over 99,999 entires reads as 10,000...
68792/1 Illistrates the problem, we use this ID often to cross reference from out datalog...
Is this a know bug we can find a fix for? We are using: elogd 2.9.2 built Jul 14 2015, 18:58:06 revision
|
|
|
|
|
|
68853
|
Fri Oct 26 16:46:52 2018 |
| Grant Jeffcote | grant@jeffcote.org | Bug report | Linux | V3.1.3-7933898 | Re: How many "Extendable options" can I add? | David,
Try
Extendable options = Require Model, Require Lens, Require Other,
Regards
Grant
Devrim Esenturk wrote: |
Hi
I am trying to add "Extendable options" for some attribute as below example. However button to add new item for list appears only for the first "Extendable options", if disable the first with (;), button appears for the second. It means elog add new item button only the first line "Extendable options" not for other?
Is this a limitation or bug or am I doing something wrong?
Options Require = N/A, Camera{1}, Lens{2}, Other{3}
{1} MOptions Require Model= XNB-6001, PNM-7000VD, PNM-9000VQ, PNM-9320VQ
{2} MOptions Require Lens = SLA-T2480, SLA-T2480V, SLA-T4680, SLA-T4680V, SLA-T1080F, SLA-2M2400P, SLA-2M2800P, SLA-2M3600P, SLA-2M6000P, SLA-2M1200P, SLA-5M3700P, SLA-5M4600P, SLA-5M7000P, SLA-2M2400Q, SLA-2M2800Q, SLA-2M3600Q, SLA-2M6000Q, SLA-5M3700Q, SLA-5M4600Q, SLA-5M7000Q, SLA-2M2400D, SLA-2M2800D, SLA-2M3600D, SLA-2M6000D
{3} MOptions Require Other = Base Unit
Extendable options = Require Model
Extendable options = Require Lens
Extendable options = Require Other
Thank you
Devrim
|
|
68926
|
Thu Apr 4 20:30:29 2019 |
| John | secondcomingtechnologies@fastmail.com | Question | Linux | 3.13 | Re: How to edit Elog landing pages. | Wow Stefan thanks for your kind reply. This gives me a reason to finally pickup JavaScript, which I am finding both easy and fun, esepcially with all the modules/coding out there already, which makes things easier to do while learning it! I will let you know as I progress on my 'top secret' hack of your masterpiece ;)
Stefan Ritt wrote: |
Per default, all pages are created dynamically by elogd directly from its C code. So nothing to change easily except hacking the code. There is one exception which is the start page you found already. To change any other page, you have to modify the C code. There is one more (dirty) trick: You can sneak in JavaScript code on every page via the "bottom text" option. This code can then modify the DOM tree and changes pages, but you need to program this in JavaScript.
Stefan
John wrote: |
Well I answered part of my own question already.. I can have a start page different from what is default, and I can edit the orginal one by simply copying it and modifiying it to my hearts desire. I still have isues after making menu selections from that page tho, when the program (server) takes me to a site called for example: ../forum/index.html?cmd=Config. I cannot find out how to prevent or modify this behaviour. I am supposing tho, that because I am using my own original index.html (start page), that the program is not modifying it (on the fly), like it does with the oringal web pages? I am also still currious if the program does indeed create/modify pages on the fly, and if it does, where does it store them on my hard drive (or is it only put in memory temporaly?). Thanx again :)
John wrote: |
Hi and thanx for such a wonderful program! I was wondering how I might edit, change or add to the landing pages. In other words the first pages that show up (or any for that matter) when you login to a book. I can view the code ok in my browser using that function, but when I search for the actual page and it's locale, I cannot find it. Is it created on the fly by the server? If so, how can I change them.. as I want to add for instance javascripts to manipulate the pages and data more, without actually loosing the main essence of the program (log books). Thanx
|
|
|
|
|