Commit graph

82 commits

Author SHA1 Message Date
JonnyWong16
ce0cdf9ce6
Remove tokens from downloaded database 2022-01-15 16:13:53 -08:00
JonnyWong16
98ad8693b0
Skip importing version_info table 2021-03-29 00:22:53 -07:00
JonnyWong16
5ca5f24a66
Copy database path to cache and delete after importing 2021-03-29 00:20:55 -07:00
JonnyWong16
0f2dbf2c94
Migrate database on import 2021-03-29 00:20:55 -07:00
JonnyWong16
6086e84630
Migrate section_id to session_history table 2021-03-27 21:35:05 -07:00
JonnyWong16
729191722a
Fix typo 2020-12-24 17:00:39 -08:00
JonnyWong16
8b8afacaea
Add function to delete exported files 2020-09-20 11:23:19 -07:00
JonnyWong16
60bdf1d1ce
Schedule database pragma optimize 2020-09-12 14:18:31 -07:00
JonnyWong16
4edd6ce911
Add scheduled task to optimize database 2020-08-21 10:52:26 -07:00
JonnyWong16
4285b55c15
Update timestamp helper functions 2020-08-03 10:29:45 -07:00
JonnyWong16
f582f781f3
Update helpers.now function 2020-08-02 13:48:10 -07:00
JonnyWong16
c814f219a2
Prevent simultaneous importing of database/config 2020-07-22 18:33:47 -07:00
JonnyWong16
01c56ef280
Remove helper bool check in database import status 2020-07-15 21:06:28 -07:00
JonnyWong16
ad195f0969
Fix deleteing more than 1000 history entries at the same time 2020-07-08 12:27:20 -07:00
JonnyWong16
fbcf59abf0
Add database import in progress message 2020-05-24 01:10:52 -07:00
JonnyWong16
5b5c4d1a8b
Ignore reference_id when deleting duplicate rows 2020-05-24 00:36:41 -07:00
JonnyWong16
5f2a74893a
Fix importing using the overwrite method 2020-05-24 00:18:10 -07:00
JonnyWong16
0741b4021c
Fix database exception 2020-05-24 00:13:29 -07:00
JonnyWong16
f2323b0dff
Sort import database tables 2020-05-24 00:13:17 -07:00
JonnyWong16
0462121f69
Fix deleteing duplicate rows from session history tables after import 2020-05-24 00:01:58 -07:00
JonnyWong16
ef72832e5a
Redo importing session history 2020-05-23 15:48:40 -07:00
JonnyWong16
39eb657012
Fix typo when importing session_history table names 2020-05-19 22:41:49 -07:00
JonnyWong16
b8f8d45807
Skip importing table if it doesn't exist 2020-05-19 22:40:53 -07:00
JonnyWong16
b01fefc235
Check for existing column names when importing 2020-05-19 21:57:04 -07:00
JonnyWong16
09f6eb8e19
Fix importing into an empty database 2020-05-19 21:31:22 -07:00
JonnyWong16
e5d4969917
Fix imports for deleting history on Python 2 2020-05-19 20:18:38 -07:00
JonnyWong16
8c7476a670
Only use form data if uploading a database file 2020-05-03 17:49:10 -07:00
JonnyWong16
a869859491
Improve validating database before import 2020-05-02 23:14:17 -07:00
JonnyWong16
15a638b86e
Keep primary key instead of re-indexing history when overwriting Tautulli database import 2020-05-02 22:06:04 -07:00
JonnyWong16
e999000102
Fix overwrite Tautulli database importing 2020-05-02 21:56:39 -07:00
JonnyWong16
a5653e365e
Improve merge database import method and remove append method 2020-05-01 19:32:19 -07:00
JonnyWong16
e698bcb375
Skip importing temporary sessions table 2020-04-30 22:16:40 -07:00
JonnyWong16
c1d98ab901
Add method to import a Tautulli database 2020-04-30 22:06:41 -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
063271aabb
Fix notification rating key being overwritten when retrieving lookup info 2020-04-18 14:29:49 -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
523e6421be
Don't delete library history if server_id doesn't match 2020-04-12 20:49:45 -07:00
JonnyWong16
0ed4b69b8f
Fix deleting database rows with Python3 list(map()) 2020-04-12 19:17:57 -07:00
JonnyWong16
422a89c26c
Fix circular helpers import 2020-04-10 15:34:23 -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
33d860384c
Add Tautulli database corruption notification trigger 2020-04-10 15:11:32 -07:00
JonnyWong16
6a87dc9c40
Improve library delete/purge function 2020-04-10 14:00:19 -07:00
JonnyWong16
faac6b11c2
Improve user delete/purge function 2020-04-10 13:15:29 -07:00
JonnyWong16
c979e78802
Refactor database delete_session_history_rows ids 2020-04-10 12:40:35 -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
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
08c8ee0774 Add ability to flush recently_added database table 2020-03-23 17:50:54 -07:00