9 Commits

Author SHA1 Message Date
Jenkins
725ae9eaa2 Merge "Update ask.o.o to latest 0.7.x branch r2" 2017-01-04 14:14:09 +00:00
Marton Kiss
a3ee1a726d Update ask.o.o to latest 0.7.x branch r2
Include the following fixes:
- openstackid.o.o openid provider and related bug fixes
- new multilanguage model

As the upstream askbot introduced a new branching model,
it also includes changes that brake the configuration. So
the addition of new settings.py backed by two reasons:
- keep the commit ref and settings change atomic (originally
the settings.py come from puppet-askbot module for production)
- provide a separate, and visible settings.py for ask.o.o,
as ask-staging.o.o already using settings.py-staging.erb to
handle system breaking changes.

The original and later reverted change id:
I79155c611386724b510a4cd5f2f544f98c74f3b9

Change-Id: I5b64f9183cc11fa0efed4e581b4b7002f0191764
2016-12-08 15:55:14 +01:00
Jeremy Stanley
f69a708c4e Revert "Update ask.o.o to latest 0.7.x branch"
This reverts commit a4115be981978a61ee344ff7957aa1a0ec261a4f.

The upgrade seems to have only partly completed, so reverting this
in an attempt to roll it back for now while we investigate.

Change-Id: I3aa077dd5040d75287f75c7da04aec9d52a68473
2016-11-09 21:16:19 +00:00
Marton Kiss
f5feb0047b Askbot add editor_deselector for the staging settings
Askbot introduced the editor_deselector variable for the inplace
editor. Without this setting the site will be broken.

4ed16585ac

Change-Id: I2938651c2d469f1f0a1d11ed294c26117bbbae82
2016-08-08 11:14:11 +02:00
Marton Kiss
a4115be981 Update ask.o.o to latest 0.7.x branch
Include the following fixes:
- openstackid.o.o openid provider and related bug fixes
- new multilanguage model

As the upstream askbot introduced a new branching model,
it also includes changes that brake the configuration. So
the addition of new settings.py backed by two reasons:
- keep the commit ref and settings change atomic (originally
the settings.py come from puppet-askbot module for production)
- provide a separate, and visible settings.py for ask.o.o,
as ask-staging.o.o already using settings.py-staging.erb to
handle system breaking changes.

Change-Id: I79155c611386724b510a4cd5f2f544f98c74f3b9
2016-01-31 08:48:07 +01:00
Marton Kiss
f4026f4859 Pin ask staging branch to 0.7.x and update settings
The askbot branches were separated by major versions, in the upstream
repository so this patch pins the ask-staging to the 0.7.x.
The 0.7.x. branch works with django version 1.5.x.

Settings.py now contains the new language configuration options,
including the ASKBOT_LANGUAGE_MODE settings and the required
captcha module.

Change-Id: Icd1052da20396601010315447a385fe7353391cd
2016-01-11 16:17:59 +01:00
Marton Kiss
62933ff45f Add custom settings.py template for ask-staging.o.o
This custom template is fixing the broken site of ask-staging.o.o
caused by the configuration change introduced in upstream
askbot-devel repository:
8854ef6dd4

Change-Id: Idf629d7a7908c71dca6a056cd31eb2319caa821c
Depends-On: Ic88b584cb60ab7f96c17e17b904c89200e10055d
2015-09-22 13:44:31 +02:00
Marton Kiss
557472a6d6 Remove duplicate _version_ definition from askbot's Chinese solr schema
The duplicated _version_ definition in the template prevented
the proper query of Chinese indexed content from Solr.

After the patch had been applied restart Solr and
reindex Chinese content:
sudo service jetty restart
cd /srv/askbot-sites/slot0/config
sudo python manage.py askbot_rebuild_index -l zh

Change-Id: Iaeabc73febc64c45996425225d3ee38db7f36f72
2015-03-24 18:56:52 +01:00
Marton Kiss
71da74ece2 Initial commit of Ask website
Add ask.openstack.org to openstack-infra. Setup an all-in-one
askbot site based on existing deployment, including apache,
redis,apache solr,postgresql. See askbot.rst for further
details. Refactored to depend on vamsee's puppet solr module.

Depends-On: Iffe07d3a34087cb15151787bc683208425a27594
Change-Id: I36504eac7b953c3cce3e21a3559ac95b1bc12da7
2015-03-09 23:58:30 +00:00