Skip to content

Commit 674b253

Browse files
committed
Merge branch 'release/2.2.1'
2 parents b459d6d + 89cd283 commit 674b253

38 files changed

Lines changed: 3044 additions & 8177 deletions

File tree

.github/workflows/ci-linux.yml

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
php-versions: [ '8.1', '8.4' ]
28+
php-versions: [ '8.2', '8.5' ]
2929
coverage: [none]
3030
fail-fast: false
3131

@@ -83,13 +83,6 @@ jobs:
8383
cd galette-core/galette/plugins/plugin-maps
8484
../../vendor/bin/twigcs templates/default --severity error --display blocking
8585
86-
- name: Check missing symbols
87-
run: |
88-
cd galette-core/galette/plugins/plugin-maps
89-
composer require maglnet/composer-require-checker -W
90-
vendor/bin/composer-require-checker check --config-file=.composer-require-checker.config.json ../../composer.json
91-
if: matrix.php-versions == '8.4'
92-
9386
- name: PHPStan checks
9487
run: |
9588
cd galette-core/galette/plugins/plugin-maps
@@ -118,19 +111,19 @@ jobs:
118111
#always tests higher stable php version with lower db version
119112
#enable coverage on higher stable php version with higher postrgesql version
120113
#lower php version
121-
- { php-version: "8.1", db-image: "mysql:5.7", coverage: none, always: false }
122-
- { php-version: "8.1", db-image: "mysql:8.1", coverage: none, always: false }
123-
- { php-version: "8.1", db-image: "mariadb:10.4", coverage: none, always: false }
124-
- { php-version: "8.1", db-image: "mariadb:11", coverage: none, always: false }
125-
- { php-version: "8.1", db-image: "postgres:11", coverage: none, always: false }
126-
- { php-version: "8.1", db-image: "postgres:16", coverage: none, always: false }
114+
- { php-version: "8.2", db-image: "mysql:5.7", coverage: none, always: false }
115+
- { php-version: "8.2", db-image: "mysql:8.1", coverage: none, always: false }
116+
- { php-version: "8.2", db-image: "mariadb:10.4", coverage: none, always: false }
117+
- { php-version: "8.2", db-image: "mariadb:11", coverage: none, always: false }
118+
- { php-version: "8.2", db-image: "postgres:11", coverage: none, always: false }
119+
- { php-version: "8.2", db-image: "postgres:16", coverage: none, always: false }
127120
#higher stable php version
128-
- { php-version: "8.4", db-image: "mysql:5.7", coverage: none, always: true }
129-
- { php-version: "8.4", db-image: "mysql:8.1", coverage: none, always: false }
130-
- { php-version: "8.4", db-image: "mariadb:10.4", coverage: none, always: true }
131-
- { php-version: "8.4", db-image: "mariadb:11", coverage: none, always: false }
132-
- { php-version: "8.4", db-image: "postgres:11", coverage: none, always: true }
133-
- { php-version: "8.4", db-image: "postgres:16", coverage: none, always: true }
121+
- { php-version: "8.5", db-image: "mysql:5.7", coverage: none, always: true }
122+
- { php-version: "8.5", db-image: "mysql:8.1", coverage: none, always: false }
123+
- { php-version: "8.5", db-image: "mariadb:10.4", coverage: none, always: true }
124+
- { php-version: "8.5", db-image: "mariadb:11", coverage: none, always: false }
125+
- { php-version: "8.5", db-image: "postgres:11", coverage: none, always: true }
126+
- { php-version: "8.5", db-image: "postgres:16", coverage: none, always: true }
134127
fail-fast: false
135128

136129
env:

ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
* 2025-12-08 - 2.2.1
2+
3+
* 2025-10-09 - 2.2.0
4+
5+
* 2024-10-20 - 2.1.2
6+
7+
* 2024-10-20 - 2.1.1
8+
9+
* 2024-06-07 - 2.1.0
10+
11+
* 2023-12-07 - 2.0.0
12+
113
* 2021-11-29 - 1.7.0
214
- Few bugfixes
315
- Galette 0.9.6 compatible

_define.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
'Galette Maps', //Name
2626
'Maps features', //Short description
2727
'Johan Cwiklinski', //Author
28-
'2.2.0', //Version
28+
'2.2.1', //Version
2929
'1.2.0', //Galette compatible version
3030
'maps', //routing name and translation domain
31-
'2025-10-09', //Release date
31+
'2025-12-08', //Release date
3232
[ //Permissions needed
3333
'maps_localize_member' => 'member',
3434
'maps_mymap' => 'member',

gulpfile.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { series, parallel } = require('gulp');
44
const del = require('del');
55
const concat = require('gulp-concat');
66
const uglify = require('gulp-uglify');
7-
const merge = require('merge-stream');
7+
const merge = require('ordered-read-streams');
88
const replace = require('gulp-replace');
99
const cleancss = require('gulp-clean-css');
1010

@@ -14,7 +14,7 @@ const plugin = {
1414

1515
const main_styles = [
1616
'./node_modules/leaflet/dist/leaflet.css',
17-
'./node_modules/leaflet.fullscreen/Control.FullScreen.css',
17+
'./node_modules/leaflet.fullscreen/dist/Control.FullScreen.css',
1818
'./node_modules/leaflet-gesture-handling/dist/leaflet-gesture-handling.css',
1919
'./node_modules/leaflet.markercluster/dist/MarkerCluster.css',
2020
'./node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css',
@@ -24,7 +24,7 @@ const main_styles = [
2424

2525
const main_scripts = [
2626
'./node_modules/leaflet/dist/leaflet.js',
27-
'./node_modules/leaflet.fullscreen/Control.FullScreen.js',
27+
'./node_modules/leaflet.fullscreen/dist/Control.FullScreen.umd.js',
2828
'./node_modules/leaflet-gesture-handling/dist/leaflet-gesture-handling.min.js',
2929
'./node_modules/leaflet.markercluster/dist/leaflet.markercluster.js',
3030
'./node_modules/leaflet-control-geocoder/dist/Control.Geocoder.js',
@@ -66,7 +66,7 @@ function styles() {
6666
.pipe(concat('maps-main.bundle.min.css'))
6767
.pipe(gulp.dest(plugin.public));
6868

69-
locate = gulp.src([
69+
locate = gulp.src([
7070
'./node_modules/leaflet.locatecontrol/dist/L.Control.Locate.min.css'
7171
])
7272
.pipe(replace('../location-arrow-solid.svg', './images/location-arrow-solid.svg'))
@@ -84,7 +84,7 @@ function scripts() {
8484
.pipe(uglify())
8585
.pipe(gulp.dest(plugin.public));
8686

87-
locate = gulp.src([
87+
locate = gulp.src([
8888
'./node_modules/leaflet.locatecontrol/dist/L.Control.Locate.min.js'
8989
])
9090
.pipe(concat('maps-locate.bundle.min.js'))
@@ -96,7 +96,7 @@ function scripts() {
9696

9797
function assets() {
9898
main = main_assets.map(function (asset) {
99-
return gulp.src(asset.src)
99+
return gulp.src(asset.src, {encoding: false})
100100
.pipe(gulp.dest(plugin.public + asset.dest));
101101
}
102102
);

lang/br.utf8/LC_MESSAGES/maps.mo

32 Bytes
Binary file not shown.

lang/en_US/LC_MESSAGES/maps.mo

50 Bytes
Binary file not shown.
77 Bytes
Binary file not shown.

lang/maps.pot

Lines changed: 60 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-02-08 22:15+0100\n"
11+
"POT-Creation-Date: 2025-12-07 10:22+0100\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,162 +17,166 @@ msgstr ""
1717
"Content-Type: text/plain; charset=CHARSET\n"
1818
"Content-Transfer-Encoding: 8bit\n"
1919

20-
#: ../_routes.php:32
20+
#: ../_routes.php:34
2121
msgid "Javascript libraries has not been built!"
2222
msgstr ""
2323

24-
#: ../lib/GaletteMaps/Controllers/MapsController.php:70
25-
#: ../lib/GaletteMaps/Controllers/MapsController.php:155
26-
#: ../lib/GaletteMaps/PluginGaletteMaps.php:72
24+
#: ../lib/GaletteMaps/PluginGaletteMaps.php:53
25+
#: ../lib/GaletteMaps/PluginGaletteMaps.php:99
26+
msgid "My localization"
27+
msgstr ""
28+
29+
#: ../lib/GaletteMaps/PluginGaletteMaps.php:74
30+
#: ../lib/GaletteMaps/Controllers/MapsController.php:64
31+
#: ../lib/GaletteMaps/Controllers/MapsController.php:145
2732
msgid "Maps"
2833
msgstr ""
2934

30-
#: ../lib/GaletteMaps/Controllers/MapsController.php:83
35+
#: ../lib/GaletteMaps/PluginGaletteMaps.php:130
36+
msgid "Geolocalize"
37+
msgstr ""
38+
39+
#: ../lib/GaletteMaps/PluginGaletteMaps.php:134
40+
msgid "Geolocalize %membername"
41+
msgstr ""
42+
43+
#: ../lib/GaletteMaps/Controllers/MapsController.php:73
3144
msgid ""
3245
"Coordinates has not been loaded. Maybe plugin tables does not exists in the "
3346
"database?"
3447
msgstr ""
3548

36-
#: ../lib/GaletteMaps/Controllers/MapsController.php:158
49+
#: ../lib/GaletteMaps/Controllers/MapsController.php:148
3750
msgid "%member geographic position"
3851
msgstr ""
3952

40-
#: ../lib/GaletteMaps/Controllers/MapsController.php:204
53+
#: ../lib/GaletteMaps/Controllers/MapsController.php:194
4154
msgid "Superadmin cannot be localized."
4255
msgstr ""
4356

44-
#: ../lib/GaletteMaps/Controllers/MapsController.php:231
45-
#: ../lib/GaletteMaps/Controllers/MapsController.php:243
57+
#: ../lib/GaletteMaps/Controllers/MapsController.php:221
58+
#: ../lib/GaletteMaps/Controllers/MapsController.php:233
4659
msgid "Coordinates has not been removed :("
4760
msgstr ""
4861

49-
#: ../lib/GaletteMaps/Controllers/MapsController.php:241
62+
#: ../lib/GaletteMaps/Controllers/MapsController.php:231
5063
msgid "Coordinates has been removed!"
5164
msgstr ""
5265

53-
#: ../lib/GaletteMaps/Controllers/MapsController.php:256
66+
#: ../lib/GaletteMaps/Controllers/MapsController.php:246
5467
msgid "New coordinates has been stored!"
5568
msgstr ""
5669

57-
#: ../lib/GaletteMaps/Controllers/MapsController.php:258
70+
#: ../lib/GaletteMaps/Controllers/MapsController.php:248
5871
msgid "Coordinates has not been stored :("
5972
msgstr ""
6073

61-
#: ../lib/GaletteMaps/Controllers/MapsController.php:261
74+
#: ../lib/GaletteMaps/Controllers/MapsController.php:251
6275
msgid "Something went wrong :("
6376
msgstr ""
6477

65-
#: ../lib/GaletteMaps/PluginGaletteMaps.php:51
66-
#: ../lib/GaletteMaps/PluginGaletteMaps.php:97
67-
msgid "My localization"
68-
msgstr ""
69-
70-
#: ../lib/GaletteMaps/PluginGaletteMaps.php:118
71-
msgid "Geolocalize"
78+
#: ../tempcache/common_html.html.twig:66 ../tempcache/common_html.html.twig:72
79+
msgid "Member (company)"
7280
msgstr ""
7381

74-
#: ../lib/GaletteMaps/PluginGaletteMaps.php:122
75-
msgid "Geolocalize %membername"
82+
#: ../tempcache/common_html.html.twig:82 ../tempcache/common_html.html.twig:88
83+
msgid "Search result"
7684
msgstr ""
7785

78-
#: ../tempcache/maps.html.twig:102
86+
#: ../tempcache/maps.html.twig:114
7987
msgid "aka"
8088
msgstr ""
8189

82-
#: ../tempcache/common_scripts.html.twig:129
90+
#: ../tempcache/common_scripts.html.twig:134
8391
msgid "An error occured during 'I live here' process :("
8492
msgstr ""
8593

86-
#: ../tempcache/common_scripts.html.twig:163
94+
#: ../tempcache/common_scripts.html.twig:179
8795
msgid "Display map in full screen"
8896
msgstr ""
8997

90-
#: ../tempcache/common_scripts.html.twig:185
98+
#: ../tempcache/common_scripts.html.twig:183
99+
msgid "Exit full screen"
100+
msgstr ""
101+
102+
#: ../tempcache/common_scripts.html.twig:195
91103
msgid "Search your town..."
92104
msgstr ""
93105

94-
#: ../tempcache/common_scripts.html.twig:191
106+
#: ../tempcache/common_scripts.html.twig:201
95107
msgid "Search a town..."
96108
msgstr ""
97109

98-
#: ../tempcache/common_scripts.html.twig:197
110+
#: ../tempcache/common_scripts.html.twig:207
99111
msgid "Sorry, that town could not be found."
100112
msgstr ""
101113

102-
#: ../tempcache/common_scripts.html.twig:201
114+
#: ../tempcache/common_scripts.html.twig:211
103115
msgid "Search"
104116
msgstr ""
105117

106-
#: ../tempcache/common_scripts.html.twig:225
118+
#: ../tempcache/common_scripts.html.twig:235
107119
msgid "Show me where I am"
108120
msgstr ""
109121

110-
#: ../tempcache/common_scripts.html.twig:230
122+
#: ../tempcache/common_scripts.html.twig:240
111123
msgid "You seem located outside the boundaries of the map"
112124
msgstr ""
113125

114-
#: ../tempcache/common_scripts.html.twig:242
126+
#: ../tempcache/common_scripts.html.twig:252
115127
msgid "Map data (c)"
116128
msgstr ""
117129

118-
#: ../tempcache/common_scripts.html.twig:244
130+
#: ../tempcache/common_scripts.html.twig:254
119131
msgid "OpenStreetMap contributors"
120132
msgstr ""
121133

122-
#: ../tempcache/common_scripts.html.twig:246
134+
#: ../tempcache/common_scripts.html.twig:256
123135
msgid "Imagery (c)"
124136
msgstr ""
125137

126-
#: ../tempcache/mymap.html.twig:64
138+
#: ../tempcache/mymap.html.twig:72
127139
msgid "Choose your location"
128140
msgstr ""
129141

130-
#: ../tempcache/mymap.html.twig:70
142+
#: ../tempcache/mymap.html.twig:78
131143
msgid "Choose %member location"
132144
msgstr ""
133145

134-
#: ../tempcache/mymap.html.twig:80
146+
#: ../tempcache/mymap.html.twig:88
135147
msgid "Select your town."
136148
msgstr ""
137149

138-
#: ../tempcache/mymap.html.twig:84
150+
#: ../tempcache/mymap.html.twig:92
139151
msgid "In the database, town is set to: '%town'"
140152
msgstr ""
141153

142-
#: ../tempcache/mymap.html.twig:174
154+
#: ../tempcache/mymap.html.twig:186
143155
msgid "You clicked at %p"
144156
msgstr ""
145157

146-
#: ../tempcache/mymap.html.twig:177 ../tempcache/mymap.html.twig:298
147-
#: ../tempcache/mymap.html.twig:327
158+
#: ../tempcache/mymap.html.twig:189 ../tempcache/mymap.html.twig:310
159+
#: ../tempcache/mymap.html.twig:339
148160
msgid "I live here!"
149161
msgstr ""
150162

151-
#: ../tempcache/mymap.html.twig:179 ../tempcache/mymap.html.twig:300
152-
#: ../tempcache/mymap.html.twig:329
163+
#: ../tempcache/mymap.html.twig:191 ../tempcache/mymap.html.twig:312
164+
#: ../tempcache/mymap.html.twig:341
153165
msgid "Member lives here!"
154166
msgstr ""
155167

156-
#: ../tempcache/mymap.html.twig:211
168+
#: ../tempcache/mymap.html.twig:223
157169
msgid "Remove my coordinates"
158170
msgstr ""
159171

160-
#: ../tempcache/mymap.html.twig:213
172+
#: ../tempcache/mymap.html.twig:225
161173
msgid "Remove member coordinates"
162174
msgstr ""
163175

164-
#: ../tempcache/mymap.html.twig:219
176+
#: ../tempcache/mymap.html.twig:231
165177
msgid "Are you sure you want to remove coordinates from the database?"
166178
msgstr ""
167179

168-
#: ../tempcache/mymap.html.twig:272
180+
#: ../tempcache/mymap.html.twig:284
169181
msgid "An error occured removing coordinates :("
170182
msgstr ""
171-
172-
#: ../tempcache/common_html.html.twig:61 ../tempcache/common_html.html.twig:67
173-
msgid "Member (company)"
174-
msgstr ""
175-
176-
#: ../tempcache/common_html.html.twig:77 ../tempcache/common_html.html.twig:83
177-
msgid "Search result"
178-
msgstr ""

0 commit comments

Comments
 (0)