xbmcbackup/changelog.md

537 lines
15 KiB
Markdown
Raw Permalink Normal View History

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2024-08-17 18:03:32 +02:00
## [Version 1.7.1](https://github.com/robweber/xbmcbackup/compare/matrix-1.7.0...robweber:matrix-1.7.1)
2024-04-28 17:12:12 +02:00
### Added
- `utils.getSettingStripped` to trim whitespace around setting strings
### Changed
- Dropbox Secret and App Key are trimmed on loading - thanks @rjclark99
2024-04-28 17:40:00 +02:00
- added additional dialog information when gathering files for a Restore. This doesn't fix the speed which these happen since that is related to the platform but does provide more info that it's working.
### Fixed
- issue where Zip file restores were failing due to a missing `is_dir` attribute
2024-04-28 17:12:12 +02:00
2024-04-17 18:43:24 +02:00
## [Version 1.7.0](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.8...robweber:matrix-1.7.0)
2023-04-05 18:46:30 +02:00
### Added
- You can now append a suffix to the end of each backup name (folder or zip file). This is only available in the Advanced or Expert settings.
- validation file now saves a list of all installed addons and versions
- prompt to close Kodi at the end of successful restore
2023-04-05 18:46:30 +02:00
### Changed
- added new line between file size and file name, was unreadable on some systems due to string resizing
2023-04-05 18:46:30 +02:00
- modified GitHub issue template slightly
2023-04-06 18:17:44 +02:00
- translations sync
2023-06-02 16:17:29 +02:00
- token files are stored in a `.json` instead of a `.txt` file
- file discovery process now flags directories with an `is_dir` metadata property instead of prefixing with a dash (-). This was done for legacy reasons and there is no reason for it.
2023-04-05 18:46:30 +02:00
### Fixed
- fixed minor UI issues
- division error when transferSize = 0
2023-06-02 16:17:29 +02:00
- fixed Dropbox tokens expiring by using [refresh tokens](https://dropbox-sdk-python.readthedocs.io/en/latest/api/oauth.html)
2022-01-26 15:34:57 +01:00
## [Version 1.6.8](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.7...robweber:matrix-1.6.8)
2021-06-10 18:35:31 +02:00
2021-06-14 18:47:28 +02:00
### Changed
- use the `<source>files</source>` tag on the remote path browser to bring in saved file paths from the File Manager
2022-01-26 15:34:57 +01:00
- multiple language files updated through integration with [Weblate](https://kodi.weblate.cloud/projects/kodi-add-ons-scripts/script-xbmcbackup/), thanks to @gade01 for helping to get it working.
2021-06-14 18:47:28 +02:00
2021-06-10 18:35:31 +02:00
### Fixed
- default en_gb file must use empty `msgstr` value
2021-07-06 16:01:24 +02:00
- minor UI fixes for dialog prompts
- fixed catch22 situation where Dropbox remote tries to load prior to authorization flow
2022-01-26 15:34:57 +01:00
- travis CI links in README
2021-06-10 18:35:31 +02:00
2021-04-16 16:40:31 +02:00
## [Version 1.6.7](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.5...robweber:matrix-1.6.7) - 2021-04-16
2021-04-08 22:43:26 +02:00
### Added
- added QRcode when setting up Dropbox, uses pyqrcode
### Fixed
- fixed issue when using ```RunScript()``` within settings to launch Advanced Editor
2021-04-16 16:36:26 +02:00
- error on advanced settings restore prior to reboot
- minor gui dialog fixes
2021-04-16 16:40:31 +02:00
## [Version 1.6.6](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.5...robweber:matrix-1.6.6) - 2021-03-15
2021-03-07 21:30:31 +01:00
### Fixed
2021-03-15 03:18:28 +01:00
- error when typing the remote path, ```listBackups()``` function was not working if final slash not included in typed directory path name.
- added ```force=True``` flag to the ```rmdir()``` function. Fixes issue with directories being removed when not empty
2021-03-07 21:30:31 +01:00
2021-03-07 02:20:31 +01:00
## [Version 1.6.5](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.4...robweber:matrix-1.6.5) - 2021-03-06
2021-01-20 21:27:34 +01:00
### Added
- added Expert setting to change location of zip file temp location as it's being built or extracted
### Changed
- updated ```settings.xml``` to match new [Kodi settings syntax](https://kodi.wiki/view/Add-on_settings_conversion), including visibility levels
2021-01-20 21:27:34 +01:00
### Fixed
- when restoring from a zip file the command to delete the extracted directory was incorrect
2021-02-22 04:27:04 +01:00
- ```Dialog().yesno()``` no longer takes line1 arg, changed to message
2021-01-20 21:27:34 +01:00
2020-12-23 22:44:32 +01:00
## [Version 1.6.4](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.3...robweber:matrix-1.6.4) - 2020-12-23
2020-11-18 02:56:15 +01:00
### Added
- merged duplicate copy code into ```_copyFile``` method
- added method to backup/restore Kodi settings via the GetSettings/SetSettingValue JSON methods in the validation file
- added setting to always restore settings or prompt at the time of backup
2020-11-18 02:56:15 +01:00
### Changed
- updated script.module.future version to current
2020-11-18 21:09:22 +01:00
- swapped xbmc.translatePath for xbmcvfs.translatePath, deprecated
2020-11-18 02:56:15 +01:00
2020-12-18 16:32:19 +01:00
### Fixed
- fixed calls to ```xbmcgui.Dialog().ok()```, method definition changed to only allow one message arg with Kodi 19
- fixed import of dropbox Oauth package in authorizer flow
### Removed
- removed old xml GuiSettings parsing for settings restore
2020-06-16 03:46:39 +02:00
## [Version 1.6.3](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.2...robweber:matrix-1.6.3) - 2020-06-15
### Changed
- fixed validatePath error (issue #166) thanks (thanks @AnonTester)
2020-04-09 21:37:09 +02:00
## [Version 1.6.2](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.1...robweber:matrix-1.6.2) - 2019-04-09
### Changed
- changed PNG screenshots to JPG (per [#165](https://github.com/robweber/xbmcbackup/issues/165))
2019-12-30 17:21:01 +01:00
## [Version 1.6.1](https://github.com/robweber/xbmcbackup/compare/matrix-1.6.0...robweber:matrix-1.6.1) - 2019-12-30
### Added
- added method to get size of a file from the VFS
- added total transfer size information to progress bar with appropriate precision (KB, MB, etc)
- show file size of zip files in the restore selection dialog
- added getSettingInt and getSettingBool to utils.py class
- added verbose logging setting and tied it to logging related to file paths added/written, this will significantly reduce the debug log size (thanks CastagnaIT)
2019-12-31 18:03:18 +01:00
- localize advanced editor strings instead of hard coding English
### Changed
- display every file transfered in progress bar, not just directory
- base progress bar percent on transfer size, not total files
- changed getSettings where needed to getSettingBool and getSettingInt
- use service.py to start scheduler, moving scheduler to resources/lib/scheduler.py Kodi doesn't cache files in the root directory
2019-12-31 18:03:18 +01:00
- fixed issues with rotating backups where trailing slash was missing (thanks @AnonTester)
- read/write files using contextlib
2019-11-26 20:14:57 +01:00
## [Version 1.6.0](https://github.com/robweber/xbmcbackup/compare/krypton-1.5.2...robweber:matrix-1.6.0) - 2019-11-26
2019-10-09 21:49:53 +02:00
### Added
2019-10-10 21:59:13 +02:00
- added new badges for Kodi Version, TravisCI and license information from shields.io
- dependency on script.module.dateutil for relativedelta.py class
2019-09-30 21:37:03 +02:00
### Changed
- addon.xml updated to use Leia specific syntax and library imports
- removed specific encode() calls per Python2/3 compatibility
- call isdigit() method on the string directly instead of str.isdigit() (results in unicode error)
- added flake8 testing to travis-ci
2019-11-22 22:14:12 +01:00
- updated code to make python3 compatible
2019-11-26 17:49:17 +01:00
- updated code for pep9 styling
- use setArt() to set ListItem icons as the icon= constructor is deprecated
2019-12-06 20:31:28 +01:00
- Dropbox dependency is now 9.4.0
2019-09-30 21:37:03 +02:00
### Removed
- removed need for urlparse library
- Removed GoogleDrive support - issues with python 3 compatibility
- removed relativedelta.py, use the dateutil module for this
2019-09-30 21:37:03 +02:00
2019-09-30 21:12:17 +02:00
## [Version 1.5.2](https://github.com/robweber/xbmcbackup/compare/krypton-1.5.1...robweber:krypton-1.5.2) - 2019-09-30
2019-09-30 21:09:15 +02:00
### Added
- Updated Changelog format to the one suggested by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2019-09-30 21:09:15 +02:00
- Added script.module.dropbox import as a dependency for Dropbox filesystem
2019-09-30 16:45:09 +02:00
### Changed
- Fixed issue getting xbmcbackup.val file from non-zipped remote directories. Was being copied as though it was a local file so it was failing.
2019-09-30 21:09:15 +02:00
- Use linux path separator (/) all the time, Kodi will interpret this correctly on windows. Was causing issues with remote file systems since os.path.sep
- Fixed minor python code style changes based on kodi-addon-checker output
2019-09-30 21:09:15 +02:00
### Removed
- files releated to dropbox library, using script.module.dropbox import now
2019-09-30 16:45:09 +02:00
## Version 1.5.1 - 2019-09-10
### Changed
- Fixed guisettings restores not working - thanks Bluerayx
2019-09-30 16:45:09 +02:00
## Version 1.5.0 - 2019-08-26
### Added
- Added new Advanced file editor and file selection based on a .json
### Removed
- File backups and restores will not work with old version - breaking change with previous versions PR117
2019-09-30 16:45:09 +02:00
## Version 1.1.3 - 2017-12-29
### Added
- added file chunk support for Dropbox uploads
- added scheduler delay to assist with time sync (rpi mostly), will delay startup by 2 min
### Changed
- fixed settings duplicate ids, thanks aster-anto
2019-09-30 16:45:09 +02:00
## Version 1.1.2
### Added
- Fixes to the Dropbox lib for python 2.6
2019-09-30 16:45:09 +02:00
## Version 1.1.1
### Added
- added ability to "catchup" on missed scheduled backup
### Changed
- fixed error on authorizers (missing secret/key)
- updated google oauth and client versions
- merged in dropbox v2 library code
2019-09-30 16:45:09 +02:00
## Version 1.1.0
### Added
- added tinyurl generation for oauth urls
### Changed
- moved authorize to settings area for cloud storage
2019-09-30 16:45:09 +02:00
## Version 1.0.9
### Changed
- fixed dropbox rest.py for Python 2.6 - thanks koying!
2019-09-30 16:45:09 +02:00
## Version 1.0.8
### Changed
- updated dropbox api
2019-09-30 16:45:09 +02:00
## Version 1.0.7
### Changed
- updated google client api version
2019-09-30 16:45:09 +02:00
## Version 1.0.6
### Added
- added progress for zip extraction - hopefully helps with extract errors
### Changed
- fix for custom directories not working recursively
2019-09-30 16:45:09 +02:00
## Version 1.0.5
### Added
- added google drive support
- added settings dialog option - thanks ed_davidson
### Changed
- make compression setting compatible with python 2.6 and above
- fix for growing backups - thanks brokeh
2019-09-30 16:45:09 +02:00
## Version 1.0.4
### Added
- exit if we can't delete the old archive, non recoverable
2019-09-30 16:45:09 +02:00
## Version 1.0.3
### Added
- added "delete auth" dialog to delete oauth files in settings
2019-09-30 16:45:09 +02:00
## Version 1.0.2
### Changed
- updated xbmc.python version to 2.19.0 - should be helix only
2019-09-30 16:45:09 +02:00
## Version 1.0.0
### Changed
- rebranded as "Backup"
- removed XBMC references and replaced with Kodi
- tweaked file walking for Helix
2019-09-30 16:45:09 +02:00
## Version 0.5.9
### Added
- create restored version of guisettings for easy local restoration
### Changed
- fixed dropbox unicode error
2019-09-30 16:45:09 +02:00
## Version 0.5.8.7
### Added
- allow limited updating of guisettings file through json
2019-09-30 16:45:09 +02:00
## Version 0.5.8.6
### Added
- show notification if some files failed
- check if destination is writeable - thanks war59312
2019-09-30 16:45:09 +02:00
## Version 0.5.8.5
### Added
- added custom library nodes to config backup options - thanks Ned Scott
2019-09-30 16:45:09 +02:00
## Version 0.5.8.4
### Changed
- backup compression should use zip64 as sizes may be over 2GB
- need to expand out path -bugfix
2019-09-30 16:45:09 +02:00
## Version 0.5.8
- fixes path substitution errors
2019-09-30 16:45:09 +02:00
## Version 0.5.7
- added option to compress backups, uses local source for staging the
zip before sending to remote
2019-09-30 16:45:09 +02:00
## Version 0.5.6
- fix dropbox delete recursion error - thanks durd updated language
files
2019-09-30 16:45:09 +02:00
## Version 0.5.5
- fix for dropbox errors during repeated file upload attempts
2019-09-30 16:45:09 +02:00
## Version 0.5.4
- check xbmc version when doing a restore
2019-09-30 16:45:09 +02:00
## Version 0.5.3
- updated python version
2019-09-30 16:45:09 +02:00
## Version 0.5.2
- added additional script and window parameters, thanks Samu-rai
- critical error in backup rotation
- updated progress bar display
2019-09-30 16:45:09 +02:00
## Version 0.5.1
- updated for new Gotham xbmc python updates
2019-09-30 16:45:09 +02:00
## Version 0.5.0
- New Version for Gotham
2019-09-30 16:45:09 +02:00
## Version 0.4.6
- modified backup folder names to include time, also modified display
listing
2019-09-30 16:45:09 +02:00
## Version 0.4.5
- added version info to logs
- added try/catch for unicode errors
2019-09-30 16:45:09 +02:00
## Version 0.4.4
- modified the check for invalid file types
2019-09-30 16:45:09 +02:00
## Version 0.4.3
- added error message if remote directory is blank
- added license tag
2019-09-30 16:45:09 +02:00
## Version 0.4.2
- Added support for userdata/profiles folder - thanks TUSSFC
2019-09-30 16:45:09 +02:00
## Version 0.4.1
- added encode() around notifications
2019-09-30 16:45:09 +02:00
## Version 0.4.0
- fixed settings display error - thanks zer04c
2019-09-30 16:45:09 +02:00
## Version 0.3.9
- added "just once" scheduler for one-off type backups
- show notification on scheduler
- update updated language files from Transifex
2019-09-30 16:45:09 +02:00
## Version 0.3.8
- added advancedsettings check on restore. prompts user to restore only this file and restart xbmc to continue. This fixes issues where path substitution was not working during restores - thanks ctrlbru
## [Version 0.3.7]
- added optional addon.xml tags
- update language files from Transifex
2019-09-30 16:45:09 +02:00
## Version 0.3.6
- added up to 2 custom directories, can be toggled on/off
- added a check for backup verification before rotation - no more
deleting non backup related files
- use monitor class for onSettingsChanged method
2019-09-30 16:45:09 +02:00
## Version 0.3.5
- test of custom directories - only 1 at the moment
2019-09-30 16:45:09 +02:00
## Version 0.3.4
- added ability to take parameters via RunScript() or
JSONRPC.Addons.ExecuteAddon()
2019-09-30 16:45:09 +02:00
## Version 0.3.3
- updated xbmc python version (2.1.0)
2019-09-30 16:45:09 +02:00
## Version 0.3.2
- added settings for user provided Dropbox key and secret
2019-09-30 16:45:09 +02:00
## Version 0.3.1
- added try/except for multiple character encodings
- remove token.txt file if Dropbox Authorization is revoked
- can shutdown xbmc after scheduled backup
2019-09-30 16:45:09 +02:00
## Version 0.3.0
- major vfs rewrite
- Added Dropbox as storage target
- updated gui/removed settings - thanks SFX Group for idea!
2019-09-30 16:45:09 +02:00
## Version 0.2.3
- first official frodo build
2019-09-30 16:45:09 +02:00
## Version 0.2.2
- fix for backup rotation sort
2019-09-30 16:45:09 +02:00
## Version 0.2.1
- added ability to rotate backups, keeping a set number of days
2019-09-30 16:45:09 +02:00
## Version 0.2.0
- removed the vfs.py helper library
- default.py file now uses xbmcvfs python library exclusively for
listing directories and copy operations
2019-09-30 16:45:09 +02:00
## Version 0.1.7
- minor bug fixes and translations updates
2019-09-30 16:45:09 +02:00
## Version 0.1.6
- merged scheduler branch with master, can now schedule backups on an
interval
2019-09-30 16:45:09 +02:00
## Version 0.1.5
- pulled xbmcbackup class into separate library
2019-09-30 16:45:09 +02:00
## Version 0.1.4
- added more verbose error message for incorrect paths
2019-09-30 16:45:09 +02:00
## Version 0.1.3
- backup folder format - thanks zeroram
- added German translations - thanks dersphere
- removed need for separate verbose logging setting
- updated utf-8 encoding for all logging
- backup now uses date as folder name, restore allows user to type date
of last backup
2019-09-30 16:45:09 +02:00
## Version 0.1.2
- added French language translation - thanks mikebzh44
- added some utf-8 encoding tags to filenames
2019-09-30 16:45:09 +02:00
## Version 0.1.1
- added check for key in vfs.py - Thanks Martijn!
2019-09-30 16:45:09 +02:00
## Version 0.1.0
- removed transparency from icon.png
2019-09-30 16:45:09 +02:00
## Version 0.0.9
- modified vfs.py again to filter out xsp files (smart playlists).
Created running list for these types of compressed files
- added enable/disable logging toggle in settings
2019-09-30 16:45:09 +02:00
## Version 0.0.8
- modified vfs.py script to exclude handling zip files as directories,
added keymap and peripheral data folders in the "config" section
2019-09-30 16:45:09 +02:00
## Version 0.0.7
- removed "restore.txt" file and now write file listing to memory list
instead
2019-09-30 16:45:09 +02:00
## Version 0.0.6
- Added the vfs module created by paddycarey
- File Selection is now followed for both backup and restore options
2019-09-30 16:45:09 +02:00
## Version 0.0.5
- Added option to manually type a path rather than browse for one (only
one used)
- Show progress bar right away so you know this is doing something
2019-09-30 16:45:09 +02:00
## Version 0.0.4
- Finished code for restore mode.
2019-09-30 16:45:09 +02:00
## Version 0.0.3
- Added progress bar and "silent" option for running on startup or as a
script
2019-09-30 16:45:09 +02:00
## Version 0.0.2
- First version, should backup directories as needed