79 Commits

Author SHA1 Message Date
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
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
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
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
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
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
3117a1364c Add /user/followers and /user/followees pages 2023-12-26 23:16:51 -06:00
df8093bbd9 Add follows 2023-12-26 19:52:37 -06:00
cec8f4d124 Update CHANGELOG.txt for v0.6.0 2023-12-24 22:43:14 -06:00
db692e747a Fix lint error, add test for empty polling result 2023-12-24 19:43:00 -06:00
bd90b1c528 Add polling for new messages in a chat room while on the page 2023-12-24 19:28:15 -06:00
d80a2bd5b1 REFACTOR: fix some SQL queries that were indented with spaces, clean up some stuff 2023-12-24 19:22:44 -06:00
fee47205ec Move content downloading to the background when scraping 2023-11-26 22:13:47 -08:00
aaab11b1d0 Add DM message replying-to indicators/previews and render embedded tweets 2023-11-25 14:21:09 -08:00
e5b00c334d Add embedded tweet recognition to DMs 2023-11-19 23:33:04 -08:00
b73ee1f5d2 Add support for group DMs; also make UI highlight which chat is currently active 2023-11-19 20:37:22 -08:00
6e9a370073 Various improvements to Messages UI
- Chat list previews look a bit nicer, and display the time of last message
- Chat messages show sent_at time
- Messages with line breaks will actually display as paragraphs now
- Misc spacing improvements
- BUGFIX: fix preview DB query crashing if there's no messages in a chat
2023-11-19 15:31:59 -08:00
46eaf913fd Remove length restriction on Emoji field in a DMReaction; emojis can be >1 char, up to at least 3 2023-11-18 14:55:07 -08:00
99f6de9d45 Add UI queries for DMs 2023-11-12 13:04:02 -08:00
186cea5f1c REFACTOR: a bunch of miscellaneous spacing and formatting improvements 2023-11-12 12:53:56 -08:00
ef72de76e0 Rebase DMs, updating for rename of 'scraper' to 'pkg/scraper' 2023-11-07 15:04:47 -04:00
57500b0d30 Add command to fetch a user's DM inbox and hook it up 2023-11-07 15:04:47 -04:00
648bcd3406 Add test for adding a new reaction to a chat message 2023-11-07 15:04:47 -04:00
7dcb0ff84e Fix chat messages/reactions breaking if you save the same one twice 2023-11-07 15:04:47 -04:00
7c25648cbf Add DB queries for DM chat messages and reactions
- also change reactions to be a map instead of a slice
2023-11-07 15:04:47 -04:00
891ce75479 Add queries for DM chat rooms and participants 2023-11-07 15:04:47 -04:00
3f1fcf6bcd Tweak field names, add more 'db:...' tags to struct field names 2023-11-07 15:04:47 -04:00
41fe27fa34 Tidy up SQL for new DM tables
- add "chat_" prefix to table names
- add "is_" prefix to names of boolean fields
- rename some fields for reasons of taste
- add "chat_room_participants" join table
2023-11-07 15:04:47 -04:00
~holmus-hiddyn
945923e226 Adds shell for DMs, reactions, and conversation 2023-11-07 15:04:47 -04:00
8079d44781 Extract list of User SQL fields to a constant 2023-11-07 12:10:24 -04:00
fa9c913b53 Fix spaces with no created_by_id crashing the app 2023-11-05 14:45:25 -04:00
b6ada6371c Fix up a bunch of lint errors and other stuff 2023-10-14 19:45:51 -03:00
535f28c278 Enable search sort-orders 2023-10-14 15:06:50 -03:00
99ef17f820 Fix likes 'sort_order' being unique when '-1' is used as 'unknown' value 2023-10-13 17:55:40 -03:00
72df452401 Add "with replies", "without replies", "media" and "likes" tab to User Feed
- Also add UI option to scrape a user's Likes from their user profile
2023-10-13 17:47:13 -03:00
dc1bde2fe6 Implement 'likes sort order' for Likes tab 2023-10-12 15:34:24 -03:00
9aff2b8a93 Add search filters for 'media' (union of video and image) and negative search filters (prefixed with '-') 2023-10-12 10:30:33 -07:00
5bb65853da Fix a previous test that had a thread in it 2023-10-08 14:55:10 -07:00
4343ab7971 Include entire thread in tweet-detail query result 2023-10-08 14:42:42 -07:00