Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 51 of 238  Not logged in ELOG logo
Entry   , posted by Tim Schelfhout on Mon Dec 5 13:06:21 2016 
Hello,

I am using ELOG V2.9.2-2475.  I added some groups and restarted ELOG
and all of a sudden it 
icon1.gif   Disable Delete option when user has the capability to Edit an entry, posted by John Becker on Wed Nov 30 18:06:26 2016 2016-11-30_131205.jpg
Hi, I have a logbook where users can add entries and edit entries.

The delete option has been removed from the menu, but when they edit an entry they are able to delete the entry.

Is there a way to remove the Delete option from the menu that appears when Editing an entry?
    icon2.gif   Re: Disable Delete option when user has the capability to Edit an entry, posted by Stefan Ritt on Wed Nov 30 19:01:03 2016 
Save drafts = 0

 




John
       icon2.gif   Re: Disable Delete option when user has the capability to Edit an entry, posted by John Becker on Thu Dec 1 13:36:16 2016 2016-12-01_083434.jpg
Hi Stefan,

Thanks for your reply, I did as suggested but the button "Delete" still appears when the edit entry is selected.

Am I overlooking something?
          icon2.gif   Re: Disable Delete option when user has the capability to Edit an entry, posted by Stefan Ritt on Fri Dec 2 13:50:11 2016 Screen_Shot_2016-12-02_at_13.49.44_.png
No, I get a different result. If I put "Save drafts = 0" in the config example coming with the distribution, I get the following:

             icon2.gif   Re: Disable Delete option when user has the capability to Edit an entry, posted by John Becker on Fri Dec 2 16:28:17 2016 
Hi Stefan,

 

Found it, it was a typo.
icon3.gif   Display of draft entries in elog, posted by Stefan Ritt on Fri Dec 2 13:54:36 2016 
Dear all,

there seems to be still lots of confusion with the new "draft modus" introduced in elog 3.1.2. Here is how it works:

If you edit an old or new entry, your changes are written to the elog server every few seconds. The entry in the elog database is marked as "draft".
    icon2.gif   Re: Display of draft entries in elog, posted by Stefan Ritt on Fri Dec 2 14:54:58 2016 
In version 3.1.2-416db9f I implemented a "Restore" button, which should fix the second drawback. If you press it, you should be able to go
back to where you started when editing an entry.
icon5.gif   Error: Entry text too big. Please increase TEXT_SIZE and recompile elogd, posted by Xuan Wu on Fri Nov 25 15:00:58 2016 
Hi all,

A error came out when I pasted a photo in the text area with  HTML Encoding. The photo is a snapshot from Print Screen. When I submitted
it, it said "Entry text too big. Please increase TEXT_SIZE and recompile elogd". How can I get rid of this? I've tried changing elogd.cfg
    icon2.gif   Re: Error: Entry text too big. Please increase TEXT_SIZE and recompile elogd, posted by Stefan Ritt on Mon Nov 28 11:56:06 2016 flower.jpg
I guee you tried to paste an image into the text area, and your browser somehow converted this into a text entry, which then of course can become very
long. Elog since vesion 3 supports drag-and-drop. You can drop an image from your local disk into the "Drop attachemnts here..." box at the bottom
of this page. You can also drag an image directly to the text box like this one: 
       icon14.gif   Re: Error: Entry text too big. Please increase TEXT_SIZE and recompile elogd, posted by Xuan Wu on Wed Nov 30 02:29:36 2016 
Thanks for your advice! I've test that dropping an image from my local disk into the text box with Elog-3.1.2. It did work. However, I
still have a question want to ask that When I paste a small image into the text area, I can submit it successfully. But when I paste a bigger one, it will
say "Entry text too big. Please increase TEXT_SIZE and recompile elogd". And There's the same result in https://midas.psi.ch/elogs/Linux+Demo/.
          icon2.gif   Re: Error: Entry text too big. Please increase TEXT_SIZE and recompile elogd, posted by Stefan Ritt on Wed Nov 30 08:51:55 2016 
How big is your image? I just tried a 5000 x 3600 pixel image (8 MB in size), and it worked fine on the demo logbook.

Stefan




Xuan
             icon2.gif   Re: Error: Entry text too big. Please increase TEXT_SIZE and recompile elogd, posted by Xuan Wu on Thu Dec 1 01:40:14 2016 
I just test on your Demo logbook. I use a screen-capture tool to create an image which doesn't been saved as a file, the size is 1920*1080(1.8M),
then copy it in clipboard, and then paste in text area. Then the web page become very slow, so that I can't submit it sometime. Sometime, I can submit
it but it say "Entry text too big. Please increase TEXT_SIZE and recompile elogd". If I drop an image file into the text area, it works. I used
                icon2.gif   Re: Error: Entry text too big. Please increase TEXT_SIZE and recompile elogd, posted by Stefan Ritt on Thu Dec 1 08:13:41 2016 
Ah, that's the difference! I always drop an image on the text area, never paste it. So please refrain from pasting.




Xuan
Wu wrote:



I just test on your Demo logbook. I use a screen-capture tool to
icon3.gif   Cancel button missing when editing an entry, posted by Andreas Luedeke on Wed Nov 16 13:48:33 2016 
If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into
a draft entry. But the draft does contain my changes, it is not the originally saved entry!
    icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Wed Nov 16 14:01:18 2016 
The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This
is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to
the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison,
       icon4.gif   Re: Cancel button missing when editing an entry, posted by Grant Jeffcote on Wed Nov 16 17:12:40 2016 
Andreas,

Doesn't using the Save Drafts = 0 option result in the old 'Back' button returning (replacing the Delete option) meaning
you can revert back to your old (unmodified) version without saving, sure it doesn't save a draft but I'd rather be able to return back and lose
          icon2.gif   Re: Cancel button missing when editing an entry, posted by Andreas Luedeke on Thu Nov 17 09:14:15 2016 
Yes, "Save Drafts = 0" does the trick. But it is the "zero-option": trivial, but not satisfying ;-)

Warning: the "back" button of the browser has a very undesired effect: the entry
is then converted into a draft and not shown anymore in list view!
          icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Mon Nov 21 15:07:05 2016 
Well, the "undesired effect" you describe is exactly the reason for having drafts. Somebody works on a lengthy message, then the browser dies,
or the user by accident hits the "back" button and (by accidnt, ehem...) confirms the dialog popping up which says "changes will be lost".
In that case the draft mechanism should take care of that the lengthy message is not lost. That's where it is for. If one does not like it, one can
             icon2.gif   Re: Cancel button missing when editing an entry, posted by Christine Quicot on Wed Nov 23 09:25:15 2016 
Hello,

In my opinion, there should be a "close/return" button (discard changes), even with the drafts enabled, but effectively there will
have to be several saves made (at least before/after).
       icon2.gif   Re: Cancel button missing when editing an entry, posted by Andreas Luedeke on Thu Nov 24 07:38:52 2016 
Hi Stefan,

actually what you refer to as the "quick and dirty" solution is probably the only feasible one: to store a copy
of the entry in the browser and restore that copy with a "cancel" button.

Otherwise you would need a full-fledged revision management,
to deal with multiple copies of the same entry open in several browsers.

 

Yet, that does not solve the "problem"
          icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Thu Nov 24 08:40:31 2016 



Andreas Luedeke
wrote:



But as a first step, it might be worthwhile to document this behaviour
in the ELOG "User's Guide". Drafts are currently only mentioned in the elogd.cfg syntax pages under "Save drafts" and "autosave".
icon5.gif   How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Tue Nov 15 04:42:49 2016 
Hi All,

I have a problem with email configuration with gmail account. I use Elog V3.1.1 and Stuneel V5-32 with Windows 7 Profesional 64-bit

I follow the instruction in elog:68039 This is my configuration
    icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Tue Nov 15 07:29:04 2016 
I use "SMTP username = <My_email_account>" without "@xxx" for my site. So you can try it like that. HTH




I
Gede Made Wira Saputra wrote:



Hi All,
       icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Tue Nov 15 10:24:18 2016 
Hi Xuan Wu,

Nothing happen, I still got error. Do you have any more idea? I really confuse.




Xuan
          icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Tue Nov 15 11:22:31 2016 
You can use command to test your email service and your username and password. 

telnet your.email.host  25

ehlo hostname
             icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Wed Nov 16 07:07:35 2016 
Hi Xuan Wu,

I got error from stunel as below.

                icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Thu Nov 17 09:54:03 2016 
Hi,

I'm sorry that I'm not familiar with the stunel. I came across email sending problem before. I created a email server in my own PC called
postfix. Elog can use this email server to send email. Finally, I could use the email server from our institution. Maybe Luedeke or Stefan can
icon5.gif   Error starting elog 3.1.2 on Windows server, posted by Peter K on Mon Oct 31 09:51:02 2016 
Hi,

I'm trying to upgrade ELOG 2.9.2, which I have been used many years, to the new version (3.1.2).

I can't run the new version even from the command line:
icon5.gif   Reset a user's password, posted by Val Schmidt on Fri Oct 28 16:30:36 2016 
Is it possible for an administator to reset a user's password? 

Thanks,

Val
    icon2.gif   Re: Reset a user's password, posted by Stefan Ritt on Fri Oct 28 16:41:11 2016 
Sure. Hit "Config", select other user, and click on "Change password".

Stefan




Val
ELOG V3.1.5-3fb85fa6