-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue #4276] Updating django-autocomplete-light to version 3.5.0 #5410
[Issue #4276] Updating django-autocomplete-light to version 3.5.0 #5410
Conversation
Dear @dhlambert thanks for this awesome work and effort. IMHO to get this PR accepted we will need at least to:
|
ff00c80
to
5feedb9
Compare
Codecov Report
@@ Coverage Diff @@
## master #5410 +/- ##
==========================================
+ Coverage 57.57% 57.66% +0.08%
==========================================
Files 172 167 -5
Lines 19299 19241 -58
Branches 3006 2999 -7
==========================================
- Hits 11112 11095 -17
+ Misses 7167 7130 -37
+ Partials 1020 1016 -4 |
@afabiani Currently looking into fixing up those selenium tests, will also create those issues as you mentioned as well. |
5feedb9
to
4ae459a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still few things to fix.
In general, this seems to be a quite important upgrade, changing a lot of widely used froms and search filters.
I wondering if the existing "tests" and "docs" already cover those changes.
As an instance, are we fully sure all the configurations and settings on the "docs" are still valid?
@@ -0,0 +1,100 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can see you introduced a new static JS file which is not part of the "package.json" nor of the "static_dependencies.json".
That means that trying to build GeoNode assets from scratch this will be completely lost.
Question:
- is this a custom JS or it is part of a common library?
If this is a custom JS this should be placed under "static/geonode/js/..." instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is custom JS. It is used for the text input autocompletes used by all the searches (not the multiselects which is covered by select2). Thinking it can can be moved to the "static/geonode/js/search" directory rather than making a separate '/autocomplete directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeps, go ahead
2351a1e
to
8e60924
Compare
@afabiani Have had a look at the "docs" as you mentioned in your post earlier. It seems there are a few mentions of the hierarchical keyword tree widget in the wizard and advanced metadata edit docs. These might need updating if the tree widget is going to be removed temporarily.
There also seems to inconsistencies in the screenshots and gifs throughout the docs regarding autocomplete styling for the searches i.e. Current: Happy to adjust the styling to fit the previous style if needed? Otherwise do you think it would be worth updating the screenshots/gifs to account for the new style or not worry about it? The thesaurus setting seems to be working correctly in settings.py. Planning to check on the readonly keywords setting to see if this is working correctly. Not sure about other configurations which might be worth checking/testing. |
Very good work @dhlambert thanks. I would say:
Thanks again. |
@dhlambert few feedbacks while testing your PR
|
@dhlambert if you don't mind I did a commit to fix the two issues I mentioned above. I'll let you squash them. |
@afabiani thanks for fixing up those issues! Will start making some of those changes to the docs as you suggested above. |
Fixes: 1. When trying to edit the layer metadata I get the following error GET http://localhost:8000/static/admin/css/autocomplete.css net::ERR_ABORTED 404 (Not Found) 2. If I try to insert new keywords containing substrings of already existing ones, they won't be inserted at all. As an instance, if I already have a keyword named "afabiani" in the system, trying to add a new one like "afa" or "afabi" or "iani" won't work.
9890713
to
f10afed
Compare
…/181-update-autocomplete-light # Conflicts: # geonode/static/lib/css/assets.min.css # geonode/static/lib/js/assets.min.js # geonode/static/lib/js/leaflet-plugins.min.js # geonode/static/static_dependencies.json
* [Fixes GeoNode#5392][Performance] Put meaningful generic thumbs if thumbnail generation fails some some reason * Revert "[Issue GeoNode#4276] Upgrade tests for Python 2.7/3 compatibility" * - Smoke Test Seg Fault fix * - Smoke Test Seg Fault fix * - Cleanup print messages * - Smoke Test Seg Fault fix * - Smoke Test Seg Fault fix * - Smoke Test Seg Fault fix * - Integration Tests fix * - Integration Tests fix * [Hardening] Minor fixes and checks * Bump pytest from 4.6.6 to 4.6.7 Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.6 to 4.6.7. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/4.6.7/CHANGELOG.rst) - [Commits](pytest-dev/pytest@4.6.6...4.6.7) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump kombu from 4.6.6 to 4.6.7 Bumps [kombu](https://kombu.readthedocs.io) from 4.6.6 to 4.6.7. Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump tqdm from 4.40.0 to 4.40.2 Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.40.0 to 4.40.2. - [Release notes](https://github.com/tqdm/tqdm/releases) - [Commits](tqdm/tqdm@v4.40.0...v4.40.2) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.32 to 1.10.35 Bumps [boto3](https://github.com/boto/boto3) from 1.10.32 to 1.10.35. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.32...1.10.35) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump splinter from 0.11.0 to 0.12.0 Bumps [splinter](https://github.com/cobrateam/splinter) from 0.11.0 to 0.12.0. - [Release notes](https://github.com/cobrateam/splinter/releases) - [Changelog](https://github.com/cobrateam/splinter/blob/master/docs/news.rst) - [Commits](cobrateam/splinter@0.11.0...0.12.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.32 to 1.10.36 Bumps [boto3](https://github.com/boto/boto3) from 1.10.32 to 1.10.36. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.32...1.10.36) Signed-off-by: dependabot-preview[bot] <[email protected]> * Setup code moved to geonode-selenium container * [Hardening] Get rid of deprecated middelware * [Hardening] Adding MAPBOX_BASEMAPS to local_settings.py.geoserver.sample * [Issue GeoNode#4276] Upgrade tests for Python 2.7/3 compatibility * Bump boto3 from 1.10.36 to 1.10.37 Bumps [boto3](https://github.com/boto/boto3) from 1.10.36 to 1.10.37. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.36...1.10.37) Signed-off-by: dependabot-preview[bot] <[email protected]> * [Fixes GeoNode#5408] Update "sync layers and maps" management commands documentation and cleanup old stuff * Typos on updatelaters management command * - Disabling "Selenium Integration Tests SPCGeonode" * Bump boto3 from 1.10.37 to 1.10.38 Bumps [boto3](https://github.com/boto/boto3) from 1.10.37 to 1.10.38. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.37...1.10.38) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump geonode-user-messages from 0.1.14 to 0.1.15 Bumps [geonode-user-messages](https://github.com/GeoNode/geonode-user-messages) from 0.1.14 to 0.1.15. - [Release notes](https://github.com/GeoNode/geonode-user-messages/releases) - [Changelog](https://github.com/GeoNode/geonode-user-messages/blob/master/CHANGELOG.md) - [Commits](GeoNode/geonode-user-messages@0.1.14...0.1.15) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump gn-gsimporter from 1.0.15 to 1.0.17 Bumps [gn-gsimporter](https://github.com/GeoNode/gsimporter) from 1.0.15 to 1.0.17. - [Release notes](https://github.com/GeoNode/gsimporter/releases) - [Changelog](https://github.com/GeoNode/gsimporter/blob/gn-gsimporter/CHANGELOG.md) - [Commits](GeoNode/gsimporter@1.0.15...1.0.17) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump django-mapstore-adapter from 1.0.13 to 1.0.14 Bumps [django-mapstore-adapter](https://github.com/GeoNode/django-mapstore-adapter) from 1.0.13 to 1.0.14. - [Release notes](https://github.com/GeoNode/django-mapstore-adapter/releases) - [Changelog](https://github.com/GeoNode/django-mapstore-adapter/blob/master/CHANGELOG.md) - [Commits](GeoNode/django-mapstore-adapter@1.0.13...1.0.14) Signed-off-by: dependabot-preview[bot] <[email protected]> * [Fixes GeoNode#5416] LIKE filter on layer download tab doesn't let setting a pattern value * Bump celery from 4.3.0 to 4.4.0 Bumps [celery](https://github.com/celery/celery) from 4.3.0 to 4.4.0. - [Release notes](https://github.com/celery/celery/releases) - [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst) - [Commits](celery/celery@v4.3.0...4.4.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump splinter from 0.12.0 to 0.13.0 Bumps [splinter](https://github.com/cobrateam/splinter) from 0.12.0 to 0.13.0. - [Release notes](https://github.com/cobrateam/splinter/releases) - [Changelog](https://github.com/cobrateam/splinter/blob/master/docs/news.rst) - [Commits](cobrateam/splinter@0.12.0...0.13.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump coverage from 4.5.4 to 5.0 Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.4 to 5.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@coverage-4.5.4...coverage-5.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.38 to 1.10.39 Bumps [boto3](https://github.com/boto/boto3) from 1.10.38 to 1.10.39. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.38...1.10.39) Signed-off-by: dependabot-preview[bot] <[email protected]> * - Test fix * Bump sqlalchemy from 1.3.11 to 1.3.12 Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.11 to 1.3.12. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) Signed-off-by: dependabot-preview[bot] <[email protected]> * [Fixes GeoNode#5429] Layer feature info templates are not used inside maps * Bump django from 1.11.26 to 1.11.27 Bumps [django](https://github.com/django/django) from 1.11.26 to 1.11.27. - [Release notes](https://github.com/django/django/releases) - [Commits](django/django@1.11.26...1.11.27) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.39 to 1.10.41 Bumps [boto3](https://github.com/boto/boto3) from 1.10.39 to 1.10.41. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.39...1.10.41) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump django-mapstore-adapter from 1.0.14 to 1.0.15 Bumps [django-mapstore-adapter](https://github.com/GeoNode/django-mapstore-adapter) from 1.0.14 to 1.0.15. - [Release notes](https://github.com/GeoNode/django-mapstore-adapter/releases) - [Changelog](https://github.com/GeoNode/django-mapstore-adapter/blob/master/CHANGELOG.md) - [Commits](GeoNode/django-mapstore-adapter@1.0.14...1.0.15) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump django-geonode-mapstore-client from 1.4.6 to 1.4.7 Bumps [django-geonode-mapstore-client](https://github.com/GeoNode/geonode-mapstore-client) from 1.4.6 to 1.4.7. - [Release notes](https://github.com/GeoNode/geonode-mapstore-client/releases) - [Changelog](https://github.com/GeoNode/geonode-mapstore-client/blob/master/CHANGELOG.md) - [Commits](GeoNode/geonode-mapstore-client@1.4.6...1.4.7) Signed-off-by: dependabot-preview[bot] <[email protected]> * Update django-jsonfield requirement from <1.3.2 to <1.4.1 Updates the requirements on [django-jsonfield](https://github.com/adamchainz/django-jsonfield) to permit the latest version. - [Release notes](https://github.com/adamchainz/django-jsonfield/releases) - [Commits](adamchainz/django-jsonfield@0.7...1.4.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.41 to 1.10.42 Bumps [boto3](https://github.com/boto/boto3) from 1.10.41 to 1.10.42. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.41...1.10.42) Signed-off-by: dependabot-preview[bot] <[email protected]> * Update httplib2 requirement from <0.14.1 to <0.15.1 Updates the requirements on [httplib2](https://github.com/httplib2/httplib2) to permit the latest version. - [Release notes](https://github.com/httplib2/httplib2/releases) - [Changelog](https://github.com/httplib2/httplib2/blob/master/CHANGELOG) - [Commits](httplib2/httplib2@0.9...v0.15.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump pytest from 4.6.7 to 4.6.8 Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.7 to 4.6.8. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/4.6.8/CHANGELOG.rst) - [Commits](pytest-dev/pytest@4.6.7...4.6.8) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.42 to 1.10.43 Bumps [boto3](https://github.com/boto/boto3) from 1.10.42 to 1.10.43. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.42...1.10.43) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump django-geonode-mapstore-client from 1.4.7 to 1.4.8 Bumps [django-geonode-mapstore-client](https://github.com/GeoNode/geonode-mapstore-client) from 1.4.7 to 1.4.8. - [Release notes](https://github.com/GeoNode/geonode-mapstore-client/releases) - [Changelog](https://github.com/GeoNode/geonode-mapstore-client/blob/master/CHANGELOG.md) - [Commits](GeoNode/geonode-mapstore-client@1.4.7...1.4.8) Signed-off-by: dependabot-preview[bot] <[email protected]> * [Fixes GeoNode#5446] Fix binary files removed from lib * [Fixes GeoNode#5419] Hierarchical keyword tree widget issues * Bump coverage from 5.0 to 5.0.1 Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0 to 5.0.1. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@coverage-5.0...coverage-5.0.1) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.43 to 1.10.45 Bumps [boto3](https://github.com/boto/boto3) from 1.10.43 to 1.10.45. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.43...1.10.45) Signed-off-by: dependabot-preview[bot] <[email protected]> * Fixes [5463] Change geolite2-city endpoint * Fixes GeoNode#5467 Gender neutral terminology * [Fixes GeoNode#5468] Correct 'Favoriten' in german Translation * [Hardening] Removing problematic CSS comment (cherry picked from commit 3e44cbd) * [Fixes GeoNode#5463] Change geolite2-city endpoint * Bump geoip2 from 2.9.0 to 3.0.0 Bumps [geoip2](https://github.com/maxmind/libmaxminddb) from 2.9.0 to 3.0.0. - [Release notes](https://github.com/maxmind/libmaxminddb/releases) - [Changelog](https://github.com/maxmind/libmaxminddb/blob/master/Changes.md) - [Commits](https://github.com/maxmind/libmaxminddb/commits) Signed-off-by: dependabot-preview[bot] <[email protected]> * [Fixes 5464] Update docs for Tomcat download * Bump pillow from 6.2.1 to 6.2.2 Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.1 to 6.2.2. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) - [Commits](python-pillow/Pillow@6.2.1...6.2.2) Signed-off-by: dependabot-preview[bot] <[email protected]> * - Adding back backport bot (https://github.com/marketplace/actions/backporting) * Add lucernae to CLA * - Avoid adding '%' by default * - Adding back backport bot (https://github.com/marketplace/actions/backporting) * - If no "%" sign is provided I would make it behave as before, i.e. having the "%" automatically added at the beginning and the end of the text, as per @giohappy comments * Fix environment variable references (GeoNode#5475) Change environment variable to refer GEONODE_DATABASE_USER and GEONODE_GEODATABASE_USER respectively for user field in database connections. Co-authored-by: Toni <[email protected]> Co-authored-by: Alessio Fabiani <[email protected]> * [Issue GeoNode#4276] Updating django-autocomplete-light to version 3.5.0 (GeoNode#5410) * [Issue GeoNode#4276] Updating django-autocomplete-light to version 3.5.0 * [Issue GeoNode#4276] Updating django-autocomplete-light to version 3.5.0 Fixes: 1. When trying to edit the layer metadata I get the following error GET http://localhost:8000/static/admin/css/autocomplete.css net::ERR_ABORTED 404 (Not Found) 2. If I try to insert new keywords containing substrings of already existing ones, they won't be inserted at all. As an instance, if I already have a keyword named "afabiani" in the system, trying to add a new one like "afa" or "afabi" or "iani" won't work. * Fixing red highlight when keywords empty on wizard. * Updating documentation for autocomplete/select2 changes. Co-authored-by: Alessio Fabiani <[email protected]> * .msgapi #mapstore-print-panel.modal-dialog (cherry picked from commit 52c0194) * Bump django-treebeard from 4.3 to 4.3.1 Bumps [django-treebeard](https://github.com/django-treebeard/django-treebeard) from 4.3 to 4.3.1. - [Release notes](https://github.com/django-treebeard/django-treebeard/releases) - [Changelog](https://github.com/django-treebeard/django-treebeard/blob/master/CHANGES) - [Commits](django-treebeard/django-treebeard@4.3...4.3.1) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump setuptools from 42.0.2 to 44.0.0 Bumps [setuptools](https://github.com/pypa/setuptools) from 42.0.2 to 44.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/master/CHANGES.rst) - [Commits](pypa/setuptools@v42.0.2...v44.0.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump tqdm from 4.40.2 to 4.41.1 Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.40.2 to 4.41.1. - [Release notes](https://github.com/tqdm/tqdm/releases) - [Commits](tqdm/tqdm@v4.40.2...v4.41.1) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump coverage from 5.0.1 to 5.0.2 Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0.1 to 5.0.2. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@coverage-5.0.1...coverage-5.0.2) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.45 to 1.10.48 Bumps [boto3](https://github.com/boto/boto3) from 1.10.45 to 1.10.48. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.45...1.10.48) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump django-mapstore-adapter from 1.0.15 to 1.0.16 Bumps [django-mapstore-adapter](https://github.com/GeoNode/django-mapstore-adapter) from 1.0.15 to 1.0.16. - [Release notes](https://github.com/GeoNode/django-mapstore-adapter/releases) - [Changelog](https://github.com/GeoNode/django-mapstore-adapter/blob/master/CHANGELOG.md) - [Commits](GeoNode/django-mapstore-adapter@1.0.15...1.0.16) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump beautifulsoup4 from 4.8.1 to 4.8.2 Bumps [beautifulsoup4](http://www.crummy.com/software/BeautifulSoup/bs4/) from 4.8.1 to 4.8.2. Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump pytest from 4.6.8 to 4.6.9 Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.8 to 4.6.9. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/4.6.9/CHANGELOG.rst) - [Commits](pytest-dev/pytest@4.6.8...4.6.9) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump invoke from 1.3.0 to 1.4.0 Bumps [invoke](https://github.com/bitprophet/alabaster) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/bitprophet/alabaster/releases) - [Changelog](https://github.com/bitprophet/alabaster/blob/master/docs/changelog.rst) - [Commits](https://github.com/bitprophet/alabaster/commits) Signed-off-by: dependabot-preview[bot] <[email protected]> * [Fixes GeoNode#5486] "resolve_object" get confused when present a remote layer with alternate similar to the local one * [Fixes GeoNode#5497] W*S on QGis not authenticating * [Fixes GeoNode#5493] User permissions not synched when DEFAULT_ANONYMOUS_VIEW_PERMISSION is True * Bump coverage from 5.0.2 to 5.0.3 Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.0.2 to 5.0.3. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](nedbat/coveragepy@coverage-5.0.2...coverage-5.0.3) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump boto3 from 1.10.48 to 1.11.0 Bumps [boto3](https://github.com/boto/boto3) from 1.10.48 to 1.11.0. - [Release notes](https://github.com/boto/boto3/releases) - [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst) - [Commits](boto/boto3@1.10.48...1.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * - Typo * [Fixes GeoNode#5504] Map Thumbnails Broken * - Bump to GeoServer 2.15.4 * Bump pytest-django from 3.7.0 to 3.8.0 Bumps [pytest-django](https://github.com/pytest-dev/pytest-django) from 3.7.0 to 3.8.0. - [Release notes](https://github.com/pytest-dev/pytest-django/releases) - [Changelog](https://github.com/pytest-dev/pytest-django/blob/master/docs/changelog.rst) - [Commits](pytest-dev/pytest-django@v3.7.0...v3.8.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * [Fixes GeoNode#5504] Map Thumbnails Broken * - Bump to Python 3 * - Bump to GeoServer 2.15.4 * - Bump to Python 3 * Update JETTY_RUNNER_URL to secure HTTPS equivalent * Fix mixed content when logged in * - Bump to Python 3 * [Issue GeoNode#4276] Fixes to core modules for Python 3 Co-authored-by: Dingding Fan <[email protected]> Co-authored-by: Dana Lambert <[email protected]> * Adding documentation for Develop section * Update index.rst typo in l30 `service apahe2 stop` * - Bump to Python 3 * - Bump to officla spcgeonode images @ https://hub.docker.com/r/geonode/spcgeonode/tags (cherry picked from commit 221de30) # Conflicts: # scripts/spcgeonode/docker-compose.override.yml # scripts/spcgeonode/docker-compose.yml * - Updating SPCGeoNode README and doc references (cherry picked from commit 0d824a3) * - Bump to Python 3 * Bump django-recaptcha from 2.0.5 to 2.0.6 Bumps [django-recaptcha](https://github.com/praekelt/django-recaptcha) from 2.0.5 to 2.0.6. - [Release notes](https://github.com/praekelt/django-recaptcha/releases) - [Changelog](https://github.com/praekelt/django-recaptcha/blob/develop/CHANGELOG.rst) - [Commits](django-recaptcha/django-recaptcha@2.0.5...2.0.6) Signed-off-by: dependabot-preview[bot] <[email protected]> * Fixed elasticsearch versions * fixing steps and adding screenshots for develop * fixing typos * - Adding "maabdelghaffar" to CLA signatures * Update .travis.yml Do not allow selenium failures anymore * - updated install doc * - Do not store unpickable objects on request session * [Fixes GeoNode#5554] Fixed blank page when deleting announcements * [Issue GeoNode#5555] Improved speed of terminating geoserver locally * fixing workshop permissions tutorial * [Fixes GeoNode#5560] Cannot upload XML layer metadata * - Update Django version on docs * Bump pillow from 6.2.2 to 7.0.0 Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.2 to 7.0.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) - [Commits](python-pillow/Pillow@6.2.2...7.0.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump pyproj from 2.2.1 to 2.4.2.post1 Bumps [pyproj](https://github.com/pyproj4/pyproj) from 2.2.1 to 2.4.2.post1. - [Release notes](https://github.com/pyproj4/pyproj/releases) - [Changelog](https://github.com/pyproj4/pyproj/blob/master/docs/history.rst) - [Commits](https://github.com/pyproj4/pyproj/commits) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump django-mptt from 0.9.1 to 0.11.0 Bumps [django-mptt](https://github.com/django-mptt/django-mptt) from 0.9.1 to 0.11.0. - [Release notes](https://github.com/django-mptt/django-mptt/releases) - [Commits](django-mptt/django-mptt@0.9.1...0.11.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump pytest from 4.6.9 to 5.3.4 Bumps [pytest](https://github.com/pytest-dev/pytest) from 4.6.9 to 5.3.4. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst) - [Commits](pytest-dev/pytest@4.6.9...5.3.4) Signed-off-by: dependabot-preview[bot] <[email protected]> * Bump sqlalchemy from 1.3.12 to 1.3.13 Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) from 1.3.12 to 1.3.13. - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/master/CHANGES) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) Signed-off-by: dependabot-preview[bot] <[email protected]> * Update numpy requirement from ==1.16.* to ==1.18.* Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/master/doc/HOWTO_RELEASE.rst.txt) - [Commits](numpy/numpy@v1.16.0rc1...v1.18.1) Signed-off-by: dependabot-preview[bot] <[email protected]> * Workaround for pip 20.0.2+ issue GeoNode#7645: 20.0.2 Regression: module missing pip._internal.download * fix formatting issues at Develop documentation * Bump tqdm from 4.41.1 to 4.42.0 Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.41.1 to 4.42.0. - [Release notes](https://github.com/tqdm/tqdm/releases) - [Commits](tqdm/tqdm@v4.41.1...v4.42.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Fix GeoNode#5577 Vector layer does not have geometry or attributes. * Changed exceptions messages to be more understandable * Add travislbrundage to clabot * Fixes: GeoNode#5585 pg_dump is failing because of version missmatch * [Fixes GeoNode#5587] Set permissions for current user when DEFAULT_ANONYMOUS_VIEW_PERMISSION is False * [Fixes GeoNode#5584] Added dutch sorted languages Co-authored-by: Alessio Fabiani <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Francesco Frassinelli <[email protected]> Co-authored-by: Matthew Northcott <[email protected]> Co-authored-by: Toni <[email protected]> Co-authored-by: Rizky Maulana Nugraha <[email protected]> Co-authored-by: dhlambert <[email protected]> Co-authored-by: gonrial <[email protected]> Co-authored-by: Dingding <[email protected]> Co-authored-by: M. Ahmed <[email protected]>
Upgrading autocomplete_light dependency from 2.3.1 to 3.5.0 this will allow compatibility with django 2 and cross compatablity with python 2/3. Relates to #4276.
This has required significant changes as the DAL project usage has changed fairly significantly between versions 2.3.3 and 3.5.0. See docs below for more info.
New Docs: https://django-autocomplete-light.readthedocs.io/en/master/api.html
Old Docs: https://django-autocomplete-light.readthedocs.io/en/2.3.1/autocomplete.html
Additions/Fixes:
-> New keywords added in admin view do not error
-> Group category autocomplete now shows group categories not groups
-> Group category search works
-> No duplicates showing in autocomplete
-> Upgrading UI to use select2 widget
-> New UI styling for search input autocomplete dropdown - limits to 10 items
-> Manual implementation for Autocomplete on frontend using JQuery for input autocomplete.
-> Thesaurus keywords added to admin and advanced metadata edit views when activated
-> Thesaurus keywords do not get removed when saving data in advanced metadata edit views and admin
-> Search for groups works with queries with spaces
Removals/TODO
-> Keywords tree widget on backend and frontend needs updating to work with select2/autocomplete_light.
-> Did find there were issues with this custom widget when testing it on master. The heirarchy only seemed to open
sometimes when clicking an item, so this functionality would also need to be fixed.
-> Hack to get around advanced metadata styling for select2 elements, this might want to be updated at some point.
Checklist
For all pull requests:
The following are required only for core and extension modules (they are welcomed, but not required, for contrib modules):
Submitting the PR does not require you to check all items, but by the time it gets merged, they should be either satisfied or inapplicable.