Commit Graph

74 Commits

Author SHA1 Message Date
Rob Weber
b470412b4f removed unused imports 2020-11-18 14:28:09 -06:00
Rob Weber
a0eb28a5f6 convert xbmc.translatePath to xbmcvfs.translatePath 2020-11-18 14:07:06 -06:00
Rob Weber
9ecf706d63 use contextlib 2019-12-31 10:49:16 -06:00
Rob Weber
90b4aeeebe pep8 fixes 2019-12-30 10:17:58 -06:00
Rob Weber
e63560f0c4 added a clean path function and applied it to rotate backups 2019-12-30 10:09:01 -06:00
Rob
5d398836ba
Show File Transfer Size (#160)
adds file transfer size to progress bar - closes #157
2019-12-10 15:16:54 -06:00
Rob Weber
0cc0684263 Use the dropbox module instead of bundling code - module still needs to be updated in Kodi repo 2019-11-26 12:58:35 -06:00
Rob Weber
db18c6a7b4 pep8 style fixes - round 1 2019-11-25 15:56:59 -06:00
Rob Weber
35e05acaf2 pep8 multi line imports 2019-11-25 15:48:42 -06:00
Rob Weber
92ec8bf25c pep8 commas 2019-11-25 15:45:41 -06:00
Rob Weber
0c79aef4e7 pep8 spaces 2019-11-25 15:33:34 -06:00
Rob Weber
f7665c8ddd pep8 comments 2019-11-25 15:19:57 -06:00
Rob Weber
3aa912ca4c remove kodi-six, use python3 kodi libs 2019-11-22 14:53:20 -06:00
Rob Weber
e91037208b Merge branch 'master' into leia 2019-09-30 14:23:19 -05:00
Rob Weber
6dfa4a5520 minor code fixes based on travis-ci output 2019-09-30 14:06:50 -05:00
Rob Weber
aa94060cfe removed Google Drive support - too many python2/3 dependency issues 2019-09-05 14:30:06 -05:00
Rob Weber
495ecb1048 fixes for unicode strs 2019-08-28 15:37:56 -05:00
Rob Weber
8f8402ae8a use kodi-six for kodi imports 2019-08-27 15:01:24 -05:00
Rob Weber
72c77fb33a fixed some imports 2019-08-27 14:55:22 -05:00
Rob
865416977d
Update for Leia (#117)
* updated addon.xml for Krypton

* default log level is always debug now

* added screenshots per krypton format

* started new way of defining backup directories

* reconfigured simple backup process

* added an advanced backup editor and combined settings.xml scripts into a launcher

* added strings for advanced editor

* there was a function to do this

* match excluded with regex

* updated def for the addons set

* directory has to end in slash to use exists()

* added a backup set chooser on restore

* added string for restore browser

* utilize details to show root folder and icons

* save non translated paths, better cross platform support

* revert dropbox python 2.6 changes

* start of #132

* can't have duplicate ids

* updated strings

* closes #132

* added a disclaimer for breaking changes

* split backup and restore into separate functions

* updated scripting to pass in list of sets to restore

* beta version

* added 2 min delay in startup - part of #147

* forgot to remove debug message

* change to wait for abort in case someone tries to close Kodi

* add retroplayer game saves to default file list

* display restore points with most recent on top

* remove length check, breaking change with this version means old archives are no longer compatible

* format restore list according to regional settings

* this function isn't used anymore, legacy of old file manager

* use images folder as default

* added note about compatibility

* added utils function for regional date, use for scheduler notifications as well

* add/remove include and exclude directories to a set

* paths should have / at the end

* show path relative to root

* if in advanced mode allow jumping to editor from launch screen

* check that path is within root folder of set

* cannot have duplicate set names or rules regarding folders within a set

* put strings in correct lang file

* beta version bump

* accidentally deleted string id

* change exclude criteria. Regex was not matching in complex cases

* make sure the dest folder (backup set root) exists before writing to it

* modify select display to show recursive value for included folders

* use a context menu here

* added ability to toggle recursion of sub folders

* beta 3

* added support doc

* wrong branch

* don't need this import anymore

* don't need these imports

* part of #133
2019-08-26 15:40:15 -05:00
Rob Weber
701a1831bf don't need these imports 2019-08-26 15:18:38 -05:00
Rob
55d6ca7464
Dropbox sessions (#130)
added file chunk support for files > 50MB, closes #129
2017-12-29 13:22:49 -06:00
Rob Weber
9490f7565c missed log statement in testing 2017-12-27 10:06:07 -06:00
Rob Weber
e02245e422 dirs can't end in slash for dropbox "exists" method part of #114 2017-12-08 08:46:12 -06:00
Rob
af1ae52e69
Merge Dropbox V2 (#123)
* pulled all dropbox v1 code, added v2. fixed authorization flow
2017-12-03 17:32:21 -06:00
Rob Weber
b1d16df817 put all strings in strings.xml 2017-01-31 08:16:54 -06:00
Rob Weber
49f6ae5270 moved cloud creation code to an authorizer class
added authorize as part of settings
2017-01-31 08:08:00 -06:00
Rob Weber
8edaae803b use tinyurl for oauth urls 2017-01-30 12:51:50 -06:00
Rob Weber
622039febb updated dropbox v1 api 2017-01-05 10:37:41 -06:00
Rob Weber
3e38f992b5 added extractor progress bar and additional progress info 2015-06-26 15:32:22 -05:00
Rob Weber
f0cce73851 Merge branch 'master' into helix_google_drive
Conflicts:
	resources/language/English/strings.xml
2015-04-24 09:28:05 -05:00
Rob Weber
02e3a73623 make compression setting compatible with python 2.6 and above 2015-04-24 09:23:56 -05:00
Rob Weber
fec65afc8f Merge branch 'google_drive' into helix_google_drive
Conflicts:
	resources/lib/backup.py
2014-11-21 13:42:12 -06:00
Rob Weber
7730c727e5 fixed type in dropbox rmfile 2014-11-21 13:30:22 -06:00
Rob Weber
744ba77251 updated for new file write checks 2014-11-05 08:47:47 -06:00
Rob Weber
9246c9b586 vfs should return encoded dirs/files 2014-10-10 08:49:21 -05:00
Rob Weber
e90c8e7803 slight changes so mkdir works 2014-10-09 15:19:24 -05:00
Rob Weber
cf40edad79 use 'xbmc backup' as root directory 2014-10-09 14:42:59 -05:00
Rob Weber
74cb8c2b28 added google drive vfs 2014-10-09 14:30:39 -05:00
Rob Weber
3e32882afc shouldn't always be logging this 2014-10-08 15:08:35 -05:00
Rob Weber
53ddc92325 use zip64 2014-10-05 14:06:32 -05:00
Rob Weber
eb2f5dce74 use "special://" as root and translate before writes 2014-08-08 10:37:16 -05:00
Rob Weber
b14fda20fb write the file based on the true source xbmcvfs.File 2014-08-08 10:26:39 -05:00
Rob Weber
38cc67a54d don't need to encode file path, just the name 2014-08-04 20:14:49 -05:00
Rob Weber
d7a0e622be try and encode filenames before writing to zip 2014-08-04 15:40:14 -05:00
Rob Weber
5dfa9d9b76 old logging and misssed name 2014-08-01 13:14:47 -05:00
Rob Weber
545843e949 need to treat backup zips as files 2014-08-01 13:12:43 -05:00
Rob Weber
9a89066e66 can restore full file tree 2014-08-01 12:57:55 -05:00
Rob Weber
c28f9fd26b will copy zip file from remote to dest 2014-08-01 12:37:57 -05:00
Rob Weber
933fdbdf09 copy zip file and open in write mode 2014-07-31 17:29:59 -05:00