@eeacms/volto-cca-policy 0.3.68 → 0.3.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
### [0.3.
|
|
7
|
+
### [0.3.69](https://github.com/eea/volto-cca-policy/compare/1.0.0-alpha.0...0.3.69) - 17 July 2025
|
|
8
8
|
|
|
9
9
|
#### :rocket: Dependency updates
|
|
10
10
|
|
|
@@ -13,6 +13,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
13
13
|
|
|
14
14
|
#### :bug: Bug Fixes
|
|
15
15
|
|
|
16
|
+
- fix: CMSare video URL with query string - #refs 290068 [kreafox - [`d637581`](https://github.com/eea/volto-cca-policy/commit/d637581b12b70f1438576d800d9a7d710c734c11)]
|
|
16
17
|
- fix: remove unused import [kreafox - [`72e419d`](https://github.com/eea/volto-cca-policy/commit/72e419d8d46a05c1fc2c2314f625bf9c4a08a64d)]
|
|
17
18
|
- fix: eslint [kreafox - [`7887ef4`](https://github.com/eea/volto-cca-policy/commit/7887ef453f9099f1606a54b2ae06bfcad03ca5f8)]
|
|
18
19
|
- fix: issues reported by sonarqube [kreafox - [`ccf5bcd`](https://github.com/eea/volto-cca-policy/commit/ccf5bcde698444d9bed9b138edb54841f78e27af)]
|
|
@@ -43,7 +44,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
43
44
|
- Add some loadable for components [Tiberiu Ichim - [`1793962`](https://github.com/eea/volto-cca-policy/commit/179396211c66a6a2465b2d1b6c0f2afc40fc7189)]
|
|
44
45
|
- Refs #284961 - test [Tripon Eugen - [`c989f1f`](https://github.com/eea/volto-cca-policy/commit/c989f1f8638c0c5233c5c49f8673c9a2cdc7937e)]
|
|
45
46
|
- Refs #284961 - add translations [Tripon Eugen - [`04ee988`](https://github.com/eea/volto-cca-policy/commit/04ee988c086d393b9b37ce1ea8d24f5e84f266aa)]
|
|
46
|
-
### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.
|
|
47
|
+
### [1.0.0-alpha.0](https://github.com/eea/volto-cca-policy/compare/0.3.68...1.0.0-alpha.0) - 15 July 2025
|
|
47
48
|
|
|
48
49
|
#### :bug: Bug Fixes
|
|
49
50
|
|
|
@@ -86,6 +87,20 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
86
87
|
- test: Update to volto 17 PR30 [valentinab25 - [`ed03286`](https://github.com/eea/volto-cca-policy/commit/ed032865efa051d6353844737616019b202ea562)]
|
|
87
88
|
- test: update snapshots [ana-oprea - [`94608ad`](https://github.com/eea/volto-cca-policy/commit/94608adc1b3b3655c7ecd5c39dde1f0fcd4b41e9)]
|
|
88
89
|
- test: Update to volto 17 PR30 [valentinab25 - [`2e81033`](https://github.com/eea/volto-cca-policy/commit/2e810334e08366ca77ba62383c064770dde643a1)]
|
|
90
|
+
### [0.3.68](https://github.com/eea/volto-cca-policy/compare/0.3.67...0.3.68) - 17 July 2025
|
|
91
|
+
|
|
92
|
+
#### :rocket: Dependency updates
|
|
93
|
+
|
|
94
|
+
- Release @eeacms/volto-searchlib@2.1.1 [EEA Jenkins - [`a625e3d`](https://github.com/eea/volto-cca-policy/commit/a625e3d4cf3de11644db824b8ddf46fcd56ea7e9)]
|
|
95
|
+
|
|
96
|
+
#### :bug: Bug Fixes
|
|
97
|
+
|
|
98
|
+
- fix: remove unused import [kreafox - [`72e419d`](https://github.com/eea/volto-cca-policy/commit/72e419d8d46a05c1fc2c2314f625bf9c4a08a64d)]
|
|
99
|
+
|
|
100
|
+
#### :nail_care: Enhancements
|
|
101
|
+
|
|
102
|
+
- change: remove sitemap from header, add sitemap link to the <head> - refs #288920 [kreafox - [`cf2da0a`](https://github.com/eea/volto-cca-policy/commit/cf2da0af294ec97b36d2b711ff7d05a937512a02)]
|
|
103
|
+
|
|
89
104
|
### [0.3.67](https://github.com/eea/volto-cca-policy/compare/0.3.66...0.3.67) - 17 July 2025
|
|
90
105
|
|
|
91
106
|
#### :bug: Bug Fixes
|
package/package.json
CHANGED
package/src/helpers/index.js
CHANGED
|
@@ -51,8 +51,12 @@ export const makeContributionsSearchQuery = (props) => {
|
|
|
51
51
|
|
|
52
52
|
export const fixEmbedURL = (url, is_cmshare_video) => {
|
|
53
53
|
const suffix = '/download';
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
|
|
55
|
+
if (!is_cmshare_video) return url;
|
|
56
|
+
|
|
57
|
+
const base = url.split('?')[0];
|
|
58
|
+
|
|
59
|
+
if (base.endsWith(suffix)) return base;
|
|
60
|
+
|
|
61
|
+
return base + suffix;
|
|
58
62
|
};
|