umap-project 2.7.0b3__py3-none-any.whl → 2.7.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of umap-project might be problematic. Click here for more details.

Files changed (50) hide show
  1. umap/__init__.py +1 -1
  2. umap/asgi.py +15 -0
  3. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  4. umap/locale/es/LC_MESSAGES/django.po +134 -128
  5. umap/models.py +2 -1
  6. umap/settings/base.py +1 -1
  7. umap/static/umap/css/importers.css +4 -0
  8. umap/static/umap/img/16.svg +1 -184
  9. umap/static/umap/img/24-white.svg +1 -0
  10. umap/static/umap/img/24.svg +1 -0
  11. umap/static/umap/img/importers/cadastrefr.svg +23 -0
  12. umap/static/umap/img/source/16.svg +753 -200
  13. umap/static/umap/img/source/24-white.svg +3 -2
  14. umap/static/umap/img/source/24.svg +3 -2
  15. umap/static/umap/js/modules/caption.js +10 -4
  16. umap/static/umap/js/modules/data/layer.js +26 -14
  17. umap/static/umap/js/modules/importer.js +3 -0
  18. umap/static/umap/js/modules/importers/cadastrefr.js +62 -0
  19. umap/static/umap/js/modules/importers/communesfr.js +2 -2
  20. umap/static/umap/js/modules/rendering/layers/classified.js +1 -0
  21. umap/static/umap/js/modules/rendering/ui.js +3 -1
  22. umap/static/umap/js/modules/share.js +1 -3
  23. umap/static/umap/js/modules/slideshow.js +1 -1
  24. umap/static/umap/js/modules/sync/engine.js +14 -8
  25. umap/static/umap/js/modules/sync/hlc.js +3 -3
  26. umap/static/umap/js/modules/sync/updaters.js +14 -2
  27. umap/static/umap/js/modules/ui/panel.js +12 -1
  28. umap/static/umap/js/modules/utils.js +24 -4
  29. umap/static/umap/js/umap.controls.js +42 -11
  30. umap/static/umap/js/umap.core.js +1 -1
  31. umap/static/umap/js/umap.js +11 -11
  32. umap/static/umap/locale/ca.js +8 -4
  33. umap/static/umap/locale/ca.json +8 -4
  34. umap/static/umap/locale/en.js +2 -1
  35. umap/static/umap/locale/en.json +2 -1
  36. umap/static/umap/locale/es.js +330 -319
  37. umap/static/umap/locale/es.json +330 -319
  38. umap/static/umap/locale/fr.js +2 -1
  39. umap/static/umap/locale/fr.json +2 -1
  40. umap/static/umap/map.css +27 -7
  41. umap/static/umap/unittests/hlc.js +2 -0
  42. umap/static/umap/unittests/utils.js +24 -0
  43. umap/static/umap/vars.css +2 -1
  44. umap/tests/integration/test_caption.py +3 -3
  45. umap/tests/integration/test_edit_map.py +1 -1
  46. {umap_project-2.7.0b3.dist-info → umap_project-2.7.1.dist-info}/METADATA +9 -6
  47. {umap_project-2.7.0b3.dist-info → umap_project-2.7.1.dist-info}/RECORD +50 -47
  48. {umap_project-2.7.0b3.dist-info → umap_project-2.7.1.dist-info}/WHEEL +0 -0
  49. {umap_project-2.7.0b3.dist-info → umap_project-2.7.1.dist-info}/entry_points.txt +0 -0
  50. {umap_project-2.7.0b3.dist-info → umap_project-2.7.1.dist-info}/licenses/LICENSE +0 -0
umap/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION = "2.7.0b3"
1
+ VERSION = "2.7.1"
umap/asgi.py ADDED
@@ -0,0 +1,15 @@
1
+ import os
2
+
3
+ from channels.routing import ProtocolTypeRouter
4
+ from django.core.asgi import get_asgi_application
5
+
6
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "umap.settings")
7
+ # Initialize Django ASGI application early to ensure the AppRegistry
8
+ # is populated before importing code that may import ORM models.
9
+ django_asgi_app = get_asgi_application()
10
+
11
+ application = ProtocolTypeRouter(
12
+ {
13
+ "http": django_asgi_app,
14
+ }
15
+ )
Binary file