Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 62 of 806  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  1744   Fri Mar 3 16:48:01 2006 Entry Alexandre Gauthiersupernaut@underwares.orgBug fixMac OSXSVN 1668Makefile patch for OS X 10.4
Hello,

I had trouble compiling elog on Mac OS X 10.4, and so, I hacked the makefile around...

I had to remove the -lutil flag that was passed to ld, for some reason. My guess is that it is not needed anymore with OS X 10.4... Also, the current install section of the makefile crapped out when using /usr/bin/install, I had to use install from gnu fileutils, which I installed through fink, which took precedence in my path... (/sw/bin/install), since bsd fileutil doesn't like the -D option.

For some reason, the paths to "install" in the makefile are either defined by the $(INSTALL) variable, or called directly. This seems not to be very consistent... In any case, I just changed it to use "install", no matter where it was in my path.

I'm currently hacking up something more elegant soon enough...

Also, I noticed that the binary produced was inconsistent and sluggish with the default wild CFLAGs, so I brought them back to something a bit more casual for Darwin. I used -Os because that's what Apple uses to build most OS X software. I also use -Os in my blackdog builds (which is an embedded PowerPC device) since space and memory *does* matters.

Well, here's the patch. I doubt it will be useful to anyone except for those who have gnu fileutils installed through fink, in their paths, and find themselves unable to build elog on OS X.
Attachment 1: makefile-osx-tiger.patch
Index: Makefile
===================================================================
--- Makefile	(revision 1668)
+++ Makefile	(working copy)
@@ -52,8 +52,9 @@
 endif
 
 ifeq ($(OSTYPE),darwin)
-LIBS += -lutil
+#LIBS += -lutil
 CC = cc
+CFLAGS = -Os -fomit-frame-pointer -W -Wall
 BINOWNER = root
 BINGROUP = admin
 endif
@@ -131,9 +132,9 @@
 	@if [ ! -f $(ELOGDIR)/logbooks/demo ]; then  \
 	  install -v -m 0644 logbooks/demo/* $(ELOGDIR)/logbooks/demo ; \
 	fi
-
+	
 	@sed "s#\@PREFIX\@#$(PREFIX)#g" elogd.init_template > elogd.init
-	@$(INSTALL) -v -D -m 0755 elogd.init $(RCDIR)/elogd
+	@install -v -D -m 0755 elogd.init $(RCDIR)/elogd
 
 	@if [ ! -f $(ELOGDIR)/elogd.cfg ]; then  \
 	  install -v -m 644 elogd.cfg $(ELOGDIR)/elogd.cfg ; \
  69127   Sun Mar 29 13:30:09 2020 Idea Sunilkumarsunilanaveri@gmail.comQuestionWindows3.14How to add bulk client list at once

Please let me know how to add Button for adding client next to Client Mnemonics.

 

I need to add bulk client lists in the Elog page there are 1000+ clients  .

I need to select client from the drop down list if its not there i need to add them using Add Client Button 

Please let me know the steps.

 

 

Attachment 1: Screenshot_3.jpg
Screenshot_3.jpg
  69132   Wed Apr 1 19:27:53 2020 Reply Sunilkumarsunilanaveri@gmail.comQuestionWindows3.14Re: How to add bulk client list at once

Hi Stefan 

Thanks for Response , It helped me lot .

is it possible to give refence to include 1000 clients in one file and adding that referece file to Roptions ?

Once we click Client Mnemonic it should fetch the data from that file and return  the Client Name .

Stefan Ritt wrote:

Options are limited to 200. To add options dynamically, use 

Extendable options = <name>

as desribed in the manual.

Stefan

Sunilkumar wrote:

Please let me know how to add Button for adding client next to Client Mnemonics.

 

I need to add bulk client lists in the Elog page there are 1000+ clients  .

I need to select client from the drop down list if its not there i need to add them using Add Client Button 

Please let me know the steps.

 

 

 

 

  68995   Wed Aug 7 02:57:55 2019 Question Lechsubs@lwp.emailQuestionLinux3.1.3tags

Hello,

Is it possible to create tags for new entries in elog? I understand it would have to be some kind of mix between Extendable options and moptions. Currently, whatever is entered in extendable options forms one option, while usually for tags, words separated by # form different tags. As usual with tags, I would like to add multiple tags to my new entry and then be able to filter all entries by specific tag or group of tags.

  69006   Tue Aug 20 09:47:06 2019 Question Lechsubs@lwp.emailQuestionLinux3.1.3Drag and drop does not work in 3.1.3?

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

  69009   Tue Aug 20 11:37:03 2019 Reply Lechsubs@lwp.emailQuestionLinux3.1.3Re: Drag and drop does not work in 3.1.3?

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

  69011   Tue Aug 20 13:28:53 2019 Reply Lechsubs@lwp.emailQuestionLinux3.1.3Re: Drag and drop does not work in 3.1.3?

Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.

Stefan Ritt wrote:

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

 

  69014   Wed Aug 21 02:21:57 2019 Reply Lechsubs@lwp.emailQuestionLinux3.1.3Re: Drag and drop does not work in 3.1.3?

From what I've read in a past post, it is hitting the max content length because pasting, unlike dropping, is not properly supported and it is possible that images get converted to text in some way and occupy a lot of "content length". So what I mean is that the pasted image is handled the same way as the dropped image.

Btw. adjusting the Max content length, according to the message, requires recompilation of the program, so it is not only a matter of configuration.

Andreas Luedeke wrote:

> Btw. do you plan to properly accept pasting of images?

I would claim it is already properly supported. If you hit a size limit you can configure your ELOG to adjust the limit (Max content length).

Or did I misunderstand your question?

Lech wrote:

Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.

Stefan Ritt wrote:

It's the config from the distribution. A copy is below.

Stefan


[global]
port = 8080

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31

 

Lech wrote:

Can I find the config of the demo elog somewhere, so I could try it locally?

Stefan Ritt wrote:

The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog). So no idea why it's not working for you.

Stefan

Lech wrote:

Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do I need to find a repository with a more recent version of elog?

Thanks!

 

 

 

 

 

 

ELOG V3.1.5-3fb85fa6