Commit graph

186 commits

Author SHA1 Message Date
Luca Palmieri
c7a4701c28 Update to actix-web beta.19 2022-01-05 18:21:09 +00:00
Luca Palmieri
f571e69e2b Remove direct 'log' dependency 2022-01-02 16:52:13 +01:00
Luca Palmieri
812ee92869 Fix clippy errors 2021-12-28 17:51:18 +01:00
Luca Palmieri
3cb4cc7f9f Update dependencies. 2021-12-28 13:06:18 +01:00
Luca Palmieri
b2cfdf30f2 Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:20:06 +01:00
Luca Palmieri
f7f25b93d6 Add secrecy 2021-12-27 15:01:53 +01:00
Luca Palmieri
40b67c7160 Run cargo-update 2021-12-27 11:32:45 +01:00
Luca Palmieri
68a4115c03 Remove tracing-futures. 2021-12-27 11:17:15 +01:00
Luca Palmieri
5623cafa2b Update to 2021 edition. 2021-12-27 10:59:57 +01:00
Luca Palmieri
8c16cf46e9 Update to latest version of actix-web, tracing-bunyan-formatter and tracing-subscriber. Use tokio macros instead of actix-web's macros. 2021-12-26 16:53:58 +01:00
Luca Palmieri
236564f954 Update to latest version of actix-web, tracing-bunyan-formatter and tracing-subscriber. Use tokio macros instead of actix-web's macros. 2021-12-26 16:53:20 +01:00
LukeMathWalker
5a99df9a18 Use 127.0.0.1 instead of localhost. 2021-10-07 21:56:32 +01:00
LukeMathWalker
b2ee0b73ac Update runtime image. 2021-09-30 21:24:42 +01:00
LukeMathWalker
5e3d9a17f9 Lower sqlx's log level 2021-09-30 21:18:56 +01:00
LukeMathWalker
3bd80edfba Connect lazily 2021-09-29 09:22:50 +01:00
Luca Palmieri
dbbb98c2de Updated sqlx query metadata 2021-09-27 18:41:06 +02:00
Luca Palmieri
190808f948 Check prepared data is up-to-date. 2021-09-27 18:12:50 +02:00
Luca Palmieri
524bd354a6 Fix clippy lints. 2021-09-11 21:59:18 +02:00
Luca Palmieri
11a7a87e1e Update actix-web. 2021-09-11 21:58:52 +02:00
Luca Palmieri
8697eb9428 Implement TryFrom instead of TryInto 2021-09-01 09:26:17 +02:00
Luca Palmieri
661a5b49e7 Update Dockerfile. 2021-08-31 23:40:55 +02:00
Luca Palmieri
92f9157777 Update actix-http. 2021-08-31 23:30:09 +02:00
Pedro de Matos Fedricci
8823efa440 Cache sqlx-cli on ci workflow (#112) 2021-08-31 23:14:37 +02:00
LukeMathWalker
aba96508af Fix coverage job 2021-08-01 21:11:56 +01:00
LukeMathWalker
4d7b4ddde5 Update branch info. 2021-08-01 19:24:51 +01:00
LukeMathWalker
25dc5d2d5c Add chapter 9 to the README. 2021-08-01 19:21:57 +01:00
LukeMathWalker
9e75751b6b Remove Row. 2021-08-01 15:17:47 +01:00
LukeMathWalker
d54f33858d End of chapter. 2021-08-01 14:57:02 +01:00
LukeMathWalker
d7999e7241 Using two types to fetch. 2021-08-01 11:11:56 +01:00
LukeMathWalker
e9d4b14dcf Add error. 2021-07-28 09:35:34 +01:00
LukeMathWalker
5b87b2449d Add query. 2021-07-27 09:09:20 +01:00
LukeMathWalker
32c03a55c5 Refactor tests. 2021-07-25 17:37:00 +01:00
LukeMathWalker
83826d0166 Add handler. 2021-07-25 16:40:01 +01:00
LukeMathWalker
16ba42dccf Add handler. 2021-07-22 08:31:57 +01:00
LukeMathWalker
2e644faf9d Name helper mock. 2021-07-21 22:21:23 +01:00
LukeMathWalker
725280372d Set expectation on helper mock. 2021-07-21 21:59:32 +01:00
LukeMathWalker
9752cfc71e Use scoped mock. 2021-07-21 21:41:13 +01:00
LukeMathWalker
5299ef1f1d First integration tests for newsletter delivery. 2021-07-17 19:43:47 +01:00
LukeMathWalker
c1caed5404 Fix name conflict with name from the bunyan format. 2021-07-16 09:02:45 +01:00
LukeMathWalker
b3ed5fd21e Fix environment variable for application URL on DO. 2021-07-14 09:32:16 +01:00
LukeMathWalker
6ffdae5742 Use pinned images in Dockerfile 2021-07-11 19:28:05 +01:00
LukeMathWalker
bc22cdca68 Update to actix-web 4.0.0-beta.8. 2021-07-09 08:42:43 +01:00
Luca Palmieri
0c989497fc Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 09:00:04 +02:00
Luca Palmieri
6e31366fb2 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:05:02 +02:00
Luca Palmieri
2654151d7d Fix image in README. 2021-06-06 14:21:35 +01:00
Luca Palmieri
cf8eb3bbdb Add licensing information. 2021-06-06 14:11:19 +01:00
LukeMathWalker
7f71a5c815 Update README. 2021-05-13 17:12:14 +01:00
LukeMathWalker
97f5c4d91a Merge chapter 8 2021-05-13 17:11:15 +01:00
LukeMathWalker
7b64134fe7 Refactor error handling for confirm handler. 2021-05-12 22:33:43 +01:00
LukeMathWalker
2b3dae3a6a Remove unnecessary log statements. 2021-05-12 22:12:41 +01:00