Commit graph

83 commits

Author SHA1 Message Date
Tim
2221697c20 Woops, apparently I can't spell my own project's name. 2015-07-12 15:37:23 +02:00
Tim
0916370a9d Return the name of the server with the notification.
Remove some unnecessary includes.
Fix validation on logging_ignore_interval which wouldn't allow anything less than 30
2015-07-12 15:32:20 +02:00
Tim
06558a7437 Fix typo in settings.
Get the monitor paused counter functional.
2015-07-12 13:12:39 +02:00
Tim
d7c5046569 Address the repetitive notify/logging issue when multiple streams are active. 2015-07-12 00:08:30 +02:00
Tim
9152fa01af VERY EXPERIMENTAL CHANGES!
History logging is now under the hood. Disabled by default.
Write new database tables and upgrade old ones.
Provide more detail to get_activity.
2015-07-11 22:10:45 +02:00
Tim
f5233ffed2 Add new configuration options.
Add new notification options.
Rewrite a bunch of the monitoring code.
Upgrade sessions table (again).
2015-07-10 23:17:16 +02:00
Tim
dcab175c18 Fix database check bug.
Some styling adjustments.
Use the proper image fallbacks.
2015-07-10 14:04:30 +02:00
Tim
ec3253afdb Update the watch monitor to enable us to do proper watch logging.
Upgrade sessions table
Correnty encode text lines from PMS log reader.
2015-07-10 12:59:20 +02:00
Tim
8a93b359c6 Fix styling on activity window for music tracks. 2015-07-09 21:43:17 +02:00
Tim
e83c9321d4 Added basic notification controls. 2015-07-09 00:12:19 +02:00
Tim
69c8441c1c Accommodate for music in recently added. 2015-07-08 00:13:20 +02:00
Tim
a5d6b8ec0f Fix bug on recently added when item wasn't a video item.
Change variable names to fixed standard.
2015-07-07 21:47:47 +02:00
Tim
857e9e9d1c Fix some exception handling. 2015-07-07 21:24:47 +02:00
Tim
7a5cad1a31 Add very early attempt at retrieving IP address per stream. 2015-07-06 00:45:42 +02:00
Tim
9d5dabca14 Fix issue where log messages sometimes wouldn't show. 2015-07-05 16:14:22 +02:00
Tim
9b7f529d02 Create new class to handle HTTP requests
Some more clean-up
2015-07-05 15:59:57 +02:00
Tim
e1e3659eb3 Fix buggy behaviour if user sets friendly name as blank.
Hide "clear logs" button when viewing PMS logs (it has no impact on those).
Start major clean up of classes.
Initial work to allow SSL communication to Plex servers.
2015-07-04 23:18:06 +02:00
Tim
6ecfb9c963 Fix broken notifications after previous commits. 2015-07-04 16:51:22 +02:00
Tim
7ab590a5ff Raided Stackoverflow for tail script that seems to work better on Windows systems. 2015-07-04 16:22:12 +02:00
Tim
c770c90d76 Fix handling of clips in activity pane.
Start standardising variable names in templates.
2015-07-04 14:37:30 +02:00
Tim
b4f1bddc02 Fix some log table styling.
Refresh user list on start-up and schedule refresh every 12 hours.
Handle malformed lines when reading Plex logs slightly more gracefully.
Send back empty list instead of None on some plex.tv requests.
2015-07-04 12:20:37 +02:00
Tim
0810584b46 Add option in settings to view PMS logs, shows last 1000 lines.
Table styling fix.
2015-07-04 00:41:37 +02:00
Tim
349a850451 We're getting our own database!
First code for independent notifications (not linked to PlexWatch).
New notifications panel in Settings (many types still untested).
Standardise the parameters sent to current activity.
Remove notifiers we cannot use.
Styling fixes for sync tables.
2015-07-03 19:50:47 +02:00
Tim
b244e09c24 Get started on input validation and config page clean-up.
Minor UI adjustments.
2015-07-02 19:05:59 +02:00
Tim
55efb0a711 Make sure we get the sync lists for the correct server.
Update README
2015-07-02 17:27:12 +02:00
Tim
2aa833d127 Fix crash on user page if user no longer exists as friend.
Provide fallback images if we can't load the real one.
Some sync table improvements.
2015-07-02 15:55:31 +02:00
Tim
aa700e2b63 Continue, don't break 2015-07-02 13:17:00 +02:00
Tim
d2db662e14 We have initial implementation of sync lists (may still be buggy)
To get usernames in sync lists go to Users->Refresh Users.
2015-07-02 13:04:19 +02:00
Tim
6927753db6 Some work on sync lists. 2015-07-02 02:07:50 +02:00
Tim
69ffaf5292 Some work on sync lists. 2015-07-02 01:48:38 +02:00
Tim
4830cc7d68 Fix header on user IP modal
Return more user data to the info screen.
Some other backend changes
2015-07-01 22:44:30 +02:00
Tim
2d822c8468 Fix bug with xml and unicode conversion.
Fix some minor front-end issues.
Initial work on new users table.
2015-07-01 19:51:42 +02:00
Tim
12331e1c4c Try to write the plex_users table during config save.
Only load tables on user info page if we need to.
Make sure we don't pass user definable input directly into our queries.
Neaten some code.
2015-07-01 13:11:15 +02:00
Tim
0a170c20e6 Add back init scripts
Update cherrypy to 3.8.0
Remove unnecessary includes
Remove old references to Headphones
2015-06-30 21:27:07 +02:00
Tim
4936ad0476 Fix current activity bug if user has no friendly name. 2015-06-29 22:54:57 +02:00
Tim
64d9b95de9 Implement friendly names in current activity.
Fix bug on current activity when playing music.
2015-06-29 22:26:08 +02:00
Tim
6f7194593b Implement friendly names across entire project scope. 2015-06-29 21:53:41 +02:00
Tim
e7b305a1d5 Early implementation of friendly names. This be aware that this writes a new table to your plexWatch database.
Note: To edit friendly name, go to user page and click the pencil icon next to the user name. Currently only works on home stats and user info page.
Adjust some table styling issues.
Fix bug with user IP modal details not showing.
Fix users default list order.
2015-06-29 01:35:17 +02:00
Tim
762199344c Start styling changes. After updating to this force a refresh (shift+refresh) in your browser to reload styles.
Make more use of card-type layouts.
Make tables responsive.
2015-06-28 16:59:36 +02:00
Tim
4f1056cf87 Fix X-Plex-Client-Identifier to send unique id per client, not static value. 2015-06-28 14:28:26 +02:00
Tim
7bf45f8bef Add option in settings to enable BIF indexes. 2015-06-28 02:09:46 +02:00
Tim
d2c65e6a65 No longer storing plex username and password. Only token.
Redirect to config page if no Plexwatch database set.
2015-06-27 20:00:32 +02:00
Tim
c0f487940f Start front-end clean up and documentation. 2015-06-25 01:03:44 +02:00
Tim
54ee7f4c0d Add simple way to adjust date ranges on the graphs page 2015-06-24 20:02:20 +02:00
Tim
9ca9b5e9ae Fix typo that broke duration sorting
Fix css bug
2015-06-24 19:02:22 +02:00
Tim
a4b0da02d1 Bring date/time format help modal back. 2015-06-24 18:14:03 +02:00
Tim
838ee5cae9 Improve graph tooltip
One checkbox to group them all
Do not cache graph data
Fix variable for db in init test
Remove superfluous includes
Remove superfluous debug logging
2015-06-24 17:35:41 +02:00
Tim
c2e9025f9f Fix day of week query to include days without data. 2015-06-24 13:08:10 +02:00
Tim
cf502ddd2a Fix some styling issues 2015-06-24 12:27:11 +02:00
Tim
0224c709b0 Add new graphs for watches by day of week and hour of day.
Clean up some graph styling
2015-06-24 00:10:09 +02:00