Skip to content

Commit a2bdbc8

Browse files
committed
Merge branch 'release/3.1.46'
2 parents 419fd04 + 29433ca commit a2bdbc8

File tree

11 files changed

+35
-16
lines changed

11 files changed

+35
-16
lines changed

Diff for: ansible.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
[defaults]
22
ALLOW_WORLD_READABLE_TMPFILES = True
3+
stdout_callback=debug
4+
stderr_callback=debug

Diff for: deployment/ansible/group_vars/all

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ papertrail_log_files:
2929
- "/var/log/event-feed.log"
3030
- "/var/log/upstart/otp.log"
3131

32-
postgresql_version: "9.6"
33-
postgresql_package_version: "9.6.*"
32+
postgresql_version: "12"
33+
postgresql_package_version: "12.*.pgdg20.04+1"
3434
postgresql_support_libpq_version: "*"
3535

3636
postgresql_listen_addresses: "*"

Diff for: deployment/ansible/roles/cac-tripplanner.database/defaults/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# postgresql defaults copied from azavea.postgresql
3-
postgresql_version: "9.6"
4-
postgresql_package_version: "9.6.*"
3+
postgresql_version: "12"
4+
postgresql_package_version: "12.*.*"
55
postgresql_listen_addresses: localhost
66
postgresql_port: 5432
77
postgresql_data_directory: /var/lib/postgresql/{{ postgresql_version }}/main

Diff for: deployment/packer/cac_packer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_ubuntu_ami(region):
2121
creds (Dict): Dictionary containing AWS credentials
2222
"""
2323

24-
response = urllib.urlopen('http://cloud-images.ubuntu.com/query/bionic/'
24+
response = urllib.urlopen('http://cloud-images.ubuntu.com/query/jammy/'
2525
'server/released.current.txt').readlines()
2626
response = [x.decode('utf-8') for x in response]
2727
fieldnames = ['version', 'version_type', 'release_status', 'date',

Diff for: python/cac_tripplanner/cac_tripplanner/settings.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@
165165

166166
USE_I18N = True
167167

168-
USE_L10N = True
169-
170168
USE_TZ = True
171169

172170
# Directory for default featured destinations added in destinations 0012
@@ -189,7 +187,9 @@
189187

190188
STATIC_URL = "/static/"
191189
STATIC_ROOT = "/srv/cac"
192-
STATICFILES_DIRS = ()
190+
STATICFILES_DIRS = [
191+
os.path.join(BASE_DIR, 'static/'),
192+
]
193193

194194
MEDIA_ROOT = "/media/cac/"
195195
MEDIA_URL = "/media/"
@@ -314,6 +314,7 @@
314314
"top": "wpadmin.menu.menus.BasicTopMenu",
315315
"left": "wpadmin.menu.menus.BasicLeftMenu",
316316
},
317+
'custom_style': STATIC_URL + 'admin/css/pagination.css',
317318
}
318319
}
319320

Diff for: python/cac_tripplanner/cac_tripplanner/urls.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from django.conf.urls import re_path
2-
from django.urls import include
1+
from django.urls import include, re_path
32
from django.views.generic import RedirectView
43
from django.contrib.gis import admin
54

Diff for: python/cac_tripplanner/requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
base58==2.0.1
22
boto3==1.15.9
33
boto==2.49.0
4-
Django==3.2.13
4+
Django==4.2.11
55
django-ckeditor==6.0.0
6-
django-image-cropping==1.5.0
6+
django-image-cropping==1.7.0
77
django-extensions==3.1.5
88
django-storages==1.10.1
9-
easy-thumbnails==2.8.1
9+
easy-thumbnails==2.8.5
1010
gunicorn==20.0.4
1111
lxml==4.9.2
1212
Pillow==7.2.0

Diff for: python/cac_tripplanner/shortlinks/test/urls.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
from django.conf.urls import re_path
2-
from django.urls import include, path
1+
from django.urls import include, path, re_path
32
from shortlinks.test.views import stub_view
43

54
app_name = 'shortlinks'

Diff for: python/cac_tripplanner/shortlinks/urls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from django.conf.urls import re_path
1+
from django.urls import re_path
22
from django.views.decorators.csrf import csrf_exempt
33

44
from .views import ShortenedLinkRedirectView, ShortenedLinkCreateView
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#change-history > p.paginator {
2+
width: auto;
3+
}

Diff for: python/cac_tripplanner/templates/admin/base.html

+15
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
{% extends "admin/base.html" %}
2+
{% load i18n %}
3+
{% block breadcrumbs %}
4+
{% if title != 'Site administration' %}
5+
<div class="breadcrumbs">
6+
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
7+
{% if title %}
8+
{% if title|slice:'-14:' == 'administration' %}
9+
&rsaquo; {{ title|slice:':-14' }}
10+
{% else %}
11+
&rsaquo; {{ title }}
12+
{% endif %}
13+
{% endif %}
14+
</div>
15+
{% endif %}
16+
{% endblock %}
217
{% load cropping thumbnail %}
318
{% block extrahead %}
419
{{ form.media }}

0 commit comments

Comments
 (0)