Commit Graph

16 Commits

Author SHA1 Message Date
Jeremy Stanley 24a3c65e32 Work around CVE-2018-12532
https://codewhitesec.blogspot.com/2018/05/poor-richfaces.html

Change-Id: I2c6cd13e0aeb71e5bebc680568fdf9f6f0656b74
2019-11-08 04:52:41 +00:00
Frank Kloeker e1fb24b955 Preparation for Zanata 4 version upgrade
There are some different changes in standalone.xml between
Zanata version 3 and 4. A version flag is implemented to
rollout the right version from template dir. For backwards
compatibility Zanata version 3 and 4 are supported yet.
Wildfly 9 stuff is removed because we have still Wildfly 10
running. That simplifies the manifest. Switch download URLs
to github, so there is also a standard to fetch files.

Change-Id: I5ada09cad7a19296802b22c2c3488ca547f2f14e
hint: http://docs.zanata.org/en/release/release-notes/#400
2017-11-27 22:32:41 +01:00
Clark Boylan f07a5492d3 Install newer versions of Zanata
This installs newer versions of zanata by unpacking published zip files
over the top of the wildfly install instead of manually injecting
specific war files.

Do this because the zip file includes the other dependencies that we
need like hibernate and the mysql connector.

Change-Id: I7632bbb30c8e3780836df65a47d35ca42b0b3f3c
2017-02-14 09:44:46 -08:00
Clark Boylan 7db140f1f4 Reduce diff between upstream and our standlone.xml files
A lot of this is equivalent xml with updated whitespace to reduce the
diff. This made it easier to see the actual differences between
upstream's config and ours.

With the whitespace changes out of the way I was able to update a few
things that were different between the two. The use db connection cache
manager value went from false to true, there was some added websocket
config, a missing weld section, and added back in our config for
specific openid source.

Change-Id: I11dd81a97662e8f24fdc364b353c7375407cfa30
2017-01-26 15:50:41 -08:00
Ian Y. Choi f4dde552a2 standalone.xml.erb for Wildfly 10 & Zanata 3.9.6
Change-Id: Iea29eba84b83879dd5e7b2e7522efc3f20ca7058
Co-Authored-By: Alex Eng <aeng@redhat.com>
2017-01-19 09:48:40 -08:00
Clark Boylan 5ced64b2bc Wildfly >=10 support
Wildfly includes these libs so we don't need to install them separately.
Check what version of wildfly is being installed and only add the libs
if necessary.

Prepare to have a different config file for 10

Change-Id: Idc09ef9d6d7200d86daad586719c2d4f6e143f1c
2017-01-19 09:48:33 -08:00
Clark Boylan 4e86b746c3 Set the mysql driver name based on ubuntu package
The different versions of ubuntu packaging use different driver names
for the mysql jdbc connector. Ensure we use the correct one on trusty
and on xenial.

Change-Id: I2cb154925bd67decd21fd440c13d3aafc4d8d982
2016-12-02 15:24:14 -08:00
Elizabeth K. Joseph 71b9503369 Sync template with automatic changes
The jboss.bind.address.management variable keeps being
automatically flipped to 0.0.0.0 so it's triggering a
template refresh with every puppet run. Just put that
in the template.

Change-Id: Id7faae2b9937bd1bd016b2cea7329702d0b951e2
2015-06-17 10:37:49 -07:00
Steve Kowalik 9e0edabed4 Correctly determine the server id
Due to using an undefined variable when determining the server id,
the client manifest was writing an incorrectly formatted zanata.ini
file. Furthermore, the intent of the change did not go far enough,
since it would not strip off the URI scheme or port. Due to the
complexities of parsing URIs in regular expressions, use a Puppet
function for the heavy lifting.

Change-Id: I754ee54f805c91f5548b2cf270b23c68eed3959c
2015-06-12 16:09:55 +10:00
stephane faad5121f0 Make default from address mandatory
Zanata needs to be able to send email for user registration, etc.
Make this parameter mandatory.

Change-Id: I37a2f8c9133a6ce3b098370e7df4fa1d200270c5
2015-04-22 09:35:25 -07:00
stephane 653ca81501 Add SMTP configuration options for Zanata
Zanata defaults to using a local SMTP server, but you can configure
it to do otherwise. Pass the values to the template for easy setup.

Change-Id: Ia0b1231c9bd1df50082f4e0bcf954aee29d1615a
2015-04-08 09:02:09 -07:00
stephane a924e7b172 Add apache configuration for zanata
This change allows us to shift away from the default setup of using Wildfly's
internal undertow webserver to using Apache as a frontend via
mod_proxy_ajp. The built-in https and ajp may be selectively enabled or
disabled.

Change-Id: I7152b43edb5e028fbad9631dd137536f90e33388
2015-04-07 13:04:24 -07:00
Jenkins 475bff78c2 Merge "Add zanata.ini file" 2015-04-07 19:07:59 +00:00
stephane 4515974ae8 Add zanata.ini file
The zanata client uses a .ini file to store the server's url and
an API key. Manage this file using puppet so we can easily install
this configuration.

Change-Id: I21c972de4df95b76b0e3361695d74f7d89b1f82c
2015-04-06 15:39:17 -07:00
stephane 4eb426f70d Add OpenID login provider support to Zanata config
We want users to sign in using openstackid.org. This requires
changes to the Zanata config to specify an OpenID provider and
to disable the existing internal login so we don't wind up with
multiple login buttons. Make OpenID configuration optional so
others can still use the module without it. Also allow the admin
user list to be configured.

Change-Id: I3688688ef37fea602b107fba17dcc8d6f40f9275
2015-03-26 11:30:51 -07:00
Elizabeth K. Joseph 1ad3f8f645 Initial commit of Zanata-specific sections
Running of Zanata requires installation of Zanata war file itself, two
modules and a config file.

Set Wildfly to be version 8.1.0, the current one tested and
confirmed working with Zanata.

Co-Authored-By: stephane <stephane@alum.mit.edu>
Change-Id: I1dc8407cf16a7543357691fd6a1d053afda298d5
2015-03-19 14:53:16 -07:00