918 Commits

Author SHA1 Message Date
Alessio
f7b0c4a427 Add background scraping jobs for Bookmarks and logged-in user's User Feed 2025-02-02 20:23:55 -08:00
Alessio
eec02fef00 On manually rescraping a user feed, update the user and download their content too 2025-02-02 20:02:26 -08:00
Alessio
cd02110021 BUGFIX: fix a scraping error on encountering a 'composer' entry in a tweet thread 2025-02-02 17:28:18 -08:00
Alessio
a3ddfa72b7 Fix a typo in the windows build script 2025-01-18 21:44:42 -08:00
Alessio
af21249e67 Fix a broken integration test 2025-01-18 20:38:32 -08:00
Alessio
7a056c7494 Fix whitespace issue (kick pipeline) 2025-01-17 15:02:14 -08:00
Alessio
06ea9b890b Update CHANGELOG.txt for v0.6.21 2025-01-17 14:54:15 -08:00
Alessio
5f1e917819 Try re-downloading chat images 5x with 0.5s delay before giving up 2025-01-17 14:48:31 -08:00
Alessio
23f023837b Try to add an icon to the compiled application on Windows 2025-01-12 20:26:48 -08:00
Alessio
355e1cec3b BUGFIX: fix several issues with the Windows installer
- fix Start Menu shortcut putting `--default-profile` flag in the wrong position, causing it to print the help message and exit instead of starting
- fix "current user only" installation trying to install a desktop shortcut on the Public desktop instead of the user's
2025-01-12 20:07:51 -08:00
Alessio
d7a8ee6013 I forgot to include this in the previous commit 2024-12-23 19:40:32 -08:00
Alessio
37993af341 Fix more lint errors of the same kind 2024-12-23 19:38:25 -08:00
Alessio
f9fdfe04df Fix new lint error activated by updating Go version (remove 'rand.Seed(time.Now)' calls, as they are redundant; as of 1.20, the generator is seeded randomly at startup) 2024-12-23 19:35:00 -08:00
Alessio
574be89062 Bump go toolchain version to 1.21 to support slices (not 1.18 as incorrectly tried in the previous commit) 2024-12-23 19:28:17 -08:00
Alessio
c428c95a4c Switch order of test and lint in CI build 2024-12-23 19:16:48 -08:00
Alessio
4e2dfef3cb Update go.mod go version to 1.18, to use slices package 2024-12-23 19:12:43 -08:00
Alessio
bd0e353771 REFACTOR: move a bunch of stuff around in the scraper to consolidate
- delete type-specific test files and put them in api_types_test
- remove an unneeded test file
2024-12-23 19:06:29 -08:00
Alessio
32531a3bd9 Move User Detail query, structures, parsing and tests to new 'api_types_user' file 2024-12-23 18:43:45 -08:00
Alessio
14024f550d REFACTOR: Get rid of SortableXYZ types, use slices.SortFunc instead 2024-12-23 12:53:58 -08:00
Alessio
81e6dc50be REFACTOR: rename some stuff in scraper apiv1
- rename TweetResponse -> APIv1Response
- rename Entry -> APIv1Entry
- rename APIv1Response.GetCursor -> GetCursorBottom
2024-12-23 12:37:28 -08:00
Alessio
eaa9f4c404 Update the init_data script to be compatible with putting the sample data profile in a tmpfs 2024-12-23 12:16:02 -08:00
Alessio
938a725f39 Fix bug introduced by BackgroundTask refactor 2024-12-22 08:38:54 -08:00
Alessio
29666bd51b Fix lint error 2024-12-22 08:08:47 -08:00
Alessio
8d29e25823 Don't bother sending a RemoteUrl for DM images if they're not downloaded yet, since they can't be loaded without an authentication token anyway 2024-12-22 08:07:26 -08:00
Alessio
5c79decd7b Remove unused (apparently redundant?) BottomTimestamp function from the Feed object 2024-12-22 08:05:23 -08:00
Alessio
7102530661 Update integration test for user feed to use a user who retweets stuff more often 2024-12-22 08:04:18 -08:00
Alessio
ff638bd543 REFACTOR: create a BackgroundTask abstraction 2024-12-22 08:03:12 -08:00
Alessio
e27cd12cdc REFACTOR: change 'fetch_tweet_only' to use the regular fetch-tweet scraper function, and extract the main tweet in the 'main' package instead of having a scraper function for it 2024-12-21 09:21:23 -08:00
Alessio
850662c3cb REFACTOR: move as much API code out of the types files and into api_types_... files as possible
- also remove a few useless functions
2024-12-21 09:15:02 -08:00
Alessio
1f44fb0961 REFACTOR: SQL should use single-quotes; octal literals should start with '0o' 2024-12-21 07:53:31 -08:00
Alessio
9f31037ad7 Update the other command in the build with the same change as previous commits 2024-12-11 11:17:04 -08:00
Alessio
eb6afa63a0 BUGFIX: Fix what must have been a very old bug, where the version bump test used 'offline-twitter-engine' instead of 'offline-twitter' as the 'old' version, effectively pinning it at v0.6.2 2024-12-11 11:07:35 -08:00
Alessio
0f7b7d74e2 Update build file to use authenticated session to fetch a user (change from last release) 2024-12-09 18:34:39 -08:00
Alessio
b5df0f3b5e Update integration test to account for @Offline_Twatter unfollowing @POTUS 2024-12-09 15:03:48 -08:00
Alessio
5b7713bb05 Handle 'X Premium' native ads in notifications 2024-12-09 14:56:17 -08:00
Alessio
1b290d9b5c Update CHANGELOG.txt for v0.6.20 2024-12-09 14:07:37 -08:00
Alessio
20338e1784 UI: tweak emoji styling again 2024-12-09 14:06:00 -08:00
Alessio
c451d72d99 UI: Decrease the padding on emoji reaccs slightly 2024-12-09 13:53:09 -08:00
Alessio
9d95fcbe57 Add htmx spinner to refresh-chat-room button 2024-12-09 13:44:11 -08:00
Alessio
72edf20890 Actually fully remove the test properly from the previous commit 2024-12-09 13:08:48 -08:00
Alessio
683c05c996 Disable integration test for guy who got banned 2024-12-09 12:59:46 -08:00
Alessio
5dcca9464b Add more non-happy-path HTTP tests (round #2) 2024-12-09 12:37:17 -08:00
Alessio
178e38555f Reactivate integration tests that were temporarily deactivated 2024-12-09 11:53:02 -08:00
Alessio
2a05512a9c Don't send empty search queries from search bar 2024-12-02 20:31:41 -08:00
Alessio
6e271bccc0 Add more non-happy-path HTTP tests 2024-12-02 20:30:56 -08:00
Alessio
9ce4f84a82 Fix lint errors 2024-12-02 18:54:40 -08:00
Alessio
2edead5913 BUGFIX: fix a bunch of issues with HTMX error-response toasts
- Add tests for a bunch of error cases and non-happy paths
2024-12-02 18:50:54 -08:00
Alessio
222f3d7ab5 REFACTOR: make helper function for webserver tests with active user 2024-12-02 15:08:58 -08:00
Alessio
854cfb6d7a REFACTOR: split webserver/server_test.go into a bunch of different files, by handler 2024-12-02 14:51:22 -08:00
Alessio
5b8d110474 UI: add a little circle and background around the active user's reaccs 2024-11-09 18:16:01 -08:00