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
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
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
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
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
b476c452ad
Merge branch 'dev' into camsoda
...
Conflicts:
src/main/java/ctbrec/Settings.java
src/main/java/ctbrec/recorder/server/HttpServer.java
src/main/java/ctbrec/ui/CamrecApplication.java
src/main/java/ctbrec/ui/ThumbCell.java
2018-10-30 19:06:20 +01:00
0xboobface
dab3466cf6
Simplify login method
2018-10-29 21:53:15 +01:00
0xboobface
209ec64e3d
Merge branch 'dev' into camsoda
2018-10-26 14:33:33 +02:00
0xboobface
4e0fb6aaf0
Ignore models for disabled sites in LocalRecorder
2018-10-26 14:16:17 +02:00
0xboobface
6ca7d43069
Implemented camsoda
2018-10-26 01:03:13 +02:00
0xboobface
5cd8ae3cff
Add possibility to disable sites
...
Sites can be disabled in the settings, so that they don't get
initialized on start. The UI is not created for them aswell.
2018-10-25 20:11:25 +02:00
0xboobface
f0154857d9
Add mechanisms to have credentials/settings for each site
...
Each site can now provide its own configuration panel. For
Chaturbate and MyFreeCams these panels contain input fields
for the user credentials.
2018-10-25 12:27:46 +02:00
0xboobface
0085ce7ab8
Add marker interface to mark tabs, which contain followed models
2018-10-24 20:02:00 +02:00
0xboobface
f0d2a720ab
Don't try to load followed models, if username is not set
2018-10-24 19:07:45 +02:00
0xboobface
617954928e
Rename FollowedTab to ChaturbateFollowedTab
2018-10-24 14:59:48 +02:00
0xboobface
1b1472540f
Change affiliate links to match the correct program
2018-10-23 17:14:31 +02:00
0xboobface
1ba003fe56
Add default constructor, so that deserialization works
2018-10-22 17:25:57 +02:00
0xboobface
8c45c45055
Fix model loading
2018-10-22 16:07:52 +02:00
0xboobface
330e8701e0
Add tipping for MyFreeCams
2018-10-22 14:01:22 +02:00
0xboobface
387661cfdf
Abstract more stuff in the site packages
2018-10-21 19:06:01 +02:00
0xboobface
54de1339fb
Add interfaces to abstract from camsite
...
This step should enable the application to handle different camsites.
At the moment only chaturbate is available, but others like MFC can
now be added. There might be still some things to do, like the settings
and HttpClient etc. But this is the first step to support more sites
than only Chatubate.
2018-10-17 14:11:04 +02:00
0xboobface
05ce02a7e8
Move chaturbate related classes to package ctbrec.sites.chaturbate
2018-10-16 18:41:18 +02:00