959 Commits

Author SHA1 Message Date
Alessio
418187f925 temporarily disable an integration test because some schmuck unprivated his account 2024-11-06 21:57:07 -08:00
Alessio
faac7e9b16 Add marking notifications as read 2024-11-06 21:54:21 -08:00
Alessio
212c1b4e50 Add replied-to username to reply previews in DMs 2024-11-06 19:44:08 -08:00
Alessio
c7a6b5b321 Add back in the GetUserByID unauthenticated operation since apparently it does actually work 2024-11-06 18:58:18 -08:00
Alessio
2b7a636720 Remove the unauthenticated GetUser requests as they no longer work 2024-11-06 18:36:06 -08:00
Alessio
4d81b8d879 Make banner images open in carousel on click as well 2024-11-06 17:12:20 -08:00
Alessio
d59ef45569 Profile images in user feed headers are now clickable to open the image full-sized (are no longer links to the page you're already on) 2024-11-06 17:06:30 -08:00
Alessio
a4285c2db1 Add test file for previous commit 2024-11-03 20:11:41 -08:00
Alessio
640ac531e5 Fix a new bug type where blocked users' tweets can be empty-but-not-tombstoned, or something (not totally sure what this is) 2024-11-03 20:08:57 -08:00
Alessio
631d07c6fc Fix integration test (user changed their handle) 2024-11-03 18:38:16 -08:00
Alessio
3c3e47cdfd Update CHANGELOG.txt for v0.6.18 2024-11-03 18:27:53 -08:00
Alessio
726d738844 Fix emoji picker's skin tone data not being compatible with Twitter's emojis 2024-11-02 13:26:28 -07:00
Alessio
b0cf2076e2 Make notifications paginated 2024-11-01 23:23:03 -07:00
Alessio
90f453c207 Fix crashing on non-timeline-module composer button entries 2024-10-26 22:11:23 -07:00
Alessio
e319dc1988 Fix 'user followed you' notifications sometimes parsing as 'new recommended post' notifications 2024-10-23 22:40:43 -07:00
Alessio
859431f012 Initialize database version number in schema.sql, instead of Go code 2024-10-23 22:00:38 -07:00
Alessio
74db0f5797 Remove sqlx mapper function; just map all fields manually 2024-10-23 21:50:54 -07:00
Alessio
720c486715 Update CHANGELOG.txt for v0.6.17 2024-09-23 16:49:51 -07:00
Alessio
3539d9418d SaveTweetTrove now re-fetches users with conflicting handles as well 2024-09-23 00:23:07 -07:00
Alessio
11b03a7927 Add integration test for resolving conflicting user handles 2024-09-22 22:58:32 -07:00
Alessio
f7cbe17deb Fix lint errors 2024-09-22 22:24:56 -07:00
Alessio
381e9e0706 'fetch_user' and 'fetch_user_by_id' subcommands now check for conflicting user handle errors and rescrape if needed 2024-09-22 22:11:08 -07:00
Alessio
6ed8beae26 Update SaveUser logic to account for duplicate handles, with better handling of deleted / banned users
- BUGFIX: deleted / banned users will no longer have all their other info wiped
	- e.g., follower counts, profile image URLs, bio, etc.
2024-09-22 16:22:33 -07:00
Alessio
79033cfc79 Make user handles only unique among active users 2024-09-17 18:33:58 -07:00
Alessio
8c390444d6 Temporarily remove the follow/unfollow integration tests 2024-09-17 18:25:25 -07:00
Alessio
51eaa2a0c4 Remove some useless functions ('list_followed', superceded by Lists; 'UserExists') 2024-09-17 18:13:54 -07:00
Alessio
4ea15f10af Add scraper function to get user by ID 2024-09-15 22:56:59 -07:00
Alessio
210328bcc9 Kick CI 2024-09-15 19:26:14 -07:00
Alessio
a418fc99bf Kick CI 2024-09-15 19:20:02 -07:00
Alessio
45958d0711 Update woodpecker build file to use 'steps' instead of 'pipeline' 2024-09-15 18:42:31 -07:00
Alessio
9c0f9504f6 "ConvertToAPIUser() now returns an error indicating a "not-found" response, which propagates through "GetUser" API calls 2024-09-15 17:59:25 -07:00
Alessio
2d35c37e17 Simply ErrNotInDatabase implementation 2024-09-15 17:47:51 -07:00
Alessio
a13f47e508 Make the data directory if needed 2024-09-15 15:22:07 -07:00
Alessio
67f2852ac7 Put pkg/persistence and cmd/data in tmpfs 2024-09-15 15:18:54 -07:00
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