From derek at ihtfp.com Fri Dec 16 19:01:24 2016 Content-Type: multipart/mixed; boundary="===============8580751649232477270==" MIME-Version: 1.0 From: Derek Atkins To: users at ovirt.org Subject: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Fri, 16 Dec 2016 14:01:20 -0500 Message-ID: --===============8580751649232477270== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, I'd like to make some modifications to the main /ovirt-engine/ landing page that I (and my users) hit when then first connect to my server. Specifically, I want to add another link under the "Downloads" section to the ovirt CA certificate to make it much easier to download: Ovirt CA Certificate However I can't find the HTML for this page, and any links I've found seem to refer back to 3.x locations and not anything for 4.0.5. Where can I find the HTML for this landing page, or how can I get this link added? I presume I'll have to modify the page every time I update the engine, too. Thanks, -derek -- = Derek Atkins 617-623-3745 derek(a)ihtfp.com www.ihtfp.com Computer and Internet Security Consultant --===============8580751649232477270==-- From jvdwege at xs4all.nl Sat Dec 17 10:10:34 2016 Content-Type: multipart/mixed; boundary="===============0482104500719312796==" MIME-Version: 1.0 From: Joop To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Sat, 17 Dec 2016 11:10:30 +0100 Message-ID: <58550F16.7000007@xs4all.nl> In-Reply-To: sjma8bv4s1r.fsf@securerf.ihtfp.org --===============0482104500719312796== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 16-12-2016 20:01, Derek Atkins wrote: > Hi, > > I'd like to make some modifications to the main /ovirt-engine/ landing > page that I (and my users) hit when then first connect to my server. > Specifically, I want to add another link under the "Downloads" section > to the ovirt CA certificate to make it much easier to download: > > Ovirt CA Certificate > > However I can't find the HTML for this page, and any links I've found > seem to refer back to 3.x locations and not anything for 4.0.5. > > Where can I find the HTML for this landing page, or how can I get this > link added? I presume I'll have to modify the page every time I update > the engine, too. > It might be hiding in the war file if that is used to deploy the application (engine) on wildfly (10.x). Another thought occured, can you use the plugin architecture to provide the extra link? Joop --===============0482104500719312796==-- From derek at ihtfp.com Sun Dec 18 20:23:10 2016 Content-Type: multipart/mixed; boundary="===============7884642348561508552==" MIME-Version: 1.0 From: Derek Atkins To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Sun, 18 Dec 2016 15:23:06 -0500 Message-ID: In-Reply-To: 58550F16.7000007@xs4all.nl --===============7884642348561508552== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Joop, Joop writes: > On 16-12-2016 20:01, Derek Atkins wrote: >> Hi, >> >> I'd like to make some modifications to the main /ovirt-engine/ landing >> page that I (and my users) hit when then first connect to my server. >> Specifically, I want to add another link under the "Downloads" section >> to the ovirt CA certificate to make it much easier to download: >> >> > href=3D"/ovirt-engine/services/pki-resource?resource=3Dca-certificate&fo= rmat=3DX509-PEM-CA">Ovirt >> CA Certificate >> >> However I can't find the HTML for this page, and any links I've found >> seem to refer back to 3.x locations and not anything for 4.0.5. >> >> Where can I find the HTML for this landing page, or how can I get this >> link added? I presume I'll have to modify the page every time I update >> the engine, too. >> > It might be hiding in the war file if that is used to deploy the > application (engine) on wildfly (10.x). Another thought occured, can you > use the plugin architecture to provide the extra link? I wouldn't even know where to start to use the plugin architecture to do this. Any documentation pointers? > Joop -derek -- = Derek Atkins 617-623-3745 derek(a)ihtfp.com www.ihtfp.com Computer and Internet Security Consultant --===============7884642348561508552==-- From didi at redhat.com Wed Jan 4 13:31:23 2017 Content-Type: multipart/mixed; boundary="===============0442836046159665673==" MIME-Version: 1.0 From: Yedidyah Bar David To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Wed, 04 Jan 2017 15:31:21 +0200 Message-ID: In-Reply-To: sjma8btugut.fsf@securerf.ihtfp.org --===============0442836046159665673== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Sun, Dec 18, 2016 at 10:23 PM, Derek Atkins wrote: > Joop, > > Joop writes: > >> On 16-12-2016 20:01, Derek Atkins wrote: >>> Hi, >>> >>> I'd like to make some modifications to the main /ovirt-engine/ landing >>> page that I (and my users) hit when then first connect to my server. >>> Specifically, I want to add another link under the "Downloads" section >>> to the ovirt CA certificate to make it much easier to download: >>> >>> >> href=3D"/ovirt-engine/services/pki-resource?resource=3Dca-certificate&f= ormat=3DX509-PEM-CA">Ovirt >>> CA Certificate >>> >>> However I can't find the HTML for this page, and any links I've found >>> seem to refer back to 3.x locations and not anything for 4.0.5. >>> >>> Where can I find the HTML for this landing page, or how can I get this >>> link added? I presume I'll have to modify the page every time I update >>> the engine, too. >>> >> It might be hiding in the war file if that is used to deploy the >> application (engine) on wildfly (10.x). Another thought occured, can you >> use the plugin architecture to provide the extra link? > > I wouldn't even know where to start to use the plugin architecture to do > this. Any documentation pointers? https://www.ovirt.org/develop/release-management/features/ux/uiplugins/ Best, -- = Didi --===============0442836046159665673==-- From mskrivan at redhat.com Wed Jan 4 14:53:35 2017 Content-Type: multipart/mixed; boundary="===============0054603956366403710==" MIME-Version: 1.0 From: Michal Skrivanek To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Wed, 04 Jan 2017 15:53:31 +0100 Message-ID: <5190149309953507319@unknownmsgid> In-Reply-To: CAHRwYXuBHbyPGgM4BGWMaQYWP=ALMVvFmmwPJO160K5i0=eEGA@mail.gmail.com --===============0054603956366403710== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable > On 04 Jan 2017, at 14:31, Yedidyah Bar David wrote: > >> On Sun, Dec 18, 2016 at 10:23 PM, Derek Atkins wrote: >> Joop, >> >> Joop writes: >> >>>> On 16-12-2016 20:01, Derek Atkins wrote: >>>> Hi, >>>> >>>> I'd like to make some modifications to the main /ovirt-engine/ landing >>>> page that I (and my users) hit when then first connect to my server. >>>> Specifically, I want to add another link under the "Downloads" section >>>> to the ovirt CA certificate to make it much easier to download: >>>> >>>> >>> href=3D"/ovirt-engine/services/pki-resource?resource=3Dca-certificate&= format=3DX509-PEM-CA">Ovirt >>>> CA Certificate >>>> >>>> However I can't find the HTML for this page, and any links I've found >>>> seem to refer back to 3.x locations and not anything for 4.0.5. What exact version do you have? It was changed/fixed several months ago to a link as above >>>> >>>> Where can I find the HTML for this landing page, or how can I get this >>>> link added? I presume I'll have to modify the page every time I update >>>> the engine, too. >>> It might be hiding in the war file if that is used to deploy the >>> application (engine) on wildfly (10.x). Another thought occured, can you >>> use the plugin architecture to provide the extra link? >> >> I wouldn't even know where to start to use the plugin architecture to do >> this. Any documentation pointers? > > https://www.ovirt.org/develop/release-management/features/ux/uiplugins/ > > Best, > -- > Didi > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > > --===============0054603956366403710==-- From derek at ihtfp.com Wed Jan 4 15:50:23 2017 Content-Type: multipart/mixed; boundary="===============1677773910039352352==" MIME-Version: 1.0 From: Derek Atkins To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Wed, 04 Jan 2017 10:50:18 -0500 Message-ID: In-Reply-To: 5190149309953507319@unknownmsgid --===============1677773910039352352== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Michal, Michal Skrivanek writes: >>>>> On 16-12-2016 20:01, Derek Atkins wrote: >>>>> Hi, >>>>> >>>>> I'd like to make some modifications to the main /ovirt-engine/ landing >>>>> page that I (and my users) hit when then first connect to my server. >>>>> Specifically, I want to add another link under the "Downloads" section >>>>> to the ovirt CA certificate to make it much easier to download: >>>>> >>>>> >>>> href=3D"/ovirt-engine/services/pki-resource?resource=3Dca-certificate= &format=3DX509-PEM-CA">Ovirt >>>>> CA Certificate >>>>> >>>>> However I can't find the HTML for this page, and any links I've found >>>>> seem to refer back to 3.x locations and not anything for 4.0.5. > > What exact version do you have? It was changed/fixed several months > ago to a link as above I am running ovirt-engine-4.0.5.5-1.el7.centos.noarch and nowhere in /usr or /etc can I find the HTML for the ovirt-engine main page. Yes, if I **manually type in** the link above it works just fine. As a courtesy to my users I want to add the CA certificate URL as a clickable link off the ovirt main page which is accessible from https:///ovirt-engine/ According to some googling I found that back in the 3.x days this was just an HTML page, but if that's still the case in 4.0 I cannot find it in order to add the above HREF. >>> I wouldn't even know where to start to use the plugin architecture to do >>> this. Any documentation pointers? >> >> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/ Thanks, Didi. I've read through this page and it provides lots of goodness if I wanted to add new tabs to the portal, but I can't find any hints how I would change the page that's seen when someone first connects to the /ovirt-engine/ page when they first connect to ovirt. Thanks, -derek -- = Derek Atkins 617-623-3745 derek(a)ihtfp.com www.ihtfp.com Computer and Internet Security Consultant --===============1677773910039352352==-- From didi at redhat.com Wed Jan 4 16:00:38 2017 Content-Type: multipart/mixed; boundary="===============2871951877866801606==" MIME-Version: 1.0 From: Yedidyah Bar David To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Wed, 04 Jan 2017 18:00:35 +0200 Message-ID: In-Reply-To: sjmzij6q0xx.fsf@securerf.ihtfp.org --===============2871951877866801606== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, Jan 4, 2017 at 5:50 PM, Derek Atkins wrote: > Hi Michal, > > Michal Skrivanek writes: > >>>>>> On 16-12-2016 20:01, Derek Atkins wrote: >>>>>> Hi, >>>>>> >>>>>> I'd like to make some modifications to the main /ovirt-engine/ landi= ng >>>>>> page that I (and my users) hit when then first connect to my server. >>>>>> Specifically, I want to add another link under the "Downloads" secti= on >>>>>> to the ovirt CA certificate to make it much easier to download: >>>>>> >>>>>> >>>>> href=3D"/ovirt-engine/services/pki-resource?resource=3Dca-certificat= e&format=3DX509-PEM-CA">Ovirt >>>>>> CA Certificate >>>>>> >>>>>> However I can't find the HTML for this page, and any links I've found >>>>>> seem to refer back to 3.x locations and not anything for 4.0.5. >> >> What exact version do you have? It was changed/fixed several months >> ago to a link as above > > I am running ovirt-engine-4.0.5.5-1.el7.centos.noarch and nowhere in > /usr or /etc can I find the HTML for the ovirt-engine main page. > > Yes, if I **manually type in** the link above it works just fine. As a > courtesy to my users I want to add the CA certificate URL as a clickable > link off the ovirt main page which is accessible from > https:///ovirt-engine/ > > According to some googling I found that back in the 3.x days this was > just an HTML page, but if that's still the case in 4.0 I cannot find it > in order to add the above HREF. > >>>> I wouldn't even know where to start to use the plugin architecture to = do >>>> this. Any documentation pointers? >>> >>> https://www.ovirt.org/develop/release-management/features/ux/uiplugins/ > > Thanks, Didi. I've read through this page and it provides lots of > goodness if I wanted to add new tabs to the portal, but I can't find any > hints how I would change the page that's seen when someone first > connects to the /ovirt-engine/ page when they first connect to ovirt. Perhaps you were looking for this one: https://www.ovirt.org/develop/release-management/features/ux/branding/ Best, -- = Didi --===============2871951877866801606==-- From derek at ihtfp.com Wed Jan 4 16:17:35 2017 Content-Type: multipart/mixed; boundary="===============2534869602238255384==" MIME-Version: 1.0 From: Derek Atkins To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Wed, 04 Jan 2017 11:17:32 -0500 Message-ID: <13fe981532b82b7f5412406c2614faa0.squirrel@mail2.ihtfp.org> In-Reply-To: CAHRwYXtiN056EYLd7V5heuaSYutfP2Gf0_8eXy4yBQgK_qHd=g@mail.gmail.com --===============2534869602238255384== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, January 4, 2017 11:00 am, Yedidyah Bar David wrote: >> Thanks, Didi. I've read through this page and it provides lots of >> goodness if I wanted to add new tabs to the portal, but I can't find any >> hints how I would change the page that's seen when someone first >> connects to the /ovirt-engine/ page when they first connect to ovirt. > > Perhaps you were looking for this one: > > https://www.ovirt.org/develop/release-management/features/ux/branding/ AHA!! There's a section there called "Welcome Page" which pointed me to /usr/share/ovirt-engine/branding/ovirt.brand/welcome_page.template which seems to be exactly what I want to edit! Looks like I need to rewrite that in place, but that's okay. I'm sure it will get overwritten every update but I'll note to fix it then too. I would never have considered this "branding".. :) And of course google never brought me to that link. I'm sure in 20/20 hindsight I would have better search terms for "modify ovirt welcome page" that would've worked. Thank you. > Best, > -- > Didi -derek -- = Derek Atkins 617-623-3745 derek(a)ihtfp.com www.ihtfp.com Computer and Internet Security Consultant --===============2534869602238255384==-- From didi at redhat.com Thu Jan 5 07:04:02 2017 Content-Type: multipart/mixed; boundary="===============9080208716321082534==" MIME-Version: 1.0 From: Yedidyah Bar David To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Thu, 05 Jan 2017 09:04:00 +0200 Message-ID: In-Reply-To: 13fe981532b82b7f5412406c2614faa0.squirrel@mail2.ihtfp.org --===============9080208716321082534== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, Jan 4, 2017 at 6:17 PM, Derek Atkins wrote: > > On Wed, January 4, 2017 11:00 am, Yedidyah Bar David wrote: > >>> Thanks, Didi. I've read through this page and it provides lots of >>> goodness if I wanted to add new tabs to the portal, but I can't find any >>> hints how I would change the page that's seen when someone first >>> connects to the /ovirt-engine/ page when they first connect to ovirt. >> >> Perhaps you were looking for this one: >> >> https://www.ovirt.org/develop/release-management/features/ux/branding/ > > AHA!! There's a section there called "Welcome Page" which pointed me to > /usr/share/ovirt-engine/branding/ovirt.brand/welcome_page.template which > seems to be exactly what I want to edit! > > Looks like I need to rewrite that in place, but that's okay. I'm sure it > will get overwritten every update but I'll note to fix it then too. Please check also BRANDING.adoc from the engine source tree [1]. You should be able to add your own directory wherever you want and link to it from /etc/ovirt-engine/branding with a higher number, and it will override the default. You can try either copying only what you want or all of the existing directory. Best, [1] https://gerrit.ovirt.org/gitweb?p=3Dovirt-engine.git;a=3Dblob;f=3DBRAND= ING.adoc > > I would never have considered this "branding".. :) And of course google > never brought me to that link. I'm sure in 20/20 hindsight I would have > better search terms for "modify ovirt welcome page" that would've worked. > > Thank you. > >> Best, >> -- >> Didi > > -derek > > -- > Derek Atkins 617-623-3745 > derek(a)ihtfp.com www.ihtfp.com > Computer and Internet Security Consultant > -- = Didi --===============9080208716321082534==-- From awels at redhat.com Thu Jan 5 21:00:14 2017 Content-Type: multipart/mixed; boundary="===============0402769175796251632==" MIME-Version: 1.0 From: Alexander Wels To: users at ovirt.org Subject: Re: [ovirt-users] Modifying the main /ovirt-engine/ landing page -- add link to CA Cert? Date: Thu, 05 Jan 2017 16:00:12 -0500 Message-ID: <8678854.gU4ZKyyAZG@awels> In-Reply-To: CAHRwYXu0xv-UKvM1EKOnXUDhF7uJQ5YNaQNOrbi33i=vrEcwaQ@mail.gmail.com --===============0402769175796251632== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Thursday, January 5, 2017 9:04:00 AM EST Yedidyah Bar David wrote: > On Wed, Jan 4, 2017 at 6:17 PM, Derek Atkins wrote: > > On Wed, January 4, 2017 11:00 am, Yedidyah Bar David wrote: > >>> Thanks, Didi. I've read through this page and it provides lots of > >>> goodness if I wanted to add new tabs to the portal, but I can't find = any > >>> hints how I would change the page that's seen when someone first > >>> connects to the /ovirt-engine/ page when they first connect to ovirt. > >> = > >> Perhaps you were looking for this one: > >> = > >> https://www.ovirt.org/develop/release-management/features/ux/branding/ > > = > > AHA!! There's a section there called "Welcome Page" which pointed me to > > /usr/share/ovirt-engine/branding/ovirt.brand/welcome_page.template which > > seems to be exactly what I want to edit! > > = > > Looks like I need to rewrite that in place, but that's okay. I'm sure = it > > will get overwritten every update but I'll note to fix it then too. > = > Please check also BRANDING.adoc from the engine source tree [1]. > You should be able to add your own directory wherever you want and link > to it from /etc/ovirt-engine/branding with a higher number, and it will > override the default. You can try either copying only what you want or > all of the existing directory. > = Yes you can make 01-mystuff.brand and in there put a specific template and = properties file. In the properties file you can specify if you want to appe= nd = or completely overwrite the welcome page. If you just want to add a link, I = would suggest appending instead of overwriting. If you need more detailed instructions let me know. I am very familiar with = that piece of code (since I wrote it). > Best, > = > [1] > https://gerrit.ovirt.org/gitweb?p=3Dovirt-engine.git;a=3Dblob;f=3DBRANDIN= G.adoc > > I would never have considered this "branding".. :) And of course goog= le > > never brought me to that link. I'm sure in 20/20 hindsight I would have > > better search terms for "modify ovirt welcome page" that would've worke= d. > > = > > Thank you. > > = > >> Best, > >> -- > >> Didi > > = > > -derek > > = > > -- > > = > > Derek Atkins 617-623-3745 > > derek(a)ihtfp.com www.ihtfp.com > > Computer and Internet Security Consultant --===============0402769175796251632==--