Commit graph

150 commits

Author SHA1 Message Date
Luca Palmieri
a967690d93 Do not use backticks - they lead to the script trying to execute the quoted command. 2021-12-28 12:19:50 +01:00
Luca Palmieri
ffe7a25486 Use secrecy 2021-12-27 14:31:17 +01:00
Luca Palmieri
f8a7bf6e10 Run cargo-update 2021-12-27 11:32:31 +01:00
Luca Palmieri
3c8f56c0d9 Remove tracing-futures. 2021-12-27 11:17:03 +01:00
Luca Palmieri
5c9efaaf24 Update to 2021 edition. 2021-12-27 10:59:44 +01:00
Luca Palmieri
efce2d8ad4 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:50:14 +01:00
LukeMathWalker
06db310513 Use 127.0.0.1 instead of localhost. 2021-10-07 21:56:13 +01:00
LukeMathWalker
a6381e6043 Update runtime image. 2021-09-30 21:24:00 +01:00
LukeMathWalker
ed9ede225a Lower sqlx's log level 2021-09-30 21:18:15 +01:00
LukeMathWalker
4273782a32 Connect lazily 2021-09-29 09:22:11 +01:00
Luca Palmieri
0a441c677b Check prepared data is up-to-date. 2021-09-27 18:12:11 +02:00
Luca Palmieri
8c06d73cf4 Update actix-web and fix clippy lint. 2021-09-11 21:56:24 +02:00
Luca Palmieri
db30e44be2 Keep test suite fast by tuning timeout for tests. 2021-09-01 21:44:34 +02:00
Luca Palmieri
0ffc55a1a1 Implement TryFrom instead of TryInto 2021-09-01 09:24:58 +02:00
Luca Palmieri
f1bf66fc96 Update Dockerfile. 2021-08-31 23:40:26 +02:00
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