Skip to content

Commit

Permalink
Merge pull request #12359 from escopecz/jvectormap-next
Browse files Browse the repository at this point in the history
Jvectormap next
  • Loading branch information
escopecz committed May 19, 2023
2 parents f314726 + 1342067 commit 3052c4d
Show file tree
Hide file tree
Showing 11 changed files with 593 additions and 3,876 deletions.
5 changes: 5 additions & 0 deletions UPGRADE-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
* Services
* Repository service `mautic.user.token.repository` for `Mautic\UserBundle\Entity\UserTokenRepository` was removed as it was duplicated. Use `mautic.user.repository.user_token` instead.
* In tests replace `self::$container->get('mautic.http.client.mock_handler')` with `self::$container->get(\GuzzleHttp\Handler\MockHandler::class)` to get HTTP client mock handler.
* JS Dependencies
* Most of the JS libraries were moved from hard-coded location in the CoreBundle to package.json so we can manage them with NPM
* This means that when you run `composer install` then it will also run `npm install` to download JS dependencies and `bin/console mautic:assets:generate` to build the production assets.
* Libraries `jquery-color`, `jquery-play-sound` and `html5notifications` were removed as unused.
* Library `jvectormap` was replaced with its accessor `jvectormap-next` as it was unmaintaned.
* Other
* `Mautic\UserBundle\Security\Firewall\AuthenticationListener::class` no longer implements the deprecated `Symfony\Component\Security\Http\Firewall\ListenerInterface` and was made final. The `public function handle(GetResponseEvent $event)` method was changed to `public function __invoke(RequestEvent $event): void` to support Symfony 5.
* `Mautic\IntegrationsBundle\Configuration\PluginConfiguration` removed - we don't use it
Expand Down
17 changes: 17 additions & 0 deletions app/assets/scaffold/files/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/assets/scaffold/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"jquery.cookie": "^1.4.1",
"js-cookie": "^2.0.2",
"jsplumb": "^2.12.8",
"jvectormap-next": "^3.1.1",
"moment": "^2.8.1",
"mousetrap": "^1.4.6",
"multiselect": "^0.9.12",
Expand Down
24 changes: 12 additions & 12 deletions app/bundles/CoreBundle/Assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,56 +3,56 @@
font-style: italic;
font-weight: 300;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexQ.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexQ.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexQ.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexQ.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 600;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkxhjWVAexQ.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkxhjWVAexQ.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexQ.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexQ.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVc.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVc.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVc.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4gaVc.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsgH1x4gaVc.ttf) format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
font-stretch: normal;
src: url(https://fonts.gstatic.com/s/opensans/v34/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVc.ttf) format('truetype');
src: url(https://fonts.gstatic.com/s/opensans/v35/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVc.ttf) format('truetype');
}
html,
body {
Expand Down Expand Up @@ -129,8 +129,8 @@ body > #app-wrapper {
}
#app-header.navbar .navbar-nocollapse:before,
#app-header.navbar .navbar-nocollapse:after {
content: " ";
display: table;
content: " ";
}
#app-header.navbar .navbar-nocollapse:after {
clear: both;
Expand Down Expand Up @@ -171,8 +171,8 @@ body > #app-wrapper {
}
#app-header.navbar .navbar-nocollapse .navbar-nav > li > a:before,
#app-header.navbar .navbar-nocollapse .navbar-nav > li > a:after {
content: " ";
display: table;
content: " ";
}
#app-header.navbar .navbar-nocollapse .navbar-nav > li > a:after {
clear: both;
Expand Down Expand Up @@ -850,8 +850,8 @@ body > #app-wrapper {
}
#app-content:before,
#app-content:after {
content: " ";
display: table;
content: " ";
}
#app-content:after {
clear: both;
Expand Down Expand Up @@ -2567,8 +2567,8 @@ ul.line-legend li {
}
.panel-heading:before,
.panel-heading:after {
content: " ";
display: table;
content: " ";
}
.panel-heading:after {
clear: both;
Expand Down

0 comments on commit 3052c4d

Please sign in to comment.