Commit graph

364 commits

Author SHA1 Message Date
JonnyWong16
7193b6518b Fix removing unique constraints from database 2016-01-30 00:40:06 -08:00
JonnyWong16
afc265a188 Fix schedulers not starting with library update 2016-01-29 21:26:27 -08:00
JonnyWong16
a8aae9f1f5 Fix libraries and users refresh 2016-01-27 23:32:01 -08:00
JonnyWong16
8bbc6a6611 Fix libraries without section_id in database 2016-01-27 19:51:10 -08:00
JonnyWong16
3c6a1a02b8 Merge pull request #462 from jackwilsdon/fix-restart-dev
Use os.execv instead of subprocess.Popen to restart the process
2016-01-23 13:16:13 -08:00
JonnyWong16
af4d0248d9 Revert https cert and key to custom directory 2016-01-22 10:17:17 -08:00
Jack Wilsdon
ed52038bc4 Use os.execv instead of subprocess.Popen to restart the process
This fixes #460.
2016-01-22 13:19:27 +00:00
JonnyWong16
ee125dfadc Forgot 'not' in 2dcae5e219 2016-01-19 08:31:49 -08:00
JonnyWong16
4e0f06f24d Remove unique constraint for section_id and username 2016-01-18 22:20:14 -08:00
JonnyWong16
2dcae5e219 Fix folders not created in the data directory 2016-01-18 18:52:01 -08:00
Jonathan Wong
4a65dc1d6e Start database section id update on its own thread 2016-01-16 03:31:00 -08:00
Jonathan Wong
381c3da31c Add media info table to library page 2016-01-15 20:59:02 -08:00
Jonathan Wong
636f898da8 Massive code cleanup
* Finish up library pages (toggles and notifications)
* Update user pages to match library pages
* Fix no current activity bif thumbnail at the start of a stream
* Improved logging throughout PlexPy
2016-01-15 20:58:44 -08:00
Jonathan Wong
5fedac691d Add individual library page 2016-01-15 20:50:18 -08:00
Jonathan Wong
a5b0837cf5 Add libraries page 2016-01-15 20:49:41 -08:00
Jonathan Wong
8ba68dcfcf Change home cards config to list type 2016-01-15 20:49:22 -08:00
Jonathan Wong
8f367d140f Add item counts to database
* Add schedule task to refresh libraries list
* Update library stats to use library_sections table
2016-01-15 20:49:04 -08:00
Jonathan Wong
09aac22909 Initial library_id changes
* Give the library sections their own db table.
2016-01-15 20:48:29 -08:00
Jonathan Wong
89f581f63e Only schedule job for recently added or monitor remote access if setting enabled 2015-12-03 18:40:18 -08:00
Jonathan Wong
1c00f82097 Add ability to delete users 2015-11-27 21:13:17 -08:00
Jonathan Wong
ca91adbd53 Add check for Plex external port down 2015-11-17 23:35:41 -08:00
Jonathan Wong
c3ea35806e Move check for server down to check_active_sessions 2015-11-17 06:57:02 -08:00
Jonathan Wong
4d87666a42 Schedule job to check if server down 2015-11-16 23:19:59 -08:00
Jonathan Wong
1983597cf1 Fix get_server_friendly_name 2015-11-16 22:51:21 -08:00
Jonathan Wong
69a3b5134f Switch recently added to only use activity pinger
* Fixed activity pinger logic for grouping notifications
2015-11-16 21:19:04 -08:00
Jonathan Wong
12056ac2ba Get server name as a scheduled task 2015-11-16 18:31:22 -08:00
Jonathan Wong
b9f47df930 Update activity_pinger for recently added 2015-10-25 17:21:49 -07:00
Jonathan Wong
d6b31dc542 Set on_created notification in database 2015-10-25 12:20:00 -07:00
Jonathan Wong
82b567f15f Fix merge conflicts 2015-09-27 11:59:20 -07:00
Tim
98c0d6619a Remove some old unused code 2015-09-23 00:38:45 +02:00
Tim
3afa52b607 Refactor the Monitor code. 2015-09-22 20:02:11 +02:00
Tim
28227a3c35 Initial code for a more suitable websocket event handler. 2015-09-22 00:06:42 +02:00
Tim
fa25809e7a Make websocket failover if no connection can be made on startup or during runtime. 2015-09-20 13:39:04 +02:00
Tim
fa71beb03f Very early work on implementing websocket monitoring method. 2015-09-20 12:21:39 +02:00
Jonathan Wong
4fa70cb234 Update grouping logic
* Check the user's previous row to match the rating key
2015-09-18 14:36:52 -07:00
Tim
483f5825db Add check for webbrowser import which may not be available in all Python builds (like certain NAS devices). 2015-09-17 21:04:10 +02:00
Jonathan Wong
fc75232519 Change group logic to use user_id instead of user 2015-09-16 11:52:00 -07:00
Jonathan Wong
c1b5514789 Add reference_id column to session_history
* Also update database with values from previous versions
2015-09-16 11:36:34 -07:00
Jonathan Wong
2d7585d64b Add tagline to movie info metadata 2015-09-06 12:31:50 -07:00
Tim
c2417de895 Add "Local" as the default unauthenticated user to the local database. 2015-08-29 00:18:09 +02:00
Tim
ad79d860db Allow the buffer warnings to be completely disabled by setting buffer threshold to 0.
Fix bug with buffer warnings where notification would trigger continuously after first trigger.
Fix bug where custom avatar URL would get reset on every user refresh.
2015-08-15 21:30:31 +02:00
Tim
a96482ee3c New pause, resume and buffer notification options.
Reworked notification config in settings menu.
2015-08-15 14:37:27 +02:00
Tim
0877a6bf21 Add per-user history logging toggle. Uncheck to disable history logging for specific user.
On SSL cert bypass check that the method is available before allowing.
2015-08-13 23:05:09 +02:00
Tim
de66480d5f Highlight the weekends on daily graphs.
Random bug fixes and cleanups.
2015-08-11 21:56:31 +02:00
Tim
f80429ef7a Don't thread before daemonising. 2015-08-04 22:22:42 +02:00
Tim
881b25a8d4 You can now toggle notifications per user from the users profile page.
The PlexWatch importer will now also import those users into the PlexPy db.
2015-07-26 00:34:34 +02:00
Tim
b394ebc1a3 Stage three of notification rewrite. Page cache refresh required.
Watched notifications added with configurable cutoff percent.
Styling fixes.
Add information back to settings page for required restart on web interface changes.
Use user_id on user link in activity pane.
Added channels option to Pushbullet.
Possible fix for text encoding issues in Plexwatch importer.
Thread the notifications.
Move most of the notification logic to the notification handler.
2015-07-24 00:53:31 +02:00
Tim
1c1ad5ab30 Numerous styling changes. Please refresh browser cache after update.
Add option on tables to show/hide columns.
Add option in settings to manually check for updates.
Add option in config to toggle github update checks.
Remove the hidden danger zone link to wipe database.
2015-07-19 13:00:44 +02:00
Tim
637339ea62 Fix SSL communication issues.
Add remote server switch in config.
Add compulsory server verification in settings.
Store the machine_id in settings for quick retrieval.
Add setup complete screen on setup wizard and increase delay.
Refresh server URL params on startup and set up 12 hourly refresh schedule.
Use outer join on history tables.
Add extra exception in http_handler to catch http requests trying to communicate with https-only server.
2015-07-17 16:48:47 +02:00
Tim
d216c0d76a Enable video logging by default.
Move database functions to its own file.
Incorporate datatables changes into original file and remove the test file.
Remove old plexWatch processing and db files and references.
2015-07-15 12:50:33 +02:00