Skip to content

Commit d08a143

Browse files
chore: Release v1.13.0
2 parents a60e630 + 25e6a09 commit d08a143

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+317
-274
lines changed

.circleci/config.yml

Lines changed: 80 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
11
version: 2
22
jobs:
3-
build:
3+
dependencies:
44
docker:
55
- image: circleci/python:3.7.4-node
6-
environment:
7-
APP_CONFIG: config.TestingConfig
8-
DATABASE_URL: postgresql://postgres@localhost/test
9-
TEST_DATABASE_URL: postgresql://postgres@localhost/test
10-
# Services
11-
- image: circleci/postgres:11.5-alpine-ram
12-
environment:
13-
POSTGRES_USER: postgres
14-
POSTGRES_DB: test
15-
- image: circleci/redis:5.0.6-alpine
166

177
working_directory: ~/code
188

199
steps:
2010
- checkout
2111

12+
- run:
13+
command: cat requirements/*.txt > requirements/combined.txt
14+
2215
# Download and cache dependencies
2316
- restore_cache:
2417
keys:
25-
- v1.3-dependencies-{{ checksum "requirements/tests.txt" }}-{{ checksum "package.json" }}
18+
- v1.3-dependencies-{{ checksum "requirements/combined.txt" }}-{{ checksum "package.json" }}
2619
# fallback to using the latest cache if no exact match is found
2720
- v1.3-dependencies-
2821

@@ -32,7 +25,7 @@ jobs:
3225
python3 -m venv venv
3326
. venv/bin/activate
3427
pip install --exists-action w -r requirements/tests.txt
35-
28+
3629
- run:
3730
name: Install Node Dependencies
3831
command: yarn
@@ -43,7 +36,36 @@ jobs:
4336
- ./node_modules
4437
- ~/.cache/yarn
4538
- ~/.yarn/bin
46-
key: v1.3-dependencies-{{ checksum "requirements/tests.txt" }}-{{ checksum "package.json" }}
39+
key: v1.3-dependencies-{{ checksum "requirements/combined.txt" }}-{{ checksum "package.json" }}
40+
41+
dredd:
42+
docker:
43+
- image: circleci/python:3.7.4-node
44+
environment:
45+
APP_CONFIG: config.TestingConfig
46+
DATABASE_URL: postgresql://postgres@localhost/test
47+
TEST_DATABASE_URL: postgresql://postgres@localhost/test
48+
# Services
49+
- image: circleci/postgres:11.5-alpine-ram
50+
environment:
51+
POSTGRES_USER: postgres
52+
POSTGRES_DB: test
53+
- image: circleci/redis:5.0.6-alpine
54+
55+
working_directory: ~/code
56+
57+
steps:
58+
- checkout
59+
60+
- run:
61+
command: cat requirements/*.txt > requirements/combined.txt
62+
63+
# Download and cache dependencies
64+
- restore_cache:
65+
keys:
66+
- v1.3-dependencies-{{ checksum "requirements/combined.txt" }}-{{ checksum "package.json" }}
67+
# fallback to using the latest cache if no exact match is found
68+
- v1.3-dependencies-
4769

4870
- run:
4971
name: Create API blueprint
@@ -52,3 +74,47 @@ jobs:
5274
- run:
5375
name: Test API Doc
5476
command: . venv/bin/activate && npx dredd
77+
78+
pytype:
79+
docker:
80+
- image: circleci/python:3.7.4-node
81+
82+
working_directory: ~/code
83+
84+
steps:
85+
- checkout
86+
87+
- run:
88+
command: cat requirements/*.txt > requirements/combined.txt
89+
90+
# Download and cache dependencies
91+
- restore_cache:
92+
keys:
93+
- v1.3-dependencies-{{ checksum "requirements/combined.txt" }}-{{ checksum "package.json" }}
94+
# fallback to using the latest cache if no exact match is found
95+
- v1.3-dependencies-
96+
97+
- restore_cache:
98+
keys:
99+
- v1-pytype
100+
101+
- run:
102+
name: Test pytype
103+
command: . venv/bin/activate && pytype
104+
105+
- save_cache:
106+
paths:
107+
- ./.pytype
108+
key: v1-pytype
109+
110+
workflows:
111+
version: 2
112+
build-and-test:
113+
jobs:
114+
- dependencies
115+
- dredd:
116+
requires:
117+
- dependencies
118+
- pytype:
119+
requires:
120+
- dependencies

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ generated/
5959
docker-compose.override.yml
6060
celerybeat-schedule.*
6161
.coverage
62+
.pytype

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
## Changelog
22

3+
#### v1.13.0 (2020-02-20):
4+
5+
- Fix cron job timings preventing multiple emails to attendees
6+
- Change email links to be more accessible
7+
- Fix invoice email generation errors
8+
- Add proper etag support by changing to weak etags
9+
310
#### v1.12.0 (2020-02-02):
411

512
- Add check if donation ticket has payment method enabled

app/api/__init__.py

Whitespace-only changes.

app/api/admin_sales/__init__.py

Whitespace-only changes.

app/api/attendees.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def before_update_object(self, obj, data, kwargs):
285285
checkout_times = (
286286
obj.checkout_times.split(',') if obj.checkout_times else []
287287
)
288-
checkout_times.append(str(datetime.utcnow()))
288+
checkout_times.append(str(datetime.datetime.utcnow()))
289289
data['checkout_times'] = ','.join(checkout_times)
290290

291291
if 'attendee_notes' in data:

app/api/custom/__init__.py

Whitespace-only changes.

app/api/data_layers/__init__.py

Whitespace-only changes.

app/api/full_text_search/__init__.py

Whitespace-only changes.

app/api/helpers/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)