Alexis Métaireau
51c3ee3ce4
[ci] Add support for Github Actions
...
This runs the tests for different python versions,
with different working sets, and also run
a linter.
2023-11-24 23:31:18 +01:00
David Larlet
56bb414113
Provide space/separators between Dashboard actions
2023-11-24 15:32:44 -05:00
David Larlet
b4464a7ca2
Reuse the map_download view/url for the dashboard
...
Refs #1396
2023-11-24 15:28:58 -05:00
Yohan Boniface
1b87df7a7f
Merge pull request #1422 from umap-project/slideshow-buttons
...
Restore missing buttons in caption bar
2023-11-23 21:22:09 +01:00
Yohan Boniface
09903a8808
Merge pull request #1425 from umap-project/blue-links
...
But back blue links in popup and small credit
2023-11-23 17:37:45 +01:00
Yohan Boniface
e891ed61dd
But back blue links in popup and small credit
...
fix #1418
2023-11-23 17:19:31 +01:00
Yohan Boniface
42ebe43698
Add minimal playwright test case for slideshow
2023-11-23 14:53:52 +01:00
Yohan Boniface
9781f6eb9c
Restore missing buttons in caption bar
...
Those button, being width: 100% and display: block were not displayed
AND were pushing out also the slideshow buttons.
2023-11-23 13:07:18 +01:00
Yohan Boniface
4936a97218
Use step=any by default for FloatInput
...
This is fixed in Leaflet.FormBuilder itself
2023-11-23 12:29:52 +01:00
Yohan Boniface
fd2fb2a405
Restore style of "restore version button"
2023-11-23 11:00:35 +01:00
Yohan Boniface
0c99bc45a8
Prevent dragging a datalayer to activate drag on the map
2023-11-23 10:00:02 +01:00
Yohan Boniface
160c4ae420
Do not exclude DEMO and SHOWCASE maps anymore from home
...
Those maps can be excluded by setting their share_status=OPEN
cf #1414
2023-11-21 10:15:31 +01:00
Yohan Boniface
37430ec159
1.11.0
2023-11-20 11:34:14 +01:00
Yohan Boniface
9fca9861dd
i18n
2023-11-20 11:30:56 +01:00
Yohan Boniface
ed99a3642f
Rename test
2023-11-20 11:27:44 +01:00
Yohan Boniface
9af5375dbf
Fix heavy request for getting user maps
...
This was creating a huge INNER JOIN, and is replaced
by a UNION
cf https://explain.dalibo.com/plan/91af244fg9d1ec21
Also remove the conditional queryset, as now "my maps"
is serverd by the dashboard page, so we can only serve
public maps on this URL.
2023-11-18 20:09:19 +01:00
Yohan Boniface
0db7f377c3
Merge pull request #1395 from umap-project/picto-ui
...
Refactor icon selector: use tabs, make options more explicit
2023-11-18 12:13:14 +01:00
Yohan Boniface
c99892b51e
Picto field: fix clicking on preview to open the form
2023-11-16 11:46:49 +01:00
Yohan Boniface
cdfcce297d
picto field: better handling of default input values
...
We don't want to have an URL in the "char" field, and vice versa
2023-11-16 10:31:40 +01:00
Yohan Boniface
c581172197
Make icons search accent insensitive
2023-11-15 21:06:40 +01:00
David Larlet
13ca7e3e5d
Add tests for favicon-related views
2023-11-15 14:13:33 -05:00
Yohan Boniface
8a2109948f
Picto field: add hover and selected style
2023-11-15 18:15:30 +01:00
Yohan Boniface
9d30e150a3
Merge pull request #1409 from umap-project/form-button-css
...
More targeted CSS rule for button color
2023-11-15 18:00:37 +01:00
Yohan Boniface
5aa7ea6a7f
More targeted CSS rule for button color
...
Otherwise it override forms button (which are in dark mode and thus
need to keep the clear grey color)
2023-11-15 17:51:35 +01:00
Yohan Boniface
fdbf814fac
Fix accordion arrow not displayed on Chromium
2023-11-15 16:54:20 +01:00
Yohan Boniface
91ea6ac318
Merge branch 'master' into highlight-style-for-selected-lines
2023-11-15 16:05:56 +01:00
Yohan Boniface
a850900891
Merge pull request #1407 from jschleic/fix-lineedit-icons
...
fix icons
2023-11-15 15:59:23 +01:00
Yohan Boniface
be0cefd02a
Merge pull request #1396 from umap-project/backup-api
...
Full map download endpoint
2023-11-15 15:39:36 +01:00
David Larlet
0a8848874c
Remove the static webmanifest (dynamic now)
2023-11-14 22:51:34 -05:00
David Larlet
6f73038f92
Redirect favicon.ico and dynamic webmanifest
2023-11-14 22:50:25 -05:00
David Larlet
915d6b6db4
Set a default favicon
2023-11-14 17:32:40 -05:00
Joachim Schleicher
637c982add
fix icons
...
probably moved accidentally in c8065fb29e
2023-11-14 21:20:00 +01:00
Joachim Schleicher
34bb2d6eb8
fix null opacity
...
partly revert 952385 - since ´null´ is actually used in ternary fields.
Remove null opacity from the testcase. It should be either unset or a
numeric value.
2023-11-14 20:48:11 +01:00
David Larlet
bf4e481f28
Fix download umap data JS tests
2023-11-14 14:19:54 -05:00
David Larlet
2274243662
Fix integration tests for download view
2023-11-14 14:10:25 -05:00
David Larlet
30e83a143c
Tests download view for permissions
2023-11-14 13:37:02 -05:00
David Larlet
97fa8c2754
Allow the ?download option in URL
2023-11-14 13:26:52 -05:00
Yohan Boniface
4bfc3d6666
Picto field: make sure we open on the right tab
2023-11-14 18:45:40 +01:00
David Larlet
3a0bcd76da
Align link styles to button ones
2023-11-14 12:16:47 -05:00
Yohan Boniface
686ce1fe2d
Merge pull request #1403 from umap-project/fix-1400
...
Fix next/previous in popup footer in panel not openning next panel
2023-11-14 18:15:36 +01:00
David Larlet
207c47d078
Button to download umap backup from backend url
2023-11-14 12:07:17 -05:00
David Larlet
0be42d39cb
Full map download endpoint
2023-11-14 12:07:17 -05:00
David Larlet
bdd7ad17e6
Improve buttons’ contrasts on the homepage #a11y
2023-11-14 11:59:03 -05:00
Yohan Boniface
6602491511
Merge pull request #1405 from umap-project/almet/speedup-tests
...
Speedup the tests by using a weaker hash algo.
2023-11-14 17:51:17 +01:00
Alexis Métaireau
3cc5d3b2af
Speedup the tests by using a weaker hash algo.
...
On my machine, it reduced the time to run the
test suite from 86s to 53s.
(Most of the remaining time is consumed by the
integration tests spawning chrome in the background)
2023-11-14 17:45:14 +01:00
Yohan Boniface
9e33144d34
Fix next/previous in popup footer in panel not openning next panel
...
fix #1400
cf #1240
2023-11-13 21:12:53 +01:00
Yohan Boniface
5267d3e9b8
Fix wrong css selector for umap-alert-container elements
...
umap-alert is set on the body to show/hide the alert container
fix #1398
2023-11-13 20:36:48 +01:00
Yohan Boniface
35afd02551
Increase pictogram category title font size
2023-11-13 19:55:37 +01:00
Yohan Boniface
7810cba660
Test: reset MEDIA_ROOT after each test
...
We need uploaded pictograms path to be deterministic.
2023-11-13 19:28:30 +01:00
Yohan Boniface
0562055b65
Picot fied: add test for changing picto from marker itself
2023-11-13 19:28:07 +01:00
Yohan Boniface
eaf6c17db4
Picto field: only add category when at least one picto matches search
2023-11-13 17:11:40 +01:00
Yohan Boniface
2026a2c7e6
picto field: only add close button once
2023-11-13 17:02:35 +01:00
Yohan Boniface
00a13acb83
Add test covering changing picto from the datalayer
2023-11-13 16:58:54 +01:00
Yohan Boniface
d63d81fec3
Refactor icon search
2023-11-09 08:31:24 +01:00
Yohan Boniface
e509687956
Add first test for pictogram selection
2023-11-09 00:02:44 +01:00
Yohan Boniface
1bf1543668
Refactor icon selector: use tabs, make options more explicit
2023-11-08 18:00:12 +01:00
Yohan Boniface
c16a01778b
Merge pull request #1393 from umap-project/fieldset-triangle
...
Add triangle icon to form fieldset to make toggle clearer
2023-11-07 22:39:00 +01:00
Yohan Boniface
09fda11242
Use smaller triangles for fieldsets
2023-11-07 19:24:05 +01:00
Yohan Boniface
41f5a51069
Change background in pictograms list
2023-11-07 19:09:37 +01:00
Yohan Boniface
3034ebc50b
Merge pull request #1388 from umap-project/pictogram-category
...
Pictogram category
2023-11-07 18:01:15 +01:00
Yohan Boniface
03b837ade6
Add triangle icon to form fieldset to make toggle clearer
2023-11-07 17:57:10 +01:00
Joachim Schleicher
952385b1cd
default fill-opacity for polygons
...
'null' is not a sensible default
2023-11-01 15:55:06 +01:00
Joachim Schleicher
af969eb5c0
incorporate review feedback for markers
...
* drop and div marker increased to 36px size
* adjust drop arrow accordingly
* black box-shadow with increased spread
2023-11-01 14:32:09 +01:00
Yohan Boniface
407e2dc46a
Fix race condition with cluster layer
...
This occurs when the cluster layer has a min/maxZoom defined, the
map is loaded inside this zoom range BUT the defaultView=data, and
would immediately change the current zoom to a value outside this range.
In this case, the datalayer is added to the map, then the data is requested,
then the map view is recomputed with the full data bounds.
There may be a better fix on our side, but given there is async in the middle,
it can be time consuming and can add complexity (with more events and listeners)
to properly make it work.
2023-11-01 10:49:31 +01:00
Yohan Boniface
e9deaab2bc
i18n
2023-11-01 08:17:56 +01:00
Yohan Boniface
402455c494
Change edit toolbar secondary button style
2023-10-31 17:57:01 +01:00
Yohan Boniface
5d410c94e3
Update save button style
2023-10-31 17:28:42 +01:00
Yohan Boniface
37094ec6df
Update white eye closed
2023-10-31 16:32:54 +01:00
Yohan Boniface
f61f1415ce
Update pictograms import script to deal with category and SVG
2023-10-30 21:35:22 +01:00
Yohan Boniface
8c774fb7b3
Add Pictogram.category and list pictos grouped by category
2023-10-30 21:07:55 +01:00
Yohan Boniface
b10838c5ba
Automagically change svg icon color according to background color
2023-10-30 18:14:41 +01:00
Yohan Boniface
b6aa201397
Use FileField instead of ImageField for pictogram to allow SVG
2023-10-30 12:45:05 +01:00
Yohan Boniface
e5c616b49c
Fix tests
2023-10-27 20:51:50 +02:00
Yohan Boniface
c578decdec
1.10.0
2023-10-27 20:09:42 +02:00
Yohan Boniface
40addf2ce4
i18n
2023-10-27 20:06:37 +02:00
David Larlet
539175f89c
Default message when drawing an existing line/shape
2023-10-27 13:49:26 -04:00
David Larlet
4250712741
More consistent color for close button in alert
2023-10-27 13:40:44 -04:00
David Larlet
bfd4b96807
Better responsive alignment of topbar icons and texts
2023-10-27 13:37:17 -04:00
David Larlet
c25de24009
Fix the bottom padding of help button in topbar
2023-10-27 13:24:12 -04:00
David Larlet
0c4495e356
Fix the z-index of the tooltip above sidepanel
2023-10-27 13:19:47 -04:00
David Larlet
a79e165de1
Fix position of pencil for deactivated layers
2023-10-27 13:18:19 -04:00
Yohan Boniface
8773a63e90
Merge pull request #1386 from umap-project/update-eye-icon
...
Update eye icon
2023-10-27 19:12:33 +02:00
Yohan Boniface
20767f7dc6
Merge pull request #1385 from umap-project/tooltip-mouseout
...
Cancel tooltip on mouseout
2023-10-27 19:12:03 +02:00
Yohan Boniface
d5ab5ac529
Update eye icon
2023-10-27 19:11:07 +02:00
Yohan Boniface
80a88d2c6f
Change save button display
2023-10-27 18:58:41 +02:00
Yohan Boniface
9d9b726af5
Cancel tooltip on mouseout
...
Prevent a tooltip to be displayed if the user has moved out
the mouse from the anchor.
2023-10-27 18:45:58 +02:00
David Larlet
dde6254d16
Fix: set step any for float input with decimals
...
Useful for latitudes and longitudes.
2023-10-27 11:56:02 -04:00
David Larlet
67d89874e8
Merge pull request #1290 from umap-project/a11y-from-links-to-buttons
...
A11Y: switch from links to buttons when pertinent
2023-10-27 11:53:23 -04:00
David Larlet
312ebf5a0d
Remove JS inline style made useless
2023-10-27 11:47:33 -04:00
David Larlet
ff9b462531
All left sidebar icons with white background
2023-10-27 11:40:28 -04:00
David Larlet
860e475219
Center the tooltip (arrow) for bottom position
2023-10-27 11:32:03 -04:00
David Larlet
1d65ce6b49
Better labels and icons for edit/preview modes
...
Fix #556
2023-10-27 11:31:34 -04:00
David Larlet
2f424b7539
Flat button for icon shapes direct input
2023-10-27 10:35:26 -04:00
Yohan Boniface
60a0f14439
Merge pull request #1382 from umap-project/fix-global-variable
...
Fix variable declared globally by mistake
2023-10-27 16:12:44 +02:00
Yohan Boniface
41ec18a08d
Fix variable declared globally by mistake
...
This can have an impact in map listing, because dataToload will
be shared.
2023-10-27 16:12:12 +02:00
Yohan Boniface
a0da0b31a7
Merge pull request #1383 from umap-project/default-view-datalayer
...
Split defaultDatalayer in defaultView/EditDatalayer
2023-10-27 16:03:14 +02:00
Yohan Boniface
f053e06686
Default view datalayer code refacto
2023-10-27 15:59:37 +02:00
Yohan Boniface
b80d88f7b9
Merge pull request #1384 from umap-project/onload-at-import
...
Fix displayOnLoad not honoured at import
2023-10-27 15:47:35 +02:00
Yohan Boniface
c5a28755a2
Fix JS tests related to a11y a to button change
2023-10-27 12:55:24 +02:00
Yohan Boniface
882cc74bcf
Fix displayOnLoad not honoured at import
...
fix #1043
2023-10-27 12:25:40 +02:00