Commit graph

135 commits

Author SHA1 Message Date
Luca Palmieri
4fe3710104 Update actix-http. 2021-08-31 23:29:26 +02:00
Pedro de Matos Fedricci
fd3bdce8b8 Cache sqlx-cli on ci workflow (#112) 2021-08-31 23:16:03 +02:00
LukeMathWalker
89600946e7 Fix coverage job 2021-08-01 21:11:31 +01:00
LukeMathWalker
aa1478f78d Fix name conflict with name from the bunyan format. 2021-07-16 09:02:28 +01:00
LukeMathWalker
65a01487e8 Fix environment variable for application URL on DO. 2021-07-14 09:31:46 +01:00
LukeMathWalker
4347d364b9 Re-enable offline feature. 2021-07-14 09:18:33 +01:00
LukeMathWalker
a115dbe96d Use pinned images in Dockerfile 2021-07-11 19:27:32 +01:00
LukeMathWalker
000f99b3d7 Remove unused import. 2021-07-11 18:00:43 +01:00
LukeMathWalker
c8913d195d Update to latest actix-web beta 2021-07-11 17:59:54 +01:00
LukeMathWalker
a522e13ab9 Update to actix-web 4.0.0-beta.8 2021-07-09 08:45:59 +01:00
Luca Palmieri
01140721c5 Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 08:59:44 +02:00
Luca Palmieri
cc1271f0cd Use the latest version of sqlx-cli, 0.5.5.
0.5.1 does not work anymore due to a conflict between a constant added to the standard library and a crate in our dependency tree.
2021-07-05 08:06:24 +02:00
LukeMathWalker
de05b2d1a8 Return 500 if email delivery fails. 2021-05-01 16:45:19 +01:00
LukeMathWalker
17ec08037f Update to latest actix-web. 2021-05-01 16:18:36 +01:00
LukeMathWalker
be141047e2 Use once_cell instead of lazy_static for tracing. Use custom sinks instead of filters to disable logging. 2021-05-01 15:53:23 +01:00
Luca Palmieri
7b216dd466 Fix migration script. 2021-04-28 20:40:46 +01:00
LukeMathWalker
055980b975 Cargo fmt. 2021-04-02 11:50:59 +01:00
LukeMathWalker
0de778e218 Update DB script. 2021-04-02 11:50:46 +01:00
LukeMathWalker
7aaf49585d Update query file. 2021-03-13 11:14:22 +00:00
LukeMathWalker
feab2630c7 Fix stage name. 2021-03-13 10:18:31 +00:00
LukeMathWalker
05a38b20cd Add base url in DO configuration. 2021-03-13 10:10:36 +00:00
LukeMathWalker
c58675a5a0 Use a SQL transaction. 2021-03-13 10:08:54 +00:00
LukeMathWalker
b21e9cc99c Final push. 2021-03-11 23:11:38 +00:00
LukeMathWalker
ccf1d84fe9 Fix migration. 2021-03-11 22:30:22 +00:00
LukeMathWalker
915a227fd9 Migration. 2021-03-11 22:09:47 +00:00
LukeMathWalker
a8f1bc9024 Generate random token. 2021-03-11 22:07:17 +00:00
LukeMathWalker
9a3420073c Add new test. 2021-03-11 21:40:39 +00:00
LukeMathWalker
e820e37275 Refactor. 2021-03-11 21:14:29 +00:00
LukeMathWalker
b3ad683b9a Roudntrip test. 2021-03-11 09:24:57 +00:00
LukeMathWalker
967b16b19b Get a 404. 2021-03-09 22:40:14 +00:00
LukeMathWalker
01f1d8758e Red test. 2021-03-09 21:51:11 +00:00
LukeMathWalker
a631932f05 Green test. 2021-03-09 21:19:16 +00:00
LukeMathWalker
6e049bab9e Refactor. 2021-03-09 21:12:58 +00:00
LukeMathWalker
28fc5612ae Split test cases. 2021-03-08 23:02:45 +00:00
LukeMathWalker
123e7f139c Fix. 2021-03-08 23:02:39 +00:00
LukeMathWalker
3f3c73a93e Refactor subscribe. 2021-03-08 22:54:17 +00:00
LukeMathWalker
bdddc29ac1 Confirmation link (static). 2021-03-08 22:40:58 +00:00
LukeMathWalker
2ac9ccbe97 Red test (confirmation link). 2021-03-08 22:10:23 +00:00
LukeMathWalker
310ffb01a5 Send static confirmation email. 2021-03-08 21:41:34 +00:00
LukeMathWalker
f4b066b487 Red test. 2021-03-08 21:10:59 +00:00
LukeMathWalker
0ad3b4429a Last migration. 2021-03-08 20:13:47 +00:00
LukeMathWalker
70334b9fc4 Make status mandatory. 2021-03-07 18:53:52 +00:00
LukeMathWalker
d2fd3fe1fa Populate status column. 2021-03-07 18:53:45 +00:00
LukeMathWalker
7e50aef1cd Add new column as optional. 2021-03-07 18:27:54 +00:00
LukeMathWalker
d129a77dea Start developing chapter 7, part 2. 2021-03-07 18:17:41 +00:00
mdtro
f0d346f4ad
Correcting chapter 5 link in README.md (#54)
The link to the Chapter 5 snapshot was broken. It referred to `root-chapter-05` while the actual link has the last _hyphen_ omitted (`root-chapter05`).
2021-03-07 08:09:09 +00:00
LukeMathWalker
fd3d3fd92b Merge remote-tracking branch 'origin/main' into main 2021-02-15 21:26:50 +00:00
LukeMathWalker
3359c5f921 Fix failing test. 2021-02-15 21:26:43 +00:00
Moises Marquez
d89c2a36c6
Cache cargo dependencies (#45) 2021-02-15 09:21:49 +00:00
Patrick Barrett
cc340b168e
use locked dependencies when installing sqlx-cli (#47)
This change is needed to workaround an incompatibility in the latest
release of a deep dependency that causes a conflict in bitvec, see:
https://github.com/launchbadge/sqlx/issues/1048
2021-02-15 09:18:48 +00:00