61ec583882
feat: Show preload progress on fetch failure
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-21 00:59:14 +00:00
1443fdcc32
style: Improve error messages and loading text, add spacing to error details
2025-11-21 00:59:12 +00:00
f2310b6925
fix: Provide detailed error for story fetch failures
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-21 00:50:58 +00:00
aa80570da4
fix: Display network error on API fetch failure
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-21 00:49:14 +00:00
7d0e60f5f0
fix: Provide detailed error messages for network failures
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-21 00:45:59 +00:00
21b5d67052
feat: Show detailed connection errors in collapsible section
2025-11-21 00:41:57 +00:00
53468c8ccd
feat: Add 10s timeout and early exit for story preloading on error
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-21 00:34:17 +00:00
6cfb4b317f
feat: Immediately display stories on first load
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-20 23:02:59 +00:00
f08202d592
fix: Always fetch full story and update existing in feed
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-20 22:58:44 +00:00
5a7f55184d
Begin stats API route
2025-11-20 22:25:26 +00:00
e84062394b
Ignore aider files
2025-11-20 22:25:20 +00:00
e867d5d868
Add debug logging, debug add manual submissions to feed
2025-11-20 21:55:45 +00:00
845d87ec55
Logging
2025-11-19 19:17:38 +00:00
e18aaad741
fix: Batch story list updates and limit length
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-19 19:17:38 +00:00
02e86efb4f
chore: Add console log for stories
2025-11-19 19:17:38 +00:00
b85d879ae7
fix: Fix infinite loop in Feed by removing stories from useEffect deps
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-19 19:17:38 +00:00
55bf75742e
refactor: Refactor Feed story fetching for improved network resilience
...
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat >
2025-11-19 19:17:38 +00:00
83cb6fc0ae
chore: Disable story updates and preloading logic
2025-11-19 19:17:38 +00:00
667c2c5eaf
refactor: Refactor dot components to functional
2025-11-19 19:17:38 +00:00
1df1c59d61
refactor: Refactor Submit component to use hooks
2025-11-19 19:17:38 +00:00
c4f2e7d595
refactor: Refactor Search component to use hooks
2025-11-19 19:17:38 +00:00
f61cfc09b0
refactor: Convert ScrollToTop to functional component with hooks
2025-11-19 19:17:38 +00:00
366e76e25d
refactor: refactor Results component to functional component
2025-11-19 19:17:38 +00:00
6f1811c564
Update webclient dependencies
2025-11-19 19:17:38 +00:00
443115ac0f
refactor: Refactor Feed component to functional with hooks
2025-11-19 19:17:38 +00:00
034c440e46
refactor: Convert Comments class to functional using hooks
2025-11-19 19:17:38 +00:00
26a6353ca5
refactor: Rename Article component to Comments
2025-11-19 19:17:38 +00:00
7ac4dfa01c
refactor: Refactor Article component to use hooks
2025-11-19 19:17:38 +00:00
633429c976
refactor: Convert App class component to functional component
2025-11-19 19:17:38 +00:00
5cdbf6ef54
Ignore blank hackernews titles
2025-11-19 19:17:38 +00:00
f1a30d0af2
Skip "Removed by moderator" stories
2025-09-27 17:38:50 +00:00
9ec61ea5bc
Ignore dead and political stories
2025-05-27 18:47:17 +00:00
bdc7a6c10d
Fix Better HN api content extraction
2025-02-01 22:39:13 +00:00
4858516b01
Add Better HN as an API backup
2025-02-01 21:42:06 +00:00
f10e6063fc
Bug fixes
2025-02-01 20:31:35 +00:00
249a616531
Alert on story update error
2024-03-16 20:41:24 +00:00
ab92bd5441
Adjust score and comment thresholds
2024-03-08 03:08:18 +00:00
6b16a768a7
Fix deletion script
2024-03-08 03:08:03 +00:00
57de076fec
Increase database timeout
2024-02-27 18:48:56 +00:00
074b898508
Fix lobsters comment parsing
2024-02-27 18:47:00 +00:00
f049d194ab
Move scripts into own folder
2024-02-27 18:32:29 +00:00
c2b9a1cb7a
Update readability
2024-02-27 18:32:19 +00:00
4435f49e17
Make "dark" theme grey, add "black" theme
2023-09-13 01:19:47 +00:00
494d89ac30
Disable lobsters
2023-09-13 01:02:15 +00:00
e79fca6ecc
Replace "indent_level" with "depth" in lobsters API
...
See:
fe09e5aa31
2023-08-31 07:35:44 +00:00
c65fb69092
Handle Lobsters comment parsing TypeErrors
...
Too lazy to debug this:
2023-08-29 12:56:35,111 - root - INFO - Updating lobsters story: yktkwr, index: 55
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 854, in gevent._gevent_cgreenlet.Greenlet.run
File "/home/tanner/qotnews/apiserver/server.py", line 194, in feed_thread
valid = feed.update_story(story)
File "/home/tanner/qotnews/apiserver/feed.py", line 74, in update_story
res = lobsters.story(story['ref'])
File "/home/tanner/qotnews/apiserver/feeds/lobsters.py", line 103, in story
s['comments'] = iter_comments(r['comments'])
File "/home/tanner/qotnews/apiserver/feeds/lobsters.py", line 76, in iter_comments
parent_stack = parent_stack[:indent-1]
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
2023-08-29T12:56:35Z <Greenlet at 0x7f92ad840ae0: feed_thread> failed with TypeError
2023-08-31 07:30:39 +00:00
632d028e4c
Add Tildes group whitelist
2023-07-13 22:54:36 +00:00
ea8e9e5a23
Increase again
2023-06-13 17:11:50 +00:00
2838ea9b41
Increase Tildes story score requirement
2023-06-11 01:01:31 +00:00
f15d108971
Catch all possible Reddit API exceptions
2023-03-15 21:16:37 +00:00