diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fd41b3f..234e2571 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Change Log ========== +v1.2.2 (2020/09/25) +------------------- + +- Fixed bug impacting workflow hover info cards. +- Updated File server parser to make compatible with new file server. + v1.2.1 (2020/05/26) ------------------- diff --git a/web/project/templates/base_explorer.html b/web/project/templates/base_explorer.html index 6209df1e..70bfbaa3 100644 --- a/web/project/templates/base_explorer.html +++ b/web/project/templates/base_explorer.html @@ -34,7 +34,7 @@ - + diff --git a/web/project/util.py b/web/project/util.py index 602acea4..fc2f149d 100644 --- a/web/project/util.py +++ b/web/project/util.py @@ -117,11 +117,11 @@ def fetchForTreeFromHttp(self): """ page = requests.get(self.__path, headers=self.__headers, verify=False) tree = html.fromstring(page.content) - for xtag in tree.xpath('//li/a'): - file = xtag.text_content().strip() - if 'Parent Directory' not in file: + for xtag in tree.xpath('//table//tr/td[2]/a'): + name, file = xtag.text_content().strip(), xtag.attrib['href'] + if 'Parent Directory' not in name: dataFile = DirectoryTree() - dataFile.title = file + dataFile.title = name parent = self.__path.split("/") parentName = parent[len(parent) - 2] dataFile.key = self.__path + "/" + file.strip("/") diff --git a/web/setup.py b/web/setup.py index 70b2e5de..39a0576a 100644 --- a/web/setup.py +++ b/web/setup.py @@ -2,7 +2,7 @@ setup( name='qresp', - version='1.2.1', + version='1.2.2', url='http://qresp.org/', entry_points = { 'console_scripts': ['qresp=project.__main__:main'],