dependabot[bot]
b10dadd453
chore: bump django from 5.1.3 to 5.1.4
...
Bumps [django](https://github.com/django/django ) from 5.1.3 to 5.1.4.
- [Commits](https://github.com/django/django/compare/5.1.3...5.1.4 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 18:38:34 +00:00
Yohan Boniface
42f74e1554
fix: disable for real dragging the map on mobile when scrollWheelZoom is false
...
Changing map options at this stage is too late.
cf #2340
2024-12-06 11:27:30 +01:00
Yohan Boniface
97ff26b6e8
fix: make that renderUI also recompute scrollWheelZoom
...
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run
Test & Docs / docs (push) Waiting to run
Otherwise it does not change the behaviour when changing the setting.
2024-12-05 18:39:40 +01:00
Yohan Boniface
b7649a5e47
fix: Avoid map-panning on mobile using two fingers navigation ( #2340 )
...
If scrollWheelZoom option is false we deactivate leaflet dragging
options only on mobile
2024-12-05 18:38:08 +01:00
Yohan Boniface
92431d3b83
fix: do not redraw tilelayers each time a map property is changed ( #2342 )
2024-12-05 18:32:47 +01:00
Yohan Boniface
20b2290d00
fix: do not redraw tilelayers each time a map property is changed
2024-12-05 18:32:05 +01:00
Yohan Boniface
f4814797d7
feat: open importers in a dialog instead of in the form ( #2327 )
...

cf #2302
2024-12-05 18:27:18 +01:00
Yohan Boniface
0b818e8b75
feat: add a disabled/active mode to the submit button of import panel ( #2341 )
...
cf #2302
Warning: I removed the historic `width: 100%` on all buttons, who knows
where this will break? :p
Disabled:

Form valid:

2024-12-05 18:04:09 +01:00
Yohan Boniface
b692cb0cd1
chore: rename Importer.isValid to Importer.canSubmit
...
We are not really checking the validity of the form.
2024-12-05 18:03:30 +01:00
David Larlet
1f13c6ef00
docs-users: Update importers-related tutorial
2024-12-05 18:00:41 +01:00
Yohan Boniface
a9b13c709d
feat(importer): check "copy" as default action
...
Let's make it simpler for new comers, and advanced users will know
where to click to change the behaviour.
2024-12-05 18:00:34 +01:00
Yohan Boniface
50efbc25be
feat: add a disabled/active mode to the submit button of import panel
...
cf #2302
2024-12-05 18:00:26 +01:00
Yohan Boniface
d99fe70e36
feat: display importers in a dialog instead of direclty in the form
...
The goal is to keep the form smaller, specifically to keep the
submit button visible as much as possible.
2024-12-05 17:59:03 +01:00
Yohan Boniface
d64cdae987
chore: make that Importer extends WithTemplate
...
Another step is needed to use this.elements instead of this.qs
2024-12-05 17:59:03 +01:00
Yohan Boniface
da86020a0b
feat: add icon-magic in 16-white.svg
2024-12-05 17:59:03 +01:00
Yohan Boniface
7f3726ddd1
feat: display an image from Panoramax in OSM template when tag is defined ( #2338 )
...

I initially just wanted to work on that simple Panoramax feature, but
faced a bunch of bugs!
- one bad var remaining since whatever refactor (and no tests for this
popup template!)
- title was duplicated, since whatever refactor (and not tests for
this…)
- title text was in black on blue background
2024-12-05 17:36:07 +01:00
Yohan Boniface
2c601e483d
feat: allow to configure the default label keys per instance ( #2291 )
...
fix #2289
Let's add "nom" in OSM France and ANCT instances, then, to make users
experience smoother (a lot of imported data contains a "nom" column, and
no "name" nor "title").
2024-12-05 17:35:48 +01:00
Yohan Boniface
171aba6676
feat: add basic autocompletion on inputs expecting a field name ( #2281 )
...
Eg. the labelKey or filterKey input.
2024-12-05 17:32:27 +01:00
Yohan Boniface
b7c77b9c9f
feat: make expression persistent in the overpass importer ( #2339 )
...
In other words: fill in the "tags" input with the latest typed
expression.
Otherwise, when making tries with overpass imports, one have to type it
again and again (it's available through the autocomplete, though, but
it's not obvious and it's less friendly IMHO).
2024-12-05 17:31:14 +01:00
Yohan Boniface
82853f7ade
chore: add very minimal test for OSM popup template
2024-12-05 17:29:30 +01:00
Florent Triquet
acbdfda581
fix: Avoid map-panning on mobile using two fingers navigation
...
If scrollWheelZoom option is false we deactivate leaflet dragging options only on mobile
2024-12-05 14:11:05 +01:00
Yohan Boniface
e012d57e5c
feat: make expression persistent in the overpass importer
...
In other words: fill in the "tags" input with the latest
typed expression.
Otherwise, when making tries with overpass imports, one have to
type it again and again (it's available through the autocomplete,
though, but it's not obvious and it's less friendly IMHO).
2024-12-05 12:42:21 +01:00
Yohan Boniface
6a0bc9443b
feat: display an image from Panoramax in OSM template when tag is defined
2024-12-05 11:57:48 +01:00
Yohan Boniface
4949fcb4a4
feat: try to guess RGB from color name when element is not in DOM
...
We often need to compute the text/icon constrast color, but often
the element is not yet in the DOM, so we can't get the background
easily. Let's have a fallback for that instead of trying to have
"load" events everywhere.
2024-12-05 11:53:01 +01:00
Yohan Boniface
430dede0dd
fix: fix broken OSM template
2024-12-05 11:46:52 +01:00
Yohan Boniface
d9c04c7d0a
fix: do not render normal popup title in OSM template
2024-12-05 11:46:26 +01:00
Yohan Boniface
8f7e5c7252
chore: add missing import in cadastrefr
Test & Docs / docs (push) Has been cancelled
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
2024-12-03 18:07:26 +01:00
Yohan Boniface
c9d532508d
chore: change cadastrefr buttons ( #2333 )
...
We remove the cancel button and change the accept label.
2024-12-03 17:56:57 +01:00
Yohan Boniface
6221b709f4
fix: importer.map is undefined in geodatamine importer ( #2332 )
...
Broken since the map split I guess.
2024-12-03 17:54:20 +01:00
Yohan Boniface
2b2580fa22
feat: swap import and settings buttons in edit toolbar ( #2329 )
...
fix #2297

2024-12-03 17:53:51 +01:00
Yohan Boniface
26ff82e838
chore: change cadastrefr buttons
...
We remove the cancel button and change the accept label.
2024-12-03 16:24:30 +01:00
Yohan Boniface
8fa26a02a2
fix: importer.map is undefined
...
Broken this the map split I guess.
2024-12-03 16:21:37 +01:00
Yohan Boniface
9a900319af
feat: swap import and settings buttons in edit toolbar
...
fix #2297
2024-12-03 15:20:22 +01:00
Yohan Boniface
e01a526935
chore: bump pytest-rerunfailures from 14.0 to 15.0 ( #2326 )
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run
Test & Docs / docs (push) Waiting to run
2024-12-02 19:51:27 +01:00
Yohan Boniface
8569b827ca
fix: compute length of all shapes for MultiLineString (not only first) ( #2310 )
2024-12-02 19:46:45 +01:00
dependabot[bot]
2dab2f23b5
chore: bump pytest-rerunfailures from 14.0 to 15.0
...
Bumps [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures ) from 14.0 to 15.0.
- [Changelog](https://github.com/pytest-dev/pytest-rerunfailures/blob/master/CHANGES.rst )
- [Commits](https://github.com/pytest-dev/pytest-rerunfailures/compare/14.0...15.0 )
---
updated-dependencies:
- dependency-name: pytest-rerunfailures
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 18:43:58 +00:00
Yohan Boniface
f4ff1048bd
chore: bump pytest from 8.3.3 to 8.3.4 ( #2325 )
2024-12-02 19:42:49 +01:00
Yohan Boniface
6310cde28b
chore: bump djlint from 1.36.1 to 1.36.3 ( #2324 )
2024-12-02 19:41:34 +01:00
Yohan Boniface
666a92ec44
fix: compute length of all shapes for MultiLineString not only first
2024-12-02 19:39:57 +01:00
Yohan Boniface
2f776dab59
feat: highlight importer URL field when it is fulfilled ( #2323 )
...
Very small step of #2302

2024-12-02 19:04:04 +01:00
Yohan Boniface
bba9487847
feat: highlight importer URL field when it is fulfilled
...
cf #2302
2024-12-02 18:56:24 +01:00
dependabot[bot]
995052d83e
chore: bump pytest from 8.3.3 to 8.3.4
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.3.3 to 8.3.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.3...8.3.4 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 17:55:51 +00:00
dependabot[bot]
7e53e50b9c
chore: bump djlint from 1.36.1 to 1.36.3
...
Bumps [djlint](https://github.com/djlint/djLint ) from 1.36.1 to 1.36.3.
- [Release notes](https://github.com/djlint/djLint/releases )
- [Changelog](https://github.com/djlint/djLint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/djlint/djLint/compare/v1.36.1...v1.36.3 )
---
updated-dependencies:
- dependency-name: djlint
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 17:55:44 +00:00
Yohan Boniface
8e5f46eb95
chore: bump pydantic from 2.9.2 to 2.10.2 ( #2321 )
2024-12-02 17:20:35 +01:00
Yohan Boniface
0f8ebcdf9a
chore: bump pytest-playwright from 0.5.2 to 0.6.2 ( #2320 )
2024-12-02 17:20:17 +01:00
Yohan Boniface
177a4edc1d
fix: broken ctrl+i and ctrl+o ( #2322 )
2024-12-02 17:19:53 +01:00
Yohan Boniface
31c8bf95ba
fix: broken ctrl+i and ctrl+o
2024-12-02 17:10:06 +01:00
Yohan Boniface
f6f42f5e6b
chore: move form css to a separate file
2024-12-02 17:07:06 +01:00
Yohan Boniface
d9998efc0f
Fix reordering of layers ( #2316 )
...
Broken in the map split I guess.
(Only the first line is the fix, the other are just naming, cf the two
commits.)
2024-12-02 15:43:14 +01:00
Yohan Boniface
30d9e43cd4
Add logo for social_core.backends.keycloak.KeycloakOAuth2 ( #2258 )
Test & Docs / tests (postgresql, 3.10) (push) Waiting to run
Test & Docs / tests (postgresql, 3.12) (push) Waiting to run
Test & Docs / lint (push) Waiting to run
Test & Docs / docs (push) Waiting to run
2024-12-02 13:14:06 +01:00