Commit graph

101 commits

Author SHA1 Message Date
Luca Palmieri
612bf8c7b8 Update dependencies. 2021-12-28 12:59:38 +01:00
Luca Palmieri
45542c0eca Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:19:42 +01:00
Luca Palmieri
d58b6894cc Use secrecy crate. 2021-12-27 14:12:15 +01:00
Luca Palmieri
b6b5194302 Run cargo-update 2021-12-27 11:32:20 +01:00
Luca Palmieri
78cc07759a Remove tracing-futures. 2021-12-27 11:16:54 +01:00
Luca Palmieri
db2a13baee Update to 2021 edition. 2021-12-27 10:59:35 +01:00
Luca Palmieri
19452d230f 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:45:16 +01:00
LukeMathWalker
6f79a34d0b Use 127.0.0.1 instead of localhost. 2021-10-07 21:55:57 +01:00
LukeMathWalker
0ce5a4d3a0 Update runtime image. 2021-09-30 21:23:44 +01:00
LukeMathWalker
75d33796bb Lower sqlx's log level 2021-09-30 21:16:17 +01:00
LukeMathWalker
2cec4ee7d1 Connect lazily. 2021-09-29 09:15:19 +01:00
Luca Palmieri
2369d0f326 Check prepared data is up-to-date. 2021-09-27 18:11:53 +02:00
Luca Palmieri
c5caaa819b Update actix-web and fix clippy lint. 2021-09-11 21:54:11 +02:00
Luca Palmieri
9001339716 Keep test suite fast by tuning timeout. 2021-09-01 21:36:33 +02:00
Luca Palmieri
ee52fa7071 Implement TryFrom instead of TryInto. 2021-09-01 09:23:00 +02:00
Luca Palmieri
a786105daa Update Dockerfile. 2021-08-31 23:40:16 +02:00
Luca Palmieri
5b510501de Update actix-http. 2021-08-31 23:28:55 +02:00
Pedro de Matos Fedricci
83253e51b8 Cache sqlx-cli in CI 2021-08-31 23:20:09 +02:00
LukeMathWalker
6a468e53c6 Fix coverage job 2021-08-01 21:11:13 +01:00
LukeMathWalker
aca2acb567 Fix name conflict with name from the bunyan format. 2021-07-16 09:02:12 +01:00
LukeMathWalker
5c5ee7b756 Re-enable offline feature. 2021-07-14 09:19:16 +01:00
LukeMathWalker
22c16f786b Update Dockerfile to use pinned images. 2021-07-11 19:26:29 +01:00
LukeMathWalker
f913a67665 Update to latest actix-web 2021-07-11 17:43:23 +01:00
Luca Palmieri
17d6d366b4 Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 08:59:32 +02:00
Luca Palmieri
73dfce6699 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:11 +02:00
LukeMathWalker
b83e354b16 Update to latest actix-web. 2021-05-01 16:16:13 +01:00
LukeMathWalker
bcb108a2fd 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:44:09 +01:00
Luca Palmieri
2e690fa838 Fix migration script. 2021-04-28 20:41:08 +01:00
LukeMathWalker
1eb84f28df Update DB script. 2021-04-02 11:50:08 +01:00
LukeMathWalker
a2eb4c63c5 Update Dockerfile to use pre-baked image. 2021-02-12 09:25:37 +00:00
LukeMathWalker
79bb585439 Update to tokio 1. 2021-02-11 09:19:48 +00:00
LukeMathWalker
a9211e8507 Update clippy and fmt jobs. 2021-01-23 18:01:47 +00:00
LukeMathWalker
c6d65cf113 Fix tests 2021-01-17 11:46:40 +00:00
LukeMathWalker
b40748ef7b Refactor tests. 2021-01-17 00:43:04 +00:00
LukeMathWalker
74b7b1c536 Use tokio::test. 2021-01-17 00:27:03 +00:00
LukeMathWalker
9ba07c4834 Timeout test. 2021-01-17 00:26:30 +00:00
LukeMathWalker
a8f3a5ff47 Error for status. 2021-01-16 23:57:57 +00:00
LukeMathWalker
391f29de3d Do not allocate.
Unhappy path tests.
2021-01-16 23:54:21 +00:00
LukeMathWalker
8fe02f6c42 Remove dbg 2021-01-16 23:03:38 +00:00
LukeMathWalker
3145991669 Happy case test. 2021-01-16 23:01:08 +00:00
LukeMathWalker
50e660f82d Ask for two content versions. 2021-01-16 15:59:41 +00:00
LukeMathWalker
eaa8390e85 Add configuration for email client. 2021-01-16 15:11:17 +00:00
LukeMathWalker
e71aaeb3ce Remove reqwest from dev dependency list. 2021-01-16 14:37:57 +00:00
LukeMathWalker
9a0e46549b Remove full path import. 2021-01-13 08:35:36 +00:00
LukeMathWalker
d8048db840 Register email client. 2021-01-11 10:01:48 +00:00
LukeMathWalker
b7634725db Add HttpClient. 2021-01-11 09:37:04 +00:00
LukeMathWalker
11f2f7d4db Formatting 2021-01-11 08:32:55 +00:00
LukeMathWalker
72725c5306 Add reqwest as dependency 2021-01-11 08:32:27 +00:00
LukeMathWalker
e93d6b9955 Add email sketch. 2021-01-10 17:27:54 +00:00
LukeMathWalker
901942edef Start chapter 7, part 0. 2021-01-10 16:30:20 +00:00