Commit Graph

25 Commits

Author SHA1 Message Date
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 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 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 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 45a7e4ba5f Remove stub comments 2018-11-09 19:18:38 +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 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 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 1fec124bbc Add BongaCams
This is the first working version. Follow / unfollow and tipping are not
implemented.
2018-11-05 00:41:22 +01:00