Commit Graph

104 Commits

Author SHA1 Message Date
ec29fbc67f Support fetch spec formats for batching 2025-05-03 22:19:41 -07:00
6898825f3c Move spec parsing failures to their own test 2025-05-03 21:52:38 -07:00
bd61ef5f68 Split up spec parsing and usage 2025-05-03 21:47:11 -07:00
74b6d40774 Refactor some on-spec logic into helper types 2025-05-03 21:24:17 -07:00
d0dbc19799 Interpret HH:MM as an implicit at-spec 2025-05-03 21:09:55 -07:00
cb6e3b72a8 Enable setting rev via -ldflags 2025-05-02 15:00:19 -07:00
d80ac09122 Fix dirty vcs detection 2025-05-02 12:30:04 -07:00
77fc95e9b9 Add info command 2025-05-02 12:18:22 -07:00
1a3309ae54 Source-level timeouts 2025-03-31 07:17:46 -07:00
915fe7f9fe Fix updates not backfilling correctly
The backfill was applied to a copy of the item, so the changes were lost. This broke batching, which would apply to the first fetch but not to the second.
2025-03-02 21:12:34 -08:00
2e01266843 Remove errant log statement 2025-03-02 20:57:57 -08:00
be638e8e4a Fix incorrect backfilling
This would have the effect that item TTL is continually reset as long as an item is returned by fetch
2025-03-02 20:56:44 -08:00
f39f525294 Set cwd to data dir to enable custom scripts 2025-02-24 11:30:12 -08:00
61458fb9fd Implement source batcher 2025-02-24 09:44:26 -08:00
1c8ec5ff8f Move postprocessing to update so it only runs on new items 2025-02-24 09:25:01 -08:00
d5b3af1f86 Correctly distinguish missing on_create argv from error 2025-02-24 09:05:38 -08:00
ee32e8ecd4 Set global default timeout to 2 minutes 2025-02-21 20:49:55 -08:00
5607116b30 Disable chatty skipped update logs 2025-02-21 07:49:40 -08:00
b2f2cd0cef Log item parse error messages 2025-02-21 07:38:03 -08:00
154a4fc904 List sources not in a channel on channel edit page 2025-02-21 07:37:18 -08:00
30ead637e2 Switch from Scanner to Reader to avoid Scanner's maximum token size restrictions 2025-02-20 21:07:35 -08:00
eb7191631f Fail execution on duplicate item ids 2025-02-20 21:04:28 -08:00
c22ab7b5b4 Add check constraints to ensure names aren't empty 2025-02-20 16:07:06 -08:00
1be261f54d Remove crontab integration 2025-02-20 08:03:08 -08:00
76353c4029 Implement background fetch 2025-02-20 07:19:21 -08:00
7d317f47ea Extend cron patterns to support dow and dom 2025-02-19 08:56:28 -08:00
8eeb438473 Begin adding logic for first-party cron 2025-02-19 07:55:48 -08:00
ee63ee32b0 Add lastUpdated to sources 2025-02-18 19:50:19 -08:00
bd5737ad7a Web edit sources 2025-02-12 10:04:58 -08:00
7361fd4600 Combine action add/edit with on conflict replace 2025-02-12 09:49:27 -08:00
7c8b4ee3a3 Disable welcome item since it broke some tests
This should move to a function that adds the item through the normal methods and runs on db init
2025-02-12 09:38:10 -08:00
227c05c365 Fix channel unread count missing tts'd items 2025-02-10 13:54:48 -08:00
b12a411fd6 Add crontab integration 2025-02-10 13:42:48 -08:00
74f7230c65 Add welcome item to initial sql setup 2025-02-10 08:26:15 -08:00
8d9dcec038 Add error item on action failure 2025-02-10 08:23:03 -08:00
f38cfa3008 Add RandomHex() helper 2025-02-10 08:23:03 -08:00
cdac0ff71e Nix package build 2025-02-10 08:23:03 -08:00
e014b9f9b2 Simplify Execute goroutines 2025-02-09 22:59:04 -08:00
659b00bc22 Break up TestExecute into subtests 2025-02-09 22:33:42 -08:00
bc19b0a70f Simplify Execute setup 2025-02-07 15:06:05 -08:00
3874abf8bd Add offset and limit parameters to item queries 2025-02-07 07:29:32 -08:00
8125275936 Fix tests broken by tts 2025-02-07 06:53:42 -08:00
d4c93265a2 Support tts in web feed 2025-02-06 07:28:53 -08:00
2acd6f397f Add login to web interface 2025-02-06 06:39:02 -08:00
2894493d34 Support INTAKE_TTX env settings 2025-02-05 13:53:09 -08:00
f7dd694b67 Support tt{l,d} in source updates 2025-02-05 11:38:30 -08:00
d6a49593b7 TIL t.Helper() 2025-02-05 09:25:33 -08:00
cb7bd6e3ba Add tt{l,d,s} fields to item 2025-02-04 22:56:26 -08:00
c8227b405d Implement passwd command 2025-02-02 00:20:51 -08:00
7b83d01f12 Add channels to home page 2025-01-31 18:03:30 -08:00