Commit Graph

18 Commits

Author SHA1 Message Date
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 b24b2fe3fe Merge branch 'dev' into camsoda 2018-11-03 00:39:38 +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 b90313dd86 Restart websocket, if no message arrived for 2 mins 2018-10-31 01:34:45 +01: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 7e6f5bbc2c Add log statement 2018-10-25 10:55:24 +02:00
0xboobface 91a41d446b Add trace log statement for arriving NULLs
This helps to see, if the websocket is still healty
2018-10-25 10:50:57 +02:00
0xboobface 0bcea4e753 Fix message parser
The parser didn't take into accoun, that the arriving string can
contain several messages
2018-10-24 23:40:53 +02:00
0xboobface 0935343dc1 Replace System.out.prints with log messages 2018-10-24 20:04:33 +02:00
0xboobface b80fbd4c30 Add proper login and follow/unfollow to MyFreeCamsClient 2018-10-24 19:55:31 +02:00
0xboobface b6a31a258e On error write a log of the recent received strings
When the websocket message parser throws an exception,
write a logfile with the 100 last recent strings, so
that we can debug, what happened.
2018-10-24 16:46:30 +02:00
0xboobface 45c17cfaa4 Implement live preview for MFC 2018-10-24 15:47:56 +02:00
0xboobface f4842fcf51 Improve MyFreeCamsClient
- Add watch dog to reestablish a broken connection
- Implemented creation of stream urls properly
- Add HD tab to display MFC HD streams
2018-10-23 14:02:20 +02:00
0xboobface 330e8701e0 Add tipping for MyFreeCams 2018-10-22 14:01:22 +02:00
0xboobface 7a5abfcbcc Add description and tags to MyFreeCamsModel 2018-10-21 19:39:34 +02:00
0xboobface 387661cfdf Abstract more stuff in the site packages 2018-10-21 19:06:01 +02:00
0xboobface 362d90b29b First implementation for MFC
Implemented Tabs are Online and Friends
2018-10-19 23:09:11 +02:00