Bug 42232 - Migrate EC2 start site to UCS 4.2
Migrate EC2 start site to UCS 4.2
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Apache
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Richard Ulmer
Erik Damrose
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-02 14:58 CEST by Alexander Kläser
Modified: 2017-04-04 18:29 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2016-09-02 14:58:14 CEST
We will need to migrate the EC2 start site to the new UCS 4.2 design and JS framework.
Comment 1 Richard Ulmer univentionstaff 2017-03-17 13:29:53 CET
The EC2 start site is now migrated.

svn commit: 77886
build: 10.0.9-7A~4.2.0.201703171323
Comment 2 Richard Ulmer univentionstaff 2017-03-17 13:42:35 CET
Florian informed me, that bootstrap.css doesn't need to be imported, so I removed it.

svn commit: 77887
Comment 3 Erik Damrose univentionstaff 2017-03-20 15:32:26 CET
OK: The required information is available

Reopen: There is no possibility to change the language, this was possible in 4.1
Comment 4 Alexander Kläser univentionstaff 2017-03-21 10:23:41 CET
(In reply to Erik Damrose from comment #3)
> OK: The required information is available
> 
> Reopen: There is no possibility to change the language, this was possible in
> 4.1

I see 2 possibilities for this feature:
* Define for umcConfig loadHooks=false + include the menu which will be empty 
  then. All languages can then be added manually as menu entries.
* Add a Select widget (similar to System setup) to the page.
Comment 5 Florian Best univentionstaff 2017-03-21 12:02:02 CET
(In reply to Alexander Kläser from comment #4)
> (In reply to Erik Damrose from comment #3)
> > OK: The required information is available
> > 
> > Reopen: There is no possibility to change the language, this was possible in
> > 4.1
> 
> I see 2 possibilities for this feature:
> * Define for umcConfig loadHooks=false + include the menu which will be
> empty 
>   then. All languages can then be added manually as menu entries.
What about just overwrite i18nTools.availableLanguages and i18nTools.setLanguage? At least this is what I did in the SAML pages.
Comment 6 Alexander Kläser univentionstaff 2017-03-21 12:40:19 CET
(In reply to Erik Damrose from comment #3)
> OK: The required information is available
> 
> Reopen: There is no possibility to change the language, this was possible in
> 4.1

I opened Bug 43997 for this.
Comment 7 Erik Damrose univentionstaff 2017-03-27 16:26:15 CEST
OK: available at /univention/initialsetup/
OK: JS reads serveraddress from meta.json
Reopen: Due to the changes to meta.json, the serveraddress information might be outdated. I think we should just 'ucr commit' the file in the system-setup-boot initscript.

Something like this, after the motd.setup has been updated:
if [ -e /usr/share/univention-management-console/meta.json ]; then
  ucr commit /usr/share/univention-management-console/meta.json >/dev/null 2>&1
fi
Comment 8 Erik Damrose univentionstaff 2017-03-27 16:49:38 CEST
One more thing: Please make sure the card can grow in width to display common AWS EC2 hostnames without showing a scrollbar, as it currently does. A typical external hostname would be ec2-xxx-xxx-xxx-xxx.eu-west-1.compute.amazonaws.com
Comment 9 Richard Ulmer univentionstaff 2017-03-28 12:02:33 CEST
The card is now wider and meta.json will be updated at every boot.

svn commits: 78396 + 78397 (changelog)
Comment 10 Richard Ulmer univentionstaff 2017-03-28 12:09:25 CEST
build (package univention-system-setup): 10.0.10-10A~4.2.0.201703281203
Comment 11 Erik Damrose univentionstaff 2017-03-28 17:07:03 CEST
Looks great, verified!
Comment 12 Stefan Gohmann univentionstaff 2017-04-04 18:29:53 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".