Commit Graph

74 Commits

Author SHA1 Message Date
Fernando 728b7bb107 Fix versionchecker
In CheckVersion.init (sickbeard/versionChecker.py, line 41), the install_type attribute is only assigned if sickbeard.gh has been set, and it won't be if SR couldn't connect to Github. The restart code (SickBeard.py, line 482) tries to access install_type to determine which update command to run, which raises an AttributeError and prevents SR from restarting.

SiCKRAGETV/sickrage-issues#307 (comment)
2015-01-20 18:42:18 -02:00
Fernando 81e4cfcd29 Don't clean user files when GIT CLEAN
The "x" option ignores the .gitignore

-x
Don’t use the standard ignore rules read from .gitignore (per directory) and $GIT_DIR/info/exclude, but do still use the ignore rules given with -e options. This allows removing all untracked files, including build products. This can be used (possibly in conjunction with git reset) to create a pristine working directory to test a clean build.

http://git-scm.com/docs/git-clean
2014-12-30 10:30:41 -02:00
echel0n 2d14eef522 Git clean/reset performed before updates now if set from config to avoid update issues 2014-12-20 07:26:19 -08:00
echel0n 482f20b735 Malformed airdates now raises a warning instead of a error so we dont clutter logs.
Updates now remove untracked files plus perform a hard reset on branch if first update attempt fails then trys to update for a 2nd time.
2014-12-20 07:19:59 -08:00
echel0n ce7873584f Fixed sickragetv/sickrage-issues#162 - will always return list object even when branches do not exist 2014-12-18 14:04:15 -08:00
echel0n 0b403a419c Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url and moved code to Home class.
Fixed WebUI issues caused by calling redirect method.
Fixed update checking issues, added no cache header.
2014-12-12 12:18:33 -08:00
echel0n 979bf70f5c Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url and moved code to Home class.
Fixed WebUI issues caused by calling redirect method.
Fixed update checking issues.
2014-12-12 11:45:32 -08:00
echel0n 35af9acadb Fixed issues with network timezone downloads crashing on a empty return.
Changed version checker url.
2014-12-12 08:54:37 -08:00
echel0n c678b96732 Updated KAT urls.
Fixed unicode issues with KAT, iptorrents, and TPB providers.

Fix for Newznab providers.

GIT Updates now perform auto-resets of branch on errors then attempt update again.
2014-12-11 16:09:02 -08:00
echel0n e6389e47b1 Improved RSS feedparser/feedcache code for better performance and reliability.
Removed Shove module and depends.

Logging now automatically omits sensitive data such as usernames, passwords, and api keys and replaces them with asterisks in both log file and console.

Fixed versionChecker module to confirm it created a updater class before attempting to execute functions to avoid NoneType errors.
2014-12-02 11:09:53 -08:00
echel0n de23635e28 Fix for issue #933, resolves Commit object attribute issues 2014-11-22 10:52:15 -08:00
echel0n e0f78603cb Fix for issue #933, resolves github comparison errors during update checks 2014-11-22 10:46:33 -08:00
echel0n 4d41d881eb Fix for pyGitHub module not found issue.
Added in bugtracker class
2014-11-16 02:58:20 -08:00
echel0n 9abe5ea859 Updated libs to include new pyGitHub modules.
Updated versionChecker code to reflect new pyGitHub module.
2014-11-15 23:58:37 -08:00
echel0n 88e1f2e65a Added function to auto-update remote origin url, can be manually set in config as well. 2014-11-12 16:00:45 -08:00
echel0n 78b9bb2c8d Changed repo org url to reflect new org SiCKRAGETV 2014-11-12 14:02:25 -08:00
JackDandy 3b5fe4b0de Overhaul General Configuration. Tweak top navbar. Fix imdb and other images.
Change to rename General Configuration -> "Web Interface" tab as "Interface".
Add a "User Interface" section to the "Interface" tab.
Change consolidate "Date and Time" and "Theme" tab content to "User Interface" section.
Add field in Advanced setting for a custom remote name used to populate branch versions.
Change theme name "original" to "light".
Improve text wording on all UI options under General Configuration.
Improve reduce over use of capitals.
Improve streamline UI layout, mark-up and some CSS styling of all General Configuration tabs.
Fix default top navbar background white-out behaviour on browsers that don't support gradients.
Improve top navbar gradient use for greater cross browser compatibility (e.g. Safari).
Fix dark theme divider between Season numbers on display show page.
Fix main background and border colour of logs on log page.
Fix imdb and three other images rejected by IExplorer because they were corrupt. Turns out that they were .ico files renamed to either .gif or .png instead of being properly converted.
Fix "Subtitle Language" drop down font colour when entering text on the Subtitles Search settings.
Clean up text, correct quotations, use spaces for code lines, tabs for html.
Update changelog.
2014-10-27 00:29:12 +00:00
adam d452f199b6 Merge branch 'hotfix/0.1.0' into develop 2014-10-16 20:35:18 +08:00
adam 4e6afd7615 Update repo urls from echel0n to point to SickragePVR. Should fix autoupdating to the correct repo 2014-10-16 19:55:33 +08:00
Adam d5daa14dc0 Fixes crash on general settings page when git output is none 2014-10-12 17:28:58 +08:00
adam 24b7c85100 Fix git checkout when notifiers are enabled 2014-10-06 00:54:46 +08:00
Adam ef4782ccf2 Third fix for zip updating and checkouts... 2014-08-18 08:17:23 +08:00
Adam 3f4f2e37b8 Second attempt to fix zip updating 2014-08-17 17:04:19 +08:00
Adam 48b79937b8 Possible fix for updating when using zips from github 2014-08-17 12:14:21 +08:00
Adam 0abbdf3d44 Fixes listing branches for when using source code 2014-08-11 19:41:53 +08:00
echel0n 9714fc3299 Code fix for attribute error 2014-08-09 17:28:15 +00:00
echel0n 50b91f9d7c Code correction 2014-08-09 17:17:44 +00:00
echel0n 7f8c170f67 Fixed AttributeError: 'dict' object has no attribute 'name' error 2014-08-09 06:22:54 +00:00
echel0n 1bf47900df More fixes for source code updating 2014-08-07 23:30:56 -07:00
echel0n f9ababe7cb Fix for updating issues 2014-08-07 23:21:30 -07:00
echel0n 922df4c160 Fix for NoneType errors 2014-08-07 22:58:41 -07:00
echel0n de8adb24d0 Fix for AttributeError in SourceUpdateManager 2014-08-07 22:44:06 -07:00
echel0n 29b3f2ab3b Fix for issues relating to subprocess imports and BRANCH checks 2014-07-30 18:17:12 -07:00
echel0n b4efb2d641 Fixed a small typo in versionChecker 2014-07-30 17:25:55 -07:00
echel0n 39fe8e8477 More fixes for checkout/updating issues. 2014-07-30 17:19:44 -07:00
echel0n ad39ac8772 Fix for version branch issues. 2014-07-30 16:40:42 -07:00
echel0n 281c5c333e Fixes for updating/checkout of source installed versions. 2014-07-30 15:57:08 -07:00
echel0n 650862fafc Fix for updating/checkouts when using source files instead. 2014-07-30 15:34:05 -07:00
echel0n 4ff4ebb0d6 Fix for brnch checkouts from webui. 2014-07-30 15:08:16 -07:00
echel0n 331be097cb Fixed a typo 2014-07-28 21:45:11 -07:00
echel0n 326d0204c0 Fixes issues with inital setting of branch version on startup first run 2014-07-28 21:44:37 -07:00
echel0n bd2748d33a Fixed code to set branch version at startup 2014-07-28 21:44:03 -07:00
echel0n 534104b8b0 Changed how SickRage determins its branch version which will resolve issues with app switching back to master branch by mistke on startup. 2014-07-28 21:43:28 -07:00
echel0n 7cb2296b6a Fixed issue with reverts to master on startup due to bug in version checker.
Fixed issues with indexerApi caching code, seemed TVRage was really the only one experiancing the problems but has been corrected for theTVDB just in case.
2014-07-28 09:03:07 -07:00
echel0n a8bcbc66c3 Fix for incorrectly displayed remote branch list when in advanced settings. 2014-07-27 13:00:53 -07:00
echel0n 7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n 14c354b551 Added proxy support to Indexer APIs.
Provider getURL and downloadResult functions now removed and replaced with ones from helpers.py to help slim the code down plus allow more better control over request sessions.

Removed TVTumbler code.

Fixed HDBits provider.

Fixed config settings that were ment to be booleans but instead where set as str or int, should help resolve random html errors.

XEM Refresh check re-coded.

NameParser code for creating show object has been changed to only attempt at the very end once its found the bestMatch result, helps on resources and performance.
2014-07-27 03:59:21 -07:00
echel0n bea3a13c2b Switched update url for git repo to use non-ssl url. 2014-07-08 20:39:31 -07:00
echel0n 74f73bcc34 New event queue system in place, currently handles shutdown and restart calls.
Fixed ctrl-c issues with new event queue system.
Added a sleep timer to the NameParser class to help lower cpu usage spikes.
2014-07-08 15:26:26 -07:00
echel0n c34442f5c1 Notify on update for notifiers via email has been disabled for now till we re-write the email notification code better, fixed a few small errors here and there. 2014-07-03 14:04:26 -07:00