Commit graph

45 commits

Author SHA1 Message Date
Tommy Chow
33c63d95cf Add timestap option to chat 2021-12-29 19:54:32 -05:00
Tommy Chow
8c77eac1e4 Add chat users/modes, refactor chat store
- Added ability to view all chat users in channel
- Updated chat modes to icons for better appearence
- Refactored chat into individual chat stores for better organization
- Fixed ROOMSTATE changes not updating properly
2021-12-27 21:13:46 -05:00
Tommy Chow
0185b80454 Add API request and model for users in chat 2021-12-27 21:08:16 -05:00
tommyxchow
9f7529d2cc Add twitchSub & twitchUnlocked enum emote type 2021-12-22 17:50:42 -05:00
tommyxchow
ea28f993fe Add support for /me in chat, minor optimizations 2021-12-17 20:43:03 -05:00
tommyxchow
b8e5a465bb Minor IRC refactor & cleanup 2021-12-16 00:06:28 -05:00
tommyxchow
796559b51b Fix settings not updating chat & refactor IRC 2021-12-15 23:54:06 -05:00
tommyxchow
8337a454fc Add experimental support for zero-width emotes 2021-12-15 01:49:25 -05:00
tommyxchow
04f0ef74d3 Add status notices to chat, pause & resume test 2021-12-13 02:19:06 -05:00
tommyxchow
934732770a Add common emote class
When deserialized, emotes have different fields with conflicting names
and extraneous fields. This new class allows for a common class that
prevents type errors.
2021-12-12 16:02:46 -05:00
tommyxchow
a95c3eb7ae Add tooltips to emotes & badges, update API 2021-12-11 15:51:30 -05:00
tommyxchow
81c18feb45 Add hide blocked users in chat (#55)
Blocked users will be hidden from chat only if the logged in user is not
a mod or not the channel owner.
2021-12-11 00:45:44 -05:00
tommyxchow
57c5d1f4a9 Twitch API tweaks & additions (#41)
- Added request for streams under a desired category
- Tweaked models
2021-11-26 01:14:47 -05:00
tommyxchow
41b5fefa32 Add force_verify OAuth parameter & fixes
The `force_verify` parameter will allow users to be verified in the
webview when logging in and allow them to switch accounts.
[skip ci]
2021-11-25 22:01:02 -05:00
tommyxchow
9875b6ed59 Implement handling of NOTICE command (#44) 2021-11-23 00:47:21 -05:00
tommyxchow
d7633281d2 Refactor & split stream list 2021-11-22 01:26:17 -05:00
tommyxchow
051b8678e5 Add top games request, tweak models (#40)
[skip ci]
2021-11-18 22:13:01 -05:00
tommyxchow
6b40f9e76f Add channel search request and object 2021-11-14 04:17:19 -05:00
tommyxchow
b370683739 Add Channel object for search & API request 2021-11-11 22:51:31 -05:00
tommyxchow
3cf4961493 Rename Channel object to Stream
Channels represent any channel, offline or not. Streams represent live
channels, or streams, and is what is being requested for in the API.
2021-11-11 22:48:23 -05:00
tommyxchow
2df2326f73 Revert 05df4e8, comment additions & fixes
The previously removed requests in 05df4e8 were actually required for
rendering emotes whenever the user themself sends a message.
2021-11-02 03:51:34 -04:00
tommyxchow
05df4e8d2f Minor comment additions and fixes
Removed the redundant request for Twitch global and channel emotes in getAssets().

Since these emotes will be processed anyways when generating the span, there's no point in wasting bandwidth to fetch and store them.
2021-10-26 01:48:46 -04:00
tommyxchow
1afc979139 Add command enum, refactor chat store
- Added enum for IRC tag command for slightly better comparisons
- Moved span portion of renderMessage to its own function in irc_api.dart
- Moved message remove and end scroll to seperate function action
- Fixed emote tags applying to all users
2021-10-24 03:53:08 -04:00
tommyxchow
26e7a746db Fix handling of ROOMSTATE changes 2021-10-23 00:25:22 -04:00
tommyxchow
bb74b7bd6e Refactor IRC API
- Moved parse method to factory constructor in IRCMessage for better readability
- Renamed irc_message.dart to irc.dart to include other irc-related models
- Added ROOMSTATE model
- Moved addMessage functionality to chat store
2021-10-22 02:34:23 -04:00
tommyxchow
a897f1218e Add opacity to CLEARCHAT and CLEARMSG, fixes
- Increase chat message limit to 200
- Fix auto scroll post frame callback
2021-10-18 02:43:47 -04:00
tommyxchow
9eca5189db Renames, implement CLEARCHAT and CLEARMSG 2021-10-17 02:14:15 -04:00
tommyxchow
7673a2c8a0 Add IRC API 2021-10-16 18:25:32 -04:00
tommyxchow
b97a8b8975 Add IRC message model 2021-10-16 04:00:03 -04:00
Tommy Chow
3515418375 Remove provider and add get_it, updates 2021-10-03 22:05:55 -04:00
Tommy Chow
e2567e9466 Run build_runner 2021-09-23 18:08:18 -04:00
Tommy Chow
c3874075bf Fix 7TV emote nullable member 2021-09-06 00:00:13 -04:00
Tommy Chow
97f9f41671 Add 7TV emote models 2021-09-01 22:58:42 -04:00
Tommy Chow
a026d4f74c Fix channel crash
Tag ids are null when a channel just went live. They're now nullable.
2021-09-01 21:20:20 -04:00
Tommy Chow
64ccccaac2 Change to proxy provider for easier auth access 2021-08-26 15:57:16 -04:00
Tommy Chow
3dcba65b79 Fix user model view count type 2021-08-25 00:29:44 -04:00
Tommy Chow
a9f8694934 Add badge requets 2021-08-23 00:28:53 -04:00
Tommy Chow
ba60c164fe Fix twitch badge JSON decoding 2021-08-22 23:57:02 -04:00
Tommy Chow
5c1ec63ee0 Fix JSON twitch image decoding 2021-08-20 21:20:00 -04:00
Tommy Chow
db205035d2 Add channel card widget 2021-08-19 23:31:02 -04:00
Tommy Chow
b776d4ff38 Add constants 2021-08-19 18:18:48 -04:00
Tommy Chow
f269503f34 Add twitch (default) user model 2021-08-18 14:01:40 -04:00
Tommy Chow
a9053430ba Add channel (stream) model 2021-08-18 13:50:41 -04:00
Tommy Chow
d957cab877 Add Twitch badge model 2021-08-18 13:41:19 -04:00
Tommy Chow
c4eb59f3a5 Add emote models 2021-08-18 13:23:13 -04:00