Tanner
ba374bea66
Ignore aider files
2025-11-20 22:25:20 +00:00
Tanner
c724838523
Add debug logging, debug add manual submissions to feed
2025-11-20 21:55:45 +00:00
Tanner
98067ef81f
Logging
2025-11-19 19:17:38 +00:00
Tanner and aider
2d8f69a367
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
Tanner
4cf3bc4186
chore: Add console log for stories
2025-11-19 19:17:38 +00:00
Tanner and aider
cabaca6051
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
Tanner and aider
90f38f0bcc
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
Tanner
ccde7a1486
chore: Disable story updates and preloading logic
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
d2408dd502
refactor: Refactor dot components to functional
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
77809ff73b
refactor: Refactor Submit component to use hooks
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
ecc69bf611
refactor: Refactor Search component to use hooks
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
528539f049
refactor: Convert ScrollToTop to functional component with hooks
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
4cb578ac49
refactor: refactor Results component to functional component
2025-11-19 19:17:38 +00:00
Tanner
28da3cd9f5
Update webclient dependencies
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
d365cad14b
refactor: Refactor Feed component to functional with hooks
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
9300688ceb
refactor: Convert Comments class to functional using hooks
2025-11-19 19:17:38 +00:00
Tanner
6996b5f927
refactor: Rename Article component to Comments
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
135146d8ee
refactor: Refactor Article component to use hooks
2025-11-19 19:17:38 +00:00
Tanner Collin (aider)
ef74a2d7cf
refactor: Convert App class component to functional component
2025-11-19 19:17:38 +00:00
Tanner
6fa02367dd
Ignore blank hackernews titles
2025-11-19 19:17:38 +00:00
Tanner
10629200b0
Skip "Removed by moderator" stories
2025-09-27 17:38:50 +00:00
Tanner
b09d432c10
Ignore dead and political stories
2025-05-27 18:47:17 +00:00
Tanner
1569c16e70
Fix Better HN api content extraction
2025-02-01 22:39:13 +00:00
Tanner
9f52226d47
Add Better HN as an API backup
2025-02-01 21:42:06 +00:00
Tanner
b3eb55e2d1
Bug fixes
2025-02-01 20:31:35 +00:00
Tanner
fafed2cf3d
Alert on story update error
2024-03-16 20:41:24 +00:00
Tanner
7dc9e3ad16
Adjust score and comment thresholds
2024-03-08 03:08:18 +00:00
Tanner
6c1aced06c
Fix deletion script
2024-03-08 03:08:03 +00:00
Tanner
005004ad3d
Increase database timeout
2024-02-27 18:48:56 +00:00
Tanner
12bb83ade8
Fix lobsters comment parsing
2024-02-27 18:47:00 +00:00
Tanner
8f70f7a6c2
Move scripts into own folder
2024-02-27 18:32:29 +00:00
Tanner
414dcdcce9
Update readability
2024-02-27 18:32:19 +00:00
Tanner
f5ce14a749
Make "dark" theme grey, add "black" theme
2023-09-13 01:19:47 +00:00
Tanner
e85f0d8e19
Disable lobsters
2023-09-13 01:02:15 +00:00
Tanner
c228ab0635
Replace "indent_level" with "depth" in lobsters API
...
See:
https://github.com/lobsters/lobsters/commit/fe09e5aa31993e09ed4ad255bb4a359f1e8a2d62
2023-08-31 07:35:44 +00:00
Tanner
f11123b441
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
Tanner
83fea72578
Add Tildes group whitelist
2023-07-13 22:54:36 +00:00
Tanner
3a0f7e79a2
Increase again
2023-06-13 17:11:50 +00:00
Tanner
0cfbf152eb
Increase Tildes story score requirement
2023-06-11 01:01:31 +00:00
Tanner
b051794a0c
Catch all possible Reddit API exceptions
2023-03-15 21:16:37 +00:00
Tanner
a56d5e91aa
Fix darkmode fullscreen button color
2022-08-11 19:36:36 +00:00
Tanner
8218c849b7
Fix fix-stories bug
2022-08-10 04:06:39 +00:00
Tanner
952c891643
Hide fullscreen button if it's not available
2022-08-10 04:05:25 +00:00
Tanner
b6b9dfaabb
Add fullscreen mode
2022-08-08 23:21:49 +00:00
Tanner
832f2446a6
Add red theme
2022-08-08 20:14:57 +00:00
Tanner
545f2f300e
Write fixed stories to database
2022-07-05 00:57:56 +00:00
Tanner
32e1ed615e
Begin script to fix bad gzip text
2022-07-04 20:32:01 +00:00
Tanner
3db01c01f0
Move FEED_LENGTH to settings.py, use for search results
2022-07-04 19:08:24 +00:00
Tanner
0be6f62a39
Small UI changes
2022-07-04 19:08:24 +00:00
Tanner
8802b28b97
Add accept gzip header to readability server
2022-07-04 19:07:31 +00:00
Tanner
9fa9899965
Add test file
2022-07-04 05:56:06 +00:00
Tanner
4816e8a5ed
Fix requests text encoding slowness
2022-07-04 05:55:52 +00:00
Tanner
26f03f883b
Return search results directly from the server
2022-07-04 04:33:01 +00:00
Tanner
b417a44314
Remove Article / Comments, etc thing after name
2022-07-04 04:33:01 +00:00
Tanner
e2790ddb76
Remove hard-coded title
2022-06-30 00:12:22 +00:00
Tanner
c1aede8f1f
Adjust title
2022-06-30 00:05:15 +00:00
Tanner
0d00ec40b0
Change header based on page
2022-06-30 00:00:30 +00:00
Tanner
6cc24281d9
Add index / noindex to client
2022-06-29 23:30:39 +00:00
Tanner
d6cf56677b
Add noindex meta tag to stories
2022-06-29 23:20:53 +00:00
Tanner
dae40b27cb
Increase database timeout
2022-06-24 20:50:27 +00:00
Tanner
3d8ed467c9
Update software
2022-05-31 04:24:12 +00:00
Tanner
104e2853af
Explain no javascript
2022-05-31 04:23:52 +00:00
Tanner
e93230d518
Improve logging, sends tweets to nitter.net
2022-03-05 23:48:46 +00:00
Tanner
f16abc2074
Remove outline API
2022-03-05 22:05:29 +00:00
Tanner
c946b150ff
Include option to disable readerserver
2022-03-05 22:04:25 +00:00
Tanner
63963e2c74
Include option to disable search
2022-03-05 21:58:35 +00:00
Tanner
e48846f4c3
Fix search to work with low-RAM server
2022-03-05 21:33:07 +00:00
Tanner
bac043d298
Improve logging
2021-09-06 00:21:05 +00:00
Tanner
13d00433cd
Add script to reindex search, abstract search API
2021-09-06 00:20:21 +00:00
Tanner
30c73a920a
Change the order by which content-type is grabbed
2021-01-30 06:36:02 +00:00
Tanner
cf5c1a3d44
Add optional skip and limit to API route
2021-01-18 03:59:33 +00:00
Tanner
214f4c50b8
Remove colons from date string so Python 3.5 can parse
2020-12-15 23:19:50 +00:00
Tanner
ce3b986e47
Add Lobsters to feed
2020-12-12 05:26:33 +00:00
Tanner
6a73fa548e
Update gitignore
2020-12-11 23:49:45 +00:00
Tanner
db92b39cda
Increase sqlite lock timeout
2020-11-19 21:38:18 +00:00
Tanner
f0946c7d1f
Blacklist sec.gov website
2020-11-19 21:37:59 +00:00
Tanner
410499518e
Add header to get content type
2020-11-03 20:27:43 +00:00
Tanner
c4c3f448b1
Clean code up
2020-11-03 03:45:56 +00:00
Tanner
837bb91bcc
Move feed and Praw config to settings.py
2020-11-02 02:26:54 +00:00
Tanner
70a427d533
Fix index.html indentation
2020-11-02 00:38:34 +00:00
Tanner
df0a5cd2b3
Fix noscript font color
2020-11-02 00:36:11 +00:00
Tanner
a2b60f04ad
Remove Whoosh
2020-11-02 00:22:40 +00:00
Tanner
278fbf9a1c
Try Hackernews API twice
2020-11-02 00:17:22 +00:00
Tanner
917e6c412f
Improve logging
2020-11-02 00:13:43 +00:00
Tanner
e5e523dbf5
Fix table width CSS
2020-11-01 00:47:18 +00:00
Tanner
0ad381bb7e
Make qotnews work with WaPo
2020-10-29 04:55:34 +00:00
Tanner
81a9e77cd4
Upgrade readability
2020-10-29 01:24:13 +00:00
Tanner
929a4fc491
Show exerpt of hidden comments
2020-10-27 00:41:36 +00:00
Tanner
0ac23028b2
Fix bug with rendering text nodes
2020-10-26 21:58:36 +00:00
Tanner
7ecc7bc6b4
Add instructions to download search server
2020-10-26 21:58:36 +00:00
Tanner
dd5b50edf8
Add buttons to collapse / expand comments
2020-10-26 21:57:10 +00:00
Tanner
864e6192db
Monkeypatch earlier
2020-10-24 22:30:00 +00:00
Tanner
cdb14b5d4e
Add a script to delete a story
2020-10-03 23:42:21 +00:00
Tanner
4e1566961a
Adjust feeds
2020-10-03 23:41:57 +00:00
Tanner
56302077ad
Add buttons to convert <pre> to <p>
2020-10-03 23:23:25 +00:00
Tanner
8e0c11e5e0
Add a line on UI to make search results obvious
2020-08-14 03:58:11 +00:00
Tanner
ec859ff64c
Adjust content-type request timeout
2020-08-14 03:57:43 +00:00
Tanner
33ac9e63dd
Adjust port
2020-08-14 03:57:18 +00:00
Tanner
835c6241ee
Delete displayed-attributes when init search
2020-08-14 03:56:47 +00:00
Tanner
e05aa1c6ee
Remove business subreddit from feed
2020-08-14 03:55:28 +00:00