Commit graph

71 commits

Author SHA1 Message Date
Luca Palmieri
899272ba4d Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:19:35 +01:00
Luca Palmieri
c0906b3332 Update secrecy 2021-12-27 14:07:45 +01:00
Luca Palmieri
8d252463ec Run cargo-update 2021-12-27 11:32:12 +01:00
Luca Palmieri
392608a531 Remove tracing-futures. 2021-12-27 11:16:48 +01:00
Luca Palmieri
d233195543 Update to 2021 edition. 2021-12-27 10:59:25 +01:00
Luca Palmieri
6ab9d60410 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:43:19 +01:00
LukeMathWalker
b7b4270fca Use 127.0.0.1 instead of localhost. 2021-10-07 21:55:48 +01:00
LukeMathWalker
66a59cd633 Update runtime image. 2021-09-30 21:23:31 +01:00
LukeMathWalker
39cb4c5973 Lower level of sqxl's logs. 2021-09-30 21:13:14 +01:00
Luca Palmieri
0c2833defd Check prepared data is up-to-date. 2021-09-27 18:11:33 +02:00
Luca Palmieri
ede0b7869f Update actix-web and fix clippy lint. 2021-09-11 21:53:03 +02:00
Luca Palmieri
f2765a54cc Implement TryFrom instead of TryInto. 2021-09-01 09:22:31 +02:00
Luca Palmieri
5728d07848 Update Dockerfile. 2021-08-31 23:40:09 +02:00
Luca Palmieri
cc4b9e007b Update actix-http. 2021-08-31 23:28:39 +02:00
Pedro de Matos Fedricci
256c8f2968 Cache sqlx-cli in CI 2021-08-31 23:21:23 +02:00
LukeMathWalker
4860863929 Fix coverage job 2021-08-01 21:10:47 +01:00
LukeMathWalker
469050eadf Fix name conflict with name from the bunyan format. 2021-07-16 09:01:52 +01:00
LukeMathWalker
101f690d07 Re-enable offline feature. 2021-07-14 09:19:49 +01:00
LukeMathWalker
3a105afadf Update Dockerfile to use pinned images. 2021-07-11 19:26:18 +01:00
LukeMathWalker
18a1ff9d59 Update to latest actix-web 2021-07-11 16:57:51 +01:00
Luca Palmieri
0139d7a148 Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 08:59:20 +02:00
Luca Palmieri
ce221b982e 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:08:41 +02:00
LukeMathWalker
07fa536146 Update to latest actix-web. 2021-05-01 16:15:02 +01:00
LukeMathWalker
a702e3a1d0 Update to use once_cell instead of lazy_static.
Use a custom sink instead of different log levels to silence logs in tests.
2021-05-01 15:35:27 +01:00
LukeMathWalker
b1258bd780 Update to latest tokio. 2021-05-01 15:34:46 +01:00
Luca Palmieri
ee439df615 Fix migration script. 2021-04-28 20:41:22 +01:00
LukeMathWalker
3426bc3f8e Run cargo fmt. 2021-04-02 11:49:16 +01:00
LukeMathWalker
0a11700f27 Update script DB. 2021-04-02 11:48:59 +01:00
LukeMathWalker
37d58fa845 Update Dockerfile to use pre-baked image. 2021-02-12 09:26:04 +00:00
LukeMathWalker
867a87b848 Update clippy and fmt jobs. 2021-01-23 18:01:15 +00:00
LukeMathWalker
2dc90eedf5 Fix deps. 2021-01-03 19:18:36 +00:00
LukeMathWalker
e83df3991f Update branch name. 2021-01-03 18:02:20 +00:00
LukeMathWalker
9dd9aaffd6 Use TryInto. 2020-12-29 10:00:11 +00:00
LukeMathWalker
f6d62fb7a1 Add email validation. 2020-12-28 12:26:05 +00:00
LukeMathWalker
837a4bcce9 Init root branch for chapter 7. 2020-12-22 21:24:49 +00:00
LukeMathWalker
4a7c4245c0 Fix chapter number in README.md 2020-12-22 21:23:42 +00:00
LukeMathWalker
e105707c43 Use more idiomatic iteration semantic with any. 2020-12-22 21:22:37 +00:00
Luca Palmieri
1b8c81daea Fix branch name. 2020-12-11 23:02:48 +00:00
Luca Palmieri
c07113d126 Fix branch name. 2020-12-11 23:02:42 +00:00
Luca Palmieri
6db241eef6 Fix integration test. 2020-12-11 21:35:16 +00:00
Luca Palmieri
9dd3b0590a Return 400 on bad names. 2020-12-11 15:50:09 +00:00
Luca Palmieri
56ee4e7746 Use Result 2020-12-11 14:24:11 +00:00
Luca Palmieri
1c27412280 Use AsRef 2020-12-09 22:55:00 +00:00
Luca Palmieri
0eaf310f29 Add SubscriberName constructor. 2020-12-09 17:20:15 +00:00
Luca Palmieri
2953d329ff Add SubscriberName (no methods) 2020-12-09 16:01:36 +00:00
Luca Palmieri
e5a32a51a4 First integration test. 2020-12-08 11:42:05 +00:00
Luca Palmieri
847bb8152a Update CI + update sqlx 2020-12-05 19:10:01 +00:00
Luca Palmieri
f4ae2d2bab Update README. 2020-12-05 17:27:47 +00:00
Luca Palmieri
bfbbf96c41 Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
Luca Palmieri
95e403575a
Use debian as base image. (#16) 2020-11-04 10:09:04 +00:00