Elog command line problem, posted by Razvan Gornea on Tue May 28 09:16:18 2013
|
I'm trying to use the command line to post automatically entries from a web based calendar. I run elogd behind SSL with user/pass configuration. I created an account for the calendar and used the following command line.
[gornea@lheppc63 ~]
$ elog -v -s -a Subject=Test -a Type=Notice -a Category=Planning -h svn.lhep.unibe.ch -p 443 -l "LHEP EXO General" -u calendar ******** "SORRY for SPAMMING! Testing automated posts from command line"
It seems like all parameters are OK but for some reason the connection gets closed. Anybody has an idea why? The SSL certificate is not valid and on the web page users have first to accept it. Can this explain the problem? Is there a flag for elog command line to instruct it to ignore SSL warnings? Thanks a lot!
Command line output:
Successfully connected to host svn.lhep.unibe.ch, port 443
Request sent to host:
POST /LHEP+EXO+General/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------16B1637A4CDBB4E6448003F4
Host: lheppc63.lhep.unibe.ch
User-Agent: ELOG
Content-Length: 1105
Content sent to host:
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="cmd"
Submit
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="unm"
calendar
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="upwd"
Z28yQjUyIQ==
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="exp"
LHEP EXO General
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="encoding"
ELCode
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Subject"
Test
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Type"
Notice
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Category"
Planning
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Text"
SORRY for SPAMMING! Testing automated posts from command line
---------------------------16B1637A4CDBB4E6448003F4
Response received:
HTTP/1.1 302 Found
Server: ELOG HTTP 2.9.2-2455
Location: https://svn.lhep.unibe.ch/LHEP+EXO+General/
Connection: Close
<html>redir</html>
Message successfully transmitted, ID=
[gornea@lheppc63 ~]
$
|
Filter and sorting, posted by UlfO on Wed May 29 08:38:04 2013
|
Hi,
We have a fire preventive team at our company doing periodic inspections of our various corporate buildings.
If they find a deviation they want to register this somewhere.
So I thought E-log would be nice to use in this case.
The way the fire preventive team inspection works is building by building.
All the buildings has numbers.
So they want to be able to select a buildingnumber in E-log and filter on open,ongoing and closed records when they do their inspections.
And they also wants the filtering to stay on that choosen buildingnumber despite if they delete or add new entries.
I know that you can have a default startview in E-log but this view is static.
Is it possible to do this in E-log?
|
Re: Filter and sorting, posted by Stefan Ritt on Tue Jun 4 16:52:18 2013
|
UlfO wrote: |
Hi,
We have a fire preventive team at our company doing periodic inspections of our various corporate buildings.
If they find a deviation they want to register this somewhere.
So I thought E-log would be nice to use in this case.
The way the fire preventive team inspection works is building by building.
All the buildings has numbers.
So they want to be able to select a buildingnumber in E-log and filter on open,ongoing and closed records when they do their inspections.
And they also wants the filtering to stay on that choosen buildingnumber despite if they delete or add new entries.
I know that you can have a default startview in E-log but this view is static.
Is it possible to do this in E-log?
|
You can define the building number as an attribute and use it in a quick filter. The startview will however not stay on one bilding. An alternative would be to define one logbook per building. |
Re: Filter and sorting, posted by UlfO on Tue Jun 4 17:02:32 2013
|
Stefan Ritt wrote: |
UlfO wrote: |
Hi,
We have a fire preventive team at our company doing periodic inspections of our various corporate buildings.
If they find a deviation they want to register this somewhere.
So I thought E-log would be nice to use in this case.
The way the fire preventive team inspection works is building by building.
All the buildings has numbers.
So they want to be able to select a buildingnumber in E-log and filter on open,ongoing and closed records when they do their inspections.
And they also wants the filtering to stay on that choosen buildingnumber despite if they delete or add new entries.
I know that you can have a default startview in E-log but this view is static.
Is it possible to do this in E-log?
|
You can define the building number as an attribute and use it in a quick filter. The startview will however not stay on one bilding. An alternative would be to define one logbook per building.
|
OK!
Thanks for the answer.
I thought that this was the way to go. The problem is that we have several hundreds of buildings.
/UlfO
|
Re: Filter and sorting, posted by Stefan Ritt on Tue Jun 4 17:07:13 2013
|
UlfO wrote: |
Stefan Ritt wrote: |
UlfO wrote: |
Hi,
We have a fire preventive team at our company doing periodic inspections of our various corporate buildings.
If they find a deviation they want to register this somewhere.
So I thought E-log would be nice to use in this case.
The way the fire preventive team inspection works is building by building.
All the buildings has numbers.
So they want to be able to select a buildingnumber in E-log and filter on open,ongoing and closed records when they do their inspections.
And they also wants the filtering to stay on that choosen buildingnumber despite if they delete or add new entries.
I know that you can have a default startview in E-log but this view is static.
Is it possible to do this in E-log?
|
You can define the building number as an attribute and use it in a quick filter. The startview will however not stay on one bilding. An alternative would be to define one logbook per building.
|
OK!
Thanks for the answer.
I thought that this was the way to go. The problem is that we have several hundreds of buildings.
/UlfO
|
Ouch! In principle the filtering could be stored in some cookie, but I would have to develop this, and I have currently no time for that. |
Re: Filter and sorting, posted by UlfO on Tue Jun 4 17:16:32 2013
|
Stefan Ritt wrote: |
UlfO wrote: |
Stefan Ritt wrote: |
UlfO wrote: |
Hi,
We have a fire preventive team at our company doing periodic inspections of our various corporate buildings.
If they find a deviation they want to register this somewhere.
So I thought E-log would be nice to use in this case.
The way the fire preventive team inspection works is building by building.
All the buildings has numbers.
So they want to be able to select a buildingnumber in E-log and filter on open,ongoing and closed records when they do their inspections.
And they also wants the filtering to stay on that choosen buildingnumber despite if they delete or add new entries.
I know that you can have a default startview in E-log but this view is static.
Is it possible to do this in E-log?
|
You can define the building number as an attribute and use it in a quick filter. The startview will however not stay on one bilding. An alternative would be to define one logbook per building.
|
OK!
Thanks for the answer.
I thought that this was the way to go. The problem is that we have several hundreds of buildings.
/UlfO
|
Ouch! In principle the filtering could be stored in some cookie, but I would have to develop this, and I have currently no time for that.
|
OK!
Probably we partly can solve this via some intelligent sorting, but I wanted to check this with you first.
/UlfO
|
Auto save?, posted by Daniel Roldan on Fri Jun 28 10:43:03 2013
|
Hi,
One question, is possible activate auto-save while write a new "ticket"?
Thanks very much. |
Re: Auto save?, posted by Andreas Luedeke on Mon Jul 1 09:39:52 2013
|
Daniel Roldan wrote: |
Hi,
One question, is possible activate auto-save while write a new "ticket"?
Thanks very much.
|
It is not clear to me, what you mean by "activate auto-save".
Do you mean that you want to have the typed in data in your forms temporarily saved, to be restored e.g. after a crash of the browser?
This functionality has to be provided by the browser. I use the add-on "Lazarus: form recovery" for firefox, that works fine for me.
⇄
Detect language » English
Regards Andreas |