Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gn oauth2 int #3

Closed
wants to merge 21 commits into from
Closed

Gn oauth2 int #3

wants to merge 21 commits into from

Conversation

afabiani
Copy link
Member

@afabiani afabiani commented Nov 7, 2016

No description provided.

afabiani and others added 21 commits October 21, 2016 10:27
 - GeoNode A&A OAuth2 Integration

 - GeoNode A&A OAuth2 Integration

 - GeoNode A&A OAuth2 Integration
…this commit (aff43c0).

- limiting the version of celery to less then the 4.0 release, due to django-celery not having a release in over a year which would include the updates in master to support the new version of celery.  If you currently install Geonode it will install celery 4.0, but when attempting to use any django commands an ImportError occurs due to no module named timeutils.
Fix for GeoNode install of celery (django-celery version installed doesnt support celery 4.0)
* Add conditional to geosites so signals are connected only if it is in INSTALLED_APPS.

* Added test for geonode.utils.set_attributes().

* Split helpers.set_attributes() into 2 functions.

* Renamed set_attributes() to set_attributes_from_geoserver().

* Moved really_set_attributes(), to geonode.utils and renamed to set_attributes().

* Removed unnecessary variable 'Attribute' from utils.

* Added check for layer/field pairs not in attribute_stats.

* flake8 formatting fixes.
When using `pip install -r requirements.txt` I was finding that my Celery
worker was not booting properly.

```
...
File "/env/lib/python2.7/site-packages/django/core/management/base.py", line 534, in check
    self.stderr.write(msg, lambda x: x)
TypeError: function takes exactly 1 argument (2 given)
```

This is an incompatibility between Celery 3.1.17 and Django 1.8.
celery/celery#2536

Fix: upgrade to Celery 3.1.18, which supports Django 1.8.
http://docs.celeryproject.org/en/latest/history/changelog-3.1.html#version-3-1-18
…on_3.1.18

require celery version to be at least 3.1.18
…Node#2711)

-  The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS, TEMPLATE_CONTEXT_PROCESSORS, TEMPLATE_DEBUG. https://docs.djangoproject.com/en/1.8/topics/templates/#support-for-template-engines
- historic pep8 fixes
@afabiani afabiani closed this Jan 17, 2017
@afabiani afabiani deleted the GN_OAUTH2_INT branch November 28, 2017 14:03
afabiani pushed a commit that referenced this pull request May 15, 2019
[Backport to 2.8.x] [Fixes GeoNode#3947] GeoWebCache Tiled Layer Cache explicit invalidation (#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants