148 Commits

Author SHA1 Message Date
Alessio
71230e3886 Fix 3 bugs in DMs
- escape HTML entities in messages so "<" doesn't scrape as "&lt;"
- escape quotes in sent messages, so they no longer fail to send
- fix the web UI receiving the last 50 messages after every sent message instead of just the new ones
2024-05-05 10:58:39 -07:00
Alessio
341ddaa5c2 Add Participants view to group chats 2024-05-04 21:41:15 -07:00
Alessio
af3e496468 Add pagination to DM conversation and scrolling back using 'show more' button 2024-05-04 15:44:17 -07:00
Alessio
47dbd4fe42 Add template file for previous commit 2024-05-03 15:26:30 -07:00
Alessio
3fedde7aa5 Add unread messages notification indicator bubble in the nav sidebar 2024-04-28 15:21:39 -07:00
Alessio
0196cb681b Improve DM chat list previews
- add "unread" indicators
- message preview should now always say something, e.g., "So-and-so sent a Tweet" instead of being empty
2024-04-27 23:10:07 -07:00
Alessio
5c546bf308 Add query to list conversations with unread messages in them 2024-04-27 23:01:56 -07:00
Alessio
1b3c5d0ed3 Add timeout error handling for scraper requests to the request body download as well (rather than just headers) 2024-04-13 16:10:23 -07:00
Alessio
8b77185e6a Remove XXX lint blocker 2024-04-07 18:31:43 -07:00
Alessio
cc4da5e2a5 Create DM pagination function and reimplement 'GetChatRoomContents' using it 2024-04-07 18:24:32 -07:00
697c58e439 Add 'list:<id>' search filter 2024-03-26 20:19:17 -07:00
ea3aac52f8 Fix some typos 2024-03-24 20:12:40 -07:00
590a05edb7 Fix lint errors 2024-03-24 20:09:16 -07:00
0bc5a995ad REFACTOR: remove some redundant code in dm_queries.go 2024-03-24 20:02:40 -07:00
158710df8d Update User Feed graphql endpoint so it can get long tweets 2024-03-22 21:39:13 -07:00
4e0efd8cf9 Add 'tombstone' search filter and search bar filter argument for 'followed_by' 2024-03-22 21:34:02 -07:00
750ad3031a Fix lint error 2024-03-18 22:32:30 -07:00
898ad163ae Add parsing of pinned tweets on scraped user feeds 2024-03-18 22:20:36 -07:00
41e525d223 Show pinned tweets in the web UI 2024-03-18 21:30:01 -07:00
ca7cf613f9 Remove unnecessary import 2024-03-18 21:16:38 -07:00
3967367eed Fix more lint errors 2024-03-18 21:15:27 -07:00
cf51c065d0 Fix lint error 2024-03-18 20:49:25 -07:00
69e0a35e57 Handle HTTP request timeouts 2024-03-16 19:55:05 -07:00
087968c505 Fix typo 2024-03-16 18:30:28 -07:00
862c8a399e Fix name error 2024-03-11 21:16:19 -07:00
73c5803a47 Add downloading of DM embedded images, videos and links 2024-03-11 21:12:38 -07:00
0ad3cf8fb8 Fix lint errors 2024-03-11 14:08:07 -07:00
aa05708e20 Move media downloader from persistence to scraper package; add 429 Rate Limited error type 2024-03-11 12:57:58 -07:00
1ba4f91463 REFACTOR: replace 'log.Debug(fmt.Sprintf(...))' with 'log.Debugf(...)' and remove 'scraper.' prefix in utils_test.go 2024-03-10 19:14:27 -07:00
07233a7153 Fix parsing of other media items in DMs as 'urls' 2024-03-09 15:11:33 -08:00
f18a2e529c Add test files for previous commit 2024-03-08 17:30:27 -08:00
0d12166966 Add parsing of DM images, videos and URLs 2024-03-08 17:22:52 -08:00
2d14621cc0 FIXUP: Add test file for previous commit 2024-03-03 14:58:41 -08:00
b076f4d2f2 Scraper: handle videos being geo-blocked, which was panicking the downloader 2024-03-03 14:56:36 -08:00
c19d36d053 Split Timeline (Home page) into 2 feeds: offline feed and logged-in user follows feed 2024-03-02 23:42:07 -08:00
f39ad6b7cb Fix lint error 2024-03-02 15:45:17 -08:00
73ffb90f63 Move API login flow to its own file; add support for secondary verification challenges 2024-03-02 15:43:02 -08:00
925f36c33a Remove settings.yaml; add default_profile.png to profile initialization 2024-02-26 17:37:34 -08:00
dcd19d9cce Update CHANGELOG.txt for v0.6.3 2024-02-25 22:19:07 -08:00
38495e8591 Add button and query to delete a List 2024-02-25 21:58:56 -08:00
333e4bb553 List Detail 404s if list ID doesn't exist 2024-02-25 17:28:48 -08:00
3f66daef68 Add Lists pages
- List index page
- List detail pages: Feed and Users
- Improve styling for page headings (e.g., Search, Follows, list title, etc)
2024-02-25 17:14:09 -08:00
e0266667d6 Fix previous commit 2024-02-25 17:02:39 -08:00
ea1d04f2f0 Add query to get all Lists (to be used by List index page) 2024-02-25 17:00:31 -08:00
5b6894eee2 Add List queries 2024-02-24 16:45:08 -08:00
ca04c0625a Fix filepath separators for Windows build 2024-02-19 19:37:38 -08:00
a7ce15ebd2 Don't clobber interaction stats when fetching a deleted tweet 2024-02-18 14:52:28 -08:00
018df0d6a4 Rename 'for you' timeline to 'following only' to match Twitter's upstream changes
- Also add 'get_user_likes_all' cmd subcommand to get all users likes
2024-02-18 14:47:12 -08:00
84ff6c12b7 Change all timestamps to use milliseconds instead of seconds 2024-01-07 15:15:43 -06:00
0e965eadc4 Update CHANGELOG.txt for v0.6.1 2023-12-31 22:52:28 -06:00