Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 386 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  566   Wed Jun 30 14:59:06 2004 Question Ralph Kuehnr.e.kuehn@larc.nasa.govQuestionWindowsv2.5.3Re: Only show log entries for logged-in user
One way would be to create a seperate logbook for each student including the
teacher. It should then be fairly simple to set up the permissions however you
would like. For a large class it might be a bit cumbersome to set it up this way.
 
Ralph Kuehn

> Hi,
> 
> Is it possible to restrict the display of logbook entries to the entries 
> created by the currently logged-in user?
> 
> I'm thinking of using the ELOG system in a school laboratory environment: 
> students must write entries in the logbook about their excersises, but I 
> would like that students can not "see" what other students have written. To 
> make it even more complicated, I would like that students can see their own 
> entries and the teacher entries.....
> 
> Is something like this possible?
> 
> Thanks in advance
> Bartjan Wattel
> the Netherlands
  572   Wed Jul 7 16:43:52 2004 Reply Stefan Rittstefan.ritt@psi.chQuestionWindowsv2.5.3Re: Only show log entries for logged-in user
> For a large class it might be a bit cumbersome to set it up this way.

What you can do is put most of the configuration options into the [global] section,
such as

[global]
Attributes = ...
Password file = ...
...
Admin user = teacher

[John]
Login user = john
[Joe]
Login user = joe
[Fred]
Login user = fred

In this case, each logbook only requires two lines, while all the other options are
inherited from the [global] section. The "login user" restricts logins only to a
single student, which the teachis has admin rights for all logbooks. The teacher can
reply to individual students by writing into their "personal" logbook, or he can set
up a dedicated teacher logbook which everybody can read (Just omit the 'login user').
  1282   Wed Jul 20 20:54:01 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.9-2Re: Omitting some fields in e-mail
> E.g, if you have the following:
> Attributes = TA, Endret, UA, Pri, Status, Oppdragsgiver, EpostTil, EpostIKT, Tittel
> 
> Then you get the heading:
> Logbook             : 
> TA                  : 
> Endret              : 
> UA                  : 
> Pri                 : 
> Status              : 
> Oppdragsgiver       : 
> EpostTil            : 
> EpostIKT            : 
> Tittel              : 
> 
> (removed the attribute data),
> 
> But I would like to send out only:
> UA                  : 
> Pri                 : 
> Status              : 
> Oppdragsgiver       : 
> EpostTil            : 
> Tittel              : 
> 
> Any way to do this in the current version?
> 
> And perhaps change the order too... I'm asking for much perhaps?

I added the option "Email attributes = <list>" for that. So you can specify

Email attributes = UA, Pri, Status, Oppdragsgiver, EpostTil, Tittel

which also sets the order of the attributes. The cange is in CVS.
  1284   Wed Jul 20 21:13:03 2005 Reply Michael Husbynmichaelh@online.noQuestionLinux2.5.9-2Re: Omitting some fields in e-mail
> I added the option "Email attributes = <list>" for that. So you can specify
> 
> Email attributes = UA, Pri, Status, Oppdragsgiver, EpostTil, Tittel
> 
> which also sets the order of the attributes. The cange is in CVS.

Nice!

Thanks Stefan, I will test it when I'm back from my holiday. Only problem is that this change is also in a
beta version of elog (more "beta" than usual)

Perhaps it is not in this state when I'm back :)

have a nice holiday

Best regards
Michael
  1398   Mon Aug 15 12:54:56 2005 Reply Michael Husbynmichaelh@online.noQuestionLinux2.5.9-2Re: Omitting some fields in e-mail
> 
> > I added the option "Email attributes = <list>" for that. So you can specify
> > 
> > Email attributes = UA, Pri, Status, Oppdragsgiver, EpostTil, Tittel
> > 
> > which also sets the order of the attributes. The cange is in CVS.

Hello Stefan,

Tested the 2.6.0-beta4, and it sort of works. config parameter:
Email attributes = Tittel,Status

gives the mail:

Logbook             : work
Tittel              : Test
Status              : Åpen

Logbook URL         : http://xxxxxxxxxxxxxxxx/work/904

---

Is there a way to remove Logbook field (and perhaps Logbook URL if I want?)

Best regards
Michael
  1410   Tue Sep 6 14:41:10 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.5.9-2Re: Omitting some fields in e-mail
> Is there a way to remove Logbook field (and perhaps Logbook URL if I want?)

There is the option "Email format", which lets you specify what to show. Try 

Email format = 27
  69813   Fri Jul 26 13:01:54 2024 Reply Stefan Rittstefan.ritt@psi.chBug reportLinuxV3.1.5-23df00dRe: Old attachments erroneously appearing on new Elog entries.

This bug has been fixed in meantime, please upgrade to the current version.

  69814   Fri Jul 26 13:14:38 2024 Reply Carl Unsworthcarl.unsworth@stfc.ac.ukBug reportLinuxV3.1.5-23df00dRe: Old attachments erroneously appearing on new Elog entries.

Thanks very much for the quick response Stefan. My apologies, I thought I was on the latest version or I would have upgraded before contacting you.
The file I installed from was the rpm "elog-3.1.5-20240226.el9.x86_64.rpm" which still seems to be the latest version on the Dropbox downloads page.
Do I need to use the tar distribution to get the latest?

Stefan Ritt wrote:

This bug has been fixed in meantime, please upgrade to the current version.

 

ELOG V3.1.5-3fb85fa6