Yohan Boniface
c144c9d958
fix: django cannot run collectstatic with circular imports in modules
...
alert.js was importing request.js which then imports alert.js
In the process, we moved the post to send the email out of the
alert.js file, and thus tried another pattern to communicate data
between an alert and its caller.
2024-06-14 22:05:56 +02:00
Yohan Boniface
99595e3e2f
chore: fix translated test
2024-06-14 20:51:29 +02:00
Yohan Boniface
b747b347f4
fix: dialog class should have "window" class to get propert buttons
2024-06-14 20:45:39 +02:00
David Larlet
418cd06bb0
docs: update create map alert in French
2024-06-14 14:45:26 -04:00
Yohan Boniface
74e0b43311
fix: correct syntax for translating string when sending emails
2024-06-14 20:41:53 +02:00
Yohan Boniface
ca18c5b7df
chore: move alert.html inside templates and update translations
...
When alert.html was in static, Django was creating a new translation
file, while we want it to just add those strings in the backend
po file.
2024-06-14 20:41:53 +02:00
David Larlet
de106b022f
Merge pull request #1897 from umap-project/fix-tozoom-failing-test
...
tests: try to fix randomly failing test test_should_honour_fromZoom
2024-06-14 14:20:24 -04:00
Yohan Boniface
34f00dfec1
tests: try to fix randomly failing test test_should_honour_fromZoom
2024-06-14 18:51:58 +02:00
Yohan Boniface
710b0cf1d9
Merge pull request #1857 from umap-project/geodatamine-plugin
...
Importers for custom external sources
2024-06-14 18:47:45 +02:00
Yohan Boniface
88b7e401c0
Merge pull request #1776 from umap-project/conditional-rules
...
feat: very minimal experimental conditional style rules
2024-06-14 18:40:37 +02:00
Yohan Boniface
e16d3a629c
wip: fix tests
2024-06-14 18:40:05 +02:00
Yohan Boniface
ca16e5b2c9
wip: use new alert API after rebase
2024-06-14 18:40:05 +02:00
Yohan Boniface
e9f9c30639
wip: shorter labels in importer panel
2024-06-14 18:40:05 +02:00
Yohan Boniface
6f0d42d817
wip: re-center radio and checkbox inputs
2024-06-14 18:40:05 +02:00
Yohan Boniface
4ed7c45086
wip: use same label in buttons and title for "Import data"
...
The control says "Import data", let's keep this for now.
2024-06-14 18:40:05 +02:00
Yohan Boniface
e90ad4b9cd
wip: sort themes in GeoDataMine importer
2024-06-14 18:40:05 +02:00
Yohan Boniface
d928195a5b
wip: rename and document UMAP_IMPORTERS
2024-06-14 18:40:05 +02:00
Yohan Boniface
4127ffb891
wip: simplify a bit input CSS height
2024-06-14 18:40:05 +02:00
Yohan Boniface
4f1eb20be9
wip: move importers css to a dedicated file and refactor
2024-06-14 18:40:05 +02:00
Yohan Boniface
017e407758
wip: refactor margin bottom management in caption title
2024-06-14 18:40:05 +02:00
Yohan Boniface
3f6940cd5b
wip: make sure importers are always in the same order
...
Given they are loaded from an import() call, the order they are
added in IMPORTERS in asynchronous, so we cannot rely on this order
2024-06-14 18:40:05 +02:00
Yohan Boniface
c51f8ae5ce
wip: close importer dialog on escape in any
2024-06-14 18:40:05 +02:00
Yohan Boniface
460843b900
wip: add icons for importers
2024-06-14 18:40:05 +02:00
Yohan Boniface
115130083d
wip: make sure we do not add an invalid overpass URL
2024-06-14 18:40:05 +02:00
Yohan Boniface
a70307ea29
wip: rename presets to datasets
2024-06-14 18:40:05 +02:00
Yohan Boniface
2c9623aff6
wip: refine geodatamine importer
2024-06-14 18:40:05 +02:00
Yohan Boniface
f1901ea84c
wip: add margin-bottom on select element
2024-06-14 18:40:04 +02:00
Yohan Boniface
c1ab57d952
wip: add quick help for overpass importer expressions syntax
2024-06-14 18:38:44 +02:00
Yohan Boniface
c599082eca
wip: deal with multiple dialog z-index
2024-06-14 18:38:44 +02:00
Yohan Boniface
b7dd771a7f
wip: prettier
2024-06-14 18:38:44 +02:00
Yohan Boniface
c3ae3b5770
wip: minimal overpass importer
...
cf #112
2024-06-14 18:38:44 +02:00
Yohan Boniface
43f7e6a467
feat: allow to set the new layer name at import
2024-06-14 18:38:44 +02:00
Yohan Boniface
3998a88d43
wip: use dt/dd for import formats help box
2024-06-14 18:38:43 +02:00
Yohan Boniface
b0e9bbd86c
wip: smaller dialog width
2024-06-14 18:38:30 +02:00
Yohan Boniface
35189cc9fb
wip(importer): use only one submit button and be smarter to guess action
2024-06-14 18:38:30 +02:00
Yohan Boniface
8dd1c4bc7f
wip: remove AutoComplete.URL (can't set class properties yet)
2024-06-14 18:38:30 +02:00
Yohan Boniface
1cefd4c9a7
wip: allow to control geodatamine baseUrl from settings
2024-06-14 18:38:30 +02:00
Yohan Boniface
d35e72dab9
wip: add aspoint attribute to geodatamine URL
2024-06-14 18:38:30 +02:00
Yohan Boniface
4e3228d114
feat: allow to create remote data layer from import panel
...
And make the form conditional.
2024-06-14 18:38:30 +02:00
Yohan Boniface
dbafe19b7f
chore: declare ttl property in schema
2024-06-14 18:38:30 +02:00
Yohan Boniface
16fd5d8ca3
wip: typo
2024-06-14 18:38:30 +02:00
Yohan Boniface
342dcbabbe
wip: no need for AVAILABLE_IMPORTERS
2024-06-14 18:38:30 +02:00
Yohan Boniface
f5eea1fe3f
wip(naming): replace "plugin" by "importer"
...
We are not ready yet to talk about plugins
2024-06-14 18:38:30 +02:00
Yohan Boniface
93a189497b
wip: control plugins from settings
2024-06-14 18:38:29 +02:00
Yohan Boniface
a7a214d7fe
wip: deal with boundary types in geodatamine importer
2024-06-14 18:38:29 +02:00
Yohan Boniface
03ce8e90d6
wip: refactor importer
2024-06-14 18:38:29 +02:00
Yohan Boniface
c7cd87ec8a
wip: move presets to importer plugins
2024-06-14 18:38:29 +02:00
Yohan Boniface
b657a5e9b3
wip: simpler importer API
2024-06-14 18:38:29 +02:00
Yohan Boniface
1e4de02694
wip: add a basic importer for commune shapes
...
Mainly wanted to have two improters to play with, in order to
better understand the common part, and thus the API we may define
between them and the importer panel.
2024-06-14 18:38:29 +02:00
Yohan Boniface
5b914c1bd2
wip: make it simpler to create an autocomplete class
2024-06-14 18:38:29 +02:00