* Improve version handling to prevent inadvertent downgrades
* Add verbose output for version checking
* Improved git branch handling for testing
* Stay on current branch unless BRANCHNAME is set
* Add verbose output for in-use check
* Extract token fetching to extras/get-plex-token
* Have installer store TOKEN instead of EMAIL/PASS
* Provide easy way to pass git owner/branch while testing
* Use path when sourcing get-web-token
* Don't force interactive mode for EMAIL/PASS if they're already stored
* Re-enable getting plex token from server
* Try to read server token as sudo if possible
* Specify branch to clone in installer.sh
* Better checking of where token came from
* Make VERBOSE useful again
* Fix getPlexServerToken if installer.sh is being run from wget
* Extract functions into plexupdate-core
* Use plexupdate-core in installer
* Clean up usage and add --help
* Deprecate FORCEALL
* Make CHECKUPDATE check all program files
* Verify plex.tv is providing a checksum before downloading
* Add some more logging for release handling
* Use info/warn/error in plexupdate-core
* Remove outdated instructions from plexupdate.sh
* Only store tokens if PMS token is unavailable
* Warn users if fetching Plex token fails in installer
* Use local vars in functions and fix getRemoteSHA
* Update README
* Deprecate EMAIL/PASS and add token command-line option
* Quote option names
* Update FAQs
* Add link to FAQ in deprecation notice
* Remove trailing whitespace
* Make cron return 0 when plexupdate returns 10
Token file isn't necessarily defined by user nor is it installed in
user's home directory. This allows us to specify additional locations
to find the preference where the token hides.
Even if you define email and password, the public version is still
downloaded unless PUBLIC=no
This change warns the user about this behavior since it's most likely
not intended.
* Deprecated exit code 5 and corrcted cronwrapper and enhanced README
- plexupdate.sh will consider no new version as success
- cronwrapper will not print anything unless it truly fails
- README.md updated to provide more details about .plexupdate
* Moved text from README.md to wiki and added notifyonreturn to cron
* Removed overthought part
* Stop users from saving config with invalid download directory
* Added additional sanity for email checking
* Add installer script
* Update cronwrapper to work with installer script
* Add AUTOUPDATE to default config
* Read /etc/plexupdate.conf before other configs, if available
* Use dnf on newer redhat systems
* Only use plexupdate.conf or --config
* Give existing users explaination as to why plexupdate.sh failed
* Removed references to .plexupdate
* Warn users that .plexupdate is going away
* Offer to import settings in ~/.plexupdate.conf in installer (if they exist)
* Only show AUTOSTART warning if AUTOINSTALL is enabled
* Change default download directory to /tmp
* Warn users to run the installer as sudo
* Remove VAR_CL logic in favor of checking config before getopt run
* Use sha1sum for version check and auto-fix git permissions on exit
* Skip update check if AUTOUPDATE is enabled
* Fix permissions for all files, not just .git
* Don't enable -P in installer if we know it won't work
* Fix cronwrapper failing if CONF is specified
* Exit code 0 means an update was applied, so we should send output
* Make sure wget log gets cleaned up along with other temp files
* Fix cronwrapper showing unwanted output even while logging