Univention Bugzilla – Bug 31803
Show info message after app installation
Last modified: 2013-11-19 06:42:41 CET
It should be possible to show an info message (popup) after the installation of an app. Also after the upgrade. In the style of README_UPDATE. The files should show the content as HTML. To make it consistent we should allow / support: - README_UPDATE - REAME_POST_UPDATE - README_INSTALLATION - REAME_POST_INSTALLATION It should be documented in wiki or in the Developer Guide: http://wiki.univention.de/index.php?title=App_Center_-_.ini_file http://docs.univention.de/developer-reference-3.1.html
Please consider Bug #31886.
*** Bug 30176 has been marked as a duplicate of this bug. ***
Fixed in univention-management-console-module-appcenter 3.0.6-1.150.201307161230 The following READMEs are now supported: - LICENSE_AGREEMENT - README_INSTALLATION - REAME_POST_INSTALLATION - README_UPDATE - README_POST_UPDATE - (README - only used in "Installed Apps") All of them allow HTML, all of them allow localization (e.g. README_POST_INSTALLATION_DE) with fallback: DE: README_POST_INSTALLATION_DE -> README_POST_INSTALLATION_EN -> README_POST_INSTALLATION EN: README_POST_INSTALLATION_EN -> README_POST_INSTALLATION Note that as this applies to "old" READMEs like LICENSE_AGREEMENT one might need to convert those from UCS 3.1.
(In reply to Stefan Gohmann from comment #0) > It should be documented in wiki or in the Developer Guide: > http://wiki.univention.de/index.php?title=App_Center_-_.ini_file > http://docs.univention.de/developer-reference-3.1.html Documented in Developer Reference
(In reply to Stefan Gohmann from comment #0) > ... > It should be documented in wiki or in the Developer Guide: > http://wiki.univention.de/index.php?title=App_Center_-_.ini_file > http://docs.univention.de/developer-reference-3.1.html This has not yet been done → REOPENED
(In reply to Alexander Kläser from comment #5) > (In reply to Stefan Gohmann from comment #0) > > ... > > It should be documented in wiki or in the Developer Guide: > > http://wiki.univention.de/index.php?title=App_Center_-_.ini_file > > http://docs.univention.de/developer-reference-3.1.html > > This has not yet been done → REOPENED My mistake (see comment 4).
(In reply to Dirk Wiesenthal from comment #4) > Documented in Developer Reference OK, README files are documented. The main QA for the text will be done via Bug 31226. I would suggest a localization through the form README.de or README_UPDATE.de instead of *_DE. This would be IMHO more obvious.
(In reply to Dirk Wiesenthal from comment #3) > ... > - README_INSTALLATION > - REAME_POST_INSTALLATION In fact, these are: - README_INSTALL - REAME_POST_INSTALL
Changelog → OK HTML format → OK localization of README files → OK Prompting README_POST_INSTALL, README_POST_UPDATE does not have a default button. → REOPENED (In reply to Alexander Kläser from comment #7) > ... > I would suggest a localization through the form README.de or > README_UPDATE.de instead of *_DE. This would be IMHO more obvious. Not yet... → I opened Bug 32182
(In reply to Alexander Kläser from comment #9) > Changelog → OK > HTML format → OK > localization of README files → OK > > Prompting README_POST_INSTALL, README_POST_UPDATE does not have a default > button. > → REOPENED Fixed in: univention-management-console-module-appcenter 3.0.14-1.164.201308081215 I also changed the fallback for localisation from: locale || 'en' || generic to locale || generic || 'en' because I found a license agreement that had both English and German in the generic version. If this App provided a LICENSE_AGREEMENT_EN the generic version (with the German part) would not be shown if locale == "de". Although I doubt that this will have any impact as localised files either be "complete" or completely missing.
(In reply to Dirk Wiesenthal from comment #10) > Fixed in: > univention-management-console-module-appcenter 3.0.14-1.164.201308081215 > > I also changed the fallback for localisation from: > locale || 'en' || generic > to > locale || generic || 'en' > > because I found a license agreement that had both English and German in the > generic version. If this App provided a LICENSE_AGREEMENT_EN the generic > version (with the German part) would not be shown if locale == "de". > > Although I doubt that this will have any impact as localised files either be > "complete" or completely missing. Looks good now → VERIFIED
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".