From 30720b9cbdc9482509d323348c11087abd340651 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 2 Mar 2015 19:31:11 +0800 Subject: [PATCH] Change general config's branches and pull request list generation for faster page loading --- CHANGES.md | 2 + .../interfaces/default/config_general.tmpl | 17 +-- gui/slick/js/config.js | 112 ++++++++++++++---- sickbeard/gh_api.py | 7 +- sickbeard/webserve.py | 21 ++++ 5 files changed, 121 insertions(+), 38 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index b578cd8d..7922003a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -24,12 +24,14 @@ * Change browser, bs4 parser and classes code to PEP8 standards * Change common and config code to PEP8 standards * Change database code to PEP8 standards +* Change general config's branches and pull request list generation for faster page loading [develop changelog] * Fix traceback error when using the menu item Manage/Update Kodi * Change BET network logo filename to lower case * Change redirect from home to showlistView on changing Layout on showlistView + ### 0.7.0 (2015-02-23 11:02:00 UTC) * Fix slow database operations (port from midgetspy/sickbeard) diff --git a/gui/slick/interfaces/default/config_general.tmpl b/gui/slick/interfaces/default/config_general.tmpl index 3e12a774..79d2356d 100644 --- a/gui/slick/interfaces/default/config_general.tmpl +++ b/gui/slick/interfaces/default/config_general.tmpl @@ -487,33 +487,28 @@ Branch version: - +

select branch to use (restart required)

- #set pulls = sickbeard.versionCheckScheduler.action.list_remote_pulls() - #if len(pulls) > 0 and $sickbeard.BRANCH != 'master': +#if $sickbeard.BRANCH != 'master':
- #end if +#end if