Commit cb04d56e561279b26566577dc183b1469066826e
Exists in
master
and in
39 other branches
Merge branch 'master' of github.com:TracyWebTech/colab
Showing
4 changed files
with
15 additions
and
14 deletions
Show diff stats
fabfile.py
src/colab/custom_settings.py
... | ... | @@ -209,6 +209,8 @@ LOCALE_PATHS = ( |
209 | 209 | |
210 | 210 | AUTH_USER_MODEL = 'accounts.User' |
211 | 211 | |
212 | +ALLOWED_HOSTS = ['colab.interlegis.leg.br'] | |
213 | + | |
212 | 214 | from django.contrib.messages import constants as messages |
213 | 215 | MESSAGE_TAGS = { |
214 | 216 | messages.INFO: 'alert-info', |
... | ... | @@ -227,6 +229,8 @@ FEEDZILLA_SITE_DESCRIPTION = gettext(u'Colab blog aggregator') |
227 | 229 | |
228 | 230 | ### BrowserID / Persona |
229 | 231 | SITE_URL = 'https://colab.interlegis.leg.br' |
232 | +BROWSERID_AUDIENCES = [SITE_URL] | |
233 | + | |
230 | 234 | |
231 | 235 | LOGIN_URL = '/' |
232 | 236 | LOGIN_REDIRECT_URL = '/' |
... | ... | @@ -235,27 +239,20 @@ LOGOUT_REDIRECT_URL = '/' |
235 | 239 | BROWSERID_CREATE_USER = False |
236 | 240 | |
237 | 241 | |
238 | -### Apache Solr | |
239 | -#SOLR_HOSTNAME = 'solr.interlegis.leg.br' | |
240 | -SOLR_HOSTNAME = '10.1.2.154' | |
241 | -SOLR_PORT = '8080' | |
242 | -SOLR_SELECT_PATH = '/solr/select' | |
243 | - | |
244 | -SOLR_COLAB_URI = 'http://colab.interlegis.leg.br' | |
245 | -SOLR_BASE_QUERY = """ | |
246 | - ((Type:changeset OR Type:ticket OR Type:wiki OR Type:thread) AND Title:["" TO *]) | |
247 | -""" | |
248 | - | |
242 | +## Proxy settings | |
249 | 243 | COLAB_TRAC_URL = 'http://colab-backend.interlegis.leg.br/' |
250 | 244 | COLAB_CI_URL = 'http://jenkins.interlegis.leg.br:8080/ci/' |
251 | 245 | |
252 | 246 | REVPROXY_ADD_REMOTE_USER = True |
253 | 247 | |
248 | + | |
249 | +## Converse.js settings | |
254 | 250 | # This URL must use SSL in order to keep chat sessions secure |
255 | 251 | CONVERSEJS_BOSH_SERVICE_URL = SITE_URL + '/http-bind' |
256 | 252 | |
257 | 253 | CONVERSEJS_AUTO_REGISTER = 'mensageiro.interlegis.gov.br' |
258 | 254 | |
255 | + | |
259 | 256 | try: |
260 | 257 | from local_settings import * |
261 | 258 | except ImportError: | ... | ... |
src/colab/local_settings-dev.py
src/planet/templates/feedzilla/index.html
... | ... | @@ -8,9 +8,11 @@ |
8 | 8 | <hr> |
9 | 9 | {% empty %} |
10 | 10 | <h2>{% trans 'There is no RSS registered' %}</h2> |
11 | - <h3>{% trans 'Please' %} | |
12 | - href="{% url "feedzilla_submit_blog" %}">{% trans 'click here' %}</a> | |
11 | + <h3> | |
12 | + {% trans 'Please' %} | |
13 | + <a href="{% url "feedzilla_submit_blog" %}">{% trans 'click here' %}</a> | |
13 | 14 | {% trans 'to submit a blog' %}</h3> |
15 | + </h3> | |
14 | 16 | {% endfor %} |
15 | 17 | |
16 | 18 | {% include "common/pagination.html" %} | ... | ... |