Skip to content

Commit

Permalink
Merge branch 'hotfix/1.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffparnitzky committed Jun 28, 2017
2 parents 7451a9e + 5281fd3 commit df5ffb4
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Contao Extension "Monitoring"
=============================

Version 1.8.1 (2017-xx-xx)
--------------------------
- Contao 4 ready

Version 1.8.0 (2017-05-09)
--------------------------
- added response time recording (see #15)
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ https://github.com/ContaoMonitoring/monitoring/issues
Compatibility
-------------

- min. Contao version: >= 3.2.0
- max. Contao version: < 3.6.0

- Contao version >= 3.2.0 ... < 3.6.0
- Contao version >= 4.4.0

Dependency
----------
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
},
"require":{
"php":">=5.3",
"contao/core":">=3.2.0,<3.6",
"contao-community-alliance/composer-plugin":"~2.0"
"contao/core-bundle":"~3.2 || ~4.4",
"contao-community-alliance/composer-plugin":"~2.4 || ~3.0"
},
"suggest" : {
"cliffparnitzky/backend-custom-startpage" : "Provides the possibility for each user to select an individual startpage in the backend."
Expand Down
3 changes: 3 additions & 0 deletions system/modules/Monitoring/assets/backend_svg.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#tl_navigation .tl_level_1_group .group-ContaoMonitoring {
background: url(icon_monitoring.svg) 3px 2px no-repeat;
}
5 changes: 5 additions & 0 deletions system/modules/Monitoring/assets/icon_monitoring.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions system/modules/Monitoring/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
)
));

// Load icon in Contao 4.4 backend
if ('BE' === TL_MODE) {
$GLOBALS['TL_CSS'][] = 'system/modules/Monitoring/assets/backend_svg.css';
}

/**
* Cron
*/
Expand Down
2 changes: 1 addition & 1 deletion system/modules/Monitoring/dca/tl_monitoring.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
'default' => '0',
'inputType' => 'text',
'eval' => array('tl_class'=>'w50', 'readonly'=>true, 'rgxp'=>'digit', 'doNotCopy'=>true),
'sql' => "double unsigned NOT NULL default '0'"
'sql' => "double NOT NULL default '0'" // see doctrine/dbal#1018
),
'disable' => array
(
Expand Down
2 changes: 1 addition & 1 deletion system/modules/Monitoring/dca/tl_monitoring_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
'sorting' => true,
'inputType' => 'text',
'eval' => array('tl_class'=>'w50', 'readonly'=>true, 'rgxp'=>'digit'),
'sql' => "double unsigned NOT NULL default '0'"
'sql' => "double NOT NULL default '0'" // see doctrine/dbal#1018
),
'repetitions' => array
(
Expand Down

0 comments on commit df5ffb4

Please sign in to comment.