4b6686cde6
Fix lint errors
2023-12-26 14:09:03 -06:00
795b7250ed
Add flag to auto-open page in web browser
2023-12-26 12:20:58 -06:00
f3f2550d85
REFACTOR: create 'GetMore' function for paginated queries with cursors
2023-12-26 11:42:02 -06:00
cec8f4d124
Update CHANGELOG.txt for v0.6.0
2023-12-24 22:43:14 -06:00
482238abe0
Poll for DM updates every 3s instead of 7s; fix scrolling on new DMs sent and received; clear composer box after sending message
2023-12-24 21:53:03 -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
e1bc6bba98
Enable sending DM messages
2023-12-24 14:21:57 -06:00
3ba8e3ef70
Restrict access to routes when not logged in (i.e., no active session)
2023-12-24 14:09:46 -06:00
a039b4b320
Get rid of dropdown menu on tweets, just put the two buttons next to each other
2023-12-20 11:55:50 -08:00
fee47205ec
Move content downloading to the background when scraping
2023-11-26 22:13:47 -08:00
08783d2bf4
Add icon file for replying-to DM indicator
2023-11-26 21:26:00 -08:00
903483e305
Add function to send DMs
2023-11-26 21:25:04 -08:00
e5597ceac0
BUGFIX: user is missing when loading their user profile, try to scrape them first
2023-11-26 20:43:38 -08:00
aaab11b1d0
Add DM message replying-to indicators/previews and render embedded tweets
2023-11-25 14:21:09 -08:00
dcab3de773
Add test file for previous commit
2023-11-19 23:41:05 -08:00
e5b00c334d
Add embedded tweet recognition to DMs
2023-11-19 23:33:04 -08:00
c30a674522
Remove outdated test
2023-11-19 21:13:04 -08:00
c471ae3c65
Fix lint error
2023-11-19 20:52:54 -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
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