0xboobface
2f013bc870
Change BongaCams online check
2020-02-29 18:30:57 +01:00
0xboobface
e87611fe3d
Split up project into client, server and master
2018-11-18 19:22:37 +01:00
0xboobface
c36052f854
Fixed typo in class name
2018-11-16 20:02:53 +01:00
0xboobface
bd1522f615
Ignore case when checking online state by name
2018-11-16 19:14:02 +01:00
0xboobface
3241066303
Clear streamSources list before update
2018-11-16 11:14:13 +01:00
0xboobface
71d293b778
Throw HttpException in getStreamSources if request failed
2018-11-14 16:20:07 +01:00
0xboobface
ef3c5640e1
Throw a HttpException if request is unsuccessful in getMasterPlaylist
2018-11-14 14:54:03 +01:00
0xboobface
5b8d65ab27
Introduced new HttpException for unsuccessful HTTP responses
...
Instead of throwing an IOException with String message, use the new
HttpException. The exception handling code can then use the status
code to be more specific how to handle the exception.
Also: use try-with-resources for the okhttp response where possible
2018-11-14 14:43:26 +01:00
0xboobface
8e1aabc7b7
Use CamrecApplication's http client for cam4 unfollow requests
...
If the cam4 http client is used, the request does not work. Must have
something to do with the authentication cookies. No idea!
2018-11-14 14:19:26 +01:00
0xboobface
037061531e
Only save cookies for domains, which contain cam4
2018-11-14 14:17:26 +01:00
0xboobface
40f0411bf3
Close HTTP connection if websocket request fails
...
When the websocket "switch over" request fails, close the response
to avoid resource leaks in OkHttp
2018-11-13 17:37:41 +01:00
0xboobface
41a3031f37
Run watchdog every 10 seconds instead of every second
2018-11-13 17:25:01 +01:00
0xboobface
378d3954b0
Add animation for following a model
...
The preview of the model is animated to move to the followd tab
on the left side. This should help to understand, what happened and
that it happened.
2018-11-13 01:01:49 +01:00
0xboobface
6c1a757af3
Fix: Update online state more reliable
...
So online state was only updated by the ThumbnailOverviewTab, so the
recorder would never start recording.
2018-11-12 22:37:32 +01:00
0xboobface
014ab5312f
Reduce log level in loadModelDetails()
2018-11-12 12:39:38 +01:00
0xboobface
e9e6d73e97
Handle empty model details more gracefully
...
The model details request might just return an empty array. Instead of
printing out a stacktrace for each online check, we just assume, that
the model is offline.
2018-11-12 12:37:44 +01:00
0xboobface
c8af7a409a
Change log level to trace in getMasterPlaylist
2018-11-10 14:34:05 +01:00
0xboobface
2658536ee6
Be less verbose on playlist parsing errors
2018-11-10 14:31:40 +01:00
0xboobface
45a7e4ba5f
Remove stub comments
2018-11-09 19:18:38 +01:00
0xboobface
dc540c795a
Avoid NPE in SessionState.X.merge
2018-11-09 18:19:59 +01:00
0xboobface
2d3a4c87be
Be more precise regarding the online state of the model
2018-11-09 14:31:13 +01:00
0xboobface
b447c76dac
Don't fetch stream resolution if model is offline
2018-11-09 14:30:30 +01:00
0xboobface
8b7bb79d8c
Change the URL if the name changed
2018-11-07 13:51:26 +01:00
0xboobface
ba0cc591d3
Add setting for HTTP User-Agent header
...
Replace all occurences of the User-Agent header with the user-agent
string from the settings
2018-11-07 13:49:56 +01:00
0xboobface
a2f048fe0d
Add a cookie to define the sorting for BongaCams
...
The cookie is set to sort by popularity
2018-11-06 23:17:01 +01:00
0xboobface
2a5c0ccd43
Set offset to be a multiple of 36
...
The server returns lists of 36 models, so we have to align our
offset to that.
2018-11-06 23:15:44 +01:00
0xboobface
091628b486
Check, if tipping was successful
2018-11-06 22:36:02 +01:00
0xboobface
1b11af8872
Try to restore HTTP session with cookies before login in
...
All the HTTP clients now check, if loading the cookies was sufficient
to restore the HTTP session. If yes, we assume that we are logged in.
If not, the normal login procedure is done.
2018-11-06 22:17:30 +01:00
0xboobface
43793f3728
Use guava caches to store SessionStates and models
...
Use caches with a maximum size of 4000 elements instead of maps
to avoid running out of heap memory
2018-11-06 20:27:07 +01:00
0xboobface
1fc22876fd
Reduce size of received message history to save memory
2018-11-06 19:43:15 +01:00
0xboobface
a136c9ccd2
Prepare code to persist http cookies
...
Save and reload the cookies might help to avoid logins between sessions.
2018-11-06 19:32:21 +01:00
0xboobface
f15b57ce9a
Remove websocket stuff
2018-11-06 18:56:31 +01:00
0xboobface
f8f0d5082e
Add friends tab to BongaCams
2018-11-06 18:56:21 +01:00
0xboobface
d768cbb1ff
Implement tipping for bongacams
2018-11-06 18:38:20 +01:00
0xboobface
a5ddf4f509
Remove unnecessary response.close()
2018-11-06 18:36:28 +01:00
0xboobface
69194e2800
Add login dialog for BongaCams
2018-11-06 00:17:41 +01:00
0xboobface
2f1ebabf00
Add more tabs to BongaCams
2018-11-05 19:50:26 +01:00
0xboobface
46c3feeb1f
More stuff for BongaCams
2018-11-05 19:00:26 +01:00
0xboobface
26bd482eac
Remove dependency to JavaFX from the server code
...
The sites had a direct depedency to JavaFX, which prevents the server
to be started with openjdk. The affected code is no located in ConfigUI,
so that the no direct dependency exists.
2018-11-05 18:59:25 +01:00
0xboobface
1fec124bbc
Add BongaCams
...
This is the first working version. Follow / unfollow and tipping are not
implemented.
2018-11-05 00:41:22 +01:00
0xboobface
29ed8648e4
Fix button width
2018-11-04 22:29:15 +01:00
0xboobface
dbd5a42dbc
Show image placeholder in camsoda shows tab in dev mode
2018-11-03 13:36:47 +01:00
0xboobface
b24b2fe3fe
Merge branch 'dev' into camsoda
2018-11-03 00:39:38 +01:00
0xboobface
e0d65c8572
Call /api/v1/user/current to check the login status
2018-11-02 19:50:26 +01:00
0xboobface
95a3e2dc79
Don't open login dialog, if login has captcha
...
The login dialog doesn't work anyways. So it makes more sense to
show a reasonable error dialog at the moment.
2018-11-02 19:50:22 +01:00
0xboobface
9b39440190
Make login dialog more robust
2018-11-02 19:50:18 +01:00
0xboobface
233dd3fa9c
Implement tipping for CamSoda
...
Sending tips for CamSoda works now
2018-11-02 18:14:36 +01:00
0xboobface
cbc4a5e339
Fix model parsing
...
JSON structure seems to have changed slightly
2018-11-02 18:13:40 +01:00
0xboobface
625b7727d0
Add affiliate link to MyFreeCams
2018-10-31 14:17:47 +01:00
0xboobface
07dee1a631
Add detection of model name changes for MyFreeCams
...
MyFreeCamsModel now also takes the uid into account instead of only
using the the name. To support this feature between sessions, the uid
is saved as site specific data.
2018-10-31 13:57:04 +01:00