Commit graph

53 commits

Author SHA1 Message Date
SkyfallWasTaken
33dfb3cc8f Appease Clippy 2024-07-23 10:41:08 +01:00
SkyfallWasTaken
17c19361ab Add real price ratio 2024-07-23 10:39:11 +01:00
SkyfallWasTaken
ca2acbffe6 Fix Slack group ID pings 2024-07-23 10:06:35 +01:00
SkyfallWasTaken
b9a3f6d078 Add Slack group pings 2024-07-23 09:55:48 +01:00
SkyfallWasTaken
9741cd7cd3 Add Block Kit title 2024-07-23 09:50:00 +01:00
SkyfallWasTaken
9f8cf78b53 Added title formatting 2024-07-23 09:49:14 +01:00
SkyfallWasTaken
ded273b12c Add emoji formatting to stock updates 2024-07-23 09:44:56 +01:00
SkyfallWasTaken
4b0e3605f4 Fix compilation, add tests 2024-07-23 09:35:27 +01:00
SkyfallWasTaken
d377973c32 Organise Slack code in format 2024-07-23 09:31:21 +01:00
SkyfallWasTaken
4516fcb337 Update Slack formatting 2024-07-23 09:27:04 +01:00
SkyfallWasTaken
ed62cc90de Add authenticated ntfy 2024-07-20 19:22:43 +01:00
SkyfallWasTaken
34e3ab948b Update readme with new env vars 2024-07-20 13:38:50 +01:00
SkyfallWasTaken
b540641175 Add priorities and titles 2024-07-20 13:38:10 +01:00
SkyfallWasTaken
5a27d3f38c Add fulfilment info to bot 2024-07-20 13:24:29 +01:00
SkyfallWasTaken
75e1fff074 Remove debug code 2024-07-20 13:20:36 +01:00
SkyfallWasTaken
8b7bbd202c Fix ntfy support 2024-07-20 13:20:01 +01:00
SkyfallWasTaken
20205b5b9e Add ntfy support 2024-07-20 10:54:39 +01:00
SkyfallWasTaken
a0219f5115 Fix fulfillment description 2024-07-20 10:07:29 +01:00
SkyfallWasTaken
73cc31d44f Add fulfillment description 2024-07-20 10:06:02 +01:00
SkyfallWasTaken
c624880519 Add env vars to README 2024-07-20 10:04:04 +01:00
SkyfallWasTaken
2c2bc4e18e Add wrangler to devDependencies 2024-07-20 10:02:26 +01:00
SkyfallWasTaken
71591017e3 Fix compile errors 2024-07-09 22:12:58 +01:00
SkyfallWasTaken
25cef90288 Run every 20 minutes, send user agent 2024-07-09 22:11:31 +01:00
SkyfallWasTaken
c20a2a3a88 Add extra newline 2024-07-07 11:18:34 +01:00
SkyfallWasTaken
7fd634203a Fix Slack webhook 2024-07-07 11:13:14 +01:00
SkyfallWasTaken
39026e7a31 Fix Slack webhook 2024-07-07 09:07:50 +01:00
SkyfallWasTaken
9abdff79f5 Use pretty_assertions, fix deleted items notification test 2024-07-03 18:06:11 +01:00
SkyfallWasTaken
2c511eead9 Add deletion test 2024-07-03 18:02:46 +01:00
SkyfallWasTaken
5355a628ef Split diffing logic into seperate function 2024-07-03 17:56:38 +01:00
SkyfallWasTaken
d993eb695a Check for deleted items 2024-07-03 17:46:06 +01:00
SkyfallWasTaken
142a7fbb52 Remove leading underscore from used variable 2024-07-02 17:56:23 +01:00
SkyfallWasTaken
4c34f69a79 Placate clippy 2024-07-02 17:55:45 +01:00
SkyfallWasTaken
2bacb34e84 Add cron trigger 2024-07-02 17:55:18 +01:00
SkyfallWasTaken
a358ce3870 Add license and readme 2024-07-01 20:15:26 +01:00
SkyfallWasTaken
507e1024d2 Remove a few unwraps 2024-07-01 19:38:52 +01:00
SkyfallWasTaken
4c09b8e3cd Push to Slack Webhook 2024-07-01 19:36:17 +01:00
SkyfallWasTaken
eb251ae927 Send to Slack webhook 2024-07-01 19:30:13 +01:00
SkyfallWasTaken
984c9c2d49 Add KV namespace to wrangler.toml 2024-07-01 19:18:15 +01:00
SkyfallWasTaken
541ccab07c Add reference to appease the compiler 2024-07-01 19:13:42 +01:00
SkyfallWasTaken
42cc05dbab Refactor format.rs for better code organization and naming consistency 2024-07-01 19:13:11 +01:00
SkyfallWasTaken
4084eb4568 Persist to KV 2024-07-01 18:53:28 +01:00
SkyfallWasTaken
50629e6a3b Use indoc to clean up format_new_item 2024-07-01 18:39:26 +01:00
SkyfallWasTaken
3da38ffaa5 Add format_new_item function 2024-07-01 18:34:24 +01:00
SkyfallWasTaken
f799353aae Rename diff.rs to format.rs 2024-07-01 18:31:33 +01:00
SkyfallWasTaken
fbf7134ff6 Remove "Item updated" message from every single item diff 2024-07-01 18:27:59 +01:00
SkyfallWasTaken
88107872e9 Add more tests for diffing algo 2024-07-01 18:24:52 +01:00
SkyfallWasTaken
01ea8485e8 Clean up test 2024-07-01 18:20:32 +01:00
SkyfallWasTaken
3d7a3a9d44 Add diffing algorithm 2024-07-01 18:16:14 +01:00
SkyfallWasTaken
4aad2a3228 Add stock info to scraper 2024-07-01 18:00:37 +01:00
SkyfallWasTaken
4995a1e172 Move items scraper to items.rs 2024-07-01 17:57:09 +01:00