forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #372 from lucernae/update-upstream
Cumulative updates from upstreams
- Loading branch information
Showing
1,502 changed files
with
88,646 additions
and
8,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+55.3 KB
docs/img/monitoring/admin-monitoring-service-local-system-geonode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-11.4 KB
(38%)
docs/organizational/contribute/img/create_branch_example.png
Oops, something went wrong.
Binary file modified
BIN
-10 KB
(39%)
docs/organizational/contribute/img/create_branch_example_2.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-11.8 KB
(46%)
docs/organizational/contribute/img/make-sure-you-are-on-right-branch.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-30.4 KB
(33%)
docs/organizational/contribute/img/transifex_add_translation.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-19.5 KB
(39%)
docs/organizational/contribute/img/transifex_join_project.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-3.52 KB
(49%)
docs/organizational/contribute/img/transifex_request_language.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-11.8 KB
(46%)
docs/organizational/img/make-sure-you-are-on-right-branch.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -533,6 +533,39 @@ Default: ``'[email protected]'`` | |
|
||
This email address is added to the bottom of the password reset page in case users have trouble unlocking-locking their account. | ||
|
||
|
||
.. _pinax-notifications: | ||
|
||
User notifications settings | ||
=========================== | ||
|
||
.. note:: `PINAX_*` settings are relevant if you have `pinax.notifications` app added to `INSTALLED_APPS`. | ||
|
||
.. note:: user configuration is described :ref:`notifications`. | ||
|
||
.. note:: Full list of Pinax-notifications app settings is `available in Pinax notifications docs <https://pinax-notifications.readthedocs.io/en/latest/settings/>`_. | ||
|
||
PINAX_NOTIFICATIONS_QUEUE_ALL | ||
----------------------------- | ||
|
||
Default: `False` | ||
|
||
A boolean that specifies if user notifications should be queued and send outside main web application process. If set to `True`, additional sending script, `python manage.py emit_notices` should be called periodically. | ||
|
||
PINAX_NOTIFICATIONS_BACKENDS | ||
---------------------------- | ||
|
||
Default: | ||
|
||
.. code:: | ||
|
||
[ | ||
("email", "pinax.notifications.backends.email.EmailBackend"), | ||
] | ||
|
||
List of backends (channels) that delivers messages to receipients. | ||
|
||
|
||
Download settings | ||
================= | ||
|
||
|
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Binary file modified
BIN
-21.7 KB
(40%)
docs/tutorials/admin/admin_panel/img/admin-base-region-list.png
Oops, something went wrong.
Binary file modified
BIN
-34.4 KB
(41%)
docs/tutorials/admin/admin_panel/img/admin-base-restriction-list.png
Oops, something went wrong.
Binary file modified
BIN
-23.2 KB
(42%)
docs/tutorials/admin/admin_panel/img/admin-base-spatialrepresentation-list.png
Oops, something went wrong.
Binary file modified
BIN
-34.2 KB
(43%)
docs/tutorials/admin/admin_panel/img/admin-base-topiccategories-list.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-54.1 KB
(21%)
docs/tutorials/admin/admin_panel/img/admin-profiles-contactroles.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
.. _async_signals: | ||
|
||
============================= | ||
Asynchronous signals handling | ||
============================= | ||
|
||
Asynchronous signals handling is a part of GeoNode scalabilty architecture. It allows to offload post-processing tasks from main web application process, also to integrate closely with GeoServer. | ||
|
||
In this setup GeoNode produces events (small messages with serialized configuration) that are queued by external broker (AMQP broker, prefferably RabbitMQ), and later, are consumed (processed) by separate worker process. Additionally, GeoServer can be attached and used as producer as well, so two-way data synchronization between GeoNode and GeoServer can be established. | ||
|
||
.. note:: Default configuration (in-memory queue) doesn't require AMQP broker, and will process signals synchronously. Also, default configuration won't allow two-way synchronization with GeoServer, even if GS is configured to work with external broker. | ||
|
||
Async signals handling components | ||
================================= | ||
|
||
GeoNode | ||
------- | ||
|
||
GeoNode can be switched to asynchronous signals processing by specifying `ASYNC_SIGNALS_BROKER_URL` setting in settings. See :ref:`GeoNode settings <settings_entries>`. This setting is consumed by `kombu library <http://kombu.readthedocs.io/>`_. You can set type of transport with connection details (credentials, host), for example: ``amqp://localhost/`` will connect to AMQP broker (RabbitMQ) running locally, without any authentication. | ||
|
||
.. note:: while this is easiest to use asynchronous signals handling, it is not recommended setup due to security issues. | ||
|
||
|
||
GeoServer (optional) | ||
-------------------- | ||
|
||
See `GeoServer documentation for Notification module <http://docs.geoserver.org/stable/en/user/community/notification/index.html>`_. | ||
|
||
RabbitMQ (AMQP broker) | ||
---------------------- | ||
|
||
Asynchronous signals infrastructure can be used with different protocols (supported by `Kombu` library), but AMQP with RabbitMQ broker is recommended. | ||
|
||
Install and run RabbitMQ instance: | ||
|
||
.. code:: | ||
|
||
sudo apt-get install rabbitmq-server | ||
sudo service rabbitmq-server start | ||
|
||
|
||
Additional information about RabbitMQ configuration is available in `Documentation <https://www.rabbitmq.com/configure.html>`_. | ||
|
||
|
||
Consumer process | ||
---------------- | ||
|
||
To handle events produced by GeoNode and GeoServer, a receiver, consumer process is needed. GeoNode provides `runmessaging` django command. This will start long-running process, which will handle incoming messages. For production deployments, it should be configured with process managers like supervisord or runit. | ||
|
||
|
||
Following is sample configuration for supervisord: | ||
|
||
.. note: this is just a sample configuration, you should adjust paths accordingly to your deployment | ||
|
||
.. code:: | ||
|
||
[program:geonode-runmessaging] | ||
command=/bin/bash -c "(source /path/to/virtualenv/bin/activate && django-admin.py runmessaging --autoscale 2,1 --loglevel DEBUG)" | ||
directory = # /path/to/rundir | ||
environment=DJANGO_SETTINGS_MODULE="geonode.local_settings" | ||
user=geonode | ||
numproc=1 | ||
stdout_logfile=/path/to/log/output.log | ||
stderr_logfile=/path/to/log/output.log | ||
autostart = true | ||
autorestart = true | ||
startsecs = 10 | ||
stopwaitsecs = 600 | ||
priority = 998 | ||
|
||
|
||
This file is also available in `scripts/misc/runmessaging.supervisord.conf` file in GeoNode repository. | ||
|
||
To use it, you should have `supervisord` installed and configured: | ||
|
||
.. code:: | ||
|
||
sudo apt-get install supervisor | ||
sudo supervisor start | ||
vi /etc/supervisor/conf.d/runmessaging.supervisord.conf # adjust paths and variables. | ||
sudo supervisorctl reload | ||
|
||
|
||
Notes | ||
----- | ||
|
||
Technical details and motivation is described in `GNIP <https://github.com/GeoNode/geonode/issues/2889>`_. | ||
|
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-20.2 KB
(24%)
docs/tutorials/admin/customize_lookfeel/img/add_new_poll.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-157 KB
(32%)
docs/tutorials/admin/customize_lookfeel/img/bootswatch_geonode.png
Oops, something went wrong.
Binary file modified
BIN
-48.2 KB
(25%)
docs/tutorials/admin/customize_lookfeel/img/choice_admin.png
Oops, something went wrong.
Binary file modified
BIN
-82.1 KB
(25%)
docs/tutorials/admin/customize_lookfeel/img/content_wrap_fixed.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-81.5 KB
(25%)
docs/tutorials/admin/customize_lookfeel/img/css_overrides.png
Oops, something went wrong.
Binary file modified
BIN
-135 KB
(26%)
docs/tutorials/admin/customize_lookfeel/img/django_packages.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-77.1 KB
(28%)
docs/tutorials/admin/customize_lookfeel/img/github_project.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-178 KB
(21%)
docs/tutorials/admin/customize_lookfeel/img/inspect_element.png
Oops, something went wrong.
Binary file modified
BIN
-88.3 KB
(24%)
docs/tutorials/admin/customize_lookfeel/img/logo_override.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-57.1 KB
(24%)
docs/tutorials/admin/customize_lookfeel/img/poll_geonode_hidden.png
Oops, something went wrong.
Binary file modified
BIN
-73.2 KB
(24%)
docs/tutorials/admin/customize_lookfeel/img/poll_geonode_highlight.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-58.2 KB
(25%)
docs/tutorials/admin/customize_lookfeel/img/polls_geonode.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-11.8 KB
(18%)
docs/tutorials/admin/customize_lookfeel/img/zinnia_admin.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-75.1 KB
(24%)
docs/tutorials/admin/customize_lookfeel/img/zinnia_create_post.png
Oops, something went wrong.
Binary file modified
BIN
-44.5 KB
(26%)
docs/tutorials/admin/customize_lookfeel/img/zinnia_default.png
Oops, something went wrong.
Binary file modified
BIN
-73.6 KB
(25%)
docs/tutorials/admin/customize_lookfeel/img/zinnia_geonode.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
-67.1 KB
(25%)
docs/tutorials/admin/customize_lookfeel/img/zinnia_post_list.png
Oops, something went wrong.
Binary file modified
BIN
-23.7 KB
(20%)
docs/tutorials/admin/customize_lookfeel/img/zinnia_tools.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.