Commit Graph

363 Commits

Author SHA1 Message Date
Rob Weber
49af21a67e cannot have duplicate set names or rules regarding folders within a set 2019-08-22 13:23:41 -05:00
Rob Weber
3ee2cb0414 check that path is within root folder of set 2019-08-22 13:07:03 -05:00
Rob Weber
76c2fdc0c2 show path relative to root 2019-08-22 13:00:45 -05:00
Rob Weber
2c999b46b9 paths should have / at the end 2019-08-22 13:00:35 -05:00
Rob Weber
4d891ab551 add/remove include and exclude directories to a set 2019-08-22 12:38:17 -05:00
Rob Weber
6c33e7c9ba added utils function for regional date, use for scheduler notifications as well 2019-08-20 11:50:46 -05:00
Rob Weber
04ec3bd8a8 use images folder as default 2019-08-20 11:32:07 -05:00
Rob Weber
65ea3c98c4 Merge branch 'master' into krypton
# Conflicts:
#	addon.xml
#	icon.png
#	resources/images/icon.png
#	resources/media/icon.png
#	scheduler.py
2019-08-20 11:29:14 -05:00
Rob Weber
ee2f38e865 missed a print statement 2019-08-19 15:34:32 -05:00
Rob Weber
4513eb67f9 fixed error handling for python 2.7+ 2019-08-19 15:23:48 -05:00
Rob Weber
c44d71b8b4 updated path 2019-08-19 14:21:40 -05:00
Rob Weber
bc91dfe2a2 updated croniter to match libraryautoupdate (newest) 2019-08-19 14:20:37 -05:00
Rob Weber
27fbadebda fixed addon.xml per guidlines on wiki 2019-08-19 14:18:17 -05:00
Rob Weber
4108f333e2 this function isn't used anymore, legacy of old file manager 2019-08-19 13:07:40 -05:00
Rob Weber
913090637c format restore list according to regional settings 2019-08-19 13:05:12 -05:00
Rob Weber
7139b920ad remove length check, breaking change with this version means old archives are no longer compatible 2019-08-19 12:48:16 -05:00
Rob Weber
48d07c24a0 display restore points with most recent on top 2019-08-19 11:52:21 -05:00
Rob Weber
90e4b0c1f4 add retroplayer game saves to default file list 2019-08-19 11:41:08 -05:00
Rob Weber
545bd93e8c updated scripting to pass in list of sets to restore 2019-07-30 13:26:55 -05:00
robweber
83a01a48bf split backup and restore into separate functions 2019-07-29 16:58:00 -05:00
Rob Weber
dcc8482d73 added a disclaimer for breaking changes 2019-02-04 13:23:12 -06:00
Rob Weber
85306f9469 closes #132 2019-02-04 11:57:36 -06:00
Rob Weber
c0d3b01ade updated strings 2019-02-04 11:57:17 -06:00
Rob Weber
5c6a8ce91a can't have duplicate ids 2019-02-04 11:40:42 -06:00
Rob Weber
c8f148cd1a Merge branch 'master' into krypton 2019-02-04 11:33:35 -06:00
Rob Weber
2e7080fef8 add no media file, part of #135 2018-02-12 08:46:54 -06:00
Rob Weber
e148bd4894 part of #134 2018-01-23 08:25:58 -06:00
Rob Weber
b6e57b04b1 start of #132 2018-01-23 08:17:02 -06:00
Rob Weber
adbf225ea2 revert dropbox python 2.6 changes 2017-12-29 13:25:40 -06:00
Rob Weber
d9d6c1ed42 Merge branch 'master' into krypton 2017-12-29 13:24:45 -06: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
4b8b847544
Dropbox 2.6 fixes (#127)
Dropbox lib fixes for python 2.6
2017-12-27 09:55:20 -06:00
Rob Weber
f5f7bcfcb5 save non translated paths, better cross platform support 2017-12-08 11:36:51 -06:00
Rob Weber
4608f04d96 utilize details to show root folder and icons 2017-12-08 11:16:59 -06:00
Rob Weber
e1c8b5a61c Merge branch 'master' into krypton 2017-12-08 10:53:38 -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 Weber
5a43b5e340 added string for restore browser 2017-12-06 09:26:39 -06:00
Rob Weber
33bc84c288 added a backup set chooser on restore 2017-12-06 09:23:32 -06:00
Rob Weber
8c61616d3c directory has to end in slash to use exists() 2017-12-06 09:22:27 -06:00
Rob Weber
622939901e updated def for the addons set 2017-12-06 09:11:01 -06:00
Rob Weber
756f50bba1 match excluded with regex 2017-12-05 15:40:09 -06:00
Rob Weber
5fefbd286d there was a function to do this 2017-12-05 15:05:14 -06:00
Rob Weber
5779784e0a added strings for advanced editor 2017-12-05 15:04:20 -06:00
Rob Weber
24f570e888 added an advanced backup editor and combined settings.xml scripts into a launcher 2017-12-05 14:20:32 -06:00
Rob Weber
489dcd317f reconfigured simple backup process 2017-12-05 09:35:43 -06:00
Rob Weber
216e2f4561 Merge branch 'master' into krypton 2017-12-04 15:36:55 -06:00
Rob Weber
f31c2f7b4d imports missed during dropbox merge 2017-12-04 15:30:07 -06:00
Rob Weber
c3fe86293d Merge branch 'master' into krypton 2017-12-04 15:16:41 -06:00
robweber
92f84b07db language folder country code fix 2017-12-03 17:40:11 -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
87b1a832c5 updated for google oauth and googleapi version bumps 2017-11-22 15:38:06 -06:00
Rob Weber
20ee7a92ad started new way of defining backup directories 2017-11-08 15:57:44 -06:00
Rob Weber
dda08d04a3 added screenshots per krypton format 2017-11-08 13:47:46 -06:00
Rob Weber
469b5ff340 default log level is always debug now 2017-11-08 13:32:07 -06:00
Rob Weber
ff2f764b2f Merge branch 'master' into krypton 2017-11-08 13:30:39 -06:00
Rob Weber
ec0c52ee6e converted to po files. closes #104 2017-11-08 08:54:30 -06:00
Rob Weber
fc2c4b341a indent error - always returned false 2017-11-07 15:19:46 -06:00
Rob Weber
2af3070528 allow user to turn on/off 2017-11-07 15:10:21 -06:00
Rob Weber
db4b404a88 part of #110 2017-11-07 14:19:27 -06:00
Rob Weber
7d51ee05bc updated addon.xml for Krypton 2017-02-16 15:11:22 -06:00
Rob Weber
2c634f9250 exclude packages dir by default, not needed closes #102 2017-02-10 15:19:22 -06:00
Rob Weber
94f0887393 fixes #99 2017-01-31 15:02:03 -06:00
Rob Weber
fcafc77180 debug is default anyway 2017-01-31 09:15:48 -06:00
Rob Weber
c46f684ea5 change this as settings are saved until close, call specific type with arg 2017-01-31 09:07:49 -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
2e7552896a split general and remote directory areas 2017-01-30 12:59:03 -06:00
Rob Weber
8edaae803b use tinyurl for oauth urls 2017-01-30 12:51:50 -06:00
Rob Weber
d846cffd80 add tinyurl library and 2017-01-30 12:51:36 -06:00
Rob
439c8aae28 Merge pull request #97 from robweber/settings_utf_error
Encode Settings with UTF
2017-01-30 09:22:29 -06:00
Rob Weber
8a6518fd2d encode setting value as utf string 2017-01-23 11:34:35 -06:00
Rob Weber
b7c24896c9 trying koying's patch for #94 2017-01-23 09:57:01 -06:00
Rob Weber
622039febb updated dropbox v1 api 2017-01-05 10:37:41 -06:00
Rob Weber
d0028d440c wonder how long this has been there, fixes #82 2017-01-05 09:10:11 -06:00
Rob Weber
3e38f992b5 added extractor progress bar and additional progress info 2015-06-26 15:32:22 -05:00
Rob Weber
032a772a81 try tor emove error in pydrive 2015-06-26 14:46:18 -05:00
Rob Weber
97a977c721 minor fixes 2015-06-19 14:30:45 -05:00
Rob Weber
9add0b2981 Merge branch 'pydrive_fix' 2015-06-19 13:44:37 -05:00
Rob Weber
7ed70ca9cb delete the validation file after it was copied 2015-06-19 12:49:28 -05:00
Rob Weber
2a5accfed1 attempted fix for wrong args error 2015-05-26 08:43:21 -05:00
robweber
2ad895626a Merge pull request #72 from brokeh/master
Fix duplicate files in zip backups
2015-05-08 19:45:59 -05:00
Rob Weber
98a369db6f closes #71 2015-05-08 19:40:28 -05:00
Andrew Brock
6786a233e0 Fix zip files getting an extra copy of each file on each run of the scheduler 2015-05-06 21:36:50 +10:00
Rob Weber
99e19b8fd5 use this more restrictive scope 2015-04-27 15:21:12 -05:00
Rob Weber
1eb84c6ecf added google drive string back in 2015-04-24 09:29:26 -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
49f6b176e8 exit if we can't delete the old archive 2015-03-26 10:38:51 -05:00
Rob Weber
5c40b0edc4 mixed up string ids 2015-02-13 09:50:07 -06:00
Rob Weber
9d7076da0c Merge branch 'master' into helix_google_drive
Conflicts:
	addon.xml
	resources/language/English/strings.xml
	resources/settings.xml
2015-02-13 09:42:26 -06:00
Rob Weber
6de7ccaddf closes #63 2015-02-13 09:28:55 -06:00
Rob Weber
f887df0197 folder should be Kodi Backup 2014-11-21 14:17:48 -06:00
Rob Weber
16f4d4073a weird space we don't need 2014-11-21 13:42:39 -06: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
d9e31e32ad reworked strings again, insert "mode" into gui 2014-11-21 13:25:19 -06:00
Rob Weber
138047bd32 Kodi requires slash on directory "exists" 2014-11-21 10:44:53 -06:00
Rob Weber
2ac05ab042 make this text more specific 2014-11-21 10:44:42 -06:00
Rob Weber
b91591ec05 changed XBMC to Kodi references 2014-11-21 10:38:44 -06:00
Rob Weber
e803573340 dropbox unicode error 2014-11-10 12:40:29 -06:00
Rob Weber
c578fe15d8 create a .restored version of guisettings 2014-11-10 12:33:55 -06:00
Rob Weber
744ba77251 updated for new file write checks 2014-11-05 08:47:47 -06:00
Rob Weber
fae5a052c7 string id changed 2014-11-05 08:47:30 -06:00
Rob Weber
8473542aaf Merge branch 'master' into google_drive
Conflicts:
	resources/language/English/strings.xml
	resources/lib/backup.py
2014-11-05 08:40:07 -06:00
Rob Weber
0b6a3ae506 restore xbmc allowed settings via json 2014-10-31 11:40:47 -05:00
Rob Weber
2fc26b6e8c show notification if files failed to copy 2014-10-31 09:56:02 -05:00
Rob Weber
9e5873fcb7 check if destination is writeable 2014-10-31 09:50:37 -05:00
robweber
b0ecaa8416 Merge pull request #57 from robweber/master
Update from Master
2014-10-24 15:27:27 -05:00
Rob Weber
f8c00b473f added userdata/library to config path 2014-10-23 09:41:10 -05:00
Rob Weber
64ae75252f some spacing 2014-10-10 08:50:29 -05: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
e316e82013 create google file system 2014-10-09 14:40:05 -05:00
Rob Weber
9c73b5b0b8 added google drive to settings 2014-10-09 14:34:33 -05:00
Rob Weber
74cb8c2b28 added google drive vfs 2014-10-09 14:30:39 -05:00
Rob Weber
c36df5ade9 pydrive license 2014-10-09 11:32:15 -05:00
Rob Weber
0df7364bea added pydrive files 2014-10-09 11:31:38 -05:00
Rob Weber
3e32882afc shouldn't always be logging this 2014-10-08 15:08:35 -05:00
Rob Weber
08be62b4ec typo 2014-10-08 13:01:44 -05:00
Rob Weber
f0a6b3351a missed a translate path 2014-10-07 11:21:47 -05:00
Rob Weber
64d788e9f7 add full path since it will be trimmed later 2014-10-06 15:55:57 -05:00
Rob Weber
91af11c9f7 need to expand out home path 2014-10-05 14:20:23 -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
d69a1b2d27 delete old file, if it exists 2014-08-04 19:58:56 -05:00
Rob Weber
d7a0e622be try and encode filenames before writing to zip 2014-08-04 15:40:14 -05:00
Rob Weber
a1c91ef51c updated strings for zip notifications 2014-08-01 14:36:10 -05:00
Rob Weber
45b6cea057 best test we can do for zip file without looking in them 2014-08-01 14:32:29 -05:00
Rob Weber
f249ea1583 cosmetics 2014-08-01 14:15:27 -05:00
Rob Weber
9945dc628e don't write to filesystem, use addFile 2014-08-01 14:14:40 -05:00
Rob Weber
1255283f4d should clean up zip resources after extract 2014-08-01 14:03:03 -05:00
Rob Weber
b3bbdd6911 need to reset vfs to default root dirs before copying zip 2014-08-01 13:54:22 -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
647bd8811b don't need these checks anymore 2014-08-01 13:06:35 -05:00
Rob Weber
e6215dde51 read/write zip to temp directory 2014-08-01 13:05:58 -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
Rob Weber
c49aebeba1 list zip files for restore 2014-07-31 16:02:53 -05:00
Rob Weber
525dd8ff86 delete temp zip file when done 2014-07-31 15:20:22 -05:00
Rob Weber
19fcb8bd46 created zip vfs, will create and copy directories to remote share 2014-07-30 15:16:58 -05:00
Rob Weber
24385a2c68 don't write to remote directly, use file manager 2014-07-30 13:41:54 -05:00
Rob Weber
6dc23de55b updated language files 2014-07-29 09:11:37 -05:00
Rob Weber
2365649f86 fixes #53 2014-07-29 08:43:34 -05:00
robweberjr@gmail.com
ee435a90ef attempted fix for Dropbox file recursion 2014-06-03 13:34:02 -05:00