Yohan Boniface
1e96515669
Add "delete" link in data browser
...
fix #692
2023-06-23 14:53:07 +02:00
Yohan Boniface
98f4e69abb
getSmartOption => getDynamicOption
2023-06-23 08:15:39 +02:00
Yohan Boniface
41f0c03af1
Merge pull request #1161 from umap-project/i18n-anonymous-url
...
Allow to set the lang while generating an anonymous_edit_url
2023-06-23 08:13:45 +02:00
Yohan Boniface
d16feca225
Merge pull request #1163 from umap-project/fix-1042
...
Pass options at datalayer creation when importing from umap file
2023-06-23 08:12:21 +02:00
Yohan Boniface
666fed3d9c
Be more strict when coordinates are set manually
...
cf https://forum.openstreetmap.fr/t/impossible-de-charger-la-carte-carte-acteurs-naturels-batiment/15607/7
2023-06-23 08:07:49 +02:00
Yohan Boniface
74742fbfe8
Merge pull request #1166 from umap-project/locale-var
...
Expose 'locale' parameter in templates
2023-06-22 19:34:37 +02:00
Yohan Boniface
da1c0addbc
Expose 'locale' parameter in templates
...
fix #183
2023-06-22 07:06:44 +02:00
Luc Didry
1adbadbd57
🐛 — Fix UMAP_CUSTOM_TEMPLATES setting
2023-06-21 13:55:41 +02:00
Yohan Boniface
e7d47b4ce5
Pass options at datalayer creation when importing from umap file
...
fix #1042
Until now, we create an empty datalayer (which has some defaults),
then we overwrite the options while calling fromGeoJSON method
2023-06-21 13:47:12 +02:00
Yohan Boniface
a1ec50ed8c
Allow to define outlinkTarget at layer level
2023-06-21 12:24:29 +02:00
Yohan Boniface
3f8db1191f
Allow to control popup links target
2023-06-21 12:19:01 +02:00
Yohan Boniface
2a04af162a
Make outlink and outlinkTarget available for each feature
...
It was only for polygon until then.
cf #323
2023-06-21 12:00:34 +02:00
Yohan Boniface
48c27d56e4
Allow to set the lang while generating an anonymous_edit_url
...
fix #993
2023-06-21 10:48:29 +02:00
Yohan Boniface
d54d3aa514
Allow to use properties as color value
...
cf #858
2023-06-21 09:59:37 +02:00
Yohan Boniface
bbf4b72e07
Merge pull request #1158 from umap-project/filter-browsable
...
Advanced filter should not affect non browsable layers
2023-06-21 06:47:36 +02:00
Yohan Boniface
0aec986c10
Advanced filter should not affect non browsable layers
2023-06-20 21:57:35 +02:00
Yohan Boniface
1620c0567b
Create DataLayer.renderLegend
2023-06-20 20:35:17 +02:00
Yohan Boniface
615498d3bf
Merge pull request #1151 from umap-project/ctrl-shift-click
...
Document Shift-Click and add Ctrl-Shift-click to edit datalayer
2023-06-20 20:24:50 +02:00
Yohan Boniface
2f4fe8a011
Uppercase "Click"
2023-06-20 20:22:17 +02:00
Yohan Boniface
12df0f757e
Move L.U.Map.displayCaption to umap.controls.js
...
Let's be consistent, all other control like actions are there.
2023-06-20 20:21:00 +02:00
Yohan Boniface
3b466c2d19
Use + between keys in help texts
2023-06-20 20:12:38 +02:00
Yohan Boniface
be98f657aa
Merge pull request #1157 from umap-project/overflow-auto
...
Do not force scroll on popup content
2023-06-20 20:10:49 +02:00
Yohan Boniface
97fe3d7d20
Do not force scroll on popup content
...
fix #1152
2023-06-20 20:08:29 +02:00
Yohan Boniface
6642d4a4f4
Use ⇧ instead of Shift in help messages
2023-06-20 19:50:11 +02:00
Yohan Boniface
58cf784b7e
Make ctrl-shift-click work on MacOS too
2023-06-20 19:15:57 +02:00
David Larlet
5ec7b3e49a
Merge pull request #1154 from umap-project/djlint
...
Linting and prettifying templates with djLint for consistency
2023-06-20 11:31:44 -04:00
David Larlet
5d38e02f52
Merge pull request #1155 from umap-project/font-display-swap
...
Set `font-display: swap;` for fonts definition
2023-06-20 11:23:37 -04:00
Yohan Boniface
db8c1f8699
Merge pull request #1153 from umap-project/version-stats
...
Expose version in /stats/ endpoint
2023-06-20 17:23:03 +02:00
David Larlet
4e8ebfa722
Set font-display: swap;
for fonts definition
...
> Gives the font face an extremely small block period and an infinite swap period. — https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display#values
2023-06-20 10:20:21 -04:00
David Larlet
7ccb804231
Manual JS conversion in content template
2023-06-20 10:10:40 -04:00
David Larlet
de37721c40
Manually reformat JS parts for djLint
2023-06-20 10:05:28 -04:00
David Larlet
be5d27d292
Lint template files with djLint
2023-06-20 10:00:02 -04:00
David Larlet
70e3852c0c
Prettify template files with djlint
2023-06-20 09:40:32 -04:00
Yohan Boniface
1d5c1a067a
Expose version in /stats/ endpoint
2023-06-20 15:14:28 +02:00
Yohan Boniface
3cee4fda01
Document Shift-Click and add Ctrl-Shift-click to edit datalayer
2023-06-19 10:45:18 +02:00
Yohan Boniface
247efc5345
1.3.5
2023-06-17 16:00:57 +02:00
Yohan Boniface
b324e59cd4
Fix stars link in header
2023-06-17 15:59:16 +02:00
David Larlet
44d3e64d56
Add a publish command to the Makefile
2023-06-17 09:50:36 -04:00
David Larlet
020f805fbe
🚀 1.3.4
2023-06-17 09:46:04 -04:00
David Larlet
7b340966ef
Merge pull request #1133 from umap-project/pyproject-toml
...
From to setup.cfg+setuptools to pyproject.toml+hatch
2023-06-17 09:38:33 -04:00
David Larlet
9ad47f8ef9
Customize the build process with hatch
2023-06-17 09:36:50 -04:00
David Larlet
e23f1dd3c2
From to setup.cfg+setuptools to pyproject.toml+hatch
2023-06-17 09:09:36 -04:00
Yohan Boniface
6f75807fc7
Merge pull request #1150 from umap-project/pfbreton-perso-patch-1
...
Back to max-height only for datalayers
2023-06-17 15:07:35 +02:00
David Larlet
ac8f343d67
Back to max-height only for datalayers
...
Refs https://github.com/umap-project/umap/pull/1149
Refs https://github.com/umap-project/umap/pull/1143
There are still issues with resize+(max-)height combination, to be addressed in a future release.
2023-06-17 09:06:36 -04:00
pfbreton-perso
5dd0c2394a
browse datalayers overflow fix
...
In my previous improvement where I suggested to set the height of datalayers to the size of the content and add a resize handle i neglected the case where a very long list of layers could make the control unusable by overflowing the available screen space.
I suggest to reintroduce a maximum height so that we have a good compromize between resizing the datalayer list and the maximum possible size.
2023-06-17 09:06:36 -04:00
Yohan Boniface
608c54d4bf
Merge pull request #1145 from umap-project/custom-username
...
Allow to customize user display name and URL slug
2023-06-17 06:39:55 +02:00
Yohan Boniface
02a14a32f4
add tests for user display and slug customization
2023-06-17 06:35:21 +02:00
Yohan Boniface
7320e6f9fd
Merge pull request #1148 from umap-project/overflow-popup
...
Overflow popup
2023-06-16 19:34:46 +02:00
Yohan Boniface
b04016d305
Remove unused CSS class
2023-06-16 19:32:01 +02:00
Yohan Boniface
4ee33c0434
Move overflow-y directive to umap-popup-content
...
fix #1146
2023-06-16 19:06:53 +02:00