Commit graph

28 commits

Author SHA1 Message Date
Luca Palmieri 09d928a13a Update sqlx to 0.7 2023-09-20 09:53:47 +02:00
Luca Palmieri ed0f2fb593 Implement TryFrom instead of TryInto 2021-09-01 09:26:25 +02:00
LukeMathWalker d54f33858d End of chapter. 2021-08-01 14:57:02 +01:00
LukeMathWalker c1caed5404 Fix name conflict with name from the bunyan format. 2021-07-16 09:02:45 +01:00
LukeMathWalker 7b64134fe7 Refactor error handling for confirm handler. 2021-05-12 22:33:43 +01:00
LukeMathWalker 2b3dae3a6a Remove unnecessary log statements. 2021-05-12 22:12:41 +01:00
LukeMathWalker 4e04ade2ed Use anyhow. 2021-05-12 09:08:38 +01:00
LukeMathWalker c6e88e8f8e Use thiserror. 2021-05-10 09:57:49 +01:00
LukeMathWalker f0aee87a00 Layering. 2021-05-09 18:36:31 +01:00
LukeMathWalker c14296a34d Return 500 if email delivery fails. 2021-05-01 16:51:55 +01:00
LukeMathWalker b7ed1b4c28 cargo fmt. 2021-04-02 11:51:39 +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 9dd9aaffd6 Use TryInto. 2020-12-29 10:00:11 +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 bfbbf96c41 Chapter 05 (snapshot) 2020-12-05 17:07:31 +00:00
Renamed from chapter04/src/routes/subscriptions.rs (Browse further)