Skip to content

New Release v1.12.0 - #minor#744

Merged
ltshb merged 170 commits intomasterfrom
develop
Mar 27, 2024
Merged

New Release v1.12.0 - #minor#744
ltshb merged 170 commits intomasterfrom
develop

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented Mar 27, 2024

dependabot bot and others added 30 commits March 16, 2024 23:37
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…redirects-1.15.6

Bump follow-redirects from 1.15.5 to 1.15.6
… file

In import file when entering enter with an invalid url field, it triggered a
page reload. This was due to the fact that the `loadFile()` was triggered with
an invalid url which triggered a fetch to the current host, reloading the app.

Now we prevent calling loadFile() if the url is not valid.
An HTML form default behavior en keydow.enter is to submit the form which may
trigger a page reload. Therefore remove the form as we don't really need it
here and use `prevent` modifier for extra future security.
PB-294: Avoid reloading the application when entering ENTER in import file
pakb and others added 13 commits March 27, 2024 09:44
The print area preview composable was doing the preview, the printing and also coffee. It is now only responsible for the preview area.
I also took the opportunity to remove from the store things that weren't making much sense being there, as no one else as the print menu section was using them (and as the menu section is now the one triggering the print job, it's much clearer this way)
move geolocation removal into API file directly (so that the logic is shared across the app
use store value directly when printing, no need to go through a reactivity computed prop as we won't be reacting to changes while printing
Move "print" job logic and management out of area composable
The new @features param wasn't checking that it was looping over features with layer, creating error when selecting drawing features
The geometry of a feature came sometimes directly from the store, and was shallow-cloned only by reproject utils. Vuex was then raising an error because reproject attempted to modify something coming from the store. We now deep-clone the geometry before passing it to reproject
…o_layer

Fix two bugs regarding selected features
Also remove the border of button which don't need a user feedback on click, like
for example the caret, checkbox and cog icon, as they are animated then don't
require any feedback.
@ltshb ltshb requested a review from pakb March 27, 2024 13:07
@github-actions github-actions bot changed the title new release New Release v1.12.0 - #minor Mar 27, 2024
@cypress
Copy link

cypress bot commented Mar 27, 2024

Passing run #1369 ↗︎

0 166 22 0 Flakiness 0

Details:

Merge pull request #740 from geoadmin/bug-PB-361-external-layer
Project: web-mapviewer Commit: c0b99166b2
Status: Passed Duration: 05:45 💡
Started: Mar 27, 2024 5:32 PM Ended: Mar 27, 2024 5:38 PM

Review all test suite changes for PR #744 ↗︎

ltkum and others added 11 commits March 27, 2024 14:59
since we are working on the time Slider implementation, we might as
refactor it with the composition API
PB-318: refactor time slider to composition API
Therefore made the parsing case insensitive.
The removed duplicates logic did not worked as expected and removed all
projections from the list which resulted to fallback to WGS84.
Some provider are very slow, like for example the provider for jura.ch takes
~20-25s to download the get capabilities of 1.4MB !
Some provider like canton solothurn use KVP in WMTS instead of REST, those
were broken because the get capabilities done by our open layer component
did not added the KVP query parameters.

Now we use the same code as used in the external catalogue parsing.
This avoid error logs and made the code complete, even though those projections
are not used for WMTS layers.
Also removed possible race condition due to the .then() in cypress that don't
do retries in opposite of .should()
To avoid to load the get capabilities for each layers, we now save the WMTS
options in the layer object.

Due to this we need to register the proj4 projection earlier than in the open
layer map because the get capabilities are parsed during the startup before
openlayer map is loaded.
@ltshb ltshb merged commit 8c29798 into master Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants