Commit Graph

94 Commits

Author SHA1 Message Date
JonnyWong16 b2ddedc0ae Update API register device doc string 2020-10-15 22:47:56 -07:00
JonnyWong16 5a14b5bc35 Add all Plex server and Tautulli info to register device response 2020-10-15 11:16:15 -07:00
JonnyWong16 d268a7aa23 Add back in tautulli_version to register device 2020-10-12 14:33:43 -07:00
JonnyWong16 07c71750d5 Move API docs to the wiki 2020-10-12 12:53:16 -07:00
JonnyWong16 36aa795c52 Add min_version parameter to register_device API command 2020-10-12 11:56:55 -07:00
JonnyWong16 7914f56ec3 Always close mobile device QR modal on successful registration 2020-10-12 11:54:36 -07:00
JonnyWong16 bee3361ace Return Tautulli version in register device API 2020-10-11 13:54:24 -07:00
JonnyWong16 1e1a8ddfb0 Fix get_logs API command encoding error
* Fixes Tautulli/Tautulli-Issues#269
2020-08-08 21:37:09 -07:00
JonnyWong16 50b6f9a8f2 Blacklist password parameter in get_apikey command 2020-08-08 21:26:01 -07:00
JonnyWong16 b4ba88b3e5 Fix get_apikey API command with a hashed password 2020-08-08 21:19:39 -07:00
JonnyWong16 b54576f08f Fix download API commands not returning the file
* Fixes Tautulli/Tautulli-Issues#268
2020-08-02 22:09:40 -07:00
JonnyWong16 1b37ff1655 Mobile device registration temporarily assume device_id is onesignal_id 2020-07-25 13:28:34 -07:00
JonnyWong16 7f1a4ec34a Add return PMS name and server ID from device registration 2020-07-25 13:21:52 -07:00
JonnyWong16 27438f7915 Don't allow apikey when using an app 2020-07-25 13:21:51 -07:00
JonnyWong16 8651bef9c1 Mask onesignal_id from API logs 2020-07-25 13:21:51 -07:00
JonnyWong16 36324d10dc Add onesignal_id to register device API 2020-07-25 13:21:46 -07:00
JonnyWong16 44f74e3590 Mask device token and device id from API logs 2020-07-12 10:35:52 -07:00
JonnyWong16 7c801c2f5e Add flag for offical mobile app 2020-06-20 16:16:35 -07:00
JonnyWong16 450b3865a8 Validate OneSignal Player ID when registering device 2020-06-20 10:59:55 -07:00
JonnyWong16 970667adca Only allow temporary device token access to register app 2020-06-20 10:58:49 -07:00
JonnyWong16 d8f223327e Merge branch 'nightly' into python3
# Conflicts:
#	plexpy/activity_pinger.py
#	plexpy/activity_processor.py
#	plexpy/helpers.py
#	plexpy/notifiers.py
#	plexpy/version.py
#	plexpy/webserve.py
2020-04-27 18:19:48 -07:00
JonnyWong16 1ab407eb38 Update API to keep backwards compatibility for geoip lookup 2020-04-27 17:29:48 -07:00
JonnyWong16 3ca4351aeb Merge branch 'nightly' into python3
# Conflicts:
#	plexpy/database.py
#	plexpy/version.py
2020-04-12 21:35:29 -07:00
JonnyWong16 400a189455 Invalidate temporary mobile app token after 5 minutes 2020-04-12 21:20:14 -07:00
JonnyWong16 798c17706c Merge branch 'nightly' into python3
# Conflicts:
#	plexpy/database.py
#	plexpy/datafactory.py
#	plexpy/libraries.py
#	plexpy/users.py
2020-04-10 15:25:18 -07:00
JonnyWong16 a4eda99a4a Update API docs to mention enabling api_sql while Tautulli is shut down 2020-04-10 14:44:14 -07:00
JonnyWong16 9e0153e962 Set PYTHON2 global variable 2020-04-04 07:57:51 -07:00
JonnyWong16 e26182c96e Remove list(dict.keys()) --> dict.keys() and list(dict.values()) --> dict.values() 2020-04-01 15:31:15 -07:00
JonnyWong16 f4eff8a8c5 Encode API XML output to UTF-8
(cherry picked from commit 1ffd6c0ea1)
2020-03-30 13:58:08 -07:00
JonnyWong16 1ffd6c0ea1 Encode API XML output to UTF-8 2020-03-30 13:55:17 -07:00
JonnyWong16 cc05552685 Remove from __future__ import absolute_import 2020-03-24 20:17:44 -07:00
JonnyWong16 82c09570c4 Update all future imports for Python 2 2020-03-23 22:11:42 -07:00
JonnyWong16 078685a2a3 Fix imports for Python 2 2020-03-23 22:11:41 -07:00
JonnyWong16 ad112e0a44 Remove list(dict.items()) -- >dict.items() 2020-03-21 18:31:55 -07:00
JonnyWong16 8d5bc88fd9 Merge branch 'nightly' into python3
# Conflicts:
#	data/interfaces/default/current_activity_instance.html
#	plexpy/activity_handler.py
#	plexpy/graphs.py
#	plexpy/helpers.py
#	plexpy/pmsconnect.py
#	plexpy/version.py
#	plexpy/webserve.py
2020-02-29 15:26:33 -08:00
JonnyWong16 9edbe6af37 Add helper to cast API parameter true to bool 2020-02-22 22:33:49 -08:00
JonnyWong16 197c3a327b Merge branch 'nightly' into python3 2019-12-08 12:20:43 -08:00
JonnyWong16 d1e401cb0c Remove default subject and body for notify API command 2019-11-24 22:35:58 -08:00
JonnyWong16 05afa0859c Run futurize --unicode-literals 2019-11-23 19:21:10 -08:00
JonnyWong16 597cc9fe29 Run futurize --stage2 2019-11-23 19:16:51 -08:00
JonnyWong16 ab6196589b Run futurize --stage1 2019-11-23 19:11:42 -08:00
JonnyWong16 c279057f91 Remove unicode strings 2019-11-23 14:37:26 -08:00
JonnyWong16 cfc30c1234 Add optional headers parameter for webhooks in notify API command 2019-11-11 15:41:11 -08:00
JonnyWong16 f41ed9953a Improve API response codes 2019-04-13 22:53:56 -07:00
JonnyWong16 68df0f07c8 Return API result error when unauthenticaed 2019-03-21 10:22:34 -07:00
JonnyWong16 e11803685c Fix API error when missing cmd 2018-11-04 11:49:13 -08:00
JonnyWong16 7bdef05a45 Fix download API commands 2018-10-09 08:27:48 -07:00
JonnyWong16 5bb3e189fe Update API docs 2018-08-27 21:27:09 -07:00
JonnyWong16 dd3f75f154 Add return_hash to pms_image_proxy API 2018-08-23 19:12:22 -07:00
samwiseg00 6b94292c7e Fix API creating a backup every sql query 2018-08-15 16:31:31 -04:00