Skip to content

Commit 20c69b0

Browse files
authored
Merge pull request #334 from gtt-project/next
Prepares for release 5.1.2
2 parents 648dc9a + 8cdb639 commit 20c69b0

File tree

10 files changed

+129
-162
lines changed

10 files changed

+129
-162
lines changed

app/overrides/issues.rb

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/overrides/issues/index.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Deface::Override.new(
2+
:virtual_path => "issues/index",
3+
:name => "deface_view_issues_index_map",
4+
:insert_after => "h2",
5+
:original => 'b807967c7184cb012c4bd5ccce90893349bc66e3',
6+
:partial => "issues/index/map"
7+
)
8+
9+
Deface::Override.new(
10+
:virtual_path => "issues/index",
11+
:name => "deface_view_issues_index_format_geojson",
12+
:insert_after => "erb[loud]:contains('PDF')",
13+
:original => '2b4102bf118f0a9866cf50477dce9cc7a78da6d5',
14+
:partial => "issues/index/geojson"
15+
)

app/overrides/issues/show.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Deface::Override.new(
2+
:virtual_path => "issues/show",
3+
:name => "deface_view_issues_show_map",
4+
:insert_before => "div.attributes",
5+
:original => 'c56981aa84b0fee66ff43ea773cf1444193a2862',
6+
:partial => "issues/show/map"
7+
)
8+
9+
Deface::Override.new(
10+
:virtual_path => "issues/show",
11+
:name => "deface_view_issues_show_format_geojson",
12+
:insert_after => "erb[loud]:contains('PDF')",
13+
:original => '1419e0dcba37f62ff95372d41d9b73845889d826',
14+
:partial => "issues/show/geojson"
15+
)

app/overrides/projects.rb

Lines changed: 0 additions & 17 deletions
This file was deleted.

app/overrides/projects/show.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Deface::Override.new(
2+
:virtual_path => "projects/show",
3+
:name => "deface_view_projects_show_map",
4+
:insert_bottom => "div.splitcontentright",
5+
:original => 'b939fb5ea208476399dbfb4b253dcff0ab1ace91',
6+
:partial => "projects/show/map"
7+
)
8+
9+
Deface::Override.new(
10+
:virtual_path => "projects/show",
11+
:name => "deface_view_projects_show_other_formats",
12+
:insert_bottom => "div.splitcontentright",
13+
:original => '1d2f0cb0b1439dddc34ac9c50b6b1b111fe702ce',
14+
:partial => "projects/show/other_formats"
15+
)

app/overrides/users.rb

Lines changed: 0 additions & 9 deletions
This file was deleted.

app/overrides/users/show.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Deface::Override.new(
2+
:virtual_path => "users/show",
3+
:name => "deface_view_users_show_other_formats",
4+
:insert_bottom => "div.splitcontentleft",
5+
:original => 'abe916df0691ebe8848cfc0dde536abd3bfe39b8',
6+
:partial => "users/show/other_formats"
7+
)

init.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
author_url 'https://github.com/georepublic'
99
url 'https://github.com/gtt-project/redmine_gtt'
1010
description 'Adds location-based task management and maps'
11-
version '5.1.0'
11+
version '5.1.2'
1212

1313
requires_redmine :version_or_higher => '5.0.0'
1414

@@ -58,9 +58,10 @@
5858
end
5959

6060
if Rails.version > '6.0' && Rails.autoloaders.zeitwerk_enabled?
61-
require File.expand_path('../app/overrides/issues', __FILE__)
62-
require File.expand_path('../app/overrides/projects', __FILE__)
63-
require File.expand_path('../app/overrides/users', __FILE__)
61+
Dir.glob("#{Rails.root}/plugins/redmine_gtt/app/overrides/**/*.rb").each do |path|
62+
Rails.autoloaders.main.ignore(path)
63+
require path
64+
end
6465
RedmineGtt.setup_normal_patches
6566
Rails.application.config.after_initialize do
6667
RedmineGtt.setup_controller_patches

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,28 @@
2222
"dependencies": {
2323
"@juggle/resize-observer": "^3.4.0",
2424
"@mdi/font": "^7.4.47",
25-
"dompurify": "^3.1.5",
25+
"dompurify": "^3.1.6",
2626
"fontfaceobserver": "^2.3.0",
2727
"geojson": "^0.5.0",
28-
"ol": "^9.1.0",
29-
"ol-ext": "^4.0.15",
30-
"ol-mapbox-style": "^12.3.4"
28+
"ol": "^10.1.0",
29+
"ol-ext": "^4.0.23",
30+
"ol-mapbox-style": "^12.3.5"
3131
},
3232
"devDependencies": {
3333
"@types/dompurify": "^3.0.5",
3434
"@types/fontfaceobserver": "^2.1.3",
3535
"@types/geojson": "^7946.0.14",
36-
"@types/google.maps": "^3.55.11",
36+
"@types/google.maps": "^3.55.12",
3737
"@types/jquery": "^3.5.30",
3838
"@types/jqueryui": "^1.12.23",
3939
"@types/ol-ext": "npm:@siedlerchr/types-ol-ext",
4040
"css-loader": "^7.1.2",
41-
"sass": "^1.77.6",
42-
"sass-loader": "^14.2.1",
41+
"sass": "^1.77.8",
42+
"sass-loader": "^16.0.1",
4343
"style-loader": "^4.0.0",
4444
"ts-loader": "^9.5.1",
45-
"typescript": "^5.5.3",
46-
"webpack": "^5.92.1",
45+
"typescript": "^5.5.4",
46+
"webpack": "^5.94.0",
4747
"webpack-cli": "^5.1.4"
4848
}
4949
}

0 commit comments

Comments
 (0)