Commit graph

63 commits

Author SHA1 Message Date
Luca Palmieri
2163795eaf Update sqlx to 0.7 2023-09-19 09:32:48 +02:00
Luca Palmieri
ce0a9c2106 Update outdated dependencies 2023-02-18 22:28:56 +00:00
Luca Palmieri
8cc55c7015 Update Cargo.lock and resolve cargo-audit report 2023-02-18 18:37:38 +00:00
Luca Palmieri
485a8cc5fe Fix CI 2022-10-01 18:39:50 +01:00
Luca P
155e01fc02 Update all dependencies 2022-07-05 18:24:40 +01:00
Luca Palmieri
ff712b50ce Remove direct 'log' dependency 2022-01-02 16:51:54 +01:00
Luca Palmieri
a4d95d8749 Ignore faulty lint 2021-12-28 17:50:44 +01:00
Luca Palmieri
9d13e57f4e Fix clippy errors 2021-12-28 17:49:41 +01:00
Luca Palmieri
ffe7a25486 Use secrecy 2021-12-27 14:31:17 +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
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
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
LukeMathWalker
aa1478f78d Fix name conflict with name from the bunyan format. 2021-07-16 09:02:28 +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
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
LukeMathWalker
055980b975 Cargo fmt. 2021-04-02 11:50:59 +01: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
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
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
a631932f05 Green test. 2021-03-09 21:19:16 +00:00
LukeMathWalker
123e7f139c Fix. 2021-03-08 23:02:39 +00:00
LukeMathWalker
3f3c73a93e Refactor subscribe. 2021-03-08 22:54:17 +00:00
LukeMathWalker
bdddc29ac1 Confirmation link (static). 2021-03-08 22:40:58 +00:00
LukeMathWalker
310ffb01a5 Send static confirmation email. 2021-03-08 21:41:34 +00:00
LukeMathWalker
d2fd3fe1fa Populate status column. 2021-03-07 18:53:45 +00:00
LukeMathWalker
3359c5f921 Fix failing test. 2021-02-15 21:26:43 +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
d5e09e849b Update to tokio 1. 2021-02-11 09:23:13 +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
9a0e46549b Remove full path import. 2021-01-13 08:35:36 +00:00