Commit Graph

995 Commits

Author SHA1 Message Date
0xboobface 1ce9a111a9 Add tipping for Streamate
Tipping does not work, yet. The server returns success: false. I don't
know, what the parameters have to look like
2018-12-14 23:37:55 +01:00
0xboobface b83235a32f Log error, if sending tip failed 2018-12-14 23:36:00 +01:00
0xboobface bd719eac08 Remove direct refences to chaturbate in TipDialog
This dialog is used for other sites, too. So we have to use the site
object to get the name and the affiliate link
2018-12-14 23:35:44 +01:00
0xboobface 4d7409f443 Implement follow/unfollow and login with cookies 2018-12-14 20:25:57 +01:00
0xboobface 75ab95e1ea Shut down more gracefully (hopefully) 2018-12-14 17:43:38 +01:00
0xboobface c7e07b4b26 Implement login and favorites tab 2018-12-14 17:36:24 +01:00
0xboobface 6b52906811 Add configuration ui for the credentials 2018-12-14 15:51:15 +01:00
0xboobface 461e65ed84 Switch to much simpler JSON api 2018-12-14 14:58:12 +01:00
0xboobface 64c60eaeaa Add determination of stream url and stream sources 2018-12-14 02:39:07 +01:00
0xboobface 52cdf8d601 Add classes and first code for Streamate 2018-12-13 23:48:16 +01:00
0xboobface ceb7c07aa8 Add setting for minimum recording length
If a recording is shorter than x seconds, it gets deleted
2018-12-13 20:54:10 +01:00
0xboobface 9d86a0531c Bump version to 1.15.0 2018-12-13 16:24:45 +01:00
0xboobface 066cb52106 Fix JSON parsing for BongaCams 2018-12-13 16:16:46 +01:00
0xboobface 540e8a8466 Fix JSON parsing for CamSoda 2018-12-13 16:15:08 +01:00
0xboobface 10c0728e05 Avoid NPE when is not yet loaded 2018-12-13 15:21:31 +01:00
0xboobface fb54f464ab Remove irrelevant TODO comments 2018-12-13 15:21:09 +01:00
0xboobface 9f287b6d81 Fix possible IndexOutOfBoundsException in the follow animation 2018-12-13 02:35:03 +01:00
0xboobface 5c4125c03e Fix: selection overlay did not show
The selection overlay did not show when a tab was opened the first time
2018-12-12 18:30:50 +01:00
0xboobface 672c133ee4 Rename "Record" to "Start Recording"
... to be consistent with other views
2018-12-12 18:29:34 +01:00
0xboobface 60da66139e Make use of new actions 2018-12-12 18:16:49 +01:00
0xboobface a68341de82 Add actions to MFC's table view 2018-12-12 18:08:39 +01:00
0xboobface f32990b9d7 Created action classes for actions on Recording tab 2018-12-12 16:52:29 +01:00
0xboobface c944323aa4 Set min Java version to 10 and change JRE download URL 2018-12-12 13:25:26 +01:00
0xboobface c478f6b0f1 Make login methods synchronized
Add synchronized modifier to the login methods, so that only one thread
at a time tries to login. All the following threads then should be able
to use the session cookies
2018-12-12 12:48:45 +01:00
0xboobface a5ec00c936 Add table for MFC which contains all models 2018-12-11 21:59:32 +01:00
0xboobface 2d1ac40c72 Move token label and buy button to ThumbOverviewTab 2018-12-11 15:47:19 +01:00
0xboobface bb3de83453 Logout and delete cookies when credentials are changed 2018-12-10 18:37:04 +01:00
0xboobface 04382dfa6e Run registerAlertSystem in a thread 2018-12-10 17:57:12 +01:00
0xboobface 064efd2863 Register event handler 1 min after start
Don't register before 1 minute has passed, because directly after
the start of ctbrec, an event for every online model would be fired,
which is annoying as f
2018-12-10 17:16:39 +01:00
0xboobface e7f1d26a84 Bumb version to 1.14.0 2018-12-10 17:15:33 +01:00
0xboobface 5b15b77014 Disable post-processing for server mode 2018-12-10 15:18:24 +01:00
0xboobface 448cfd14b8 Clear state comboboxes before filling them to avoid duplicates 2018-12-10 14:34:56 +01:00
0xboobface b715fba836 Add validation for recording state 2018-12-10 14:32:33 +01:00
0xboobface 316842e690 Revert removal of post-processing setting 2018-12-09 21:37:24 +01:00
0xboobface 5b936c779d Add helper class for dialogs 2018-12-09 21:36:10 +01:00
0xboobface 878b25c55c Add validation to actions panel 2018-12-09 21:35:35 +01:00
0xboobface 7c16006870 Set the name in the default constructor 2018-12-09 19:02:19 +01:00
0xboobface 888046676f Add first configurable version of the notification system 2018-12-09 18:46:33 +01:00
0xboobface 434001aafe Optimize settings tab layout 2018-12-08 17:14:25 +01:00
0xboobface a944117966 Change layout of color settings panel 2018-12-08 17:13:58 +01:00
0xboobface 9825383d0c Set textfield to grow horizontally 2018-12-08 17:13:39 +01:00
0xboobface 509a9115fa Set user data directory for webengine 2018-12-08 16:49:47 +01:00
0xboobface 65f7c0d85e Use file/dir selection boxes and remove post-processing setting 2018-12-08 16:08:00 +01:00
0xboobface 016c95f7f1 Make file/dir selection boxes usable 2018-12-08 16:07:30 +01:00
0xboobface 4d55351919 Create controls for file, program and directory selection 2018-12-08 15:34:50 +01:00
0xboobface 1fc16a0d41 Add a few predicates and actions for the event system 2018-12-08 13:08:20 +01:00
0xboobface 2dc5fd4581 Add Event and EventReaction classes 2018-12-06 17:39:33 +01:00
0xboobface b50df194a0 Move settings to own package 2018-12-06 17:38:10 +01:00
0xboobface b100f107d4 Move site activation checkbox to their config ui 2018-12-06 14:16:10 +01:00
0xboobface 69544a7a60 Pull OnlineMonitor out of LocalRecorder 2018-12-05 21:01:33 +01:00
0xboobface 9f19b2c1fa Merge branch 'dev' into notify 2018-12-05 16:08:55 +01:00
0xboobface e6476e95ec Add setting to ignore the upscaled video stream on MFC 2018-12-05 16:08:44 +01:00
0xboobface 42177b4399 Add enum to Model for the online states 2018-12-05 15:51:21 +01:00
0xboobface 65e6c5b76e Merge branch 'dev' into notify 2018-12-05 12:58:51 +01:00
0xboobface 28fee0b2e6 Preselect the right entry, if stream url index is set 2018-12-05 12:20:50 +01:00
0xboobface 6db00969d7 Revert: RemoteRecorder does not work, if called with JavaFxModels
It does not work, because it uses the class name for the type and the
server doesn't know JavaFxModel. It only knowns the unwrapped model
classes.
2018-12-05 12:20:26 +01:00
0xboobface b99e88d2c8 Add cache for the resolution
This makes the display of the resolution much faster and the information
is retained, even if the ThumbCell is "destroyed"
2018-12-04 18:30:46 +01:00
0xboobface 9791427aeb Add "Follow" to the context menu of the recorded models tab 2018-12-04 17:09:19 +01:00
0xboobface 1f6e03979e Fix: ThumbCell resumes recordings
This happens because the update services don't set the suspended
property and ThumbCell copied the property from the updated model.
So, suspended would be set to false, which would cause an update of
the property change listener and that would restart the recording.
2018-12-04 17:08:44 +01:00
0xboobface 0121e02edb Merge branch 'dev' into notify 2018-12-03 14:35:24 +01:00
0xboobface 889dbecb14 Bump version to 1.13.0 2018-12-03 00:14:50 +01:00
0xboobface 6b4d320bc2 Add setting to set the base URL for MFC 2018-12-02 22:35:12 +01:00
0xboobface 96b5c26277 Implement notification messages with SystemTray and notify-send 2018-12-02 17:02:17 +01:00
0xboobface 723909aec3 Remove notification class and resources
Notifications are done with SystemTray or a call to notify-send
2018-12-02 17:01:00 +01:00
0xboobface 1feea03ec3 Dispose the video player on error 2018-12-02 13:32:38 +01:00
0xboobface 0ff04ed9ef Use /bin/bash in shebang
... otherwise pushd and popd might not work
2018-12-02 02:07:30 +01:00
0xboobface 80381c0d49 Fire events from LocalRecorder 2018-12-01 21:56:23 +01:00
0xboobface 5b8cfc02d6 Merge branch 'dev' into notify 2018-12-01 20:22:02 +01:00
0xboobface 8a3f81a77a Fix: popup was cut off on south and east edge 2018-12-01 20:21:23 +01:00
0xboobface 857674c5cb Optimized paused checkbox event handling 2018-12-01 20:01:08 +01:00
0xboobface 3188511c6a Make log messages less serious for player errors 2018-12-01 19:29:41 +01:00
0xboobface 4a8e0e3bea Removed buggy optimization for puased checkboxes 2018-12-01 16:52:51 +01:00
0xboobface f0edfb167c Added support for display names from Camsoda 2018-12-01 16:34:09 +01:00
0xboobface 56291cb97f Add support for display names for BongaCams 2018-12-01 15:29:56 +01:00
0xboobface 431d2f60c4 Add support for display names
Add display name to model and use it in GUI. The actual sites don't
set it yet. If the display name is not set, getDisplayName returns
getName instead
2018-12-01 15:24:46 +01:00
0xboobface 7192856c87 Add setting for chaturbate base URL 2018-12-01 14:17:03 +01:00
0xboobface f1eaa75a57 Add error handler for the video player 2018-12-01 14:01:50 +01:00
0xboobface 53f77afb85 Fix concurrent modification bug in delete method 2018-12-01 14:01:29 +01:00
0xboobface b44a1c2422 Fix stream source selection 2018-12-01 02:12:27 +01:00
0xboobface 754271c466 Add column which opens a preview popup, when hovered over
Add a column to the recorded models table, which can be used to
open a small preview popup. The popup opens, when the mouse hovers over
the table cell for a certain amount of time or if the cell gets clicked.
The preview plays the stream with the lowest quality without audio.
2018-12-01 00:29:20 +01:00
0xboobface 0e627aef12 Make paused checkboxes clickable 2018-11-30 17:01:01 +01:00
0xboobface ecf9fc2746 Add key listener for P to pause and resume selected models 2018-11-30 15:38:52 +01:00
0xboobface 40b3b78e52 Implement multi-selection for Recordings table 2018-11-30 15:21:01 +01:00
0xboobface fedf38004d Don't log error, if recordings dir does not exist
If the recordings dir does not exist, don't log an error, but instead
set the tooltip to show the problem
2018-11-30 15:04:02 +01:00
0xboobface 76657e2b92 Increase thumb loading thread pool size from 10 to 30 2018-11-30 13:44:13 +01:00
0xboobface 918f63b1f5 Use defaults, if settings cannot be loaded
If the settings cannot be loaded, make a backup of the settings file
and use the defaults, so that the application at least starts.
2018-11-30 13:42:51 +01:00
0xboobface 308a40210f Load images with OkHttp instead of the built-in loader
The built-in loader does not allow control over http headers etc. That
is why we use OkHttp now.
2018-11-30 00:49:56 +01:00
0xboobface 0c825237b2 Implement multi-selection for RecordedModelsTab 2018-11-29 20:56:42 +01:00
0xboobface 0bd655bf95 Add buttons to pause/resume all recordings 2018-11-29 20:10:06 +01:00
0xboobface afd5d3caa3 Extend manual add function to allow to add models by their URL 2018-11-29 19:08:57 +01:00
0xboobface 88bddcb188 Fix: Player not starting when path contains spaces 2018-11-29 17:53:26 +01:00
0xboobface c17dcc4216 Add setting to toggle Player Starting message 2018-11-29 17:33:10 +01:00
0xboobface fbb1c284d2 Remove old code 2018-11-29 13:41:45 +01:00
0xboobface 6a2a1aaba2 Remove HLS player stuff 2018-11-29 13:36:23 +01:00
0xboobface 09a65c0a96 Load stylesheets from parent stage
Also, move the notification to the bottom right
2018-11-29 01:05:03 +01:00
0xboobface cf9a6d3f85 Merge branch 'master' into notify 2018-11-28 23:43:43 +01:00
0xboobface 539db89bdb Bump version to 1.12.1 2018-11-28 23:28:32 +01:00
0xboobface 4150a2911b Playing around with notifications 2018-11-28 23:24:06 +01:00
0xboobface b771145612 Bump version to 1.12.0 2018-11-28 17:52:30 +01:00
0xboobface 3a7f2ceca6 Add convenience method Config.isDevMode()
Also made isServerMode() static
2018-11-28 15:37:35 +01:00
0xboobface e9909fe11a Add debug styling
Display size cell red, if the size didn't change. This is only done
when run in DEV mode. This makes it easier to debug freezing / hanging
downloads
2018-11-28 15:23:56 +01:00
0xboobface e296340016 Ignore log files 2018-11-27 17:54:43 +01:00
0xboobface 55b219d271 Move size formatting code to StringUtil 2018-11-27 14:11:52 +01:00
0xboobface 8826de38b2 Improve calculation of size property 2018-11-27 14:05:56 +01:00
0xboobface bf8a3c7240 Fill start tab combobox only once 2018-11-27 13:25:30 +01:00
0xboobface ba4ac952e2 Add threshold for space left on device to SettingsTab 2018-11-26 16:08:42 +01:00
0xboobface a7cc0882f6 Reorganize settings tab 2018-11-26 15:45:12 +01:00
0xboobface 5708d7f259 Add display to show space left on device 2018-11-26 14:03:40 +01:00
0xboobface 6ee39cb6f4 Set smooth property for search thumbnail 2018-11-25 23:01:54 +01:00
0xboobface 0fa716abdb Fix label 2018-11-25 23:01:27 +01:00
0xboobface b869c4a82c Save and restore table states
Save and the restore the table state (sorting and column widths) for
the recorded models and the recordings tables
2018-11-25 22:10:12 +01:00
0xboobface 9817fdfb42 Add setting for the online check interval 2018-11-25 21:17:17 +01:00
0xboobface e5ff778d6b Write config immediately after a value changed 2018-11-25 21:15:25 +01:00
0xboobface a57a9877b8 Bumb version to 1.11.0 2018-11-25 20:10:27 +01:00
0xboobface a6be8b4b63 Show restart message, when colors are changed 2018-11-25 19:16:04 +01:00
0xboobface 84dfeb9484 Add setting to SettingsTab to define the color scheme of the app 2018-11-25 19:11:15 +01:00
0xboobface 459734f48e Remove not needed images 2018-11-25 16:27:51 +01:00
0xboobface 5c4d0d5290 Load stylesheet from config dir if it exists
On startup ctbrec looks for style.css in the config directory. If
it exists, it is added to JavaFX's list of stylesheets
2018-11-25 16:14:13 +01:00
0xboobface cab0ac469b Reposition popover slightly for the new SVG background 2018-11-25 15:58:33 +01:00
0xboobface 6282cd76bc Use theme colors 2018-11-25 15:57:27 +01:00
0xboobface 9cabc21cae Don't show images in DEV mode 2018-11-25 15:57:13 +01:00
0xboobface d571afaa44 Use theme colors
* Use theme colors
* Improve aspect ratio handling for images.
* Display images with rounded corners
2018-11-25 15:56:43 +01:00
0xboobface ee38f0a049 Use SVG paths instead of images for the popover background 2018-11-25 15:55:16 +01:00
0xboobface cf14d8c3fe Add round images for the donate tab 2018-11-25 15:54:25 +01:00
0xboobface 146e327830 Add CSS dark theme for the application 2018-11-25 15:52:41 +01:00
0xboobface 69fe63ba99 Remove background color
Use the themes background color
2018-11-24 18:48:23 +01:00
0xboobface 2121f56804 Make Toast a little bit more opaque 2018-11-23 20:47:56 +01:00
0xboobface c7333ede64 Merge branch 'search' into dev
# Conflicts:
#	client/src/main/java/ctbrec/ui/RecordedModelsTab.java
2018-11-23 20:36:19 +01:00
0xboobface 4c7cabaa26 Show a toast message when the player is started
The toast is supposed to put across, that it might take a second for the player to show up
2018-11-23 20:34:06 +01:00
0xboobface b9f24a209e Implement search feature
If a site supports searching, add a search field on the right side next
to the filter input field. This search uses the sites search function
to look for models and returns a list of matches in a popup window
2018-11-23 20:27:49 +01:00
0xboobface 2202dc969f Add setting to define the start tab
When ctbrec is started, this is the first tab shown to the user.
2018-11-22 16:30:07 +01:00
0xboobface ea57d4faea Let the followed tab blink when a model is followed 2018-11-20 22:30:59 +01:00
0xboobface 97d3be0b98 Add setting to diable thumbnail updates
This is a feature for people who have bandwidth / contingent restrictions.
It can also help keeping the CPU usage down.
2018-11-20 14:35:06 +01:00
0xboobface 2e9aa56985 Play recording on double-click 2018-11-20 12:14:32 +01:00
0xboobface 7133283032 Start implementation for FC2Live 2018-11-19 23:20:39 +01:00
0xboobface f7dfbe558c Replace cryptos with paypal and patreon 2018-11-19 18:41:54 +01:00
0xboobface 9321a2945d Move CHANGELOG.md to the root dir of the repo 2018-11-19 17:39:31 +01:00
0xboobface 32a11e89aa Update readme for the client 2018-11-19 16:02:08 +01:00
0xboobface 042fe43838 Bumb version to 1.10.0 2018-11-19 15:33:48 +01:00
0xboobface f8fff99920 Move docs directory (homepage) to root directory of repo 2018-11-19 14:11:27 +01:00
0xboobface 73444118d9 Remove server files from assembly 2018-11-19 14:04:24 +01:00
0xboobface 9f314a3512 Add assembly for the server 2018-11-19 13:05:41 +01:00
0xboobface 05d583bab5 Change folder structure to maven conventions 2018-11-18 22:49:05 +01:00
0xboobface cda330ddbd Split up project into client, server, common and master 2018-11-18 22:42:13 +01:00
0xboobface e87611fe3d Split up project into client, server and master 2018-11-18 19:22:37 +01:00