uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site.
Find a file
Yohan Boniface 256d4487e7
Some checks failed
Test & Docs / tests (postgresql, 3.10) (push) Has been cancelled
Test & Docs / tests (postgresql, 3.12) (push) Has been cancelled
Test & Docs / lint (push) Has been cancelled
Test & Docs / docs (push) Has been cancelled
chore: introduce SaveManager class (#2240)
The last refactor of the save process
(0fdb70ce66) has introduced a bug: the
save flow was not more stopped when a layer fail to save. This ends with
a broken UI, as the map is not dirty anymore, so the save button is not
active anymore, while at least one layer still needs to be saved.

Save can fail in two scenarios:
  - there is a conflict (status 412)
  - the server is down or as an issue (eg. disk is full)

I tried a more modest scenario (listening for status in map.save and
recallign the map save after a conflict), but this ended with calling
map.save uselessly even more.

So I decided to try this refactor, which also totally remove the useless
map.save we were sending at each save until now.
2024-10-30 18:27:37 +01:00
.github chore: add a Github action to autoclose issues after some time 2024-09-17 09:51:10 +02:00
.tx i18n 2023-02-22 10:23:03 +01:00
docker chore(deploy): Spawn the websocket server in the docker image. 2024-10-03 12:26:33 +02:00
docs 2.7.1 2024-10-25 15:44:52 +02:00
docs-users chore: bump mkdocs-material from 9.5.40 to 9.5.42 2024-10-21 17:40:54 +00:00
scripts chore: use colorbrewer as ES module 2024-10-16 09:01:31 +02:00
umap chore: use SAVEMANAGER as a module singleton 2024-10-30 17:14:35 +01:00
.dockerignore Do not track Dockerfile, not to invalidate Docker cache at each change 2023-06-05 14:44:33 +02:00
.eslintrc.json lint: use eslint with a browserslist configuration 2024-01-29 16:44:04 -05:00
.gitignore chore: remove package-lock.json from git 2024-10-04 17:22:04 +02:00
.pipignore Upgrade django-social-auth to python-social-auth 2014-03-06 23:22:37 +01:00
.prettierrc.yaml Apply PrettierJS to the whole codebase 2023-05-12 13:57:03 -04:00
.readthedocs.yaml Control which version of mkdocs is install on readthedocs 2023-04-30 11:35:23 +02:00
.travis.yml deps: adaptations for Django 5.x 2024-01-29 14:29:24 -05:00
biome.json chore: remove the noDelete rule completely 2024-06-25 21:31:37 -04:00
docker-compose.yml version is obsolete. 2024-10-17 08:42:51 +10:00
Dockerfile fix: uppercased AS in Dockerfile 2024-08-02 11:08:44 -04:00
LICENSE Switch license from WTFPL to AGPLv3 2024-02-12 21:03:17 -05:00
Makefile chore: install sync target on "make develop" 2024-10-21 11:59:58 +02:00
manage.py [style] Format the code 2023-11-24 23:31:18 +01:00
MANIFEST.in Explicitly exclude local.py from being released 2018-07-07 23:46:10 +02:00
mkdocs.yml Split users’ documentation to dedicated folder 2024-05-08 21:17:00 -04:00
osmic-white.yaml update osmic YAML files according to new configuration 2018-11-17 22:03:08 +01:00
osmic.yaml update osmic YAML files according to new configuration 2018-11-17 22:03:08 +01:00
package.json chore: bump and pin front facing JS deps 2024-10-15 11:28:39 +02:00
pyproject.toml chore: bump ruff from 0.7.0 to 0.7.1 (#2242) 2024-10-28 18:31:57 +01:00
pytest.ini [ci] Add support for Github Actions 2023-11-24 23:31:18 +01:00
README.md docs: Update the links in the README, remove the badges 2024-01-06 14:31:46 +01:00
SECURITY.md [docs] Update security contact information 2023-12-15 17:20:30 +01:00

uMap project

uMap lets you create maps with OpenStreetMap layers in a minute and embed them in your site. Because we think that the more OSM will be used, the more OSM will be improved. Built on top of Django and Leaflet.