10 Commits

Author SHA1 Message Date
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
24129c4852 REFACTOR: reduce technical debt, particularly that caused by singleton pattern in pkg/scraper
- ensure all scraper functions have a `api.XYZ` version and a package-level convenience function
	- isolate `the_api` to top-level convenience functions, in preparation for removal
- move a bunch of scraper functions around to be nearby their related functions
- new ErrLoginRequired
- remove obsolete APIv1 stuff (Feed, TweetDetail)
- rename scraper function GetUserFeedGraphqlFor => GetUserFeed
- fix go.mod Go version incorrectly claiming it's compatible with Go 1.16 (should be Go 1.17)
2024-08-09 19:48:50 -07:00
Alessio
341ddaa5c2 Add Participants view to group chats 2024-05-04 21:41:15 -07:00
84ff6c12b7 Change all timestamps to use milliseconds instead of seconds 2024-01-07 15:15:43 -06:00
b73ee1f5d2 Add support for group DMs; also make UI highlight which chat is currently active 2023-11-19 20:37:22 -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
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
616ff30a12 Add DM API response structures and parsing of DM objects 2023-11-07 15:04:47 -04:00