ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67531
|
Tue Jun 4 17:02:32 2013 |
| UlfO | ulf.olsson@dynamate.se | Question | Windows | 2.9.2-2455 | Re: Filter and sorting |
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
|
67533
|
Tue Jun 4 17:07:13 2013 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.9.2-2455 | Re: Filter and sorting |
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. |
67536
|
Tue Jun 4 17:16:32 2013 |
| UlfO | ulf.olsson@dynamate.se | Question | Windows | 2.9.2-2455 | Re: Filter and sorting |
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
|
69686
|
Thu Aug 24 15:54:51 2023 |
| Evinrude Motor | minsonj2016@gmail.com | Question | Linux | 3.1.5-1 | Re: File/App associations for attachments | I was thinking I could accomplish this with some 'attribute' change but havent fogured it out yet .
My preference would be for elog to ask everytime .
Evinrude Motor wrote: |
Is there somewhere I can change the file extension / app associations ? When I open an ".ods" attachment ELOG lets me pick the app . If I open a ".eml" it dumps me into the browser. At the system level ".eml" is associated with "thunderbird"
ELOG on RPI4B , 3.1.5
Client Kubuntu Linux
|
|
69687
|
Thu Aug 24 16:43:41 2023 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 3.1.5-1 | Re: File/App associations for attachments | Below are the MIME types hard-coded into elogd. As you can see there is neither .ods nor .eml. If you give me the MIME type, I can add that easily. I wonder however why both work differently for you. I believe this is a browser setting.
Stefan
struct FILETYPE {
char ext[32];
char type[80];
} filetype[] = {
{".AI", "application/postscript"},
{".ASC", "text/plain"},
{".BZ2", "application/x-bzip2"},
{".CFG", "text/plain"},
{".CHRT", "application/x-kchart"},
{".CONF", "text/plain"},
{".CSH", "application/x-csh"},
{".CSS", "text/css"},
{".DOC", "application/msword"},
{".DVI", "application/x-dvi"},
{".EPS", "application/postscript"},
{".GIF", "image/gif"},
{".GZ", "application/x-gzip"},
{".HTM", "text/html"},
{".HTML", "text/html"},
{".ICO", "image/x-icon"},
{".JPEG", "image/jpeg"},
{".JPG", "image/jpeg"},
{".JS", "application/x-javascript"},
{".KPR", "application/x-kpresenter"},
{".KSP", "application/x-kspread"},
{".KWD", "application/x-kword"},
{".MP3", "audio/mpeg"},
{".OGG", "application/x-ogg"},
{".PDF", "application/pdf"},
{".PNG", "image/png"},
{".PS", "application/postscript"},
{".RAM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RPM", "application/x-rpm"},
{".RTF", "application/rtf"},
{".SH", "application/x-sh"},
{".SVG", "image/svg+xml"},
{".TAR", "application/x-tar"},
{".TCL", "application/x-tcl"},
{".TEX", "application/x-tex"},
{".TGZ", "application/x-gzip"},
{".TIF", "image/tiff"},
{".TIFF", "image/tiff"},
{".TXT", "text/plain"},
{".WAV", "audio/x-wav"},
{".XLS", "application/x-msexcel"},
{".XML", "text/xml"},
{".XSL", "text/xml"},
{".ZIP", "application/x-zip-compressed"},
/* Open XML file types */
{".DOCM", "application/vnd.ms-word.document.macroEnabled.12"},
{".DOCX", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"},
{".DOTM", "application/vnd.ms-word.template.macroEnabled.12"},
{".DOTX", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"},
{".PPSM", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"},
{".PPSX", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"},
{".PPTM", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"},
{".PPTX", "application/vnd.openxmlformats-officedocument.presentationml.presentation"},
{".XLSB", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"},
{".XLSM", "application/vnd.ms-excel.sheet.macroEnabled.12"},
{".XLSX", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},
{".XPS", "application/vnd.ms-xpsdocument"},
{"", ""},
};
|
69688
|
Thu Aug 24 17:21:06 2023 |
| Evinrude Motor | minsonj2016@gmail.com | Question | Linux | 3.1.5-1 | Re: File/App associations for attachments | so now that you have pointed me in the right direction let me hack on it a bit to see what works .
Stefan Ritt wrote: |
Below are the MIME types hard-coded into elogd. As you can see there is neither .ods nor .eml. If you give me the MIME type, I can add that easily. I wonder however why both work differently for you. I believe this is a browser setting.
Stefan
struct FILETYPE {
char ext[32];
char type[80];
} filetype[] = {
{".AI", "application/postscript"},
{".ASC", "text/plain"},
{".BZ2", "application/x-bzip2"},
{".CFG", "text/plain"},
{".CHRT", "application/x-kchart"},
{".CONF", "text/plain"},
{".CSH", "application/x-csh"},
{".CSS", "text/css"},
{".DOC", "application/msword"},
{".DVI", "application/x-dvi"},
{".EPS", "application/postscript"},
{".GIF", "image/gif"},
{".GZ", "application/x-gzip"},
{".HTM", "text/html"},
{".HTML", "text/html"},
{".ICO", "image/x-icon"},
{".JPEG", "image/jpeg"},
{".JPG", "image/jpeg"},
{".JS", "application/x-javascript"},
{".KPR", "application/x-kpresenter"},
{".KSP", "application/x-kspread"},
{".KWD", "application/x-kword"},
{".MP3", "audio/mpeg"},
{".OGG", "application/x-ogg"},
{".PDF", "application/pdf"},
{".PNG", "image/png"},
{".PS", "application/postscript"},
{".RAM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RPM", "application/x-rpm"},
{".RTF", "application/rtf"},
{".SH", "application/x-sh"},
{".SVG", "image/svg+xml"},
{".TAR", "application/x-tar"},
{".TCL", "application/x-tcl"},
{".TEX", "application/x-tex"},
{".TGZ", "application/x-gzip"},
{".TIF", "image/tiff"},
{".TIFF", "image/tiff"},
{".TXT", "text/plain"},
{".WAV", "audio/x-wav"},
{".XLS", "application/x-msexcel"},
{".XML", "text/xml"},
{".XSL", "text/xml"},
{".ZIP", "application/x-zip-compressed"},
/* Open XML file types */
{".DOCM", "application/vnd.ms-word.document.macroEnabled.12"},
{".DOCX", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"},
{".DOTM", "application/vnd.ms-word.template.macroEnabled.12"},
{".DOTX", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"},
{".PPSM", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"},
{".PPSX", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"},
{".PPTM", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"},
{".PPTX", "application/vnd.openxmlformats-officedocument.presentationml.presentation"},
{".XLSB", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"},
{".XLSM", "application/vnd.ms-excel.sheet.macroEnabled.12"},
{".XLSX", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},
{".XPS", "application/vnd.ms-xpsdocument"},
{"", ""},
};
|
|
69689
|
Thu Aug 24 19:22:01 2023 |
| Evinrude Motor | minsonj2016@gmail.com | Question | Linux | 3.1.5-1 | Re: File/App associations for attachments | I gave it a shot with no luck
On my client (Kubuntu) an ".eml" is associated with mime type "message/rfc822" . Just adding this to the list seemed to have no effect so there must be more to it than that :}
Stefan Ritt wrote: |
Below are the MIME types hard-coded into elogd. As you can see there is neither .ods nor .eml. If you give me the MIME type, I can add that easily. I wonder however why both work differently for you. I believe this is a browser setting.
Stefan
struct FILETYPE {
char ext[32];
char type[80];
} filetype[] = {
{".AI", "application/postscript"},
{".ASC", "text/plain"},
{".BZ2", "application/x-bzip2"},
{".CFG", "text/plain"},
{".CHRT", "application/x-kchart"},
{".CONF", "text/plain"},
{".CSH", "application/x-csh"},
{".CSS", "text/css"},
{".DOC", "application/msword"},
{".DVI", "application/x-dvi"},
{".EPS", "application/postscript"},
{".GIF", "image/gif"},
{".GZ", "application/x-gzip"},
{".HTM", "text/html"},
{".HTML", "text/html"},
{".ICO", "image/x-icon"},
{".JPEG", "image/jpeg"},
{".JPG", "image/jpeg"},
{".JS", "application/x-javascript"},
{".KPR", "application/x-kpresenter"},
{".KSP", "application/x-kspread"},
{".KWD", "application/x-kword"},
{".MP3", "audio/mpeg"},
{".OGG", "application/x-ogg"},
{".PDF", "application/pdf"},
{".PNG", "image/png"},
{".PS", "application/postscript"},
{".RAM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RPM", "application/x-rpm"},
{".RTF", "application/rtf"},
{".SH", "application/x-sh"},
{".SVG", "image/svg+xml"},
{".TAR", "application/x-tar"},
{".TCL", "application/x-tcl"},
{".TEX", "application/x-tex"},
{".TGZ", "application/x-gzip"},
{".TIF", "image/tiff"},
{".TIFF", "image/tiff"},
{".TXT", "text/plain"},
{".WAV", "audio/x-wav"},
{".XLS", "application/x-msexcel"},
{".XML", "text/xml"},
{".XSL", "text/xml"},
{".ZIP", "application/x-zip-compressed"},
/* Open XML file types */
{".DOCM", "application/vnd.ms-word.document.macroEnabled.12"},
{".DOCX", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"},
{".DOTM", "application/vnd.ms-word.template.macroEnabled.12"},
{".DOTX", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"},
{".PPSM", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"},
{".PPSX", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"},
{".PPTM", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"},
{".PPTX", "application/vnd.openxmlformats-officedocument.presentationml.presentation"},
{".XLSB", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"},
{".XLSM", "application/vnd.ms-excel.sheet.macroEnabled.12"},
{".XLSX", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},
{".XPS", "application/vnd.ms-xpsdocument"},
{"", ""},
};
|
|
Draft
|
Thu Aug 24 19:31:03 2023 |
| Evinrude Motor | minsonj2016@gmail.com | Question | Linux | 3.1.5-1 | Re: File/App associations for attachments | Hold on I'm having a senior moment
Stefan Ritt wrote: |
Below are the MIME types hard-coded into elogd. As you can see there is neither .ods nor .eml. If you give me the MIME type, I can add that easily. I wonder however why both work differently for you. I believe this is a browser setting.
Stefan
struct FILETYPE {
char ext[32];
char type[80];
} filetype[] = {
{".AI", "application/postscript"},
{".ASC", "text/plain"},
{".BZ2", "application/x-bzip2"},
{".CFG", "text/plain"},
{".CHRT", "application/x-kchart"},
{".CONF", "text/plain"},
{".CSH", "application/x-csh"},
{".CSS", "text/css"},
{".DOC", "application/msword"},
{".DVI", "application/x-dvi"},
{".EPS", "application/postscript"},
{".GIF", "image/gif"},
{".GZ", "application/x-gzip"},
{".HTM", "text/html"},
{".HTML", "text/html"},
{".ICO", "image/x-icon"},
{".JPEG", "image/jpeg"},
{".JPG", "image/jpeg"},
{".JS", "application/x-javascript"},
{".KPR", "application/x-kpresenter"},
{".KSP", "application/x-kspread"},
{".KWD", "application/x-kword"},
{".MP3", "audio/mpeg"},
{".OGG", "application/x-ogg"},
{".PDF", "application/pdf"},
{".PNG", "image/png"},
{".PS", "application/postscript"},
{".RAM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RM", "audio/x-pn-realaudio"},
{".RPM", "application/x-rpm"},
{".RTF", "application/rtf"},
{".SH", "application/x-sh"},
{".SVG", "image/svg+xml"},
{".TAR", "application/x-tar"},
{".TCL", "application/x-tcl"},
{".TEX", "application/x-tex"},
{".TGZ", "application/x-gzip"},
{".TIF", "image/tiff"},
{".TIFF", "image/tiff"},
{".TXT", "text/plain"},
{".WAV", "audio/x-wav"},
{".XLS", "application/x-msexcel"},
{".XML", "text/xml"},
{".XSL", "text/xml"},
{".ZIP", "application/x-zip-compressed"},
/* Open XML file types */
{".DOCM", "application/vnd.ms-word.document.macroEnabled.12"},
{".DOCX", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"},
{".DOTM", "application/vnd.ms-word.template.macroEnabled.12"},
{".DOTX", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"},
{".PPSM", "application/vnd.ms-powerpoint.slideshow.macroEnabled.12"},
{".PPSX", "application/vnd.openxmlformats-officedocument.presentationml.slideshow"},
{".PPTM", "application/vnd.ms-powerpoint.presentation.macroEnabled.12"},
{".PPTX", "application/vnd.openxmlformats-officedocument.presentationml.presentation"},
{".XLSB", "application/vnd.ms-excel.sheet.binary.macroEnabled.12"},
{".XLSM", "application/vnd.ms-excel.sheet.macroEnabled.12"},
{".XLSX", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},
{".XPS", "application/vnd.ms-xpsdocument"},
{"", ""},
};
|
|
|