umap-project 2.7.3__tar.gz → 2.8.0__tar.gz
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.
- umap_project-2.8.0/.gitignore +32 -0
- umap_project-2.8.0/PKG-INFO +67 -0
- umap_project-2.8.0/pyproject.toml +106 -0
- umap_project-2.8.0/umap/__init__.py +1 -0
- umap_project-2.8.0/umap/forms.py +126 -0
- umap_project-2.8.0/umap/locale/am_ET/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/am_ET/LC_MESSAGES/django.po +674 -0
- umap_project-2.8.0/umap/locale/ar/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/ar/LC_MESSAGES/django.po +680 -0
- umap_project-2.8.0/umap/locale/bg/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/bg/LC_MESSAGES/django.po +677 -0
- umap_project-2.8.0/umap/locale/br/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/br/LC_MESSAGES/django.po +679 -0
- umap_project-2.8.0/umap/locale/ca/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/ca/LC_MESSAGES/django.po +679 -0
- umap_project-2.8.0/umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/cs_CZ/LC_MESSAGES/django.po +684 -0
- umap_project-2.8.0/umap/locale/da/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/da/LC_MESSAGES/django.po +677 -0
- umap_project-2.8.0/umap/locale/de/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/de/LC_MESSAGES/django.po +684 -0
- umap_project-2.8.0/umap/locale/el/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/el/LC_MESSAGES/django.po +679 -0
- umap_project-2.8.0/umap/locale/en/LC_MESSAGES/django.po +673 -0
- umap_project-2.8.0/umap/locale/es/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/es/LC_MESSAGES/django.po +683 -0
- umap_project-2.8.0/umap/locale/et/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/et/LC_MESSAGES/django.po +675 -0
- umap_project-2.8.0/umap/locale/eu/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/eu/LC_MESSAGES/django.po +675 -0
- umap_project-2.8.0/umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/fa_IR/LC_MESSAGES/django.po +678 -0
- umap_project-2.8.0/umap/locale/fi/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/fi/LC_MESSAGES/django.po +678 -0
- umap_project-2.8.0/umap/locale/fr/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/fr/LC_MESSAGES/django.po +691 -0
- umap_project-2.8.0/umap/locale/gl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/gl/LC_MESSAGES/django.po +678 -0
- umap_project-2.8.0/umap/locale/he/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/he/LC_MESSAGES/django.po +675 -0
- umap_project-2.8.0/umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/hu/LC_MESSAGES/django.po +675 -0
- umap_project-2.8.0/umap/locale/is/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/is/LC_MESSAGES/django.po +674 -0
- umap_project-2.8.0/umap/locale/it/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/it/LC_MESSAGES/django.po +688 -0
- umap_project-2.8.0/umap/locale/ja/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/ja/LC_MESSAGES/django.po +674 -0
- umap_project-2.8.0/umap/locale/ko/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/ko/LC_MESSAGES/django.po +673 -0
- umap_project-2.8.0/umap/locale/lt/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/lt/LC_MESSAGES/django.po +677 -0
- umap_project-2.8.0/umap/locale/ms/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/ms/LC_MESSAGES/django.po +674 -0
- umap_project-2.8.0/umap/locale/nl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/nl/LC_MESSAGES/django.po +676 -0
- umap_project-2.8.0/umap/locale/pl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/pl/LC_MESSAGES/django.po +685 -0
- umap_project-2.8.0/umap/locale/pt/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/pt/LC_MESSAGES/django.po +677 -0
- umap_project-2.8.0/umap/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/pt_BR/LC_MESSAGES/django.po +677 -0
- umap_project-2.8.0/umap/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/pt_PT/LC_MESSAGES/django.po +676 -0
- umap_project-2.8.0/umap/locale/ru/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/ru/LC_MESSAGES/django.po +681 -0
- umap_project-2.8.0/umap/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/sk_SK/LC_MESSAGES/django.po +678 -0
- umap_project-2.8.0/umap/locale/sl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/sl/LC_MESSAGES/django.po +678 -0
- umap_project-2.8.0/umap/locale/sr/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/sr/LC_MESSAGES/django.po +675 -0
- umap_project-2.8.0/umap/locale/sv/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/sv/LC_MESSAGES/django.po +677 -0
- umap_project-2.8.0/umap/locale/th_TH/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/th_TH/LC_MESSAGES/django.po +674 -0
- umap_project-2.8.0/umap/locale/tr/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/tr/LC_MESSAGES/django.po +677 -0
- umap_project-2.8.0/umap/locale/uk_UA/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/uk_UA/LC_MESSAGES/django.po +678 -0
- umap_project-2.8.0/umap/locale/vi/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/vi/LC_MESSAGES/django.po +673 -0
- umap_project-2.8.0/umap/locale/zh/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/zh/LC_MESSAGES/django.po +675 -0
- umap_project-2.8.0/umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
- umap_project-2.8.0/umap/locale/zh_TW/LC_MESSAGES/django.po +680 -0
- umap_project-2.8.0/umap/management/commands/empty_trash.py +35 -0
- umap_project-2.8.0/umap/management/commands/migrate_to_S3.py +29 -0
- umap_project-2.8.0/umap/migrations/0023_alter_datalayer_uuid.py +19 -0
- umap_project-2.8.0/umap/migrations/0024_alter_map_share_status.py +30 -0
- umap_project-2.8.0/umap/migrations/0025_alter_datalayer_geojson.py +24 -0
- umap_project-2.8.0/umap/models.py +577 -0
- umap_project-2.8.0/umap/settings/base.py +345 -0
- umap_project-2.8.0/umap/settings/local_s3.py +45 -0
- umap_project-2.8.0/umap/static/umap/base.css +201 -0
- umap_project-2.8.0/umap/static/umap/content.css +556 -0
- umap_project-2.8.0/umap/static/umap/css/bar.css +202 -0
- umap_project-2.8.0/umap/static/umap/css/form.css +620 -0
- umap_project-2.8.0/umap/static/umap/css/icon.css +177 -0
- umap_project-2.8.0/umap/static/umap/css/popup.css +125 -0
- umap_project-2.8.0/umap/static/umap/img/16-white.svg +212 -0
- umap_project-2.8.0/umap/static/umap/img/16.svg +1 -0
- umap_project-2.8.0/umap/static/umap/img/source/16-white.svg +223 -0
- umap_project-2.8.0/umap/static/umap/img/source/16.svg +4 -0
- umap_project-2.8.0/umap/static/umap/js/components/fragment.js +15 -0
- umap_project-2.8.0/umap/static/umap/js/modules/browser.js +278 -0
- umap_project-2.8.0/umap/static/umap/js/modules/caption.js +127 -0
- umap_project-2.8.0/umap/static/umap/js/modules/data/features.js +1210 -0
- umap_project-2.8.0/umap/static/umap/js/modules/data/layer.js +1269 -0
- umap_project-2.8.0/umap/static/umap/js/modules/facets.js +160 -0
- umap_project-2.8.0/umap/static/umap/js/modules/formatter.js +167 -0
- umap_project-2.8.0/umap/static/umap/js/modules/global.js +33 -0
- umap_project-2.8.0/umap/static/umap/js/modules/help.js +252 -0
- umap_project-2.8.0/umap/static/umap/js/modules/importer.js +388 -0
- umap_project-2.8.0/umap/static/umap/js/modules/importers/cadastrefr.js +66 -0
- umap_project-2.8.0/umap/static/umap/js/modules/importers/geodatamine.js +95 -0
- umap_project-2.8.0/umap/static/umap/js/modules/importers/overpass.js +107 -0
- umap_project-2.8.0/umap/static/umap/js/modules/permissions.js +308 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/icon.js +272 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/layers/base.js +105 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/layers/classified.js +486 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/layers/cluster.js +103 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/layers/heat.js +182 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/map.js +390 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/popup.js +99 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/template.js +284 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rendering/ui.js +508 -0
- umap_project-2.8.0/umap/static/umap/js/modules/request.js +152 -0
- umap_project-2.8.0/umap/static/umap/js/modules/rules.js +266 -0
- umap_project-2.8.0/umap/static/umap/js/modules/saving.js +47 -0
- umap_project-2.8.0/umap/static/umap/js/modules/schema.js +572 -0
- umap_project-2.8.0/umap/static/umap/js/modules/share.js +230 -0
- umap_project-2.8.0/umap/static/umap/js/modules/slideshow.js +145 -0
- umap_project-2.8.0/umap/static/umap/js/modules/sync/updaters.js +117 -0
- umap_project-2.8.0/umap/static/umap/js/modules/tableeditor.js +330 -0
- umap_project-2.8.0/umap/static/umap/js/modules/ui/bar.js +196 -0
- umap_project-2.8.0/umap/static/umap/js/modules/ui/dialog.js +199 -0
- umap_project-2.8.0/umap/static/umap/js/modules/ui/panel.js +107 -0
- umap_project-2.8.0/umap/static/umap/js/modules/umap.js +1691 -0
- umap_project-2.8.0/umap/static/umap/js/modules/urls.js +32 -0
- umap_project-2.8.0/umap/static/umap/js/modules/utils.js +448 -0
- umap_project-2.8.0/umap/static/umap/js/umap.controls.js +1105 -0
- umap_project-2.8.0/umap/static/umap/js/umap.core.js +238 -0
- umap_project-2.8.0/umap/static/umap/js/umap.forms.js +1242 -0
- umap_project-2.8.0/umap/static/umap/keycloak.png +0 -0
- umap_project-2.8.0/umap/static/umap/locale/am_ET.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/am_ET.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ar.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ar.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ast.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ast.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/bg.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/bg.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/br.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/br.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ca.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ca.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/cs_CZ.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/cs_CZ.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/da.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/da.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/de.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/de.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/el.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/el.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/en.js +528 -0
- umap_project-2.8.0/umap/static/umap/locale/en.json +526 -0
- umap_project-2.8.0/umap/static/umap/locale/en_US.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/es.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/es.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/et.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/et.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/eu.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/eu.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/fa_IR.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/fa_IR.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/fi.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/fi.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/fr.js +528 -0
- umap_project-2.8.0/umap/static/umap/locale/fr.json +526 -0
- umap_project-2.8.0/umap/static/umap/locale/gl.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/gl.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/he.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/he.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/hr.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/hr.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/hu.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/hu.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/id.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/id.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/is.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/is.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/it.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/it.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ja.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ja.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ko.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ko.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/lt.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/lt.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ms.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ms.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/nl.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/nl.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/no.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/no.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/pl.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/pl.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/pl_PL.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/pt.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/pt.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/pt_BR.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/pt_BR.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/pt_PT.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/pt_PT.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ro.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ro.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/ru.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/ru.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/si.js +487 -0
- umap_project-2.8.0/umap/static/umap/locale/si.json +485 -0
- umap_project-2.8.0/umap/static/umap/locale/sk_SK.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/sk_SK.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/sl.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/sl.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/sr.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/sr.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/sv.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/sv.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/th_TH.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/th_TH.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/tr.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/tr.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/uk_UA.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/uk_UA.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/vi.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/vi.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/vi_VN.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/zh.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/zh.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/zh_CN.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/zh_TW.Big5.json +524 -0
- umap_project-2.8.0/umap/static/umap/locale/zh_TW.js +526 -0
- umap_project-2.8.0/umap/static/umap/locale/zh_TW.json +524 -0
- umap_project-2.8.0/umap/static/umap/map.css +1093 -0
- umap_project-2.8.0/umap/static/umap/unittests/URLs.js +59 -0
- umap_project-2.8.0/umap/static/umap/unittests/utils.js +851 -0
- umap_project-2.8.0/umap/static/umap/vars.css +68 -0
- umap_project-2.8.0/umap/static/umap/vendors/formbuilder/Leaflet.FormBuilder.js +468 -0
- umap_project-2.8.0/umap/storage/__init__.py +3 -0
- umap_project-2.8.0/umap/storage/fs.py +101 -0
- umap_project-2.8.0/umap/storage/s3.py +61 -0
- umap_project-2.8.0/umap/templates/base.html +45 -0
- umap_project-2.8.0/umap/templates/registration/login.html +68 -0
- umap_project-2.8.0/umap/templates/umap/components/alerts/alert.html +114 -0
- umap_project-2.8.0/umap/templates/umap/css.html +44 -0
- umap_project-2.8.0/umap/templates/umap/js.html +46 -0
- umap_project-2.8.0/umap/templates/umap/map_init.html +13 -0
- umap_project-2.8.0/umap/templates/umap/user_dashboard.html +68 -0
- umap_project-2.8.0/umap/tests/base.py +162 -0
- umap_project-2.8.0/umap/tests/fixtures/test_upload_simple_marker.json +19 -0
- umap_project-2.8.0/umap/tests/integration/conftest.py +89 -0
- umap_project-2.8.0/umap/tests/integration/test_anonymous_owned_map.py +253 -0
- umap_project-2.8.0/umap/tests/integration/test_browser.py +493 -0
- umap_project-2.8.0/umap/tests/integration/test_dashboard.py +48 -0
- umap_project-2.8.0/umap/tests/integration/test_edit_datalayer.py +234 -0
- umap_project-2.8.0/umap/tests/integration/test_import.py +786 -0
- umap_project-2.8.0/umap/tests/integration/test_optimistic_merge.py +319 -0
- umap_project-2.8.0/umap/tests/integration/test_owned_map.py +265 -0
- umap_project-2.8.0/umap/tests/integration/test_popup.py +44 -0
- umap_project-2.8.0/umap/tests/integration/test_save.py +35 -0
- umap_project-2.8.0/umap/tests/integration/test_view_marker.py +183 -0
- umap_project-2.8.0/umap/tests/integration/test_view_polyline.py +308 -0
- umap_project-2.8.0/umap/tests/integration/test_websocket_sync.py +417 -0
- umap_project-2.8.0/umap/tests/test_dashboard.py +82 -0
- umap_project-2.8.0/umap/tests/test_datalayer.py +294 -0
- umap_project-2.8.0/umap/tests/test_datalayer_s3.py +135 -0
- umap_project-2.8.0/umap/tests/test_datalayer_views.py +623 -0
- umap_project-2.8.0/umap/tests/test_empty_trash.py +34 -0
- umap_project-2.8.0/umap/tests/test_map.py +176 -0
- umap_project-2.8.0/umap/tests/test_map_views.py +914 -0
- umap_project-2.8.0/umap/tests/test_statics.py +40 -0
- umap_project-2.8.0/umap/tests/test_team_views.py +165 -0
- umap_project-2.8.0/umap/tests/test_views.py +478 -0
- umap_project-2.8.0/umap/urls.py +226 -0
- umap_project-2.8.0/umap/views.py +1405 -0
- umap_project-2.7.3/.gitignore +0 -27
- umap_project-2.7.3/PKG-INFO +0 -64
- umap_project-2.7.3/pyproject.toml +0 -102
- umap_project-2.7.3/umap/__init__.py +0 -1
- umap_project-2.7.3/umap/forms.py +0 -136
- umap_project-2.7.3/umap/locale/am_ET/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/am_ET/LC_MESSAGES/django.po +0 -547
- umap_project-2.7.3/umap/locale/ar/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/ar/LC_MESSAGES/django.po +0 -486
- umap_project-2.7.3/umap/locale/bg/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/bg/LC_MESSAGES/django.po +0 -550
- umap_project-2.7.3/umap/locale/br/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/br/LC_MESSAGES/django.po +0 -663
- umap_project-2.7.3/umap/locale/ca/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/ca/LC_MESSAGES/django.po +0 -662
- umap_project-2.7.3/umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/cs_CZ/LC_MESSAGES/django.po +0 -672
- umap_project-2.7.3/umap/locale/da/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/da/LC_MESSAGES/django.po +0 -550
- umap_project-2.7.3/umap/locale/de/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/de/LC_MESSAGES/django.po +0 -668
- umap_project-2.7.3/umap/locale/el/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/el/LC_MESSAGES/django.po +0 -663
- umap_project-2.7.3/umap/locale/en/LC_MESSAGES/django.po +0 -661
- umap_project-2.7.3/umap/locale/es/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/es/LC_MESSAGES/django.po +0 -671
- umap_project-2.7.3/umap/locale/et/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/et/LC_MESSAGES/django.po +0 -548
- umap_project-2.7.3/umap/locale/eu/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/eu/LC_MESSAGES/django.po +0 -659
- umap_project-2.7.3/umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/fa_IR/LC_MESSAGES/django.po +0 -662
- umap_project-2.7.3/umap/locale/fi/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/fi/LC_MESSAGES/django.po +0 -551
- umap_project-2.7.3/umap/locale/fr/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/fr/LC_MESSAGES/django.po +0 -679
- umap_project-2.7.3/umap/locale/gl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/gl/LC_MESSAGES/django.po +0 -551
- umap_project-2.7.3/umap/locale/he/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/he/LC_MESSAGES/django.po +0 -548
- umap_project-2.7.3/umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/hu/LC_MESSAGES/django.po +0 -659
- umap_project-2.7.3/umap/locale/is/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/is/LC_MESSAGES/django.po +0 -547
- umap_project-2.7.3/umap/locale/it/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/it/LC_MESSAGES/django.po +0 -672
- umap_project-2.7.3/umap/locale/ja/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/ja/LC_MESSAGES/django.po +0 -547
- umap_project-2.7.3/umap/locale/ko/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/ko/LC_MESSAGES/django.po +0 -546
- umap_project-2.7.3/umap/locale/lt/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/lt/LC_MESSAGES/django.po +0 -550
- umap_project-2.7.3/umap/locale/ms/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/ms/LC_MESSAGES/django.po +0 -658
- umap_project-2.7.3/umap/locale/nl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/nl/LC_MESSAGES/django.po +0 -549
- umap_project-2.7.3/umap/locale/pl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/pl/LC_MESSAGES/django.po +0 -669
- umap_project-2.7.3/umap/locale/pt/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/pt/LC_MESSAGES/django.po +0 -665
- umap_project-2.7.3/umap/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/pt_BR/LC_MESSAGES/django.po +0 -550
- umap_project-2.7.3/umap/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/pt_PT/LC_MESSAGES/django.po +0 -549
- umap_project-2.7.3/umap/locale/ru/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/ru/LC_MESSAGES/django.po +0 -554
- umap_project-2.7.3/umap/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/sk_SK/LC_MESSAGES/django.po +0 -551
- umap_project-2.7.3/umap/locale/sl/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/sl/LC_MESSAGES/django.po +0 -551
- umap_project-2.7.3/umap/locale/sr/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/sr/LC_MESSAGES/django.po +0 -548
- umap_project-2.7.3/umap/locale/sv/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/sv/LC_MESSAGES/django.po +0 -661
- umap_project-2.7.3/umap/locale/th_TH/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/th_TH/LC_MESSAGES/django.po +0 -602
- umap_project-2.7.3/umap/locale/tr/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/tr/LC_MESSAGES/django.po +0 -550
- umap_project-2.7.3/umap/locale/uk_UA/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/uk_UA/LC_MESSAGES/django.po +0 -551
- umap_project-2.7.3/umap/locale/vi/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/vi/LC_MESSAGES/django.po +0 -546
- umap_project-2.7.3/umap/locale/zh/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/zh/LC_MESSAGES/django.po +0 -548
- umap_project-2.7.3/umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
- umap_project-2.7.3/umap/locale/zh_TW/LC_MESSAGES/django.po +0 -664
- umap_project-2.7.3/umap/management/commands/purge_purgatory.py +0 -28
- umap_project-2.7.3/umap/models.py +0 -625
- umap_project-2.7.3/umap/settings/base.py +0 -325
- umap_project-2.7.3/umap/static/umap/base.css +0 -801
- umap_project-2.7.3/umap/static/umap/content.css +0 -554
- umap_project-2.7.3/umap/static/umap/css/icon.css +0 -157
- umap_project-2.7.3/umap/static/umap/img/16-white.svg +0 -200
- umap_project-2.7.3/umap/static/umap/img/16.svg +0 -1
- umap_project-2.7.3/umap/static/umap/img/source/16-white.svg +0 -222
- umap_project-2.7.3/umap/static/umap/img/source/16.svg +0 -756
- umap_project-2.7.3/umap/static/umap/js/components/fragment.js +0 -13
- umap_project-2.7.3/umap/static/umap/js/modules/browser.js +0 -277
- umap_project-2.7.3/umap/static/umap/js/modules/caption.js +0 -128
- umap_project-2.7.3/umap/static/umap/js/modules/data/features.js +0 -1168
- umap_project-2.7.3/umap/static/umap/js/modules/data/layer.js +0 -1227
- umap_project-2.7.3/umap/static/umap/js/modules/facets.js +0 -160
- umap_project-2.7.3/umap/static/umap/js/modules/formatter.js +0 -167
- umap_project-2.7.3/umap/static/umap/js/modules/global.js +0 -81
- umap_project-2.7.3/umap/static/umap/js/modules/help.js +0 -255
- umap_project-2.7.3/umap/static/umap/js/modules/importer.js +0 -311
- umap_project-2.7.3/umap/static/umap/js/modules/importers/cadastrefr.js +0 -62
- umap_project-2.7.3/umap/static/umap/js/modules/importers/geodatamine.js +0 -95
- umap_project-2.7.3/umap/static/umap/js/modules/importers/overpass.js +0 -102
- umap_project-2.7.3/umap/static/umap/js/modules/permissions.js +0 -310
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/icon.js +0 -271
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/layers/base.js +0 -105
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/layers/classified.js +0 -486
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/layers/cluster.js +0 -103
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/layers/heat.js +0 -182
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/popup.js +0 -99
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/template.js +0 -217
- umap_project-2.7.3/umap/static/umap/js/modules/rendering/ui.js +0 -459
- umap_project-2.7.3/umap/static/umap/js/modules/request.js +0 -152
- umap_project-2.7.3/umap/static/umap/js/modules/rules.js +0 -269
- umap_project-2.7.3/umap/static/umap/js/modules/schema.js +0 -566
- umap_project-2.7.3/umap/static/umap/js/modules/share.js +0 -233
- umap_project-2.7.3/umap/static/umap/js/modules/slideshow.js +0 -141
- umap_project-2.7.3/umap/static/umap/js/modules/sync/updaters.js +0 -119
- umap_project-2.7.3/umap/static/umap/js/modules/tableeditor.js +0 -329
- umap_project-2.7.3/umap/static/umap/js/modules/ui/dialog.js +0 -194
- umap_project-2.7.3/umap/static/umap/js/modules/ui/panel.js +0 -106
- umap_project-2.7.3/umap/static/umap/js/modules/urls.js +0 -32
- umap_project-2.7.3/umap/static/umap/js/modules/utils.js +0 -432
- umap_project-2.7.3/umap/static/umap/js/umap.controls.js +0 -1329
- umap_project-2.7.3/umap/static/umap/js/umap.core.js +0 -259
- umap_project-2.7.3/umap/static/umap/js/umap.forms.js +0 -1191
- umap_project-2.7.3/umap/static/umap/js/umap.js +0 -1903
- umap_project-2.7.3/umap/static/umap/locale/am_ET.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/am_ET.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/ar.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/ar.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/ast.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/ast.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/bg.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/bg.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/br.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/br.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/ca.js +0 -523
- umap_project-2.7.3/umap/static/umap/locale/ca.json +0 -521
- umap_project-2.7.3/umap/static/umap/locale/cs_CZ.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/cs_CZ.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/da.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/da.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/de.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/de.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/el.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/el.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/en.js +0 -523
- umap_project-2.7.3/umap/static/umap/locale/en.json +0 -521
- umap_project-2.7.3/umap/static/umap/locale/en_US.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/es.js +0 -523
- umap_project-2.7.3/umap/static/umap/locale/es.json +0 -521
- umap_project-2.7.3/umap/static/umap/locale/et.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/et.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/eu.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/eu.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/fa_IR.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/fa_IR.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/fi.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/fi.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/fr.js +0 -523
- umap_project-2.7.3/umap/static/umap/locale/fr.json +0 -521
- umap_project-2.7.3/umap/static/umap/locale/gl.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/gl.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/he.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/he.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/hr.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/hr.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/hu.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/hu.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/id.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/id.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/is.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/is.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/it.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/it.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/ja.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/ja.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/ko.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/ko.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/lt.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/lt.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/ms.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/ms.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/nl.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/nl.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/no.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/no.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/pl.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/pl.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/pl_PL.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/pt.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/pt.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/pt_BR.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/pt_BR.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/pt_PT.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/pt_PT.json +0 -517
- umap_project-2.7.3/umap/static/umap/locale/ro.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/ro.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/ru.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/ru.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/si.js +0 -487
- umap_project-2.7.3/umap/static/umap/locale/si.json +0 -485
- umap_project-2.7.3/umap/static/umap/locale/sk_SK.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/sk_SK.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/sl.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/sl.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/sr.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/sr.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/sv.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/sv.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/th_TH.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/th_TH.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/tr.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/tr.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/uk_UA.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/uk_UA.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/vi.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/vi.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/vi_VN.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/zh.js +0 -510
- umap_project-2.7.3/umap/static/umap/locale/zh.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/zh_CN.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/zh_TW.Big5.json +0 -508
- umap_project-2.7.3/umap/static/umap/locale/zh_TW.js +0 -519
- umap_project-2.7.3/umap/static/umap/locale/zh_TW.json +0 -517
- umap_project-2.7.3/umap/static/umap/map.css +0 -1584
- umap_project-2.7.3/umap/static/umap/unittests/URLs.js +0 -59
- umap_project-2.7.3/umap/static/umap/unittests/utils.js +0 -829
- umap_project-2.7.3/umap/static/umap/vars.css +0 -67
- umap_project-2.7.3/umap/static/umap/vendors/formbuilder/Leaflet.FormBuilder.js +0 -464
- umap_project-2.7.3/umap/templates/base.html +0 -43
- umap_project-2.7.3/umap/templates/registration/login.html +0 -67
- umap_project-2.7.3/umap/templates/umap/components/alerts/alert.html +0 -110
- umap_project-2.7.3/umap/templates/umap/css.html +0 -38
- umap_project-2.7.3/umap/templates/umap/js.html +0 -45
- umap_project-2.7.3/umap/templates/umap/map_init.html +0 -12
- umap_project-2.7.3/umap/templates/umap/user_dashboard.html +0 -67
- umap_project-2.7.3/umap/tests/base.py +0 -158
- umap_project-2.7.3/umap/tests/integration/conftest.py +0 -88
- umap_project-2.7.3/umap/tests/integration/test_anonymous_owned_map.py +0 -245
- umap_project-2.7.3/umap/tests/integration/test_browser.py +0 -478
- umap_project-2.7.3/umap/tests/integration/test_dashboard.py +0 -48
- umap_project-2.7.3/umap/tests/integration/test_edit_datalayer.py +0 -212
- umap_project-2.7.3/umap/tests/integration/test_import.py +0 -764
- umap_project-2.7.3/umap/tests/integration/test_optimistic_merge.py +0 -296
- umap_project-2.7.3/umap/tests/integration/test_owned_map.py +0 -259
- umap_project-2.7.3/umap/tests/integration/test_view_marker.py +0 -171
- umap_project-2.7.3/umap/tests/integration/test_view_polyline.py +0 -51
- umap_project-2.7.3/umap/tests/integration/test_websocket_sync.py +0 -345
- umap_project-2.7.3/umap/tests/test_datalayer.py +0 -295
- umap_project-2.7.3/umap/tests/test_datalayer_views.py +0 -605
- umap_project-2.7.3/umap/tests/test_map.py +0 -167
- umap_project-2.7.3/umap/tests/test_map_views.py +0 -882
- umap_project-2.7.3/umap/tests/test_purge_purgatory.py +0 -25
- umap_project-2.7.3/umap/tests/test_statics.py +0 -40
- umap_project-2.7.3/umap/tests/test_team_views.py +0 -131
- umap_project-2.7.3/umap/tests/test_views.py +0 -499
- umap_project-2.7.3/umap/urls.py +0 -226
- umap_project-2.7.3/umap/views.py +0 -1369
- {umap_project-2.7.3 → umap_project-2.8.0}/LICENSE +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/README.md +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/admin.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/apps.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/asgi.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/autocomplete.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/bin/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/context_processors.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/decorators.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/fields.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/ast/LC_MESSAGES/django.mo +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/ast/LC_MESSAGES/django.po +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/en/LC_MESSAGES/django.mo +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/hr/LC_MESSAGES/django.mo +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/hr/LC_MESSAGES/django.po +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/id/LC_MESSAGES/django.mo +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/id/LC_MESSAGES/django.po +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/no/LC_MESSAGES/django.mo +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/no/LC_MESSAGES/django.po +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/ro/LC_MESSAGES/django.mo +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/ro/LC_MESSAGES/django.po +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/si/LC_MESSAGES/django.mo +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/locale/si/LC_MESSAGES/django.po +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/management/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/management/commands/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/management/commands/anonymous_edit_url.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/management/commands/clean_tilelayer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/management/commands/generate_js_locale.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/management/commands/import_pictograms.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/management/commands/run_websocket_server.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/managers.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/middleware.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0001_initial.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0002_tilelayer_tms.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0003_add_tilelayer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0004_add_licence.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0005_remove_map_tilelayer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0006_auto_20190407_0719.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0007_auto_20190416_1757.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0008_alter_map_settings.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0009_star.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0010_alter_map_edit_status_alter_map_share_status.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0011_alter_map_edit_status_alter_map_share_status.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0012_datalayer_settings.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0013_datalayer_edit_status.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0014_map_created_at.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0015_alter_pictogram_pictogram.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0016_pictogram_category.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0017_migrate_to_openstreetmap_oauth2.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0018_datalayer_uuid.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0019_migrate_internal_remote_datalayers.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0020_alter_tilelayer_url_template.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0021_remove_map_description.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/0022_add_team.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/migrations/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/settings/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/settings/dev.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/settings/local.py.sample +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/.gitignore +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/bitbucket.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/contextmenu.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/dialog.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/importers.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/panel.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/slideshow.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/tableeditor.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/tooltip.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/css/window.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/favicons/apple-touch-icon.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/favicons/favicon.ico +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/favicons/icon-192.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/favicons/icon-512.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/favicons/icon.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/font/FiraSans-Light.woff +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/font/FiraSans-Light.woff2 +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/font/FiraSans-LightItalic.woff +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/font/FiraSans-LightItalic.woff2 +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/font/FiraSans-SemiBold.woff +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/font/FiraSans-SemiBold.woff2 +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/font.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/github.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/24-white.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/24.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/alert-icon-error.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/alert-icon-info.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/alert-icon-success.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/edit.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-bg.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-delete.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-download.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-duplicate.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-edit.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-external-link.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-share.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/icon-view.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/cadastrefr.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/communesfr.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/datasets.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/geodatamine.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/overpass.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/random.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/random1.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/importers/random2.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/logo.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/logo_filigree.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/logo_small.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/marker.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/marker.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/opensource.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/osm.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/search.gif +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/source/24-white.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/img/source/24.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/components/alerts/alert.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/components/alerts/alert.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/components/base.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/autocomplete.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/dompurify.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/i18n.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/importers/communesfr.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/importers/datasets.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/leaflet-configure.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/orderable.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/sync/engine.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/sync/hlc.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/sync/websocket.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/ui/base.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/ui/contextmenu.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/js/modules/ui/tooltip.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/nav.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/openstreetmap.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/.eslintrc +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/DataLayer.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/Feature.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/Map.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/Marker.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/Polygon.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/Polyline.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/Util.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/_pre.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/test/index.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/theme.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/twitter.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/unittests/hlc.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/unittests/sync.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/colorbrewer/colorbrewer.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/csv2geojson/csv2geojson.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/dompurify/purify.es.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/dompurify/purify.es.mjs.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/editable/Leaflet.Editable.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/editable/Path.Drag.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/editinosm/Leaflet.EditInOSM.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/editinosm/Leaflet.EditInOSM.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/editinosm/edit-in-osm.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/fullscreen/Leaflet.fullscreen.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/fullscreen/Leaflet.fullscreen.min.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/fullscreen/fullscreen.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/fullscreen/fullscreen@2x.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/fullscreen/leaflet.fullscreen.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/geojson-to-gpx/index.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/georsstogeojson/GeoRSSToGeoJSON.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/hash/leaflet-hash.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/heat/leaflet-heat.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/i18n/Leaflet.i18n.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/iconlayers/check.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/iconlayers/iconLayers.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/iconlayers/iconLayers.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/iconlayers/transparent-pixel.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/images/layers-2x.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/images/layers.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/images/marker-icon-2x.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/images/marker-icon.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/images/marker-shadow.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/leaflet-src.esm.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/leaflet-src.esm.js.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/leaflet/leaflet.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/loading/Control.Loading.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/loading/Control.Loading.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/markercluster/MarkerCluster.Default.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/markercluster/MarkerCluster.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/markercluster/leaflet.markercluster.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/markercluster/leaflet.markercluster.js.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/measurable/Leaflet.Measurable.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/measurable/Leaflet.Measurable.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/minimap/Control.MiniMap.min.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/minimap/Control.MiniMap.min.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/minimap/images/toggle.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/minimap/images/toggle.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/osmtogeojson/osmtogeojson.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/photon/leaflet.photon.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/simple-statistics/simple-statistics.min.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/simple-statistics/simple-statistics.min.js.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/togeojson/togeojson.es.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/togeojson/togeojson.es.mjs.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/tokml/tokml.es.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/tokml/tokml.es.mjs.map +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/toolbar/leaflet.toolbar.css +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/static/umap/vendors/toolbar/leaflet.toolbar.js +0 -0
- /umap_project-2.7.3/umap/storage.py → /umap_project-2.8.0/umap/storage/staticfiles.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/404.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/500.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/auth/user_detail.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/auth/user_form.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/auth/user_stars.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/about.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/about_summary.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/branding.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/content.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/content_footer.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/dashboard_menu.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/footer.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/header.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/home.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/locale.js +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/login_popup_end.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/map_detail.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/map_fragment.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/map_list.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/map_table.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/messages.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/navigation.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/password_change.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/password_change_done.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/search.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/search_bar.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/success.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/team_confirm_delete.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/team_detail.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/team_form.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templates/umap/user_teams.html +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templatetags/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/templatetags/umap_tags.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/conftest.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/categorized_highway.geojson +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/choropleth_region_chomage.geojson +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/circle.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/display_on_load.umap +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/empty_tile.png +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/star.svg +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_circles_layer.geojson +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_import_osm_relation.json +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_data.csv +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_data.gpx +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_data.json +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_data.kml +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_data.umap +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_data_osm.json +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_empty_coordinates.json +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_georss.xml +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_missing_name.json +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/fixtures/test_upload_non_linear_ring.json +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/__init__.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/helpers.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_basics.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_caption.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_categorized_layer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_choropleth.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_circles_layer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_cluster.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_conditional_rules.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_datalayer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_draw_polygon.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_draw_polyline.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_edit_map.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_edit_marker.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_edit_polygon.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_export_map.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_facets_browser.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_features_id_generation.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_map.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_map_list.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_map_preview.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_picto.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_querystring.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_share.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_slideshow.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_star.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_tableeditor.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_team.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_tilelayer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/integration/test_view_polygon.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/settings.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/test_clean_tilelayer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/test_licence.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/test_merge_features.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/test_tilelayer.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/test_utils.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/tests/test_websocket_server.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/utils.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/websocket_server.py +0 -0
- {umap_project-2.7.3 → umap_project-2.8.0}/umap/wsgi.py +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
### UMap ###
|
|
2
|
+
umap/settings/local.py
|
|
3
|
+
umap/settings/local/*
|
|
4
|
+
docs/_build
|
|
5
|
+
umap/remote_static
|
|
6
|
+
tmp/*
|
|
7
|
+
site/*
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
node_modules
|
|
10
|
+
umap.conf
|
|
11
|
+
/data
|
|
12
|
+
/static
|
|
13
|
+
package-lock.json
|
|
14
|
+
|
|
15
|
+
### Python ###
|
|
16
|
+
# Byte-compiled / optimized / DLL files
|
|
17
|
+
__pycache__/
|
|
18
|
+
|
|
19
|
+
# Distribution / packaging
|
|
20
|
+
build/
|
|
21
|
+
dist/
|
|
22
|
+
*.egg-info/
|
|
23
|
+
playwright/.auth/
|
|
24
|
+
test-results/
|
|
25
|
+
|
|
26
|
+
### Transifex ###
|
|
27
|
+
tx
|
|
28
|
+
|
|
29
|
+
# Helm
|
|
30
|
+
charts/*/charts
|
|
31
|
+
helmfile.yaml
|
|
32
|
+
charts/*/Chart.lock
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: umap-project
|
|
3
|
+
Version: 2.8.0
|
|
4
|
+
Summary: Create maps with OpenStreetMap layers in a minute and embed them in your site.
|
|
5
|
+
Author-email: Yohan Boniface <yb@enix.org>
|
|
6
|
+
Maintainer-email: David Larlet <david@larlet.fr>
|
|
7
|
+
Keywords: django,geodjango,leaflet,map,openstreetmap
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Classifier: Programming Language :: Python
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Requires-Dist: django-agnocomplete==2.2.0
|
|
19
|
+
Requires-Dist: django-environ==0.11.2
|
|
20
|
+
Requires-Dist: django-probes==1.7.0
|
|
21
|
+
Requires-Dist: django==5.1.4
|
|
22
|
+
Requires-Dist: pillow==11.0.0
|
|
23
|
+
Requires-Dist: psycopg==3.2.3
|
|
24
|
+
Requires-Dist: rcssmin==1.2.0
|
|
25
|
+
Requires-Dist: requests==2.32.3
|
|
26
|
+
Requires-Dist: rjsmin==1.2.3
|
|
27
|
+
Requires-Dist: social-auth-app-django==5.4.2
|
|
28
|
+
Requires-Dist: social-auth-core==4.5.4
|
|
29
|
+
Provides-Extra: dev
|
|
30
|
+
Requires-Dist: djlint==1.36.3; extra == 'dev'
|
|
31
|
+
Requires-Dist: hatch==1.13.0; extra == 'dev'
|
|
32
|
+
Requires-Dist: isort==5.13.2; extra == 'dev'
|
|
33
|
+
Requires-Dist: mkdocs-material==9.5.48; extra == 'dev'
|
|
34
|
+
Requires-Dist: mkdocs-static-i18n==1.2.3; extra == 'dev'
|
|
35
|
+
Requires-Dist: mkdocs==1.6.1; extra == 'dev'
|
|
36
|
+
Requires-Dist: pymdown-extensions==10.12; extra == 'dev'
|
|
37
|
+
Requires-Dist: ruff==0.8.2; extra == 'dev'
|
|
38
|
+
Requires-Dist: vermin==1.6.0; extra == 'dev'
|
|
39
|
+
Provides-Extra: docker
|
|
40
|
+
Requires-Dist: uwsgi==2.0.28; extra == 'docker'
|
|
41
|
+
Provides-Extra: s3
|
|
42
|
+
Requires-Dist: django-storages[s3]==1.14.4; extra == 's3'
|
|
43
|
+
Provides-Extra: sync
|
|
44
|
+
Requires-Dist: channels==4.2.0; extra == 'sync'
|
|
45
|
+
Requires-Dist: daphne==4.1.2; extra == 'sync'
|
|
46
|
+
Requires-Dist: pydantic==2.10.3; extra == 'sync'
|
|
47
|
+
Requires-Dist: websockets==13.1; extra == 'sync'
|
|
48
|
+
Provides-Extra: test
|
|
49
|
+
Requires-Dist: factory-boy==3.3.1; extra == 'test'
|
|
50
|
+
Requires-Dist: moto[s3]==5.0.21; extra == 'test'
|
|
51
|
+
Requires-Dist: playwright>=1.39; extra == 'test'
|
|
52
|
+
Requires-Dist: pytest-django==4.9.0; extra == 'test'
|
|
53
|
+
Requires-Dist: pytest-playwright==0.6.2; extra == 'test'
|
|
54
|
+
Requires-Dist: pytest-rerunfailures==15.0; extra == 'test'
|
|
55
|
+
Requires-Dist: pytest-xdist<4,>=3.5.0; extra == 'test'
|
|
56
|
+
Requires-Dist: pytest==8.3.4; extra == 'test'
|
|
57
|
+
Description-Content-Type: text/markdown
|
|
58
|
+
|
|
59
|
+
# uMap project
|
|
60
|
+
|
|
61
|
+
uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
|
|
62
|
+
*Because we think that the more OSM will be used, the more OSM will be improved.*
|
|
63
|
+
Built on top of Django and Leaflet.
|
|
64
|
+
|
|
65
|
+
- Have a look at [our website](https://umap-project.org) for an introduction
|
|
66
|
+
- See [our docs](https://docs.umap-project.org/) for technical information
|
|
67
|
+
- Come [chat with us on matrix.org](https://app.element.io/#/room/#umap:matrix.org), or join [the mailing-list](https://lists.openstreetmap.org/listinfo/umap)
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "umap-project"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "Create maps with OpenStreetMap layers in a minute and embed them in your site."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
authors = [
|
|
11
|
+
{ name = "Yohan Boniface", email = "yb@enix.org" },
|
|
12
|
+
]
|
|
13
|
+
maintainers = [
|
|
14
|
+
{ name = "David Larlet", email = "david@larlet.fr" },
|
|
15
|
+
]
|
|
16
|
+
homepage = "https://github.com/umap-project/umap"
|
|
17
|
+
keywords = ["django", "leaflet", "geodjango", "openstreetmap", "map"]
|
|
18
|
+
requires-python = ">=3.10"
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Development Status :: 4 - Beta",
|
|
21
|
+
"Intended Audience :: Developers",
|
|
22
|
+
"Operating System :: OS Independent",
|
|
23
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
24
|
+
"Programming Language :: Python",
|
|
25
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
26
|
+
"Programming Language :: Python :: 3.10",
|
|
27
|
+
"Programming Language :: Python :: 3.11",
|
|
28
|
+
"Programming Language :: Python :: 3.12",
|
|
29
|
+
]
|
|
30
|
+
dependencies = [
|
|
31
|
+
"Django==5.1.4",
|
|
32
|
+
"django-agnocomplete==2.2.0",
|
|
33
|
+
"django-environ==0.11.2",
|
|
34
|
+
"django-probes==1.7.0",
|
|
35
|
+
"Pillow==11.0.0",
|
|
36
|
+
"psycopg==3.2.3",
|
|
37
|
+
"requests==2.32.3",
|
|
38
|
+
"rcssmin==1.2.0",
|
|
39
|
+
"rjsmin==1.2.3",
|
|
40
|
+
"social-auth-core==4.5.4",
|
|
41
|
+
"social-auth-app-django==5.4.2",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
[project.optional-dependencies]
|
|
45
|
+
dev = [
|
|
46
|
+
"hatch==1.13.0",
|
|
47
|
+
"ruff==0.8.2",
|
|
48
|
+
"djlint==1.36.3",
|
|
49
|
+
"mkdocs==1.6.1",
|
|
50
|
+
"mkdocs-material==9.5.48",
|
|
51
|
+
"mkdocs-static-i18n==1.2.3",
|
|
52
|
+
"vermin==1.6.0",
|
|
53
|
+
"pymdown-extensions==10.12",
|
|
54
|
+
"isort==5.13.2",
|
|
55
|
+
]
|
|
56
|
+
test = [
|
|
57
|
+
"factory-boy==3.3.1",
|
|
58
|
+
"playwright>=1.39",
|
|
59
|
+
"pytest==8.3.4",
|
|
60
|
+
"pytest-django==4.9.0",
|
|
61
|
+
"pytest-playwright==0.6.2",
|
|
62
|
+
"pytest-rerunfailures==15.0",
|
|
63
|
+
"pytest-xdist>=3.5.0,<4",
|
|
64
|
+
"moto[s3]==5.0.21"
|
|
65
|
+
]
|
|
66
|
+
docker = [
|
|
67
|
+
"uwsgi==2.0.28",
|
|
68
|
+
]
|
|
69
|
+
s3 = [
|
|
70
|
+
"django-storages[s3]==1.14.4",
|
|
71
|
+
]
|
|
72
|
+
sync = [
|
|
73
|
+
"channels==4.2.0",
|
|
74
|
+
"daphne==4.1.2",
|
|
75
|
+
"pydantic==2.10.3",
|
|
76
|
+
"websockets==13.1",
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
[project.scripts]
|
|
80
|
+
umap = "umap.bin:main"
|
|
81
|
+
|
|
82
|
+
[tool.hatch.build.targets.sdist]
|
|
83
|
+
include = [
|
|
84
|
+
"/umap",
|
|
85
|
+
]
|
|
86
|
+
|
|
87
|
+
[tool.hatch.build.targets.wheel]
|
|
88
|
+
packages = ["umap"]
|
|
89
|
+
|
|
90
|
+
[tool.hatch.metadata]
|
|
91
|
+
allow-direct-references = true
|
|
92
|
+
|
|
93
|
+
[tool.hatch.version]
|
|
94
|
+
path = "umap/__init__.py"
|
|
95
|
+
|
|
96
|
+
[tool.flake8]
|
|
97
|
+
# Black crazyness.
|
|
98
|
+
max-line-length = 88
|
|
99
|
+
|
|
100
|
+
[tool.djlint]
|
|
101
|
+
profile="django"
|
|
102
|
+
indent=2
|
|
103
|
+
format_css=true
|
|
104
|
+
blank_line_after_tag="load,extends"
|
|
105
|
+
line_break_after_multiline_tag=true
|
|
106
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "2.8.0"
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
from django import forms
|
|
2
|
+
from django.conf import settings
|
|
3
|
+
from django.contrib.auth import get_user_model
|
|
4
|
+
from django.contrib.gis.geos import Point
|
|
5
|
+
from django.forms.utils import ErrorList
|
|
6
|
+
from django.template.defaultfilters import slugify
|
|
7
|
+
from django.utils.translation import gettext_lazy as _
|
|
8
|
+
|
|
9
|
+
from .models import DataLayer, Map, Team
|
|
10
|
+
|
|
11
|
+
DEFAULT_LATITUDE = (
|
|
12
|
+
settings.LEAFLET_LATITUDE if hasattr(settings, "LEAFLET_LATITUDE") else 51
|
|
13
|
+
)
|
|
14
|
+
DEFAULT_LONGITUDE = (
|
|
15
|
+
settings.LEAFLET_LONGITUDE if hasattr(settings, "LEAFLET_LONGITUDE") else 2
|
|
16
|
+
)
|
|
17
|
+
DEFAULT_CENTER = Point(DEFAULT_LONGITUDE, DEFAULT_LATITUDE)
|
|
18
|
+
|
|
19
|
+
User = get_user_model()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class FlatErrorList(ErrorList):
|
|
23
|
+
def __unicode__(self):
|
|
24
|
+
return self.flat()
|
|
25
|
+
|
|
26
|
+
def flat(self):
|
|
27
|
+
if not self:
|
|
28
|
+
return ""
|
|
29
|
+
return " — ".join([e for e in self])
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class SendLinkForm(forms.Form):
|
|
33
|
+
email = forms.EmailField()
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class UpdateMapPermissionsForm(forms.ModelForm):
|
|
37
|
+
class Meta:
|
|
38
|
+
model = Map
|
|
39
|
+
fields = ("edit_status", "editors", "share_status", "owner", "team")
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class AnonymousMapPermissionsForm(forms.ModelForm):
|
|
43
|
+
edit_status = forms.ChoiceField(choices=Map.ANONYMOUS_EDIT_STATUS)
|
|
44
|
+
share_status = forms.ChoiceField(choices=Map.ANONYMOUS_SHARE_STATUS)
|
|
45
|
+
|
|
46
|
+
class Meta:
|
|
47
|
+
model = Map
|
|
48
|
+
fields = ("edit_status", "share_status")
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class DataLayerForm(forms.ModelForm):
|
|
52
|
+
class Meta:
|
|
53
|
+
model = DataLayer
|
|
54
|
+
fields = ("geojson", "name", "display_on_load", "rank", "settings")
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class DataLayerPermissionsForm(forms.ModelForm):
|
|
58
|
+
class Meta:
|
|
59
|
+
model = DataLayer
|
|
60
|
+
fields = ("edit_status",)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class AnonymousDataLayerPermissionsForm(forms.ModelForm):
|
|
64
|
+
edit_status = forms.ChoiceField(choices=DataLayer.ANONYMOUS_EDIT_STATUS)
|
|
65
|
+
|
|
66
|
+
class Meta:
|
|
67
|
+
model = DataLayer
|
|
68
|
+
fields = ("edit_status",)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class MapSettingsForm(forms.ModelForm):
|
|
72
|
+
def __init__(self, *args, **kwargs):
|
|
73
|
+
super(MapSettingsForm, self).__init__(*args, **kwargs)
|
|
74
|
+
self.fields["slug"].required = False
|
|
75
|
+
self.fields["center"].widget.map_srid = 4326
|
|
76
|
+
|
|
77
|
+
def clean_slug(self):
|
|
78
|
+
slug = self.cleaned_data.get("slug", None)
|
|
79
|
+
name = self.cleaned_data.get("name", None)
|
|
80
|
+
if not slug and name:
|
|
81
|
+
# If name is empty, don't do nothing, validation will raise
|
|
82
|
+
# later on the process because name is required
|
|
83
|
+
self.cleaned_data["slug"] = slugify(name) or "map"
|
|
84
|
+
return self.cleaned_data["slug"][:50]
|
|
85
|
+
else:
|
|
86
|
+
return ""
|
|
87
|
+
|
|
88
|
+
def clean_center(self):
|
|
89
|
+
if not self.cleaned_data["center"]:
|
|
90
|
+
point = DEFAULT_CENTER
|
|
91
|
+
self.cleaned_data["center"] = point
|
|
92
|
+
return self.cleaned_data["center"]
|
|
93
|
+
|
|
94
|
+
class Meta:
|
|
95
|
+
fields = ("settings", "name", "center", "slug")
|
|
96
|
+
model = Map
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class UserProfileForm(forms.ModelForm):
|
|
100
|
+
class Meta:
|
|
101
|
+
model = User
|
|
102
|
+
fields = ("username", "first_name", "last_name")
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
class TeamMembersField(forms.ModelMultipleChoiceField):
|
|
106
|
+
def set_choices(self, choices):
|
|
107
|
+
iterator = self.iterator(self)
|
|
108
|
+
# Override queryset so to expose only selected choices:
|
|
109
|
+
# - we don't want a select with 100000 options
|
|
110
|
+
# - the select values will be used by the autocomplete widget to display
|
|
111
|
+
# already existing members of the team
|
|
112
|
+
iterator.queryset = choices
|
|
113
|
+
self.choices = iterator
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
class TeamForm(forms.ModelForm):
|
|
117
|
+
class Meta:
|
|
118
|
+
model = Team
|
|
119
|
+
fields = ["name", "description", "members"]
|
|
120
|
+
|
|
121
|
+
def __init__(self, *args, **kwargs):
|
|
122
|
+
super().__init__(*args, **kwargs)
|
|
123
|
+
self.fields["members"].set_choices(self.initial["members"])
|
|
124
|
+
self.fields["members"].widget.attrs["hidden"] = "hidden"
|
|
125
|
+
|
|
126
|
+
members = TeamMembersField(queryset=User.objects.all())
|
|
Binary file
|