Commit Graph

65 Commits

Author SHA1 Message Date
dalbodeule
8a0a507e5b [feature] some logic fixed. 2025-06-04 15:42:31 +09:00
dalbodeule
a896269087 [refactor] user and live stream handling logic
Replaced ChzzkUserCache with event-based user fetching for cleaner architecture. Integrated new ChzzkUserFindEvent and ChzzkUserReceiveEvent to handle user data retrieval. Removed old utility methods and streamlined live stream status checks with updated APIs.
2025-05-15 04:57:17 +09:00
dalbodeule
101db7d20c [refactor] chzzk4j update to 0.1.1 2025-05-13 21:31:17 +09:00
dalbodeule
3c3b9a79a2 debug chzzk login 4 2025-05-13 21:25:57 +09:00
dalbodeule
8230762053 Refactor WebSocket handlers and add ACK-based message flow
Consolidated coroutine scopes into `songListScope` and `timerScope` for better management across WebSocket routes. Introduced ACK (acknowledgment) handling for reliable message delivery with retries and timeouts. Updated session handling for multiple WebSocket routes to improve code maintainability and consistency.
2025-04-24 16:56:49 +09:00
dalbodeule
d3ed6c2d86 login method changed to chzzk login 2025-01-08 23:13:04 +09:00
dalbodeule
eccf1a29bc add botIsDisabled, welcomeMessageDisabled. 2024-12-09 14:47:41 +09:00
dalbodeule
8dd8f33cdd dependencies update 2024-11-16 20:35:30 +09:00
dalbodeule
ba1be00390 add one options.
- disableStartupMessage
2024-11-16 20:22:06 +09:00
dalbodeule
94e226fcab debug on WSSongListRoutes.kt
- add re-tx logics
- add ACK enum value
- else other improve
2024-09-24 10:35:11 +09:00
dalbodeule
3e0246771e debug on ApiCommandRoutes.kt, SongList.kt
- ApiCommandRoutes.kt is CommandReloadEvent post 4 times.
- SongList.kt is song_list.req_name length 20 to 80(byte)
2024-09-14 18:36:24 +09:00
dalbodeule
ae850b93d0 debug on loading (3x) 2024-08-28 21:20:43 +09:00
dalbodeule
5226c5b60d debug on eagerLoading (2x) 2024-08-28 21:07:49 +09:00
dalbodeule
534aaecb6e debug on eagerLoading (1x) 2024-08-28 21:01:35 +09:00
dalbodeule
593546c89b managers relation is fixed (8x) 2024-08-28 17:58:35 +09:00
dalbodeule
f5133c4551 managers relation is fixed (6x) 2024-08-28 17:39:35 +09:00
dalbodeule
7c2f5f90fe managers relation is fixed (5x) 2024-08-28 17:26:24 +09:00
dalbodeule
5d9b6a7e5e managers relation is fixed (3x) 2024-08-28 17:16:48 +09:00
dalbodeule
1ec899a55a managers relation is fixed (2x) 2024-08-28 17:02:22 +09:00
dalbodeule
447858a48c managers relation is fixed 2024-08-28 16:21:34 +09:00
dalbodeule
82c4f7b021 managers table is dropped. 2024-08-28 15:58:17 +09:00
dalbodeule
f1dc591b55 some fix on Manager functions. 2024-08-28 15:55:47 +09:00
dalbodeule
b87cf8cbfb some fix on wsSongListRoutes
- song remove from list(database) logic add
2024-08-24 15:08:05 +09:00
dalbodeule
36d0ed82d6 fix SongLists
- add currentSong object
- change some event, dto.
2024-08-24 13:31:50 +09:00
dalbodeule
89dda9742a chisu playlist fix
- if youtube video limited 10-min
- add youtube music regex.
2024-08-16 08:42:53 +09:00
dalbodeule
dd628738f7 fix somes.
- command renamed "!노래추가" to "!신청곡", and its debugged.
- command "!노래시작" to user.discordId is null, send announce to chzzk chat.
- songlist function isDisabled value added.
2024-08-10 21:50:58 +09:00
dalbodeule
2335a09391 debug discordHook logics, session fix.
- DiscordHook normal respond is not defined
- add MariadbSessionStorage
2024-08-10 17:16:36 +09:00
dalbodeule
2d0e83efc2 add discord hook logics
- add ApiDiscordRoutes.kt
- modify HookCommand from RegisterCommand.kt
2024-08-10 16:54:32 +09:00
dalbodeule
b12e29674a debug some codes. 2024-08-10 00:39:23 +09:00
dalbodeule
94b87dc87e add getUserInfo function 2024-08-09 13:11:09 +09:00
dalbodeule
f2a871d664 fix User.kt
- set "discord", "token" row to nullable.
2024-08-08 20:18:49 +09:00
dalbodeule
80fa2d5029 add POST /user endpoints.
- POST /user {"chzzkUrl": String} to add chzzk account to bots.
- and it post event UserRegisterEvent
2024-08-08 19:36:58 +09:00
dalbodeule
fb3470ae83 add Session flows (1x)
- fix APIRoutes (debug Naver UserID)
2024-08-08 17:38:15 +09:00
dalbodeule
172885ae38 add Session flows (1x)
- fix APIRoutes (debug Naver UserID)
2024-08-08 17:37:01 +09:00
dalbodeule
8dde66c069 add Session flows
- songlist page to changed.
2024-08-08 14:53:37 +09:00
dalbodeule
5a46e62a61 some fix - final
- debug searchYoutube fun (8x)
2024-08-06 21:12:44 +09:00
dalbodeule
833bfbd46d some fix
- debug searchYoutube fun (7x)
2024-08-06 21:09:30 +09:00
dalbodeule
76ffebc157 some fix
- debug searchYoutube fun (6x)
2024-08-06 21:05:39 +09:00
dalbodeule
e8bee6ff23 some fix
- debug searchYoutube fun (5x)
2024-08-06 20:57:21 +09:00
dalbodeule
60523f992b some fix
- debug searchYoutube fun (4x)
2024-08-06 20:52:42 +09:00
dalbodeule
a10579ea6b some fix
- debug searchYoutube fun (3x)
2024-08-06 20:49:47 +09:00
dalbodeule
5dcbbdeb80 some fix
- debug searchYoutube fun (2x)
2024-08-06 20:44:46 +09:00
dalbodeule
bedd5406a0 some fix
- debug searchYoutube fun
2024-08-06 20:37:34 +09:00
dalbodeule
d329b8bdb3 some fix
- add searchYoutube function.
- add try-catch blocks.
2024-08-06 20:14:34 +09:00
dalbodeule
4f589780b8 some fix WSSongListRoutes.kt
- add url parameters
2024-08-05 18:06:46 +09:00
dalbodeule
75da1c1576 some fix WSSongListRoutes.kt
- delete websocket key
- else updated.
2024-08-05 14:38:16 +09:00
dalbodeule
0a4e8193bb add WSSongListRoutes.kt
- add Websocket backend.
- add session start command.
- some improve logics.
2024-08-05 12:35:11 +09:00
dalbodeule
6da0662e2a Fix /user/{uid} endoints.
- ChzzkApis.kt moved to common
- ChzzkApis.kt response data is nullable data.
- if require {uid}'s data, getStreamInfo function called.
2024-08-04 20:27:54 +09:00
dalbodeule
b77a3d02c5 add /user/{uid} call on web module.
- add GetUserEvents.
- add /user/{uid} backends.
2024-08-04 18:47:13 +09:00
dalbodeule
590c1203bd some debugs on Chisu playlist 2024-08-04 15:30:00 +09:00