Commit Graph

  • 4a1147c7ea Fix another typo Alessio 2024-11-06 22:03:01 -08:00
  • a0ae810cd6 Fix lint error Alessio 2024-11-06 21:58:44 -08:00
  • 418187f925 temporarily disable an integration test because some schmuck unprivated his account Alessio 2024-11-06 21:57:07 -08:00
  • faac7e9b16 Add marking notifications as read Alessio 2024-11-06 21:54:21 -08:00
  • 212c1b4e50 Add replied-to username to reply previews in DMs Alessio 2024-11-06 19:44:08 -08:00
  • c7a6b5b321 Add back in the GetUserByID unauthenticated operation since apparently it does actually work Alessio 2024-11-06 18:58:18 -08:00
  • 2b7a636720 Remove the unauthenticated GetUser requests as they no longer work Alessio 2024-11-06 18:36:06 -08:00
  • 4d81b8d879 Make banner images open in carousel on click as well Alessio 2024-11-06 17:12:20 -08:00
  • 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) Alessio 2024-11-06 17:06:23 -08:00
  • a4285c2db1 Add test file for previous commit Alessio 2024-11-03 20:11:41 -08:00
  • 640ac531e5 Fix a new bug type where blocked users' tweets can be empty-but-not-tombstoned, or something (not totally sure what this is) Alessio 2024-11-03 20:07:03 -08:00
  • 631d07c6fc Fix integration test (user changed their handle) Alessio 2024-11-03 18:38:16 -08:00
  • 3c3e47cdfd Update CHANGELOG.txt for v0.6.18 Alessio 2024-11-03 18:27:53 -08:00
  • 726d738844 Fix emoji picker's skin tone data not being compatible with Twitter's emojis Alessio 2024-11-02 13:26:28 -07:00
  • b0cf2076e2 Make notifications paginated Alessio 2024-11-01 23:23:03 -07:00
  • 90f453c207 Fix crashing on non-timeline-module composer button entries Alessio 2024-10-26 22:11:23 -07:00
  • e319dc1988 Fix 'user followed you' notifications sometimes parsing as 'new recommended post' notifications Alessio 2024-10-23 22:40:43 -07:00
  • 859431f012 Initialize database version number in schema.sql, instead of Go code Alessio 2024-10-23 22:00:38 -07:00
  • 74db0f5797 Remove sqlx mapper function; just map all fields manually Alessio 2024-10-23 21:50:54 -07:00
  • 720c486715 Update CHANGELOG.txt for v0.6.17 Alessio 2024-09-23 16:49:51 -07:00
  • 3539d9418d SaveTweetTrove now re-fetches users with conflicting handles as well Alessio 2024-09-23 00:23:07 -07:00
  • 11b03a7927 Add integration test for resolving conflicting user handles Alessio 2024-09-22 22:58:32 -07:00
  • f7cbe17deb Fix lint errors Alessio 2024-09-22 22:24:56 -07:00
  • 381e9e0706 'fetch_user' and 'fetch_user_by_id' subcommands now check for conflicting user handle errors and rescrape if needed Alessio 2024-09-22 22:11:00 -07:00
  • 6ed8beae26 Update SaveUser logic to account for duplicate handles, with better handling of deleted / banned users Alessio 2024-09-22 16:22:33 -07:00
  • 79033cfc79 Make user handles only unique among active users Alessio 2024-09-17 18:30:11 -07:00
  • 8c390444d6 Temporarily remove the follow/unfollow integration tests Alessio 2024-09-17 18:25:25 -07:00
  • 51eaa2a0c4 Remove some useless functions ('list_followed', superceded by Lists; 'UserExists') Alessio 2024-09-17 18:13:54 -07:00
  • 4ea15f10af Add scraper function to get user by ID Alessio 2024-09-15 22:56:59 -07:00
  • 210328bcc9 Kick CI Alessio 2024-09-15 19:26:14 -07:00
  • a418fc99bf Kick CI Alessio 2024-09-15 19:20:02 -07:00
  • 45958d0711 Update woodpecker build file to use 'steps' instead of 'pipeline' Alessio 2024-09-15 18:42:31 -07:00
  • 9c0f9504f6 "ConvertToAPIUser() now returns an error indicating a "not-found" response, which propagates through "GetUser" API calls Alessio 2024-09-15 16:00:04 -07:00
  • 2d35c37e17 Simply ErrNotInDatabase implementation Alessio 2024-09-15 15:34:56 -07:00
  • a13f47e508 Make the data directory if needed Alessio 2024-09-15 15:22:07 -07:00
  • 67f2852ac7 Put pkg/persistence and cmd/data in tmpfs Alessio 2024-09-15 15:18:54 -07:00
  • b9c63cb35a Move to newer version of golangci-lint Alessio 2024-09-15 15:09:55 -07:00
  • 526582d90c Fix lint error Alessio 2024-09-14 16:28:00 -07:00
  • 2731d787c2 Prevent failed SaveNotification transaction from locking the database Alessio 2024-09-14 16:01:28 -07:00
  • b9e025589e Update CHANGELOG.txt for v0.6.16 Alessio 2024-09-03 18:36:23 -07:00
  • 667b54503d Fix lint error Alessio 2024-09-02 17:06:36 -07:00
  • 14ea626014 Show unread notifications count bubble in web UI; add background scraping of notifications every 10s Alessio 2024-09-02 17:00:30 -07:00
  • 72b547f6aa Unread notifications count should be specific to a single user Alessio 2024-09-02 16:25:54 -07:00
  • 9c7174a84a Add way to scrape unread count; add db query to count unread notifs since a given sort index Alessio 2024-09-02 15:02:27 -07:00
  • 665e6a31dd Add notifications page Alessio 2024-08-31 23:23:22 -07:00
  • 1f392f5240 Fix lint error Alessio 2024-08-31 23:06:54 -07:00
  • f554846355 Add sample notification data, and compound query to retrieve notifications and associated data Alessio 2024-08-31 22:59:23 -07:00
  • 0c620621a6 Add scraping notiication detail Alessio 2024-08-28 19:22:09 -07:00
  • dc816c6f28 Track retweet lists in notifications alongside tweets Alessio 2024-08-28 19:20:29 -07:00
  • 0a1cdc17af Fix integration test (link thumbnail image went down again) Alessio 2024-08-26 12:21:46 -07:00
  • b8db01c0ab Add test file for previous commit Alessio 2024-08-26 00:19:24 -07:00
  • 2c7c35e23f Add pagination to notifications Alessio 2024-08-26 00:07:10 -07:00
  • 04991ad554 Add 'get_notifications' subcommand Alessio 2024-08-25 22:57:40 -07:00
  • b77612c66f Add SQL queries for notifications Alessio 2024-08-25 22:54:18 -07:00
  • e94327b153 Add current user ID to notifications' UserID field (notification recient) when parsing Alessio 2024-08-25 22:48:09 -07:00
  • fae23cc243 Fix lint errors Alessio 2024-08-25 19:01:52 -07:00
  • eafdbf5ffb Add Notifications parser Alessio 2024-08-25 16:27:49 -07:00
  • 27d8ab39f0 Abandon concept of release branches, switch to tags Alessio 2024-08-23 15:00:24 -07:00
  • 9a985539c5 Add some debug info to the integration test Alessio 2024-08-23 13:24:11 -07:00
  • 4853969b4d Fix lint error Alessio 2024-08-23 12:57:27 -07:00
  • f3f0b4868d Update CHANGELOG.txt for v0.6.15 Alessio 2024-08-23 12:52:16 -07:00
  • c16ed03f22 Manual enable browser cache (1 hour expiry) for static assets Alessio 2024-08-23 12:50:02 -07:00
  • 3f7a357b17 Fix lint error Alessio 2024-08-19 18:23:46 -07:00
  • c45b8e7ad8 Add --delay flag to force a delay between requests in a large paginated scrape Alessio 2024-08-19 18:20:12 -07:00
  • 9c8c7cdf65 'webserver' subcommand now respects the '--session' flag Alessio 2024-08-19 17:46:04 -07:00
  • 4990e7913d Fix lint error Alessio 2024-08-19 17:29:54 -07:00
  • e2ca9a975a Remove scraper singleton pattern entirely Alessio 2024-08-19 17:27:54 -07:00
  • 08e5a726a8 Remove most uses of the singleton pattern in 'scraper' package Alessio 2024-08-19 16:45:32 -07:00
  • adbab97ca1 Reset the CI pipeline step conditions (don't force everything to run every time anymore) Alessio 2024-08-19 16:39:22 -07:00
  • 8b54f0acab Try removing quotes Alessio 2024-08-19 14:58:53 -07:00
  • 27760db3a8 Add debugging line in CI Alessio 2024-08-19 14:55:58 -07:00
  • e699301e82 When running integration test in CI, make the /tmp directory before writing temp session file Alessio 2024-08-19 14:52:41 -07:00
  • dda57b8117 Kick CI to run integration test Alessio 2024-08-19 14:47:49 -07:00
  • 5d0fd63591 When returning HTTP errors, send toasts if request is HTMX Alessio 2024-08-19 14:43:28 -07:00
  • f8988abef1 Enable optionally using a stored session file in integration test, bypassing login Alessio 2024-08-19 14:15:57 -07:00
  • ee2b287fd9 Enable adding toasts in full page reloads (and HTMX where it's hx-boost or target = body) Alessio 2024-08-18 16:36:22 -07:00
  • 91f722b7fa Scraper requests now report invalidated or expired sessions Alessio 2024-08-18 16:22:37 -07:00
  • 8321d65f17 Fix broken integration test (link thumbnail disappeared, as usual) Alessio 2024-08-18 15:50:04 -07:00
  • 24129c4852 REFACTOR: reduce technical debt, particularly that caused by singleton pattern in pkg/scraper Alessio 2024-08-09 19:41:39 -07:00
  • 6a464827c7 Add close icon for DM replying Alessio 2024-07-28 18:06:37 -07:00
  • bbee9b1a1d Fix integration test Alessio 2024-07-28 17:53:49 -07:00
  • 8792c857cd Update CHANGELOG.txt for v0.6.14 Alessio 2024-07-28 17:45:22 -07:00
  • c1c781af61 Implement replying in DMs Alessio 2024-07-28 17:18:30 -07:00
  • b4384f9cc4 Enable sending emoji reactions in DMs Alessio 2024-07-28 14:09:41 -07:00
  • 7244bf51e9 Make Bookmarks scrapable from web UI Alessio 2024-07-28 14:00:21 -07:00
  • c52960759e Fix bug caused by DMTrove refactor Alessio 2024-07-28 13:23:10 -07:00
  • cf58793b33 Fix error caused by previous commit in banner image download logic Alessio 2024-07-28 13:07:14 -07:00
  • 8aca12695b Handle media download 404s gracefully Alessio 2024-07-28 12:50:00 -07:00
  • d0c23b392b Don't crash when receiving a Grok card Alessio 2024-07-28 08:07:33 -07:00
  • 98015ddf0c REFACTOR: remove DMTrove type, merge it into TweetTrove Alessio 2024-07-28 08:01:58 -07:00
  • 821d36b116 Add emoji picker for DMs Alessio 2024-07-27 15:40:55 -07:00
  • 3c4507dafa Update CHANGELOG.txt for v0.6.13 Alessio 2024-07-14 14:21:34 -07:00
  • a9a7af2195 Band-aid fix for spaces with null fields in them Alessio 2024-07-14 13:24:44 -07:00
  • b4a4084b48 Make image carousel close if user clicks outside it Alessio 2024-07-14 13:23:07 -07:00
  • ef15e8a306 Handle guest token / session initialization when not connected to internet Alessio 2024-07-14 13:20:44 -07:00
  • 0fd17f1af0 Fix getting tweets from deleted accounts Alessio 2024-07-14 12:52:07 -07:00
  • fb95d024cb Fix broken integration test Alessio 2024-07-14 12:49:03 -07:00
  • bbe6c6fef1 Fix lint error Alessio 2024-07-13 23:05:31 -07:00
  • d2045028a7 Improve closing message when a scrape ends due to rate-limiting Alessio 2024-06-11 12:32:58 -07:00
  • c454526e47 Add known hosts for dpkg upload Alessio 2024-06-10 22:02:34 -07:00