Commit Graph

12 Commits

Author SHA1 Message Date
0xb00bface 281d70d29b Store minimal browser config in ctbrec's config dir 2020-12-06 17:59:56 +01:00
0xb00bface 808f96c04f Rename StreamRedirectThread to StreamRedirector
... since it isn't a thread, but a Runnable
2020-10-31 15:10:44 +01:00
0xb00bface 2dbc6015d2 Make sure to actually start the stream redirect threads 2020-10-31 15:09:34 +01:00
0xb00bface dfb1083c45 Fix Bongacams login in external browser 2020-10-25 20:33:56 +01:00
0xboobface 5c0e1ae044 Fix sonar lint issues 2020-02-22 11:15:51 +01:00
0xboobface 9647f1160f Fix: Errors thrown by external browser
This hopefully fixes the errors, which popped up in the external browser, because
it tried to write to a closed socket.
2019-04-05 14:50:45 +02:00
0xboobface 16fdee2a2c Merge branch 'dev' into fc2
# Conflicts:
#	client/src/main/java/ctbrec/ui/ExternalBrowser.java
2019-01-23 17:56:20 +01:00
0xboobface 7b2f30474a Make sure the reader thread is ready before sending any commands 2019-01-21 15:34:18 +01:00
0xboobface 6262d50f74 Log browser output 2019-01-20 17:58:10 +01:00
0xboobface e2d3ef264e Add proxy support for the external browser 2019-01-19 15:31:13 +01:00
0xboobface 9ceec96195 Make sure, the external browser lock gets released 2019-01-12 17:25:13 +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