Commit Graph

14 Commits

Author SHA1 Message Date
jafea7 77baa37663 Convert Logback calls to Slf4j 2025-05-02 22:13:24 +10:00
0xb00bface 3ed7fd1aff Fix BongaCams online check 2022-10-15 14:55:27 +02:00
0xb00bface 7a6fd75fd8 Implement lazy initialization for all SiteUis 2021-09-08 14:44:41 +02:00
0xb00bface 967b5dec42 Use global thread pool instead of creating new threads 2021-01-10 22:14:20 +01:00
0xb00bface d679bb65ca Revert "Use CompletableFuture.runAsync instead of creating new Threads"
This reverts commit 53684668ab.
2021-01-10 19:58:17 +01:00
0xb00bface 53684668ab Use CompletableFuture.runAsync instead of creating new Threads 2020-12-27 15:38:33 +01:00
0xb00bface cc277022f0 Code cleanup 2020-11-28 19:12:18 +01:00
0xboobface f4ad1a4f61 Move ConfigUI interface from common module to client 2020-06-12 18:25:28 +02:00
0xboobface 5083d77ffe Move tab related stuff to own package 2020-01-26 15:07:30 +01:00
0xboobface 3a83943130 Let SiteUi launch the player for a model stream
This is done, because there might be some special conditions for the
player to work. For example on fc2live a websocket has to be open while
the player is running. The SiteUI can handle these cases transparently.
2019-01-21 15:31:13 +01:00
0xboobface f2ac9e3657 Show error dialog if login fails 2019-01-09 15:12:21 +01:00
0xboobface a6709bd6db Introduce external browser for logins
Since the JavaFX integrated browser does not work reliably for recaptcha and in general does not behave like standard browsers, I now use an external browser for the logins. The dependency to javafx-web has been removed.

The external browser is based on electron, which uses chromium as internal browser. The implementation can be found at https://github.com/0xboobface/ctbrec-minimal-browser

The browser is a minimal browser, which only shows the web page content without any other controls. It is launched by ctbrec in a new process and remote controlled over a socket connection. I first tried to control it via
stdin/stdout, but it turns out, that stdin is not supported by electron on windows.
2019-01-08 14:26:22 +01:00
0xboobface c478f6b0f1 Make login methods synchronized
Add synchronized modifier to the login methods, so that only one thread
at a time tries to login. All the following threads then should be able
to use the session cookies
2018-12-12 12:48:45 +01:00
0xboobface cda330ddbd Split up project into client, server, common and master 2018-11-18 22:42:13 +01:00