Commit graph

103 commits

Author SHA1 Message Date
JonnyWong16
3a1d6322ae
Add return ID for async API calls
* export_id, notification_id, and newsletter_notification_d
2023-05-05 15:57:33 -07:00
JonnyWong16
5faeafedd5
Fix API 400 response code 2022-10-01 19:24:57 +00:00
JonnyWong16
c78bef851e
Null do not download keys for get_settings API command 2022-01-16 11:22:40 -08:00
JonnyWong16
81dc790a0c
Revert "Remove get_settings API command"
This reverts commit c39f89356c.
2022-01-15 16:16:24 -08:00
JonnyWong16
c39f89356c
Remove get_settings API command 2022-01-05 10:53:25 -08:00
JonnyWong16
bde2372d90
Add platform and version to mobile devices 2021-06-27 11:46:47 -07:00
JonnyWong16
b0a395ad0b
Always hash http password 2021-06-15 21:09:37 -07:00
JonnyWong16
15f90ea433
Improve temporary device token flow 2021-03-09 23:09:57 -08:00
JonnyWong16
06a9bb10cc
Fix API return error for HTTP status 500 2021-03-08 10:55:31 -08:00
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