Alessio
b9c63cb35a
Move to newer version of golangci-lint
2024-09-15 15:09:55 -07:00
Alessio
526582d90c
Fix lint error
2024-09-14 16:28:00 -07:00
Alessio
2731d787c2
Prevent failed SaveNotification transaction from locking the database
2024-09-14 16:01:28 -07:00
Alessio
b9e025589e
Update CHANGELOG.txt for v0.6.16
2024-09-03 18:36:23 -07:00
Alessio
667b54503d
Fix lint error
2024-09-02 17:06:36 -07:00
Alessio
14ea626014
Show unread notifications count bubble in web UI; add background scraping of notifications every 10s
2024-09-02 17:00:30 -07:00
Alessio
72b547f6aa
Unread notifications count should be specific to a single user
2024-09-02 16:25:54 -07:00
Alessio
9c7174a84a
Add way to scrape unread count; add db query to count unread notifs since a given sort index
2024-09-02 15:02:27 -07:00
Alessio
665e6a31dd
Add notifications page
2024-08-31 23:23:22 -07:00
Alessio
1f392f5240
Fix lint error
2024-08-31 23:06:54 -07:00
Alessio
f554846355
Add sample notification data, and compound query to retrieve notifications and associated data
2024-08-31 23:04:13 -07:00
Alessio
0c620621a6
Add scraping notiication detail
2024-08-28 19:22:09 -07:00
Alessio
dc816c6f28
Track retweet lists in notifications alongside tweets
2024-08-28 19:20:29 -07:00
Alessio
0a1cdc17af
Fix integration test (link thumbnail image went down again)
2024-08-26 12:21:46 -07:00
Alessio
b8db01c0ab
Add test file for previous commit
2024-08-26 00:19:24 -07:00
Alessio
2c7c35e23f
Add pagination to notifications
...
- handle notifications end-of-feed
- add support for "quoted" and "mentioned" notifications
2024-08-26 00:07:10 -07:00
Alessio
04991ad554
Add 'get_notifications' subcommand
2024-08-25 22:57:40 -07:00
Alessio
b77612c66f
Add SQL queries for notifications
2024-08-25 22:54:18 -07:00
Alessio
e94327b153
Add current user ID to notifications' UserID
field (notification recient) when parsing
...
- also make an enum for notification types instead of magic numbers in the code
2024-08-25 22:48:09 -07:00
Alessio
fae23cc243
Fix lint errors
2024-08-25 19:01:52 -07:00
Alessio
eafdbf5ffb
Add Notifications parser
2024-08-25 16:27:49 -07:00
Alessio
27d8ab39f0
Abandon concept of release branches, switch to tags
2024-08-23 15:00:24 -07:00
Alessio
9a985539c5
Add some debug info to the integration test
2024-08-23 13:24:11 -07:00
Alessio
4853969b4d
Fix lint error
2024-08-23 12:57:27 -07:00
Alessio
f3f0b4868d
Update CHANGELOG.txt for v0.6.15
2024-08-23 12:52:16 -07:00
Alessio
c16ed03f22
Manual enable browser cache (1 hour expiry) for static assets
2024-08-23 12:50:02 -07:00
Alessio
3f7a357b17
Fix lint error
2024-08-19 18:23:46 -07:00
Alessio
c45b8e7ad8
Add --delay flag to force a delay between requests in a large paginated scrape
2024-08-19 18:20:12 -07:00
Alessio
9c8c7cdf65
'webserver' subcommand now respects the '--session' flag
2024-08-19 17:49:36 -07:00
Alessio
4990e7913d
Fix lint error
2024-08-19 17:29:54 -07:00
Alessio
e2ca9a975a
Remove scraper singleton pattern entirely
2024-08-19 17:27:54 -07:00
Alessio
08e5a726a8
Remove most uses of the singleton pattern in 'scraper' package
2024-08-19 16:45:32 -07:00
Alessio
adbab97ca1
Reset the CI pipeline step conditions (don't force everything to run every time anymore)
2024-08-19 16:39:22 -07:00
Alessio
8b54f0acab
Try removing quotes
2024-08-19 14:58:53 -07:00
Alessio
27760db3a8
Add debugging line in CI
2024-08-19 14:55:58 -07:00
Alessio
e699301e82
When running integration test in CI, make the /tmp directory before writing temp session file
2024-08-19 14:52:41 -07:00
Alessio
dda57b8117
Kick CI to run integration test
2024-08-19 14:47:49 -07:00
Alessio
5d0fd63591
When returning HTTP errors, send toasts if request is HTMX
2024-08-19 14:43:28 -07:00
Alessio
f8988abef1
Enable optionally using a stored session file in integration test, bypassing login
2024-08-19 14:15:57 -07:00
Alessio
ee2b287fd9
Enable adding toasts in full page reloads (and HTMX where it's hx-boost or target = body)
...
- use toasts to display non-fatal scraping errors for Tweets
2024-08-18 16:36:32 -07:00
Alessio
91f722b7fa
Scraper requests now report invalidated or expired sessions
2024-08-18 16:22:37 -07:00
Alessio
8321d65f17
Fix broken integration test (link thumbnail disappeared, as usual)
2024-08-18 15:50:04 -07:00
Alessio
24129c4852
REFACTOR: reduce technical debt, particularly that caused by singleton pattern in pkg/scraper
...
- ensure all scraper functions have a `api.XYZ` version and a package-level convenience function
- isolate `the_api` to top-level convenience functions, in preparation for removal
- move a bunch of scraper functions around to be nearby their related functions
- new ErrLoginRequired
- remove obsolete APIv1 stuff (Feed, TweetDetail)
- rename scraper function GetUserFeedGraphqlFor => GetUserFeed
- fix go.mod Go version incorrectly claiming it's compatible with Go 1.16 (should be Go 1.17)
2024-08-09 19:48:50 -07:00
Alessio
6a464827c7
Add close icon for DM replying
2024-07-28 18:06:37 -07:00
Alessio
bbee9b1a1d
Fix integration test
2024-07-28 17:53:49 -07:00
Alessio
8792c857cd
Update CHANGELOG.txt for v0.6.14
2024-07-28 17:45:22 -07:00
Alessio
c1c781af61
Implement replying in DMs
2024-07-28 17:18:30 -07:00
Alessio
b4384f9cc4
Enable sending emoji reactions in DMs
2024-07-28 14:09:41 -07:00
Alessio
7244bf51e9
Make Bookmarks scrapable from web UI
2024-07-28 14:00:21 -07:00
Alessio
c52960759e
Fix bug caused by DMTrove refactor
2024-07-28 13:23:10 -07:00