723 Commits

Author SHA1 Message Date
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
c6d0bbce65 Add polling for DM updates while webserver is running 2023-11-19 13:51:16 -08:00
ae01208cde Add 'fetch_dm' subcommand 2023-11-19 10:43:35 -08:00
a4c4dba5e0 Fix typo 2023-11-18 16:39:37 -08:00
6fd06c8c51 Add integration test for fetch_inbox 2023-11-18 16:35:59 -08:00
520b9e366a Make fetch_inbox command respect the -n flag 2023-11-18 16:26:03 -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
12a2dc9744 Fix crashing on user's own tweet threads because of the composer button 2023-11-17 20:03:59 -08:00
0fe65f99d5 Add test for previous commit 2023-11-14 11:32:27 -08:00
f67fc443f6 Add Messages page 2023-11-14 11:12:23 -08:00
0b4ed73605 Fix integration tests 2023-11-12 13:35:32 -08:00
99f6de9d45 Add UI queries for DMs 2023-11-12 13:04:02 -08:00
9a9ab459c5 Fix syntax error in seed data 2023-11-12 13:00:44 -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
f0fcef68e0 Fix lint error 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
369616aeec Implement parsing of whole inbox state 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
1538605e23 Change DMChatRoom#Participants to a map instead of a slice 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
9dbdbdb067 Add the sample response files for DM tests 2023-11-07 15:04:47 -04:00
616ff30a12 Add DM API response structures and parsing of DM objects 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
bd07e3fc50 Add fetching DMs list to login.py 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
17290e2fdc Update CHANGELOG.txt for v0.5.1 2023-11-07 14:14:05 -04:00
93059f8a61 Make user feed buttons less ugly 2023-11-07 12:48:59 -04:00
cefe8fc939 Add background scraping of logged-in user's Likes 2023-11-07 12:28:56 -04:00
6f66f68a15 Add test for users search page 2023-11-07 12:26:01 -04:00
ae749a19d2 Add users search page 2023-11-07 12:21:53 -04:00
8079d44781 Extract list of User SQL fields to a constant 2023-11-07 12:10:24 -04:00
723b7e4fa1 Add Lists page 2023-11-06 14:47:46 -04:00
33c8ef30ec Fix lint error 2023-11-05 18:38:38 -04:00
694a8e0bc5 Change "scrape" from a URL param to a query param
- create generic "refresh" button for User Feed that refreshes whichever tab you're on
- refactor TweetDetail view into multiple pieces for easier maintenance
- on "Already liked this tweet" error, save the Like instead of discarding it
2023-11-05 15:27:40 -04:00
fa9c913b53 Fix spaces with no created_by_id crashing the app 2023-11-05 14:45:25 -04:00
2b5db51fc1 Fix UI bug with extremely long words with no spaces screwing up the layout because they won't wrap 2023-11-02 17:52:30 +00:00
9448a84b28 Fix detection of deleted tweets 2023-10-23 13:48:38 -03:00
1fd41c4c32 Update CHANGELOG.txt for v0.5.0 2023-10-14 20:30:44 -03:00
2e0e307b93 Change '.focused-tweet' to '#focused-tweet'; tidy up 'tests.sh' 2023-10-14 20:08:58 -03:00
b6ada6371c Fix up a bunch of lint errors and other stuff 2023-10-14 19:45:51 -03:00
62f14856d6 Add parsing of edited tweets 2023-10-14 19:34:45 -03:00
9b85d81b89 Fix new video format and new user suspended format 2023-10-14 18:59:10 -03:00
5d6c40246c Move checking for parsing errors up a bit 2023-10-14 18:49:54 -03:00
63ddaaeafb Scraper now handles implicit tombstones like '"quoted_status_result": {}' 2023-10-14 18:02:31 -03:00
535f28c278 Enable search sort-orders 2023-10-14 15:06:50 -03:00