Commit graph

1469 commits

Author SHA1 Message Date
Yohan Boniface
21b6c2f034 More natural sort of features
fix #353

+ a bit of prettier noise, sorry
2023-06-23 18:03:03 +02:00
David Larlet
06cdb55a6c
Merge pull request #1164 from framasoft/fix-custom-templates-settings
🐛 — Fix UMAP_CUSTOM_TEMPLATES setting
2023-06-23 10:16:53 -04:00
Yohan Boniface
cf0c07b1b2
Merge pull request #1169 from umap-project/quick-delete
Add "delete" link in data browser
2023-06-23 15:29:09 +02:00
Yohan Boniface
bea0f441c3
Merge pull request #1160 from umap-project/smart-color
Allow to use properties as color value
2023-06-23 15:26:50 +02:00
Yohan Boniface
31f158abe1
Update umap/static/umap/js/umap.features.js
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-06-23 15:26:00 +02:00
Yohan Boniface
c3aa2aeb30
Merge pull request #1162 from umap-project/link-target
Control links target
2023-06-23 15:25:34 +02:00
Yohan Boniface
b267615062 Remove unused vars 2023-06-23 15:24:50 +02:00
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