From fef4999813499e4d43279a694429085349e7f4a1 Mon Sep 17 00:00:00 2001 From: Jeremiah Cooper Date: Tue, 27 Nov 2018 16:52:28 -0500 Subject: [PATCH] WIP. Working on moving towards using geonode search page. --- deps/django-osgeo-importer | 2 +- mapstory/settings/base.py | 8 +++++--- mapstory/static/bower.json | 9 +++------ mapstory/templates/_site_scripts.html | 3 +-- mapstory/templates/site_base.html | 1 - mapstory/urls.py | 2 +- 6 files changed, 11 insertions(+), 14 deletions(-) diff --git a/deps/django-osgeo-importer b/deps/django-osgeo-importer index 4e1fe4c08..c09a58299 160000 --- a/deps/django-osgeo-importer +++ b/deps/django-osgeo-importer @@ -1 +1 @@ -Subproject commit 4e1fe4c08e26aab4883e61bc9de5a3ffb6108faa +Subproject commit c09a5829915bea039a0d7d0c5350f0b4bf2740c2 diff --git a/mapstory/settings/base.py b/mapstory/settings/base.py index e6bfffb59..a751faadb 100755 --- a/mapstory/settings/base.py +++ b/mapstory/settings/base.py @@ -25,8 +25,9 @@ import os import sys -import geonode import pyproj + +import geonode from geonode.settings import * @@ -88,7 +89,8 @@ def is_valid(v): ENABLE_FORM_LOGIN = str_to_bool(os.environ.get('ENABLE_FORM_LOGIN', 'True')) USER_SNAP = str_to_bool(os.environ.get('USER_SNAP', 'False')) GOOGLE_ANALYTICS = os.environ.get('GOOGLE_ANALYTICS', '') -SESSION_EXPIRE_AT_BROWSER_CLOSE = os.environ.get('SESSION_EXPIRE_AT_BROWSER_CLOSE', 'False') +SESSION_EXPIRE_AT_BROWSER_CLOSE = os.environ.get( + 'SESSION_EXPIRE_AT_BROWSER_CLOSE', 'False') # # Application Settings @@ -606,7 +608,7 @@ def is_valid(v): # # Haystack Settings # -HAYSTACK_SEARCH = True +HAYSTACK_SEARCH = False # Update facet counts from Haystack HAYSTACK_FACET_COUNTS = False HAYSTACK_URL = "%s://%s:%d" % (os.environ['PRIVATE_PROTOCOL'], diff --git a/mapstory/static/bower.json b/mapstory/static/bower.json index b8b253f5b..459a13f1f 100755 --- a/mapstory/static/bower.json +++ b/mapstory/static/bower.json @@ -2,23 +2,20 @@ "name": "mapstory", "version": "0.0.1", "devDependencies": { - "angular-mocks": "1.6.5" + "angular-mocks": "1.4.0" }, "dependencies": { "jquery": ">=1.8.0", - "angular": "1.6.5", + "angular": "1.4.0", "bootstrap": "3.1.1", "story-tools": "../../deps/story-tools", "fontawesome": "https://github.com/FortAwesome/Font-Awesome.git#~4.6.0", "lato-font": "1.1.0", "clipboard": "^1.5.12", - "angular-material": "1.1.4", - "angular-aria": "1.6.5", - "angular-animate": "1.6.5", "underscore": "1.8.3", "OpenLayers" : "https://github.com/openlayers/openlayers/releases/download/v4.6.4/v4.6.4-dist.zip" }, "resolutions": { - "angular": "1.6.5" + "angular": "1.4.0" } } diff --git a/mapstory/templates/_site_scripts.html b/mapstory/templates/_site_scripts.html index a3538d12d..95b6da5a6 100644 --- a/mapstory/templates/_site_scripts.html +++ b/mapstory/templates/_site_scripts.html @@ -23,8 +23,7 @@ USER = "{{ user }}"; - - +