Commit graph

109 commits

Author SHA1 Message Date
Luca Palmieri
5e9c2e1ef7 Update to 2021 edition. 2021-12-27 10:59:40 +01:00
Luca Palmieri
dc3837df7c 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:48:26 +01:00
LukeMathWalker
c95646fc9e Use 127.0.0.1 instead of localhost. 2021-10-07 21:56:05 +01:00
LukeMathWalker
83f0a55dfc Update runtime image. 2021-09-30 21:23:52 +01:00
LukeMathWalker
4915771980 Lower sqlx's log level 2021-09-30 21:17:09 +01:00
LukeMathWalker
b9cdb5c5c7 Connect lazily 2021-09-29 09:20:50 +01:00
Luca Palmieri
07350a45bf Check prepared data is up-to-date. 2021-09-27 18:12:01 +02:00
Luca Palmieri
330fb4647b Update actix-web and fix clippy lint. 2021-09-11 21:54:51 +02:00
Luca Palmieri
223ac41248 Keep test suite fast by tuning timeout for tests. 2021-09-01 21:44:13 +02:00
Luca Palmieri
12a7953777 Implement TryFrom instead of TryInto. 2021-09-01 09:23:07 +02:00
Luca Palmieri
65761098ff Update Dockerfile. 2021-08-31 23:40:22 +02:00
Luca Palmieri
6b2e47e908 Update actix-http. 2021-08-31 23:29:09 +02:00
Pedro de Matos Fedricci
b65b31b80d Cache sqlx-cli in CI 2021-08-31 23:19:28 +02:00
LukeMathWalker
f9493607a0 Fix coverage job 2021-08-01 21:11:22 +01:00
LukeMathWalker
ff0f265c6d Fix name conflict with name from the bunyan format. 2021-07-16 09:02:20 +01:00
LukeMathWalker
c9d1488f33 Re-enable offline feature. 2021-07-14 09:18:55 +01:00
LukeMathWalker
64fc9235cc Update Dockerfile to use pinned images. 2021-07-11 19:26:48 +01:00
LukeMathWalker
203a796cfe Update to latest actix-web 2021-07-11 17:47:34 +01:00
Luca Palmieri
b5faa745f1 Proactively verify if psql and sqlx are installed before moving forward with script execution. 2021-07-05 08:59:38 +02:00
Luca Palmieri
49bec26214 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:07:10 +02:00
LukeMathWalker
7bdc51cae9 Update to latest actix-web. 2021-05-01 16:17:21 +01:00
LukeMathWalker
1caa47a383 Use once_cell instead of lazy_static for tracing. Use custom sinks instead of filters to disable logging. 2021-05-01 15:51:06 +01:00
Luca Palmieri
f6bc77a3c6 Fix migration script. 2021-04-28 20:40:57 +01:00
LukeMathWalker
25ab9a748c Update DB script. 2021-04-02 11:50:28 +01:00
LukeMathWalker
77d15630ca Fix test. 2021-02-15 21:28:36 +00:00
LukeMathWalker
04c53d49da Extract helper method. 2021-02-14 17:07:31 +00:00
LukeMathWalker
e562b7df6f Add address. 2021-02-14 16:41:45 +00:00
LukeMathWalker
55da2e2e2e Share startup logic. 2021-02-14 16:27:04 +00:00
LukeMathWalker
beeeacdafb Split into multiple files. 2021-02-14 15:26:43 +00:00
LukeMathWalker
0344317f85 Split tests across files. 2021-02-14 12:24:50 +00:00
LukeMathWalker
e8ff7914c9 Restructure test suite - first step. 2021-02-14 12:12:07 +00:00
LukeMathWalker
f01f826aca Edit for chapter branch. 2021-02-14 10:58:00 +00:00
LukeMathWalker
d482a224d1 Use latest Rust version. 2021-02-12 09:25:00 +00:00
LukeMathWalker
352a6b5a50 Update Dockerfile. 2021-02-12 09:24:49 +00:00
LukeMathWalker
d5e09e849b Update to tokio 1. 2021-02-11 09:23:13 +00:00
LukeMathWalker
6c18494507 Rename branch. 2021-01-23 18:20:08 +00:00
LukeMathWalker
48ce9dcacb Remove redundant step. 2021-01-23 17:55:57 +00:00
LukeMathWalker
6af0a13c36 Use clippy action. 2021-01-23 17:48:23 +00:00
LukeMathWalker
1288eda946 Fix part number. 2021-01-17 16:36:05 +00:00
LukeMathWalker
b303646815 Update to front-cover. 2021-01-17 16:35:51 +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