Apps
Knowledge
People
Register
Login



-
- Content .- Fans (11) .- Knowledge Base  . 

Imprint

   0.2.2  

ownCloud Tool

Score 72%
Imprint
zoom


Imprint
zoom


Version Control:  Link
Blog:  Link
Minimum required   ownCloud 7
Downloads:  7772
Submitted:  Aug 9 2012
Updated:  2 days ago

Description:

This imprint app implements a plugin for the ownCloud web application.
It provides a very simply means to add a legal notice, an imprint to the
framework. Such notice is required in some countries when offering a service
on the internet.
The app is kept extremely simple. No fancy configuration options, no complex
setup. Just activate it, configure the notices content and where to place the
reference, that's all.
You can use plain text for content or simple html markup.

I am looking for others to step forward, for active users to contribute, for interested people to fix small issues, for people integrating their great ideas. The apps code lives on github inside the owncloud repositories, everyone is able and welcome to contribute. I will be more than happy to give you a hand to get started!




Changelog:

* Mon Nov 24 2014 Christian Reiner: version 0.2.2
Fix crash for non privileged users when no content has been configured before.
Removed stale reference to obsolete internal style sheet definition.
* Sat Nov 02 2014 Christian Reiner: version 0.2.1
Rendering of markdown as alternative to html markup and plain text.
* Tue Oct 28 2014 Christian Reiner: version 0.2.0
Ported app to owncloud version 7.
Removed all backwards compatibility hacks.
Integration of the content reference also on login and guest pages.
Enhanced administration section.
* Tue Aug 13 2013 Christian Reiner: version 0.1.15
Fixed a hard crash introduced by someones well meant contribution some weeks ago.
The faulty code got released by accident and is fixed now in this version.
* Mon Jul 15 2013 Christian Reiner: version 0.1.14
Small performance fix by preventing double evalutation of content.
* Fri Jul 05 2013 Christian Reiner: version 0.1.13
Separat setting to place link during anonymous access (login).
* Sun Apr 07 2013 Christian Reiner: version 0.1.12
Fixed reference to another app that crashed OC.
* Sat Apr 06 2013 Christian Reiner: version 0.1.11
Fixed content access during login for OC>=5.
Fixed styles and layout in content display.
Fixed sloppy user role evaluation.
* Wed Mar 20 2013 Christian Reiner: version 0.1.10
Allow direct activation in ownCloud5 based installations.
* Fri Mar 01 2013 Christian Reiner: version 0.1.9
Some general security fix to the apps framework.
* Mon Feb 18 2013 Christian Reiner: version 0.1.8
Compatibility to ownCloud version 5.
* Tue Jan 29 2013 Christian Reiner: version 0.1.7
Changed requirement of OC version from 4.0 to 4.5 (4.9).
* Fri Jan 18 2013 Christian Reiner: version 0.1.6
Convert plain text content to simple markup to preserve linebreaks.
* Fri Dec 07 2012 Christian Reiner: version 1.0.5
Fixed usage for non-admin users.
Simplyfied initialization without explicit ajax call.
* Sun Aug 12 2012 Christian Reiner: version 1.0.4
Small additional usage hint in the configuration.
* Sat Aug 11 2012 Christian Reiner: version 1.0.3
Fixed reference url to use propper syntax in all cases.
* Fri Aug 10 2012 Christian Reiner: version 1.0.2
Fixed reference url to use propper syntax in a special case.
* Thu Aug 09 2012 Christian Reiner: version 1.0.1
Fixed german translation.
* Wed Aug 08 2012 Christian Reiner: version 1.0.0
Initial release.




LicenseAGPL
Send to a friend
Subscribe
Other  Apps  from arkascha
Report inappropriate content



goto page: prev   1  2 

-

 Login Page

 
 by freme on: Apr 15 2013
 
Score 50%

Any chance of adding the imprint to the Login website as well?

/index.php/apps/imprint
/index.php/apps/imprint/content.php

are accessible without login in anyway and having the imprint/disclaymer iframe visible prior to logging-in is actually a requirement for my site . . .


Reply to this

-
.

 Re: Login Page

 
 by arkascha on: Apr 15 2013
 
Score 50%

Hello Freme,
thanks for feedback and interest!

Actually the imprint app *does* offer a link to the imprint on the login page. If you do not see that link (right side of the top header) then check these two points:
1.) you need version >=0.1.11 of the app, current is version 0.1.12. (see changelog above...)
2.) you need ownCloud version =>5.0, current stable is version 5.0.4.

The imprint app is usable inside ownCloud versions 4.0 and 4.5, but there is no link on the start page. This is a limitation of the template/view architecture of the ownCloud core, nothing an app can work around.

Hope that helps.


Reply to this

-

 Re: Re: Login Page

 
 by freme on: Apr 15 2013
 
Score 50%

Hi,

Thanks for the fast response. I only tried "Header left" and as that did not work i assumed it would not work for the login page at all.

"Header right" works just fine - BIG THX


Reply to this

-
.

 Re: Re: Re: Login Page

 
 by arkascha on: Apr 15 2013
 
Score 50%

Hi again,
sorry, there is a missunderstanding here:

The position of the imprint link on the login page is independant from the position you choose in the system settings. On the login page the link is *always* shown on the right side of the header.
The question is: why not on your installation?


Reply to this

-

 Re: Re: Re: Re: Login Page

 
 by freme on: Apr 15 2013
 
Score 50%

hmm,

frankly - i have no idea.

Its a "fresh from scratch" installation of 5.0.4 using nginx and postgres as backend.

I took the time to test all 5 possible positions, only in "Header right" the notice is included in the div id=header header section. It is always accessible once logged in.

Anything else I can do to help? The owncloud instance is only available in intranet right now so its kinda hard to give you access...


Reply to this

-

 add imprint on login page

 
 by jekader on: Jun 5 2013
 
Score 50%

What I can propose is an option to show the policy banner implicitly on the login page and not as a link.

Some companies have security policies which require the user to accept them before he logs in.


Reply to this

-
.

 Re: add imprint on login page

 
 by arkascha on: Jun 5 2013
 
Score 50%

Thanks for the feedback taking interest!

I think it makes sense to differ between an "impressum"/"imprint" (better: legal notice) and conditions to be accepted. It is two very different things in the end.
Apart from that displaying information on the "front page" of owncloud, which currently is the login page, certainly is a nice alternative. I thought about this a number of times, but there is a technical problem to implement this. The problem lies in the way apps are loaded (or not) by the owncloud core. Actually on the login page _no_ app is loaded at all, which makes sense on first look. However this also means that no script can be injected by an app to take any action on such a page. For example it is not possible to alter/enrich the login page in any reliable way. At least there is no way I know of.
Actually the imprint app _does_ offer its link on the login page sometimes. But this is jsut a caching issue, nothing to rely on. Unfortunately!

I asked about that issue a few times (personally and on the mailing lisst), but I cannot really say I met much interest. So currently I am afraid this is not possible. The first step would have to be to modify the owncloud core to actually allow this.
Sounds like a nice beginners project, but I personally cannot invest time into this right now. If anyone wants to give this a try: I'd say a new app category 'base' or 'always' would make sense. Then apps in that category could be handled such that they are _always_ laoded, regardless of what template view is currently active inside ownCloud.

A company certainly has a more reliable way to install such legal information wherever required:
just make a few theme templates replacing the default ones. This way you can present any information you want and tweak the design/look of owncloud in any way you like.

Hope this helps!
Any maybe someone licks up that suggestion I mentioned...


Reply to this

-

 Getting error when trying to enable on OC 5.0.7

 
 by greenep on: Jun 15 2013
 
Score 50%

Getting error when trying to enable app on OC 5.0.7


Reply to this

-
.

 Re: Getting error when trying to enable on OC 5.0.

 
 by arkascha on: Jun 15 2013
 
Score 50%

Hm, I just tried again and had no problem activating the imprint app on three different systems, all running OC-5.0.7. So I fail to reproduce the problem you describe.
Getting an error means you get that infamous popup in the apps section of your administration claiming something like "Failed to activate the app"? If so, is there any more information you could provide, any additional output in that popup? Anything in the error log file of the http server? Anything in OCs internal log (bottom of the admin section)? Also, thus is dull, but could you try again please now, it happens sometimes that apps.owncloud.com unresponsive, which might cause an error.


Reply to this

-
.

 Fatal Error on Debian with ownCloud 5.0.10

 
 by lcars84 on: Aug 13 2013
 
Score 50%

Quote:
PHP Fatal error: Call to undefined method OCP\\Util::getVersionString() in /var/www/owncloud/apps/imprint/appinfo/app.php on line 37

Something is wrong here.


Reply to this

-
.

 Re: Fatal Error on Debian with ownCloud 5.0.10

 
 by arkascha on: Aug 13 2013
 
Score 50%

Indeed I can reproduce the issue if I install a fresh versioon of the app by activating it inside the apps area of an owncloud installation.
The issue has been recorded as #1297: https://github.com/owncloud/apps/issues/1297

It appears some completely untested code has been introduced and released some 25 days ago...
I will take a closer look and publish an updated version later today.

For the time being:
Please deinstall the app by deleting its folder from ownclouds file tree: apps/imprint.


Reply to this

-
.

 Appears to be fixed...

 
 by arkascha on: Aug 13 2013
 
Score 50%

Right, the bug appears to be fixed, I succeeded in installing and using the updated version 0.1.15 in two installations.
The cause were some well meant formal fixes contributed by someone weeks ago. Unfortunately these "fixes" were published accidentially without being tested by myself, when I created a fresh archive for this app store to bring the apps translation up2date. My apologies for this!
I fixed the faulty code (the contributor indeed referenced non-existing methods of the owncloud core!) and took care of the required backwards compatibility.

Sorry for the inconvenience.
I wish owncloud would be more robust against such annoying bugs!


Reply to this

-
.

 Very useful, but two things missing

 
 by diebe on: Nov 24 2014
 
Score 50%

Hi, this app is not only useful, it's a must have for professional users in germany and surely in other countries too.

Two points: it would be really really nice having the ability to include an external textfile instead of editing the whole content in admins menu. Content might get very large when using in a professional environment and when using some markup too, it's getting quite confusing. So I'd really love to have the ability just to point to some textfile from admins account which then would be displayed instead. This file could be edited externally and quickly updated when needed. Of course, it might contain any markup supported by imprint or none at all.

Second thing is more a question than a whish: how do I include my own stylesheets in a clean way? I know, I could edit the template files or include styles in html markup. But that's more a workaround than a solution and at least template files will get overwritten with next update. In logfile I see the error, that currently the stylesheet "imprint.css" is missing. Would that be the place where to put my own styles or will this file appear in some next update?


Reply to this

-
.

 Re: Very useful, but two things missing

 
 by arkascha on: Nov 24 2014
 
Score 50%

Thanks for the feedback, always welcome :-)

I see your point. And I think it is valid.
You already can use html markup which obviously opens a whole bunch full of options. But the cleanest and easiest way would indeed be to be able to use a file reference instead of the builtin text area.

I would suggest an even easier solution to what you had in mind:
I there would be the option to switch between using the text input field or some external reference, then one single reference would be enough. It could hold a full html page including head section. Such content could be displayed easily, since the current already is wrapped inside an iframe due to security reasons. So all you'd had to do is reference your html page, what styles and scripts you want to include is up to you then.

What do you think?

Unfortunately this would mean some adjustments in the apps admin section. But that should not be too complex. Maybe someone wants to give this a try? I'd be happy to assist!


Reply to this

-

 Re: Re: Very useful, but two things missing

 
 by diebe on: Nov 24 2014
 
Score 50%

What do you mean by "one single reference"? Kind of simple proxy? I do not want to include an external website if this is what you meant. I'd really prefer to include some local hosted textfile, i.e. one stored within owncloud. I really think this would be the cleanest and easiest way. Depending on another webservice is not such a good idea.

When having the ability to edit some larger content externally, I could easily include all styles in html markup. But working wiht this limited box would make it easier to reference an external css file.


Reply to this

-

 Not shown in my language

 
 by jonnius on: Nov 25 2014
 
Score 50%

Neither the settings part nor the "Legal Notice" label is schown in my language (German, de), even though I see the German l10n file in extension directory. What's wrong?


Reply to this

-
.

 Re: Not shown in my language

 
 by arkascha on: Nov 25 2014
 
Score 50%

Hm, if there is no settings section called "Imprint" in the admin page, then most likely the app is not really loaded. Obviously you need admin rights to use the admin page.
The "Legal info" reference (or "Impressum" in german) is only available when configured inside that settings section.


Reply to this

-

 Re: Re: Not shown in my language

 
 by jonnius on: Nov 25 2014
 
Score 50%

It seems I didn't explain clearly. Everything is working fine but the strings are shown in English, not in German.

Mir werden sowohl die Einstellungen, als auch die Bezeichnung "Legal notice" englisch angezeigt, statt Deutsch. Eigentlich sollte da ja Impressum stehen.


Reply to this

-
.

 Re: Re: Re: Not shown in my language

 
 by arkascha on: 2 days ago
 
Score 50%

OK, sorry, indeed I miss understood your issue first time, so thanks for pushing me into the right direction!

Indeed you point is valid, I was able to reproduce the issue. I just finished the fix and uploaded it to the app store.
The cause of the effect was not at all a problem with the apps implementation. Instead it turned out that is was simply based on the upcoming OC-8 instead of the current OC-7 code base. A change in the l10n file format in the core lead the effect you described.
I myself was not aware of this implication, so thanks again for pointing this out!

Since the new archive I uploaded to the app store does not hold any changes in the apps code at all it does not carry a new (incremented) version number. As an effect you cannot simply upgrade from within owncloud. Instead you have to replace the apps folder inside the owncloud file hierarchy. Take care of the file permission when doing so, though.

Sorry for the inconvenience! Hope things work fine again from this point!


Reply to this

goto page: prev   1  2 

Add commentBack




-
 
 Who we are
Contact
Register
Explore
Apps
Knowledge
People
Participate
Add App
Public API
About apps.ownCloud.com
Legal Notice
Report Abuse
 

Copyright 2011-2014 apps.ownCloud.com Team  
All rights reserved. apps.ownCloud.com is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.