From 12c9737f6be79c141cd9140c7ff89664b1fca6de Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Mon, 13 Feb 2017 12:12:15 -0800
Subject: [PATCH] Improved observation filtering

---
 .gitignore                                    |   0
 .settings/org.eclipse.core.resources.prefs    |   0
 LICENSE.txt                                   |   0
 VIPSWeb/__init__.py                           |   0
 VIPSWeb/context_processors.py                 |   0
 VIPSWeb/local_settings_sample.py              |   0
 VIPSWeb/locale/bg/LC_MESSAGES/django.mo       | Bin
 VIPSWeb/locale/bg/LC_MESSAGES/django.po       |   0
 VIPSWeb/locale/bg/LC_MESSAGES/djangojs.mo     | Bin
 VIPSWeb/locale/bg/LC_MESSAGES/djangojs.po     |   0
 VIPSWeb/locale/bs/LC_MESSAGES/django.mo       | Bin
 VIPSWeb/locale/bs/LC_MESSAGES/django.po       |   0
 VIPSWeb/locale/bs/LC_MESSAGES/djangojs.mo     | Bin
 VIPSWeb/locale/bs/LC_MESSAGES/djangojs.po     |   0
 VIPSWeb/locale/de/LC_MESSAGES/django.mo       | Bin
 VIPSWeb/locale/de/LC_MESSAGES/django.po       |   0
 VIPSWeb/locale/de/LC_MESSAGES/djangojs.mo     | Bin
 VIPSWeb/locale/de/LC_MESSAGES/djangojs.po     |   0
 VIPSWeb/locale/fi/LC_MESSAGES/django.mo       | Bin
 VIPSWeb/locale/fi/LC_MESSAGES/django.po       |   0
 VIPSWeb/locale/fi/LC_MESSAGES/djangojs.mo     | Bin
 VIPSWeb/locale/fi/LC_MESSAGES/djangojs.po     |   0
 VIPSWeb/locale/nb/LC_MESSAGES/django.mo       | Bin
 VIPSWeb/locale/nb/LC_MESSAGES/django.po       |   0
 VIPSWeb/locale/nb/LC_MESSAGES/djangojs.mo     | Bin
 VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po     |   0
 VIPSWeb/locale/vi/LC_MESSAGES/django.mo       | Bin
 VIPSWeb/locale/vi/LC_MESSAGES/django.po       |   0
 VIPSWeb/locale/vi/LC_MESSAGES/djangojs.mo     | Bin
 VIPSWeb/locale/vi/LC_MESSAGES/djangojs.po     |   0
 VIPSWeb/locale/zh_CN/LC_MESSAGES/django.mo    | Bin
 VIPSWeb/locale/zh_CN/LC_MESSAGES/django.po    |   0
 VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.mo  | Bin
 VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.po  |   0
 VIPSWeb/settings.py                           |   0
 .../static/css/3rdparty/bootstrap-theme.css   |   0
 .../css/3rdparty/bootstrap-theme.min.css      |   0
 VIPSWeb/static/css/3rdparty/bootstrap.css     |   0
 VIPSWeb/static/css/3rdparty/bootstrap.min.css |   0
 .../static/css/3rdparty/chosen-bootstrap.css  |   0
 VIPSWeb/static/css/3rdparty/chosen-sprite.png | Bin
 .../static/css/3rdparty/chosen-sprite@2x.png  | Bin
 VIPSWeb/static/css/3rdparty/chosen.min.css    |   0
 .../static/css/3rdparty/font-awesome.min.css  |   0
 VIPSWeb/static/css/3rdparty/light-bottom.css  |   0
 VIPSWeb/static/css/3rdparty/ol.css            |   0
 .../static/css/3rdparty/weather-icons.min.css |   0
 .../static/css/fonts/fontawesome-webfont.ttf  | Bin
 .../static/css/fonts/fontawesome-webfont.woff | Bin
 .../css/fonts/fontawesome-webfont.woff2       | Bin
 .../static/css/icons/add_to_favourites.png    | Bin
 VIPSWeb/static/css/icons/checkbox_checked.png | Bin
 .../static/css/icons/checkbox_unchecked.png   | Bin
 .../static/css/icons/forecast_status_1.png    | Bin
 .../static/css/icons/forecast_status_2.png    | Bin
 .../static/css/icons/forecast_status_3.png    | Bin
 .../static/css/icons/forecast_status_4.png    | Bin
 VIPSWeb/static/css/icons/radio_checked.png    | Bin
 VIPSWeb/static/css/icons/radio_unchecked.png  | Bin
 .../css/icons/remove_from_favourites.png      | Bin
 .../css/icons/station_icon_status_0.png       | Bin
 .../css/icons/station_icon_status_1.png       | Bin
 .../css/icons/station_icon_status_2.png       | Bin
 .../css/icons/station_icon_status_3.png       | Bin
 .../css/icons/station_icon_status_4.png       | Bin
 VIPSWeb/static/css/signin.css                 |   0
 VIPSWeb/static/css/vipsweb.css                |   0
 VIPSWeb/static/favicon.ico                    | Bin
 .../static/images/languageSelectorIcon.png    | Bin
 .../images/languageSelectorIcon_large.png     | Bin
 VIPSWeb/static/images/logo_NLR.gif            | Bin
 VIPSWeb/static/images/logo_nibio.svg          |   0
 VIPSWeb/static/images/logo_vips.png           | Bin
 VIPSWeb/static/images/logo_vips.svg           |   0
 VIPSWeb/static/images/logo_vips_new.png       | Bin
 VIPSWeb/static/images/logo_vips_newest.png    | Bin
 .../images/placeholders/placeholder_map.png   | Bin
 VIPSWeb/static/js/3rdparty/bootstrap.js       |   0
 VIPSWeb/static/js/3rdparty/bootstrap.min.js   |   0
 .../static/js/3rdparty/chosen.jquery.min.js   |   0
 .../static/js/3rdparty/cookieconsent.min.js   |   0
 VIPSWeb/static/js/3rdparty/highcharts.js      |   0
 VIPSWeb/static/js/3rdparty/html5shiv.js       |   0
 .../static/js/3rdparty/jquery-1.11.1.min.js   |   0
 .../static/js/3rdparty/modernizr_custom.js    |   0
 .../3rdparty/moment-timezone-with-data.min.js |   0
 .../static/js/3rdparty/moment-timezone.min.js |   0
 VIPSWeb/static/js/3rdparty/moment.min.js      |   0
 VIPSWeb/static/js/3rdparty/ol-debug.js        |   0
 VIPSWeb/static/js/3rdparty/ol.js              |   0
 VIPSWeb/static/js/3rdparty/respond.min.js     |   0
 VIPSWeb/static/js/forecastmap.js              |   0
 VIPSWeb/static/js/frontpage.js                |   0
 .../js/js_apps/oatFloweringModelForm.js       |   0
 VIPSWeb/static/js/util.js                     |  23 +++++
 VIPSWeb/static/js/validateForm.js             |   0
 .../static/js/weatherStationSelectorMap.js    |   0
 VIPSWeb/static/test/mockKML.kml               |   0
 .../static/test/oatFloweringModelForm.html    |   0
 VIPSWeb/templates/404.html                    |   0
 VIPSWeb/templates/503.html                    |   0
 VIPSWeb/templates/base.html                   |   0
 VIPSWeb/templates/base_with_date_picker.html  |   0
 VIPSWeb/templates/index.html                  |   0
 VIPSWeb/templates/settings.js                 |   0
 VIPSWeb/templatetags/.gitignore               |   0
 VIPSWeb/templatetags/__init__.py              |   0
 VIPSWeb/templatetags/template_helper.py       |   0
 VIPSWeb/urls.py                               |   0
 VIPSWeb/views.py                              |   0
 VIPSWeb/wsgi.py                               |   0
 applefruitmoth/__init__.py                    |   0
 applefruitmoth/admin.py                       |   0
 .../locale/de/LC_MESSAGES/django.mo           | Bin
 .../locale/de/LC_MESSAGES/django.po           |   0
 .../locale/nb/LC_MESSAGES/django.mo           | Bin
 .../locale/nb/LC_MESSAGES/django.po           |   0
 .../locale/zh_CN/LC_MESSAGES/django.mo        | Bin
 .../locale/zh_CN/LC_MESSAGES/django.po        |   0
 .../locale/zh_CN/LC_MESSAGES/zh_CN.mo         | Bin
 .../locale/zh_CN/LC_MESSAGES/zh_CN.po         |   0
 applefruitmoth/migrations/__init__.py         |   0
 applefruitmoth/models.py                      |   0
 .../static/applefruitmoth/js/map.js           |   0
 .../templates/applefruitmoth/index.html       |   0
 applefruitmoth/tests.py                       |   0
 applefruitmoth/urls.py                        |   0
 applefruitmoth/views.py                       |   0
 calculators/__init__.py                       |   0
 calculators/admin.py                          |   0
 calculators/locale/de/LC_MESSAGES/django.mo   | Bin
 calculators/locale/de/LC_MESSAGES/django.po   |   0
 calculators/locale/nb/LC_MESSAGES/django.mo   | Bin
 calculators/locale/nb/LC_MESSAGES/django.po   |   0
 .../locale/zh_CN/LC_MESSAGES/django.mo        | Bin
 .../locale/zh_CN/LC_MESSAGES/django.po        |   0
 calculators/models.py                         |   0
 .../calculators/formdefinitions/EILForm.json  |   0
 calculators/static/calculators/js/eil.js      |   0
 calculators/templates/calculators/eil.html    |   0
 calculators/templates/calculators/index.html  |   0
 calculators/tests.py                          |   0
 calculators/urls.py                           |   0
 calculators/views.py                          |   0
 cerealblotchmodels/__init__.py                |   0
 cerealblotchmodels/admin.py                   |   0
 .../locale/de/LC_MESSAGES/django.mo           | Bin
 .../locale/de/LC_MESSAGES/django.po           |   0
 .../locale/nb/LC_MESSAGES/django.mo           | Bin
 .../locale/nb/LC_MESSAGES/django.po           |   0
 .../locale/zh_CN/LC_MESSAGES/django.mo        | Bin
 .../locale/zh_CN/LC_MESSAGES/django.po        |   0
 cerealblotchmodels/models.py                  |   0
 .../formdefinitions/barleyNetBlotchForm.json  |   0
 .../barleynetblotchform.html                  |   0
 .../templates/cerealblotchmodels/index.html   |   0
 cerealblotchmodels/tests.py                   |   0
 cerealblotchmodels/urls.py                    |   0
 cerealblotchmodels/views.py                   |   0
 common/__init__.py                            |   0
 common/middleware/__init__.py                 |   0
 common/middleware/whodid.py                   |   0
 common/util.py                                |   0
 forecasts/__init__.py                         |   0
 forecasts/admin.py                            |   0
 forecasts/locale/bg/LC_MESSAGES/django.mo     | Bin
 forecasts/locale/bg/LC_MESSAGES/django.po     |   0
 forecasts/locale/bs/LC_MESSAGES/django.mo     | Bin
 forecasts/locale/bs/LC_MESSAGES/django.po     |   0
 forecasts/locale/de/LC_MESSAGES/django.mo     | Bin
 forecasts/locale/de/LC_MESSAGES/django.po     |   0
 forecasts/locale/nb/LC_MESSAGES/django.mo     | Bin
 forecasts/locale/nb/LC_MESSAGES/django.po     |   0
 forecasts/locale/zh_CN/LC_MESSAGES/django.mo  | Bin
 forecasts/locale/zh_CN/LC_MESSAGES/django.po  |   0
 forecasts/models.py                           |   0
 forecasts/static/forecasts/js/forecasts.js    |   0
 .../forecasts/bogus_translation_template.html |   0
 forecasts/templates/forecasts/detail.html     |   0
 .../templates/forecasts/detail_error.html     |   0
 forecasts/templates/forecasts/index.html      |   0
 forecasts/templates/models/detail.html        |   0
 forecasts/templates/models/detail_test.html   |   0
 forecasts/templates/models/index.html         |   0
 forecasts/templates/models/modelLocalNames.js |   0
 forecasts/templatetags/__init__.py            |   0
 forecasts/templatetags/forecast_extras.py     |   0
 forecasts/tests.py                            |   0
 forecasts/urls.py                             |   0
 forecasts/views.py                            |   0
 fusarium/__init__.py                          |   0
 fusarium/admin.py                             |   0
 fusarium/locale/de/LC_MESSAGES/django.mo      | Bin
 fusarium/locale/de/LC_MESSAGES/django.po      |   0
 fusarium/locale/nb/LC_MESSAGES/django.mo      | Bin
 fusarium/locale/nb/LC_MESSAGES/django.po      |   0
 fusarium/locale/zh_CN/LC_MESSAGES/django.mo   | Bin
 fusarium/locale/zh_CN/LC_MESSAGES/django.po   |   0
 fusarium/migrations/__init__.py               |   0
 fusarium/models.py                            |   0
 .../fusarium/js/oatFloweringModelForm.js      |   0
 .../templates/fusarium/oat_flowering.html     |   0
 fusarium/tests.py                             |   0
 fusarium/urls.py                              |   0
 fusarium/views.py                             |   0
 information/__init__.py                       |   0
 information/admin.py                          |   0
 information/locale/bg/LC_MESSAGES/django.mo   | Bin
 information/locale/bg/LC_MESSAGES/django.po   |   0
 information/locale/bs/LC_MESSAGES/django.mo   | Bin
 information/locale/bs/LC_MESSAGES/django.po   |   0
 information/locale/de/LC_MESSAGES/django.mo   | Bin
 information/locale/de/LC_MESSAGES/django.po   |   0
 information/locale/nb/LC_MESSAGES/django.mo   | Bin
 information/locale/nb/LC_MESSAGES/django.po   |   0
 .../locale/zh_CN/LC_MESSAGES/django.mo        | Bin
 .../locale/zh_CN/LC_MESSAGES/django.po        |   0
 information/migrations/0001_initial.py        |   0
 .../migrations/0002_information_ordering.py   |   0
 information/migrations/__init__.py            |   0
 information/models.py                         |   0
 information/templates/information/detail.html |   0
 information/templates/information/index.html  |   0
 information/tests.py                          |   0
 information/urls.py                           |   0
 information/views.py                          |   0
 manage.py                                     |   0
 observations/__init__.py                      |   0
 observations/admin.py                         |   0
 observations/locale/de/LC_MESSAGES/django.mo  | Bin
 observations/locale/de/LC_MESSAGES/django.po  |   0
 observations/locale/nb/LC_MESSAGES/django.mo  | Bin
 observations/locale/nb/LC_MESSAGES/django.po  |   0
 .../locale/zh_CN/LC_MESSAGES/django.mo        | Bin
 .../locale/zh_CN/LC_MESSAGES/django.po        |   0
 observations/migrations/__init__.py           |   0
 observations/models.py                        |   0
 .../static/observations/images/bug.png        | Bin
 .../static/observations/images/bug_medium.png | Bin
 .../images/observation_marker.png             | Bin
 .../observations/js/observationViewMap.js     |   0
 .../templates/observations/detail.html        |   0
 .../templates/observations/index.html         |  92 +++++++++++++++---
 observations/tests.py                         |   0
 observations/urls.py                          |   0
 observations/views.py                         |   4 +-
 organisms/__init__.py                         |   0
 organisms/admin.py                            |   0
 organisms/locale/bs/LC_MESSAGES/django.mo     | Bin
 organisms/locale/bs/LC_MESSAGES/django.po     |   0
 organisms/locale/de/LC_MESSAGES/django.mo     | Bin
 organisms/locale/de/LC_MESSAGES/django.po     |   0
 organisms/locale/nb/LC_MESSAGES/custom.mo     | Bin
 organisms/locale/nb/LC_MESSAGES/custom.po     |   0
 organisms/locale/nb/LC_MESSAGES/django.mo     | Bin
 organisms/locale/nb/LC_MESSAGES/django.po     |   0
 organisms/locale/zh_CN/LC_MESSAGES/django.mo  | Bin
 organisms/locale/zh_CN/LC_MESSAGES/django.po  |   0
 organisms/models.py                           |   0
 organisms/static/organisms/organismsUtil.js   |   0
 organisms/templates/organisms/index.html      |   0
 organisms/tests.py                            |   0
 organisms/urls.py                             |   0
 organisms/views.py                            |   0
 requirements.txt                              |   0
 roughage/__init__.py                          |   0
 roughage/admin.py                             |   0
 roughage/locale/de/LC_MESSAGES/django.mo      | Bin
 roughage/locale/de/LC_MESSAGES/django.po      |   0
 roughage/locale/de/LC_MESSAGES/djangojs.mo    | Bin
 roughage/locale/de/LC_MESSAGES/djangojs.po    |   0
 roughage/locale/nb/LC_MESSAGES/django.mo      | Bin
 roughage/locale/nb/LC_MESSAGES/django.po      |   0
 roughage/locale/nb/LC_MESSAGES/djangojs.mo    | Bin
 roughage/locale/nb/LC_MESSAGES/djangojs.po    |   0
 roughage/locale/zh_CN/LC_MESSAGES/django.mo   | Bin
 roughage/locale/zh_CN/LC_MESSAGES/django.po   |   0
 roughage/locale/zh_CN/LC_MESSAGES/djangojs.mo | Bin
 roughage/locale/zh_CN/LC_MESSAGES/djangojs.po |   0
 roughage/migrations/__init__.py               |   0
 roughage/models.py                            |   0
 .../roughage/formdefinitions/grassDrying.json |   0
 .../formdefinitions/roughageNutrition.json    |   0
 roughage/static/roughage/js/nutrition.js      |   0
 roughage/templates/roughage/nutrition.html    |   0
 roughage/tests.py                             |   0
 roughage/urls.py                              |   0
 roughage/views.py                             |   0
 security/__init__.py                          |   0
 security/admin.py                             |   0
 security/middleware/__init__.py               |   0
 security/middleware/check_login_middleware.py |   0
 security/migrations/__init__.py               |   0
 security/models.py                            |   0
 .../static/security/js/crossdomainstorage.js  |   0
 security/static/security/js/loginHandler.js   |   0
 security/templates/security/login_form.html   |   0
 security/tests.py                             |   0
 security/urls.py                              |   0
 security/views.py                             |   0
 vips_messages/__init__.py                     |   0
 vips_messages/admin.py                        |   0
 vips_messages/apps.py                         |   0
 vips_messages/forms.py                        |   0
 vips_messages/locale/bg/LC_MESSAGES/django.mo | Bin
 vips_messages/locale/bg/LC_MESSAGES/django.po |   0
 vips_messages/locale/bs/LC_MESSAGES/django.mo | Bin
 vips_messages/locale/bs/LC_MESSAGES/django.po |   0
 vips_messages/locale/de/LC_MESSAGES/django.mo | Bin
 vips_messages/locale/de/LC_MESSAGES/django.po |   0
 vips_messages/locale/nb/LC_MESSAGES/django.mo | Bin
 vips_messages/locale/nb/LC_MESSAGES/django.po |   0
 vips_messages/locale/vi/LC_MESSAGES/django.mo | Bin
 vips_messages/locale/vi/LC_MESSAGES/django.po |   0
 .../locale/zh_CN/LC_MESSAGES/django.mo        | Bin
 .../locale/zh_CN/LC_MESSAGES/django.po        |   0
 vips_messages/migrations/0001_initial.py      |   0
 .../migrations/0002_auto_20160303_1002.py     |   0
 .../migrations/0003_auto_20160331_1121.py     |   0
 .../migrations/0004_auto_20160712_1001.py     |   0
 vips_messages/migrations/__init__.py          |   0
 vips_messages/models.py                       |   0
 vips_messages/templates/messages/detail.html  |   0
 vips_messages/templates/messages/index.html   |   2 +-
 vips_messages/tests.py                        |   0
 vips_messages/urls.py                         |   0
 vips_messages/views.py                        |   0
 327 files changed, 103 insertions(+), 18 deletions(-)
 mode change 100644 => 100755 .gitignore
 mode change 100644 => 100755 .settings/org.eclipse.core.resources.prefs
 mode change 100644 => 100755 LICENSE.txt
 mode change 100644 => 100755 VIPSWeb/__init__.py
 mode change 100644 => 100755 VIPSWeb/context_processors.py
 mode change 100644 => 100755 VIPSWeb/local_settings_sample.py
 mode change 100644 => 100755 VIPSWeb/locale/bg/LC_MESSAGES/django.mo
 mode change 100644 => 100755 VIPSWeb/locale/bg/LC_MESSAGES/django.po
 mode change 100644 => 100755 VIPSWeb/locale/bg/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 VIPSWeb/locale/bg/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 VIPSWeb/locale/bs/LC_MESSAGES/django.mo
 mode change 100644 => 100755 VIPSWeb/locale/bs/LC_MESSAGES/django.po
 mode change 100644 => 100755 VIPSWeb/locale/bs/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 VIPSWeb/locale/bs/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 VIPSWeb/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 VIPSWeb/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 VIPSWeb/locale/de/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 VIPSWeb/locale/de/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 VIPSWeb/locale/fi/LC_MESSAGES/django.mo
 mode change 100644 => 100755 VIPSWeb/locale/fi/LC_MESSAGES/django.po
 mode change 100644 => 100755 VIPSWeb/locale/fi/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 VIPSWeb/locale/fi/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 VIPSWeb/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 VIPSWeb/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 VIPSWeb/locale/nb/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 VIPSWeb/locale/vi/LC_MESSAGES/django.mo
 mode change 100644 => 100755 VIPSWeb/locale/vi/LC_MESSAGES/django.po
 mode change 100644 => 100755 VIPSWeb/locale/vi/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 VIPSWeb/locale/vi/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 VIPSWeb/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 VIPSWeb/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 VIPSWeb/settings.py
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/bootstrap-theme.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/bootstrap-theme.min.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/bootstrap.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/bootstrap.min.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/chosen-bootstrap.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/chosen-sprite.png
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/chosen-sprite@2x.png
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/chosen.min.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/font-awesome.min.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/light-bottom.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/ol.css
 mode change 100644 => 100755 VIPSWeb/static/css/3rdparty/weather-icons.min.css
 mode change 100644 => 100755 VIPSWeb/static/css/fonts/fontawesome-webfont.ttf
 mode change 100644 => 100755 VIPSWeb/static/css/fonts/fontawesome-webfont.woff
 mode change 100644 => 100755 VIPSWeb/static/css/fonts/fontawesome-webfont.woff2
 mode change 100644 => 100755 VIPSWeb/static/css/icons/add_to_favourites.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/checkbox_checked.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/checkbox_unchecked.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/forecast_status_1.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/forecast_status_2.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/forecast_status_3.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/forecast_status_4.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/radio_checked.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/radio_unchecked.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/remove_from_favourites.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/station_icon_status_0.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/station_icon_status_1.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/station_icon_status_2.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/station_icon_status_3.png
 mode change 100644 => 100755 VIPSWeb/static/css/icons/station_icon_status_4.png
 mode change 100644 => 100755 VIPSWeb/static/css/signin.css
 mode change 100644 => 100755 VIPSWeb/static/css/vipsweb.css
 mode change 100644 => 100755 VIPSWeb/static/favicon.ico
 mode change 100644 => 100755 VIPSWeb/static/images/languageSelectorIcon.png
 mode change 100644 => 100755 VIPSWeb/static/images/languageSelectorIcon_large.png
 mode change 100644 => 100755 VIPSWeb/static/images/logo_NLR.gif
 mode change 100644 => 100755 VIPSWeb/static/images/logo_nibio.svg
 mode change 100644 => 100755 VIPSWeb/static/images/logo_vips.png
 mode change 100644 => 100755 VIPSWeb/static/images/logo_vips.svg
 mode change 100644 => 100755 VIPSWeb/static/images/logo_vips_new.png
 mode change 100644 => 100755 VIPSWeb/static/images/logo_vips_newest.png
 mode change 100644 => 100755 VIPSWeb/static/images/placeholders/placeholder_map.png
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/bootstrap.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/bootstrap.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/chosen.jquery.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/cookieconsent.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/highcharts.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/html5shiv.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/jquery-1.11.1.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/modernizr_custom.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/moment-timezone-with-data.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/moment-timezone.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/moment.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/ol-debug.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/ol.js
 mode change 100644 => 100755 VIPSWeb/static/js/3rdparty/respond.min.js
 mode change 100644 => 100755 VIPSWeb/static/js/forecastmap.js
 mode change 100644 => 100755 VIPSWeb/static/js/frontpage.js
 mode change 100644 => 100755 VIPSWeb/static/js/js_apps/oatFloweringModelForm.js
 mode change 100644 => 100755 VIPSWeb/static/js/util.js
 mode change 100644 => 100755 VIPSWeb/static/js/validateForm.js
 mode change 100644 => 100755 VIPSWeb/static/js/weatherStationSelectorMap.js
 mode change 100644 => 100755 VIPSWeb/static/test/mockKML.kml
 mode change 100644 => 100755 VIPSWeb/static/test/oatFloweringModelForm.html
 mode change 100644 => 100755 VIPSWeb/templates/404.html
 mode change 100644 => 100755 VIPSWeb/templates/503.html
 mode change 100644 => 100755 VIPSWeb/templates/base.html
 mode change 100644 => 100755 VIPSWeb/templates/base_with_date_picker.html
 mode change 100644 => 100755 VIPSWeb/templates/index.html
 mode change 100644 => 100755 VIPSWeb/templates/settings.js
 mode change 100644 => 100755 VIPSWeb/templatetags/.gitignore
 mode change 100644 => 100755 VIPSWeb/templatetags/__init__.py
 mode change 100644 => 100755 VIPSWeb/templatetags/template_helper.py
 mode change 100644 => 100755 VIPSWeb/urls.py
 mode change 100644 => 100755 VIPSWeb/views.py
 mode change 100644 => 100755 VIPSWeb/wsgi.py
 mode change 100644 => 100755 applefruitmoth/__init__.py
 mode change 100644 => 100755 applefruitmoth/admin.py
 mode change 100644 => 100755 applefruitmoth/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 applefruitmoth/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 applefruitmoth/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 applefruitmoth/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 applefruitmoth/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 applefruitmoth/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 applefruitmoth/locale/zh_CN/LC_MESSAGES/zh_CN.mo
 mode change 100644 => 100755 applefruitmoth/locale/zh_CN/LC_MESSAGES/zh_CN.po
 mode change 100644 => 100755 applefruitmoth/migrations/__init__.py
 mode change 100644 => 100755 applefruitmoth/models.py
 mode change 100644 => 100755 applefruitmoth/static/applefruitmoth/js/map.js
 mode change 100644 => 100755 applefruitmoth/templates/applefruitmoth/index.html
 mode change 100644 => 100755 applefruitmoth/tests.py
 mode change 100644 => 100755 applefruitmoth/urls.py
 mode change 100644 => 100755 applefruitmoth/views.py
 mode change 100644 => 100755 calculators/__init__.py
 mode change 100644 => 100755 calculators/admin.py
 mode change 100644 => 100755 calculators/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 calculators/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 calculators/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 calculators/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 calculators/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 calculators/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 calculators/models.py
 mode change 100644 => 100755 calculators/static/calculators/formdefinitions/EILForm.json
 mode change 100644 => 100755 calculators/static/calculators/js/eil.js
 mode change 100644 => 100755 calculators/templates/calculators/eil.html
 mode change 100644 => 100755 calculators/templates/calculators/index.html
 mode change 100644 => 100755 calculators/tests.py
 mode change 100644 => 100755 calculators/urls.py
 mode change 100644 => 100755 calculators/views.py
 mode change 100644 => 100755 cerealblotchmodels/__init__.py
 mode change 100644 => 100755 cerealblotchmodels/admin.py
 mode change 100644 => 100755 cerealblotchmodels/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 cerealblotchmodels/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 cerealblotchmodels/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 cerealblotchmodels/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 cerealblotchmodels/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 cerealblotchmodels/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 cerealblotchmodels/models.py
 mode change 100644 => 100755 cerealblotchmodels/static/cerealblotchmodels/formdefinitions/barleyNetBlotchForm.json
 mode change 100644 => 100755 cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
 mode change 100644 => 100755 cerealblotchmodels/templates/cerealblotchmodels/index.html
 mode change 100644 => 100755 cerealblotchmodels/tests.py
 mode change 100644 => 100755 cerealblotchmodels/urls.py
 mode change 100644 => 100755 cerealblotchmodels/views.py
 mode change 100644 => 100755 common/__init__.py
 mode change 100644 => 100755 common/middleware/__init__.py
 mode change 100644 => 100755 common/middleware/whodid.py
 mode change 100644 => 100755 common/util.py
 mode change 100644 => 100755 forecasts/__init__.py
 mode change 100644 => 100755 forecasts/admin.py
 mode change 100644 => 100755 forecasts/locale/bg/LC_MESSAGES/django.mo
 mode change 100644 => 100755 forecasts/locale/bg/LC_MESSAGES/django.po
 mode change 100644 => 100755 forecasts/locale/bs/LC_MESSAGES/django.mo
 mode change 100644 => 100755 forecasts/locale/bs/LC_MESSAGES/django.po
 mode change 100644 => 100755 forecasts/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 forecasts/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 forecasts/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 forecasts/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 forecasts/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 forecasts/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 forecasts/models.py
 mode change 100644 => 100755 forecasts/static/forecasts/js/forecasts.js
 mode change 100644 => 100755 forecasts/templates/forecasts/bogus_translation_template.html
 mode change 100644 => 100755 forecasts/templates/forecasts/detail.html
 mode change 100644 => 100755 forecasts/templates/forecasts/detail_error.html
 mode change 100644 => 100755 forecasts/templates/forecasts/index.html
 mode change 100644 => 100755 forecasts/templates/models/detail.html
 mode change 100644 => 100755 forecasts/templates/models/detail_test.html
 mode change 100644 => 100755 forecasts/templates/models/index.html
 mode change 100644 => 100755 forecasts/templates/models/modelLocalNames.js
 mode change 100644 => 100755 forecasts/templatetags/__init__.py
 mode change 100644 => 100755 forecasts/templatetags/forecast_extras.py
 mode change 100644 => 100755 forecasts/tests.py
 mode change 100644 => 100755 forecasts/urls.py
 mode change 100644 => 100755 forecasts/views.py
 mode change 100644 => 100755 fusarium/__init__.py
 mode change 100644 => 100755 fusarium/admin.py
 mode change 100644 => 100755 fusarium/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 fusarium/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 fusarium/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 fusarium/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 fusarium/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 fusarium/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 fusarium/migrations/__init__.py
 mode change 100644 => 100755 fusarium/models.py
 mode change 100644 => 100755 fusarium/static/fusarium/js/oatFloweringModelForm.js
 mode change 100644 => 100755 fusarium/templates/fusarium/oat_flowering.html
 mode change 100644 => 100755 fusarium/tests.py
 mode change 100644 => 100755 fusarium/urls.py
 mode change 100644 => 100755 fusarium/views.py
 mode change 100644 => 100755 information/__init__.py
 mode change 100644 => 100755 information/admin.py
 mode change 100644 => 100755 information/locale/bg/LC_MESSAGES/django.mo
 mode change 100644 => 100755 information/locale/bg/LC_MESSAGES/django.po
 mode change 100644 => 100755 information/locale/bs/LC_MESSAGES/django.mo
 mode change 100644 => 100755 information/locale/bs/LC_MESSAGES/django.po
 mode change 100644 => 100755 information/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 information/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 information/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 information/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 information/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 information/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 information/migrations/0001_initial.py
 mode change 100644 => 100755 information/migrations/0002_information_ordering.py
 mode change 100644 => 100755 information/migrations/__init__.py
 mode change 100644 => 100755 information/models.py
 mode change 100644 => 100755 information/templates/information/detail.html
 mode change 100644 => 100755 information/templates/information/index.html
 mode change 100644 => 100755 information/tests.py
 mode change 100644 => 100755 information/urls.py
 mode change 100644 => 100755 information/views.py
 mode change 100644 => 100755 manage.py
 mode change 100644 => 100755 observations/__init__.py
 mode change 100644 => 100755 observations/admin.py
 mode change 100644 => 100755 observations/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 observations/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 observations/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 observations/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 observations/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 observations/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 observations/migrations/__init__.py
 mode change 100644 => 100755 observations/models.py
 mode change 100644 => 100755 observations/static/observations/images/bug.png
 mode change 100644 => 100755 observations/static/observations/images/bug_medium.png
 mode change 100644 => 100755 observations/static/observations/images/observation_marker.png
 mode change 100644 => 100755 observations/static/observations/js/observationViewMap.js
 mode change 100644 => 100755 observations/templates/observations/detail.html
 mode change 100644 => 100755 observations/templates/observations/index.html
 mode change 100644 => 100755 observations/tests.py
 mode change 100644 => 100755 observations/urls.py
 mode change 100644 => 100755 observations/views.py
 mode change 100644 => 100755 organisms/__init__.py
 mode change 100644 => 100755 organisms/admin.py
 mode change 100644 => 100755 organisms/locale/bs/LC_MESSAGES/django.mo
 mode change 100644 => 100755 organisms/locale/bs/LC_MESSAGES/django.po
 mode change 100644 => 100755 organisms/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 organisms/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 organisms/locale/nb/LC_MESSAGES/custom.mo
 mode change 100644 => 100755 organisms/locale/nb/LC_MESSAGES/custom.po
 mode change 100644 => 100755 organisms/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 organisms/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 organisms/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 organisms/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 organisms/models.py
 mode change 100644 => 100755 organisms/static/organisms/organismsUtil.js
 mode change 100644 => 100755 organisms/templates/organisms/index.html
 mode change 100644 => 100755 organisms/tests.py
 mode change 100644 => 100755 organisms/urls.py
 mode change 100644 => 100755 organisms/views.py
 mode change 100644 => 100755 requirements.txt
 mode change 100644 => 100755 roughage/__init__.py
 mode change 100644 => 100755 roughage/admin.py
 mode change 100644 => 100755 roughage/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 roughage/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 roughage/locale/de/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 roughage/locale/de/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 roughage/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 roughage/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 roughage/locale/nb/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 roughage/locale/nb/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 roughage/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 roughage/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 roughage/locale/zh_CN/LC_MESSAGES/djangojs.mo
 mode change 100644 => 100755 roughage/locale/zh_CN/LC_MESSAGES/djangojs.po
 mode change 100644 => 100755 roughage/migrations/__init__.py
 mode change 100644 => 100755 roughage/models.py
 mode change 100644 => 100755 roughage/static/roughage/formdefinitions/grassDrying.json
 mode change 100644 => 100755 roughage/static/roughage/formdefinitions/roughageNutrition.json
 mode change 100644 => 100755 roughage/static/roughage/js/nutrition.js
 mode change 100644 => 100755 roughage/templates/roughage/nutrition.html
 mode change 100644 => 100755 roughage/tests.py
 mode change 100644 => 100755 roughage/urls.py
 mode change 100644 => 100755 roughage/views.py
 mode change 100644 => 100755 security/__init__.py
 mode change 100644 => 100755 security/admin.py
 mode change 100644 => 100755 security/middleware/__init__.py
 mode change 100644 => 100755 security/middleware/check_login_middleware.py
 mode change 100644 => 100755 security/migrations/__init__.py
 mode change 100644 => 100755 security/models.py
 mode change 100644 => 100755 security/static/security/js/crossdomainstorage.js
 mode change 100644 => 100755 security/static/security/js/loginHandler.js
 mode change 100644 => 100755 security/templates/security/login_form.html
 mode change 100644 => 100755 security/tests.py
 mode change 100644 => 100755 security/urls.py
 mode change 100644 => 100755 security/views.py
 mode change 100644 => 100755 vips_messages/__init__.py
 mode change 100644 => 100755 vips_messages/admin.py
 mode change 100644 => 100755 vips_messages/apps.py
 mode change 100644 => 100755 vips_messages/forms.py
 mode change 100644 => 100755 vips_messages/locale/bg/LC_MESSAGES/django.mo
 mode change 100644 => 100755 vips_messages/locale/bg/LC_MESSAGES/django.po
 mode change 100644 => 100755 vips_messages/locale/bs/LC_MESSAGES/django.mo
 mode change 100644 => 100755 vips_messages/locale/bs/LC_MESSAGES/django.po
 mode change 100644 => 100755 vips_messages/locale/de/LC_MESSAGES/django.mo
 mode change 100644 => 100755 vips_messages/locale/de/LC_MESSAGES/django.po
 mode change 100644 => 100755 vips_messages/locale/nb/LC_MESSAGES/django.mo
 mode change 100644 => 100755 vips_messages/locale/nb/LC_MESSAGES/django.po
 mode change 100644 => 100755 vips_messages/locale/vi/LC_MESSAGES/django.mo
 mode change 100644 => 100755 vips_messages/locale/vi/LC_MESSAGES/django.po
 mode change 100644 => 100755 vips_messages/locale/zh_CN/LC_MESSAGES/django.mo
 mode change 100644 => 100755 vips_messages/locale/zh_CN/LC_MESSAGES/django.po
 mode change 100644 => 100755 vips_messages/migrations/0001_initial.py
 mode change 100644 => 100755 vips_messages/migrations/0002_auto_20160303_1002.py
 mode change 100644 => 100755 vips_messages/migrations/0003_auto_20160331_1121.py
 mode change 100644 => 100755 vips_messages/migrations/0004_auto_20160712_1001.py
 mode change 100644 => 100755 vips_messages/migrations/__init__.py
 mode change 100644 => 100755 vips_messages/models.py
 mode change 100644 => 100755 vips_messages/templates/messages/detail.html
 mode change 100644 => 100755 vips_messages/templates/messages/index.html
 mode change 100644 => 100755 vips_messages/tests.py
 mode change 100644 => 100755 vips_messages/urls.py
 mode change 100644 => 100755 vips_messages/views.py

diff --git a/.gitignore b/.gitignore
old mode 100644
new mode 100755
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
old mode 100644
new mode 100755
diff --git a/LICENSE.txt b/LICENSE.txt
old mode 100644
new mode 100755
diff --git a/VIPSWeb/__init__.py b/VIPSWeb/__init__.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/context_processors.py b/VIPSWeb/context_processors.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/local_settings_sample.py b/VIPSWeb/local_settings_sample.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bg/LC_MESSAGES/django.mo b/VIPSWeb/locale/bg/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bg/LC_MESSAGES/django.po b/VIPSWeb/locale/bg/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bg/LC_MESSAGES/djangojs.mo b/VIPSWeb/locale/bg/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bg/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/bg/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bs/LC_MESSAGES/django.mo b/VIPSWeb/locale/bs/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bs/LC_MESSAGES/django.po b/VIPSWeb/locale/bs/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bs/LC_MESSAGES/djangojs.mo b/VIPSWeb/locale/bs/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/bs/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/bs/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/de/LC_MESSAGES/django.mo b/VIPSWeb/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/de/LC_MESSAGES/django.po b/VIPSWeb/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/de/LC_MESSAGES/djangojs.mo b/VIPSWeb/locale/de/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/de/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/de/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/fi/LC_MESSAGES/django.mo b/VIPSWeb/locale/fi/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/fi/LC_MESSAGES/django.po b/VIPSWeb/locale/fi/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/fi/LC_MESSAGES/djangojs.mo b/VIPSWeb/locale/fi/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/fi/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/fi/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/django.mo b/VIPSWeb/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/django.po b/VIPSWeb/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.mo b/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/nb/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/vi/LC_MESSAGES/django.mo b/VIPSWeb/locale/vi/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/vi/LC_MESSAGES/django.po b/VIPSWeb/locale/vi/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/vi/LC_MESSAGES/djangojs.mo b/VIPSWeb/locale/vi/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/vi/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/vi/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/zh_CN/LC_MESSAGES/django.mo b/VIPSWeb/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/zh_CN/LC_MESSAGES/django.po b/VIPSWeb/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.mo b/VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.po b/VIPSWeb/locale/zh_CN/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/VIPSWeb/settings.py b/VIPSWeb/settings.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/bootstrap-theme.css b/VIPSWeb/static/css/3rdparty/bootstrap-theme.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/bootstrap-theme.min.css b/VIPSWeb/static/css/3rdparty/bootstrap-theme.min.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/bootstrap.css b/VIPSWeb/static/css/3rdparty/bootstrap.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/bootstrap.min.css b/VIPSWeb/static/css/3rdparty/bootstrap.min.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/chosen-bootstrap.css b/VIPSWeb/static/css/3rdparty/chosen-bootstrap.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/chosen-sprite.png b/VIPSWeb/static/css/3rdparty/chosen-sprite.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/chosen-sprite@2x.png b/VIPSWeb/static/css/3rdparty/chosen-sprite@2x.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/chosen.min.css b/VIPSWeb/static/css/3rdparty/chosen.min.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/font-awesome.min.css b/VIPSWeb/static/css/3rdparty/font-awesome.min.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/light-bottom.css b/VIPSWeb/static/css/3rdparty/light-bottom.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/ol.css b/VIPSWeb/static/css/3rdparty/ol.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/3rdparty/weather-icons.min.css b/VIPSWeb/static/css/3rdparty/weather-icons.min.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/fonts/fontawesome-webfont.ttf b/VIPSWeb/static/css/fonts/fontawesome-webfont.ttf
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/fonts/fontawesome-webfont.woff b/VIPSWeb/static/css/fonts/fontawesome-webfont.woff
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/fonts/fontawesome-webfont.woff2 b/VIPSWeb/static/css/fonts/fontawesome-webfont.woff2
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/add_to_favourites.png b/VIPSWeb/static/css/icons/add_to_favourites.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/checkbox_checked.png b/VIPSWeb/static/css/icons/checkbox_checked.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/checkbox_unchecked.png b/VIPSWeb/static/css/icons/checkbox_unchecked.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/forecast_status_1.png b/VIPSWeb/static/css/icons/forecast_status_1.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/forecast_status_2.png b/VIPSWeb/static/css/icons/forecast_status_2.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/forecast_status_3.png b/VIPSWeb/static/css/icons/forecast_status_3.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/forecast_status_4.png b/VIPSWeb/static/css/icons/forecast_status_4.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/radio_checked.png b/VIPSWeb/static/css/icons/radio_checked.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/radio_unchecked.png b/VIPSWeb/static/css/icons/radio_unchecked.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/remove_from_favourites.png b/VIPSWeb/static/css/icons/remove_from_favourites.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/station_icon_status_0.png b/VIPSWeb/static/css/icons/station_icon_status_0.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/station_icon_status_1.png b/VIPSWeb/static/css/icons/station_icon_status_1.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/station_icon_status_2.png b/VIPSWeb/static/css/icons/station_icon_status_2.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/station_icon_status_3.png b/VIPSWeb/static/css/icons/station_icon_status_3.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/icons/station_icon_status_4.png b/VIPSWeb/static/css/icons/station_icon_status_4.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/signin.css b/VIPSWeb/static/css/signin.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/css/vipsweb.css b/VIPSWeb/static/css/vipsweb.css
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/favicon.ico b/VIPSWeb/static/favicon.ico
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/languageSelectorIcon.png b/VIPSWeb/static/images/languageSelectorIcon.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/languageSelectorIcon_large.png b/VIPSWeb/static/images/languageSelectorIcon_large.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/logo_NLR.gif b/VIPSWeb/static/images/logo_NLR.gif
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/logo_nibio.svg b/VIPSWeb/static/images/logo_nibio.svg
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/logo_vips.png b/VIPSWeb/static/images/logo_vips.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/logo_vips.svg b/VIPSWeb/static/images/logo_vips.svg
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/logo_vips_new.png b/VIPSWeb/static/images/logo_vips_new.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/logo_vips_newest.png b/VIPSWeb/static/images/logo_vips_newest.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/images/placeholders/placeholder_map.png b/VIPSWeb/static/images/placeholders/placeholder_map.png
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/bootstrap.js b/VIPSWeb/static/js/3rdparty/bootstrap.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/bootstrap.min.js b/VIPSWeb/static/js/3rdparty/bootstrap.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/chosen.jquery.min.js b/VIPSWeb/static/js/3rdparty/chosen.jquery.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/cookieconsent.min.js b/VIPSWeb/static/js/3rdparty/cookieconsent.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/highcharts.js b/VIPSWeb/static/js/3rdparty/highcharts.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/html5shiv.js b/VIPSWeb/static/js/3rdparty/html5shiv.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/jquery-1.11.1.min.js b/VIPSWeb/static/js/3rdparty/jquery-1.11.1.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/modernizr_custom.js b/VIPSWeb/static/js/3rdparty/modernizr_custom.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/moment-timezone-with-data.min.js b/VIPSWeb/static/js/3rdparty/moment-timezone-with-data.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/moment-timezone.min.js b/VIPSWeb/static/js/3rdparty/moment-timezone.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/moment.min.js b/VIPSWeb/static/js/3rdparty/moment.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/ol-debug.js b/VIPSWeb/static/js/3rdparty/ol-debug.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/ol.js b/VIPSWeb/static/js/3rdparty/ol.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/3rdparty/respond.min.js b/VIPSWeb/static/js/3rdparty/respond.min.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/forecastmap.js b/VIPSWeb/static/js/forecastmap.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/frontpage.js b/VIPSWeb/static/js/frontpage.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/js_apps/oatFloweringModelForm.js b/VIPSWeb/static/js/js_apps/oatFloweringModelForm.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/util.js b/VIPSWeb/static/js/util.js
old mode 100644
new mode 100755
index db71bdd8..d1e28f9f
--- a/VIPSWeb/static/js/util.js
+++ b/VIPSWeb/static/js/util.js
@@ -290,4 +290,27 @@ var sortObservationMessages = function(a,b)
 		return 0;
 	};
 	return 1;
+}
+
+var sortOrganisms = function(a,b)
+{
+	var nameA = getLocalizedOrganismName(a);
+	var nameB = getLocalizedOrganismName(b);
+	return nameA < nameB ? -1 :
+			nameA > nameB ? 1 :
+				0;
+}
+
+function getMultipleSelectedValues(list)
+{
+	var retVal = [];
+	for(var i=0; i<list.options.length;i++)
+	{
+		var opt = list.options[i];
+		if(opt.selected)
+		{
+			retVal.push(opt.value);
+		}
+	}
+	return retVal;
 }
\ No newline at end of file
diff --git a/VIPSWeb/static/js/validateForm.js b/VIPSWeb/static/js/validateForm.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/js/weatherStationSelectorMap.js b/VIPSWeb/static/js/weatherStationSelectorMap.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/test/mockKML.kml b/VIPSWeb/static/test/mockKML.kml
old mode 100644
new mode 100755
diff --git a/VIPSWeb/static/test/oatFloweringModelForm.html b/VIPSWeb/static/test/oatFloweringModelForm.html
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templates/404.html b/VIPSWeb/templates/404.html
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templates/503.html b/VIPSWeb/templates/503.html
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templates/base.html b/VIPSWeb/templates/base.html
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templates/base_with_date_picker.html b/VIPSWeb/templates/base_with_date_picker.html
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templates/index.html b/VIPSWeb/templates/index.html
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templates/settings.js b/VIPSWeb/templates/settings.js
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templatetags/.gitignore b/VIPSWeb/templatetags/.gitignore
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templatetags/__init__.py b/VIPSWeb/templatetags/__init__.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/templatetags/template_helper.py b/VIPSWeb/templatetags/template_helper.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/urls.py b/VIPSWeb/urls.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/views.py b/VIPSWeb/views.py
old mode 100644
new mode 100755
diff --git a/VIPSWeb/wsgi.py b/VIPSWeb/wsgi.py
old mode 100644
new mode 100755
diff --git a/applefruitmoth/__init__.py b/applefruitmoth/__init__.py
old mode 100644
new mode 100755
diff --git a/applefruitmoth/admin.py b/applefruitmoth/admin.py
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/de/LC_MESSAGES/django.mo b/applefruitmoth/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/de/LC_MESSAGES/django.po b/applefruitmoth/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/nb/LC_MESSAGES/django.mo b/applefruitmoth/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/nb/LC_MESSAGES/django.po b/applefruitmoth/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/zh_CN/LC_MESSAGES/django.mo b/applefruitmoth/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/zh_CN/LC_MESSAGES/django.po b/applefruitmoth/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/zh_CN/LC_MESSAGES/zh_CN.mo b/applefruitmoth/locale/zh_CN/LC_MESSAGES/zh_CN.mo
old mode 100644
new mode 100755
diff --git a/applefruitmoth/locale/zh_CN/LC_MESSAGES/zh_CN.po b/applefruitmoth/locale/zh_CN/LC_MESSAGES/zh_CN.po
old mode 100644
new mode 100755
diff --git a/applefruitmoth/migrations/__init__.py b/applefruitmoth/migrations/__init__.py
old mode 100644
new mode 100755
diff --git a/applefruitmoth/models.py b/applefruitmoth/models.py
old mode 100644
new mode 100755
diff --git a/applefruitmoth/static/applefruitmoth/js/map.js b/applefruitmoth/static/applefruitmoth/js/map.js
old mode 100644
new mode 100755
diff --git a/applefruitmoth/templates/applefruitmoth/index.html b/applefruitmoth/templates/applefruitmoth/index.html
old mode 100644
new mode 100755
diff --git a/applefruitmoth/tests.py b/applefruitmoth/tests.py
old mode 100644
new mode 100755
diff --git a/applefruitmoth/urls.py b/applefruitmoth/urls.py
old mode 100644
new mode 100755
diff --git a/applefruitmoth/views.py b/applefruitmoth/views.py
old mode 100644
new mode 100755
diff --git a/calculators/__init__.py b/calculators/__init__.py
old mode 100644
new mode 100755
diff --git a/calculators/admin.py b/calculators/admin.py
old mode 100644
new mode 100755
diff --git a/calculators/locale/de/LC_MESSAGES/django.mo b/calculators/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/calculators/locale/de/LC_MESSAGES/django.po b/calculators/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/calculators/locale/nb/LC_MESSAGES/django.mo b/calculators/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/calculators/locale/nb/LC_MESSAGES/django.po b/calculators/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/calculators/locale/zh_CN/LC_MESSAGES/django.mo b/calculators/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/calculators/locale/zh_CN/LC_MESSAGES/django.po b/calculators/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/calculators/models.py b/calculators/models.py
old mode 100644
new mode 100755
diff --git a/calculators/static/calculators/formdefinitions/EILForm.json b/calculators/static/calculators/formdefinitions/EILForm.json
old mode 100644
new mode 100755
diff --git a/calculators/static/calculators/js/eil.js b/calculators/static/calculators/js/eil.js
old mode 100644
new mode 100755
diff --git a/calculators/templates/calculators/eil.html b/calculators/templates/calculators/eil.html
old mode 100644
new mode 100755
diff --git a/calculators/templates/calculators/index.html b/calculators/templates/calculators/index.html
old mode 100644
new mode 100755
diff --git a/calculators/tests.py b/calculators/tests.py
old mode 100644
new mode 100755
diff --git a/calculators/urls.py b/calculators/urls.py
old mode 100644
new mode 100755
diff --git a/calculators/views.py b/calculators/views.py
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/__init__.py b/cerealblotchmodels/__init__.py
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/admin.py b/cerealblotchmodels/admin.py
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/locale/de/LC_MESSAGES/django.mo b/cerealblotchmodels/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/locale/de/LC_MESSAGES/django.po b/cerealblotchmodels/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/locale/nb/LC_MESSAGES/django.mo b/cerealblotchmodels/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/locale/nb/LC_MESSAGES/django.po b/cerealblotchmodels/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/locale/zh_CN/LC_MESSAGES/django.mo b/cerealblotchmodels/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/locale/zh_CN/LC_MESSAGES/django.po b/cerealblotchmodels/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/models.py b/cerealblotchmodels/models.py
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/static/cerealblotchmodels/formdefinitions/barleyNetBlotchForm.json b/cerealblotchmodels/static/cerealblotchmodels/formdefinitions/barleyNetBlotchForm.json
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/templates/cerealblotchmodels/index.html b/cerealblotchmodels/templates/cerealblotchmodels/index.html
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/tests.py b/cerealblotchmodels/tests.py
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/urls.py b/cerealblotchmodels/urls.py
old mode 100644
new mode 100755
diff --git a/cerealblotchmodels/views.py b/cerealblotchmodels/views.py
old mode 100644
new mode 100755
diff --git a/common/__init__.py b/common/__init__.py
old mode 100644
new mode 100755
diff --git a/common/middleware/__init__.py b/common/middleware/__init__.py
old mode 100644
new mode 100755
diff --git a/common/middleware/whodid.py b/common/middleware/whodid.py
old mode 100644
new mode 100755
diff --git a/common/util.py b/common/util.py
old mode 100644
new mode 100755
diff --git a/forecasts/__init__.py b/forecasts/__init__.py
old mode 100644
new mode 100755
diff --git a/forecasts/admin.py b/forecasts/admin.py
old mode 100644
new mode 100755
diff --git a/forecasts/locale/bg/LC_MESSAGES/django.mo b/forecasts/locale/bg/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/forecasts/locale/bg/LC_MESSAGES/django.po b/forecasts/locale/bg/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/forecasts/locale/bs/LC_MESSAGES/django.mo b/forecasts/locale/bs/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/forecasts/locale/bs/LC_MESSAGES/django.po b/forecasts/locale/bs/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/forecasts/locale/de/LC_MESSAGES/django.mo b/forecasts/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/forecasts/locale/de/LC_MESSAGES/django.po b/forecasts/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/forecasts/locale/nb/LC_MESSAGES/django.mo b/forecasts/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/forecasts/locale/nb/LC_MESSAGES/django.po b/forecasts/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/forecasts/locale/zh_CN/LC_MESSAGES/django.mo b/forecasts/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/forecasts/locale/zh_CN/LC_MESSAGES/django.po b/forecasts/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/forecasts/models.py b/forecasts/models.py
old mode 100644
new mode 100755
diff --git a/forecasts/static/forecasts/js/forecasts.js b/forecasts/static/forecasts/js/forecasts.js
old mode 100644
new mode 100755
diff --git a/forecasts/templates/forecasts/bogus_translation_template.html b/forecasts/templates/forecasts/bogus_translation_template.html
old mode 100644
new mode 100755
diff --git a/forecasts/templates/forecasts/detail.html b/forecasts/templates/forecasts/detail.html
old mode 100644
new mode 100755
diff --git a/forecasts/templates/forecasts/detail_error.html b/forecasts/templates/forecasts/detail_error.html
old mode 100644
new mode 100755
diff --git a/forecasts/templates/forecasts/index.html b/forecasts/templates/forecasts/index.html
old mode 100644
new mode 100755
diff --git a/forecasts/templates/models/detail.html b/forecasts/templates/models/detail.html
old mode 100644
new mode 100755
diff --git a/forecasts/templates/models/detail_test.html b/forecasts/templates/models/detail_test.html
old mode 100644
new mode 100755
diff --git a/forecasts/templates/models/index.html b/forecasts/templates/models/index.html
old mode 100644
new mode 100755
diff --git a/forecasts/templates/models/modelLocalNames.js b/forecasts/templates/models/modelLocalNames.js
old mode 100644
new mode 100755
diff --git a/forecasts/templatetags/__init__.py b/forecasts/templatetags/__init__.py
old mode 100644
new mode 100755
diff --git a/forecasts/templatetags/forecast_extras.py b/forecasts/templatetags/forecast_extras.py
old mode 100644
new mode 100755
diff --git a/forecasts/tests.py b/forecasts/tests.py
old mode 100644
new mode 100755
diff --git a/forecasts/urls.py b/forecasts/urls.py
old mode 100644
new mode 100755
diff --git a/forecasts/views.py b/forecasts/views.py
old mode 100644
new mode 100755
diff --git a/fusarium/__init__.py b/fusarium/__init__.py
old mode 100644
new mode 100755
diff --git a/fusarium/admin.py b/fusarium/admin.py
old mode 100644
new mode 100755
diff --git a/fusarium/locale/de/LC_MESSAGES/django.mo b/fusarium/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/fusarium/locale/de/LC_MESSAGES/django.po b/fusarium/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/fusarium/locale/nb/LC_MESSAGES/django.mo b/fusarium/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/fusarium/locale/nb/LC_MESSAGES/django.po b/fusarium/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/fusarium/locale/zh_CN/LC_MESSAGES/django.mo b/fusarium/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/fusarium/locale/zh_CN/LC_MESSAGES/django.po b/fusarium/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/fusarium/migrations/__init__.py b/fusarium/migrations/__init__.py
old mode 100644
new mode 100755
diff --git a/fusarium/models.py b/fusarium/models.py
old mode 100644
new mode 100755
diff --git a/fusarium/static/fusarium/js/oatFloweringModelForm.js b/fusarium/static/fusarium/js/oatFloweringModelForm.js
old mode 100644
new mode 100755
diff --git a/fusarium/templates/fusarium/oat_flowering.html b/fusarium/templates/fusarium/oat_flowering.html
old mode 100644
new mode 100755
diff --git a/fusarium/tests.py b/fusarium/tests.py
old mode 100644
new mode 100755
diff --git a/fusarium/urls.py b/fusarium/urls.py
old mode 100644
new mode 100755
diff --git a/fusarium/views.py b/fusarium/views.py
old mode 100644
new mode 100755
diff --git a/information/__init__.py b/information/__init__.py
old mode 100644
new mode 100755
diff --git a/information/admin.py b/information/admin.py
old mode 100644
new mode 100755
diff --git a/information/locale/bg/LC_MESSAGES/django.mo b/information/locale/bg/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/information/locale/bg/LC_MESSAGES/django.po b/information/locale/bg/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/information/locale/bs/LC_MESSAGES/django.mo b/information/locale/bs/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/information/locale/bs/LC_MESSAGES/django.po b/information/locale/bs/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/information/locale/de/LC_MESSAGES/django.mo b/information/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/information/locale/de/LC_MESSAGES/django.po b/information/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/information/locale/nb/LC_MESSAGES/django.mo b/information/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/information/locale/nb/LC_MESSAGES/django.po b/information/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/information/locale/zh_CN/LC_MESSAGES/django.mo b/information/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/information/locale/zh_CN/LC_MESSAGES/django.po b/information/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/information/migrations/0001_initial.py b/information/migrations/0001_initial.py
old mode 100644
new mode 100755
diff --git a/information/migrations/0002_information_ordering.py b/information/migrations/0002_information_ordering.py
old mode 100644
new mode 100755
diff --git a/information/migrations/__init__.py b/information/migrations/__init__.py
old mode 100644
new mode 100755
diff --git a/information/models.py b/information/models.py
old mode 100644
new mode 100755
diff --git a/information/templates/information/detail.html b/information/templates/information/detail.html
old mode 100644
new mode 100755
diff --git a/information/templates/information/index.html b/information/templates/information/index.html
old mode 100644
new mode 100755
diff --git a/information/tests.py b/information/tests.py
old mode 100644
new mode 100755
diff --git a/information/urls.py b/information/urls.py
old mode 100644
new mode 100755
diff --git a/information/views.py b/information/views.py
old mode 100644
new mode 100755
diff --git a/manage.py b/manage.py
old mode 100644
new mode 100755
diff --git a/observations/__init__.py b/observations/__init__.py
old mode 100644
new mode 100755
diff --git a/observations/admin.py b/observations/admin.py
old mode 100644
new mode 100755
diff --git a/observations/locale/de/LC_MESSAGES/django.mo b/observations/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/observations/locale/de/LC_MESSAGES/django.po b/observations/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/observations/locale/nb/LC_MESSAGES/django.mo b/observations/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/observations/locale/nb/LC_MESSAGES/django.po b/observations/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/observations/locale/zh_CN/LC_MESSAGES/django.mo b/observations/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/observations/locale/zh_CN/LC_MESSAGES/django.po b/observations/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/observations/migrations/__init__.py b/observations/migrations/__init__.py
old mode 100644
new mode 100755
diff --git a/observations/models.py b/observations/models.py
old mode 100644
new mode 100755
diff --git a/observations/static/observations/images/bug.png b/observations/static/observations/images/bug.png
old mode 100644
new mode 100755
diff --git a/observations/static/observations/images/bug_medium.png b/observations/static/observations/images/bug_medium.png
old mode 100644
new mode 100755
diff --git a/observations/static/observations/images/observation_marker.png b/observations/static/observations/images/observation_marker.png
old mode 100644
new mode 100755
diff --git a/observations/static/observations/js/observationViewMap.js b/observations/static/observations/js/observationViewMap.js
old mode 100644
new mode 100755
diff --git a/observations/templates/observations/detail.html b/observations/templates/observations/detail.html
old mode 100644
new mode 100755
diff --git a/observations/templates/observations/index.html b/observations/templates/observations/index.html
old mode 100644
new mode 100755
index 5076b6fd..81ac2e2f
--- a/observations/templates/observations/index.html
+++ b/observations/templates/observations/index.html
@@ -29,12 +29,21 @@
 	<div class="row">
 		<div class="col-xs-3">
 			<div class="form-group">
-				<select id="pestFilterList" class="form-control" onchange="filterOnPest(this)">
+				<select id="pestFilterList" class="form-control" onchange="filterObservations();">
 					<option value="-1">{% trans "All pests" %}</option>
 				</select>
 			</div>
 		</div>
-		<div class="col-xs-9">
+		<div class="col-xs-3">
+			<div class="form-group">
+				<select name="cropCategoryFilterList" id="cropCategoryFilterList" class="form-control chosen-select" multiple="multiple" onchange="filterObservations();">
+					{% for crop_category in crop_categories|dictsort:"name" %}
+					<option value="{{crop_category.crop_category_id}}">{{crop_category.name}}</option>
+					{% endfor %}			
+				</select>
+			</div>
+		</div>
+		<div class="col-xs-6">
 		</div>
 	</div>
 	<table class="table">
@@ -50,21 +59,38 @@
 		<tbody id="observationList"></tbody>
 	</table>
 
+{% endblock %}
+{% block extendCSS %}
+<link href="{% static "css/3rdparty/chosen.min.css" %}" rel="stylesheet" media="screen" />
+<link href="{% static "css/3rdparty/chosen-bootstrap.css" %}" rel="stylesheet" media="screen" />
 {% endblock %}
 {% block customJS %}
+<script type="text/javascript" src="{% static "js/3rdparty/chosen.jquery.min.js" %}"></script>
 <script type="text/javascript" src="{% static "js/3rdparty/moment.min.js" %}"></script>
 <script type="text/javascript" src="{% url "views.settings_js" %}"></script>
 <script type="text/javascript" src="{% static "js/util.js" %}"></script>
 <script type="text/javascript">
 	var allObservations = [];
-	var allPests = {};
+	var allPests = [];
+	var allPestIds = [];
+	var cropCategories = {
+			{% for crop_category in crop_categories %}
+			{{crop_category.crop_category_id}}:{{crop_category.crop_ids}}{% if not forloop.last %},{% endif %}
+			{% endfor %}
+	};
 	$(document).ready(function() {
+		$(".chosen-select").chosen({placeholder_text_multiple:"{% trans "Crops" %}"});
 		$.getJSON("/vipslogicproxy/rest/observation/broadcast/list/" + settings.vipsOrganizationId, function( json ) {
 			allObservations = json;
 			allObservations.sort(sortObservationMessages).reverse();
 			for(var i in allObservations)
 			{
-				allPests[allObservations[i].organism.organismId] = allObservations[i].organism;
+				var currentOrganism = allObservations[i].organism;
+				if(allPestIds.indexOf(currentOrganism.organismId) < 0)
+				{
+					allPests.push(currentOrganism);
+					allPestIds.push(currentOrganism.organismId);
+				}
 			}
 			renderPestFilterList();
 			renderObservations(allObservations);
@@ -94,6 +120,7 @@
 	{
 		var pestFilterList = document.getElementById("pestFilterList");
 		pestFilterList.options.length = 1; 
+		allPests.sort(sortOrganisms);
 		for(var i in allPests)
 		{
 			var pestOpt = new Option(getLocalizedOrganismName(allPests[i]), allPests[i].organismId);
@@ -101,29 +128,62 @@
 		}
 		
 	}
+
+	function filterOnCropGroup(cropGroupFilterList)
+	{
+		var selectedCropGroupId = parseInt(cropGroupFilterList.options[cropGroupFilterList.options.selectedIndex].value);
+	}
 	
-	function filterOnPest(pestFilterList)
+	function filterObservations()
 	{
+		var pestFilterList = document.getElementById("pestFilterList");
+		var cropCategoryFilterList = document.getElementById("cropCategoryFilterList");
+		
 		var selectedPestOrganismId = parseInt(pestFilterList.options[pestFilterList.options.selectedIndex].value);
 		
+		var selectedCropCategoryIds = getMultipleSelectedValues(cropCategoryFilterList);
+		//console.info(selectedCropCategoryIds);
 		
 		var filteredObservations = [];
-		if(selectedPestOrganismId == -1)
-		{
-			filteredObservations = allObservations;
-		}
-		else
+		
+		for(var i=0;i<allObservations.length;i++)
 		{
-			for(var i in allObservations)
-			{
-				var obs = allObservations[i];
-				if(obs.organism.organismId == selectedPestOrganismId)
+			var obs = allObservations[i];
+		
+			var validCropCategory = false;
+			if(selectedCropCategoryIds.length > 0)
+			{			
+				for(var j=0;j<selectedCropCategoryIds.length;j++)
 				{
-					filteredObservations.push(obs);
-				}
+					if(cropCategories[selectedCropCategoryIds[j]].indexOf(obs.cropOrganism.organismId) >= 0)
+					{
+						validCropCategory = true;
+					}
+				} 
+			}
+			else
+			{
+				validCropCategory = true;
+			}
+			
+			var validPest = false;
+			if(selectedPestOrganismId == -1)
+			{
+				validPest = true;
+			}
+			else if(obs.organism.organismId == selectedPestOrganismId)
+			{
+				validPest = true;
+			}
+			
+			if(validCropCategory && validPest)
+			{
+				filteredObservations.push(obs);
 			}
 		}
+		
 		renderObservations(filteredObservations);
 	}
+	
 </script>
 {% endblock %}
\ No newline at end of file
diff --git a/observations/tests.py b/observations/tests.py
old mode 100644
new mode 100755
diff --git a/observations/urls.py b/observations/urls.py
old mode 100644
new mode 100755
diff --git a/observations/views.py b/observations/views.py
old mode 100644
new mode 100755
index 7be7d539..091827f5
--- a/observations/views.py
+++ b/observations/views.py
@@ -18,10 +18,12 @@
 # @author: Tor-Einar Skog <tor-einar.skog@nibio.no> 
 
 from django.shortcuts import render
+from django.utils import translation
+from organisms.models import CropCategory
 
 def index(request):
     context = {
-              
+              'crop_categories': CropCategory.get_crop_categories(translation.get_language())
                }
     return render(request, 'observations/index.html', context)
 
diff --git a/organisms/__init__.py b/organisms/__init__.py
old mode 100644
new mode 100755
diff --git a/organisms/admin.py b/organisms/admin.py
old mode 100644
new mode 100755
diff --git a/organisms/locale/bs/LC_MESSAGES/django.mo b/organisms/locale/bs/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/organisms/locale/bs/LC_MESSAGES/django.po b/organisms/locale/bs/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/organisms/locale/de/LC_MESSAGES/django.mo b/organisms/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/organisms/locale/de/LC_MESSAGES/django.po b/organisms/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/organisms/locale/nb/LC_MESSAGES/custom.mo b/organisms/locale/nb/LC_MESSAGES/custom.mo
old mode 100644
new mode 100755
diff --git a/organisms/locale/nb/LC_MESSAGES/custom.po b/organisms/locale/nb/LC_MESSAGES/custom.po
old mode 100644
new mode 100755
diff --git a/organisms/locale/nb/LC_MESSAGES/django.mo b/organisms/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/organisms/locale/nb/LC_MESSAGES/django.po b/organisms/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/organisms/locale/zh_CN/LC_MESSAGES/django.mo b/organisms/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/organisms/locale/zh_CN/LC_MESSAGES/django.po b/organisms/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/organisms/models.py b/organisms/models.py
old mode 100644
new mode 100755
diff --git a/organisms/static/organisms/organismsUtil.js b/organisms/static/organisms/organismsUtil.js
old mode 100644
new mode 100755
diff --git a/organisms/templates/organisms/index.html b/organisms/templates/organisms/index.html
old mode 100644
new mode 100755
diff --git a/organisms/tests.py b/organisms/tests.py
old mode 100644
new mode 100755
diff --git a/organisms/urls.py b/organisms/urls.py
old mode 100644
new mode 100755
diff --git a/organisms/views.py b/organisms/views.py
old mode 100644
new mode 100755
diff --git a/requirements.txt b/requirements.txt
old mode 100644
new mode 100755
diff --git a/roughage/__init__.py b/roughage/__init__.py
old mode 100644
new mode 100755
diff --git a/roughage/admin.py b/roughage/admin.py
old mode 100644
new mode 100755
diff --git a/roughage/locale/de/LC_MESSAGES/django.mo b/roughage/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/roughage/locale/de/LC_MESSAGES/django.po b/roughage/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/roughage/locale/de/LC_MESSAGES/djangojs.mo b/roughage/locale/de/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/roughage/locale/de/LC_MESSAGES/djangojs.po b/roughage/locale/de/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/roughage/locale/nb/LC_MESSAGES/django.mo b/roughage/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/roughage/locale/nb/LC_MESSAGES/django.po b/roughage/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/roughage/locale/nb/LC_MESSAGES/djangojs.mo b/roughage/locale/nb/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/roughage/locale/nb/LC_MESSAGES/djangojs.po b/roughage/locale/nb/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/roughage/locale/zh_CN/LC_MESSAGES/django.mo b/roughage/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/roughage/locale/zh_CN/LC_MESSAGES/django.po b/roughage/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/roughage/locale/zh_CN/LC_MESSAGES/djangojs.mo b/roughage/locale/zh_CN/LC_MESSAGES/djangojs.mo
old mode 100644
new mode 100755
diff --git a/roughage/locale/zh_CN/LC_MESSAGES/djangojs.po b/roughage/locale/zh_CN/LC_MESSAGES/djangojs.po
old mode 100644
new mode 100755
diff --git a/roughage/migrations/__init__.py b/roughage/migrations/__init__.py
old mode 100644
new mode 100755
diff --git a/roughage/models.py b/roughage/models.py
old mode 100644
new mode 100755
diff --git a/roughage/static/roughage/formdefinitions/grassDrying.json b/roughage/static/roughage/formdefinitions/grassDrying.json
old mode 100644
new mode 100755
diff --git a/roughage/static/roughage/formdefinitions/roughageNutrition.json b/roughage/static/roughage/formdefinitions/roughageNutrition.json
old mode 100644
new mode 100755
diff --git a/roughage/static/roughage/js/nutrition.js b/roughage/static/roughage/js/nutrition.js
old mode 100644
new mode 100755
diff --git a/roughage/templates/roughage/nutrition.html b/roughage/templates/roughage/nutrition.html
old mode 100644
new mode 100755
diff --git a/roughage/tests.py b/roughage/tests.py
old mode 100644
new mode 100755
diff --git a/roughage/urls.py b/roughage/urls.py
old mode 100644
new mode 100755
diff --git a/roughage/views.py b/roughage/views.py
old mode 100644
new mode 100755
diff --git a/security/__init__.py b/security/__init__.py
old mode 100644
new mode 100755
diff --git a/security/admin.py b/security/admin.py
old mode 100644
new mode 100755
diff --git a/security/middleware/__init__.py b/security/middleware/__init__.py
old mode 100644
new mode 100755
diff --git a/security/middleware/check_login_middleware.py b/security/middleware/check_login_middleware.py
old mode 100644
new mode 100755
diff --git a/security/migrations/__init__.py b/security/migrations/__init__.py
old mode 100644
new mode 100755
diff --git a/security/models.py b/security/models.py
old mode 100644
new mode 100755
diff --git a/security/static/security/js/crossdomainstorage.js b/security/static/security/js/crossdomainstorage.js
old mode 100644
new mode 100755
diff --git a/security/static/security/js/loginHandler.js b/security/static/security/js/loginHandler.js
old mode 100644
new mode 100755
diff --git a/security/templates/security/login_form.html b/security/templates/security/login_form.html
old mode 100644
new mode 100755
diff --git a/security/tests.py b/security/tests.py
old mode 100644
new mode 100755
diff --git a/security/urls.py b/security/urls.py
old mode 100644
new mode 100755
diff --git a/security/views.py b/security/views.py
old mode 100644
new mode 100755
diff --git a/vips_messages/__init__.py b/vips_messages/__init__.py
old mode 100644
new mode 100755
diff --git a/vips_messages/admin.py b/vips_messages/admin.py
old mode 100644
new mode 100755
diff --git a/vips_messages/apps.py b/vips_messages/apps.py
old mode 100644
new mode 100755
diff --git a/vips_messages/forms.py b/vips_messages/forms.py
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/bg/LC_MESSAGES/django.mo b/vips_messages/locale/bg/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/bg/LC_MESSAGES/django.po b/vips_messages/locale/bg/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/bs/LC_MESSAGES/django.mo b/vips_messages/locale/bs/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/bs/LC_MESSAGES/django.po b/vips_messages/locale/bs/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/de/LC_MESSAGES/django.mo b/vips_messages/locale/de/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/de/LC_MESSAGES/django.po b/vips_messages/locale/de/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/nb/LC_MESSAGES/django.mo b/vips_messages/locale/nb/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/nb/LC_MESSAGES/django.po b/vips_messages/locale/nb/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/vi/LC_MESSAGES/django.mo b/vips_messages/locale/vi/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/vi/LC_MESSAGES/django.po b/vips_messages/locale/vi/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/zh_CN/LC_MESSAGES/django.mo b/vips_messages/locale/zh_CN/LC_MESSAGES/django.mo
old mode 100644
new mode 100755
diff --git a/vips_messages/locale/zh_CN/LC_MESSAGES/django.po b/vips_messages/locale/zh_CN/LC_MESSAGES/django.po
old mode 100644
new mode 100755
diff --git a/vips_messages/migrations/0001_initial.py b/vips_messages/migrations/0001_initial.py
old mode 100644
new mode 100755
diff --git a/vips_messages/migrations/0002_auto_20160303_1002.py b/vips_messages/migrations/0002_auto_20160303_1002.py
old mode 100644
new mode 100755
diff --git a/vips_messages/migrations/0003_auto_20160331_1121.py b/vips_messages/migrations/0003_auto_20160331_1121.py
old mode 100644
new mode 100755
diff --git a/vips_messages/migrations/0004_auto_20160712_1001.py b/vips_messages/migrations/0004_auto_20160712_1001.py
old mode 100644
new mode 100755
diff --git a/vips_messages/migrations/__init__.py b/vips_messages/migrations/__init__.py
old mode 100644
new mode 100755
diff --git a/vips_messages/models.py b/vips_messages/models.py
old mode 100644
new mode 100755
diff --git a/vips_messages/templates/messages/detail.html b/vips_messages/templates/messages/detail.html
old mode 100644
new mode 100755
diff --git a/vips_messages/templates/messages/index.html b/vips_messages/templates/messages/index.html
old mode 100644
new mode 100755
index 1d39ba29..50a64ffc
--- a/vips_messages/templates/messages/index.html
+++ b/vips_messages/templates/messages/index.html
@@ -18,7 +18,7 @@
 		<div class="form-group">
 			<select name="cropCategoryIds" class="form-control chosen-select" onchange="cropCategoryFilter(this);">
 				<option value="-1">{% trans "All crop categories" %}</option>
-				{% for crop_category in crop_categories %}
+				{% for crop_category in crop_categories|dictsort:"name" %}
 				<option value="{{crop_category.crop_category_id}}">{{crop_category.name}}</option>
 				{% endfor %}			
 			</select>
diff --git a/vips_messages/tests.py b/vips_messages/tests.py
old mode 100644
new mode 100755
diff --git a/vips_messages/urls.py b/vips_messages/urls.py
old mode 100644
new mode 100755
diff --git a/vips_messages/views.py b/vips_messages/views.py
old mode 100644
new mode 100755
-- 
GitLab