forked from j62/ctbrec
1
0
Fork 0
Commit Graph

369 Commits

Author SHA1 Message Date
0xboobface 77a1b4f3ac Show pause/resume only when model is recorded 2018-11-07 20:08:40 +01:00
0xboobface 39a7c5f79b Avoid NPE when context menu is triggered in empty table 2018-11-07 20:08:06 +01:00
0xboobface 9e40d44128 Implement pause/resume in ThumbCell
Add pause/resume item to the thumbnail overview context menu.
Change the recording indicator to a paused indicator, if the recording
is paused
2018-11-07 18:08:04 +01:00
0xboobface c884c3b248 Sped-up inital loading od RecordedModelsTab 2018-11-07 17:24:20 +01:00
0xboobface 2a3e9c0634 Add padding to description, if model is recording 2018-11-07 17:22:19 +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 75351cedb5 Cookies are now persisted in the config dir 2018-11-06 21:54:11 +01:00
0xboobface b73627c0fb Put settings tab into ScrollPane
... to support small screens
2018-11-06 20:36:09 +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 f26cb547b7 Merge BongaCams implementation from feature branch to dev 2018-11-06 19:32:49 +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 60334e9f0b Update changelog 2018-11-06 17:07:40 +01:00
0xboobface efc4719018 Add possibility to suspend the recording for model
This makes it possible to stop the recording without loosing track
of the model. The user can pause/unpause recordings in the recorded
models tab. There is also an new column "Paused", which indicates, if
the recording is suspended for a model.
2018-11-06 16:35:41 +01:00
0xboobface 6b16a637f0 Add JVM parameter to define the configuration directory
Add a new JVM parameter (-Dctbrec.config.dir) to define the directory
to save the config to / load it from. If this parameter is not set, the
system default directory determined by OS.getConfigDir() is used.
2018-11-06 14:32:35 +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 682f78bdac 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 19:02:22 +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 a3e0c18cf9 Bumb version to 1.7.0 2018-11-04 21:38:38 +01:00
0xboobface 7daffd2594 Fix sorting by date in recordings table 2018-11-04 20:10:34 +01:00
0xboobface 5698354f3b Update changelog 2018-11-04 13:46:11 +01:00
0xboobface e9b699fdda Change log level 2018-11-04 13:40:59 +01:00
0xboobface 9da580c6e8 Add setting to define a maximum resolution for recordings 2018-11-04 13:37:27 +01:00
0xboobface 97e2338cec Move getSegmentPlaylistUrl from AbstractModel to AbstractDownload 2018-11-04 13:24:34 +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 3f84f94873 Update changelog 2018-10-31 14:18:12 +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
0xboobface bc40c16000 Add possibility to safe site specific data
Extend the json serialization to allow to write site specific data
for each model.
2018-10-31 13:55:03 +01:00
0xboobface 6faee8290c Remove initial login
Login should we done on demand
2018-10-31 01:35:18 +01:00
0xboobface b90313dd86 Restart websocket, if no message arrived for 2 mins 2018-10-31 01:34:45 +01:00