Skip to content

Commit

Permalink
⬆️ Update dependencies to include their fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Molkobain committed Jul 24, 2019
1 parent 4477d66 commit 37336aa
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

## [1.1.2] - 2019-07-24
### Changed
- Update dependencies to include their fixes

## [1.1.1] - 2019-07-23
### Changed
- Fix rendering of line breaks on read-only attributes (preview was ok)
Expand Down
6 changes: 3 additions & 3 deletions dist/molkobain-markdown-viewer/extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<author><![CDATA[Guillaume Lajarige]]></author>
<label><![CDATA[Markdown attributes viewer]]></label>
<description><![CDATA[Easily edit fields in Markdown without any modification to your datamodel!]]></description>
<version>1.1.1</version>
<release_date>2019-07-23</release_date>
<version_description><![CDATA[Fix rendering of line breaks on read-only attributes (preview was ok)]]></version_description>
<version>1.1.2</version>
<release_date>2019-07-24</release_date>
<version_description><![CDATA[Update dependencies to include their fixes]]></version_description>
<itop_version_min>2.4.0</itop_version_min>
<status>stable</status>
<mandatory>false</mandatory>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/** @noinspection PhpUnhandledExceptionInspection */
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'molkobain-markdown-viewer/1.1.1',
'molkobain-markdown-viewer/1.1.2',
array(
// Identification
//
Expand All @@ -25,7 +25,7 @@
//
'dependencies' => array(
'molkobain-handy-framework/1.2.4',
'molkobain-newsroom-provider/1.0.0',
'molkobain-newsroom-provider/1.0.1',
),
'mandatory' => false,
'visible' => true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/
class ConfigHelper extends BaseConfigHelper
{
const MODULE_NAME = 'molkobain-datacenter-view';
const MODULE_NAME = 'molkobain-newsroom-provider';
const API_VERSION = '1.0';

const SETTING_CONST_FQCN = 'Molkobain\\iTop\\Extension\\NewsroomProvider\\Common\\Helper\\ConfigHelper';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*!
* Copyright (c) 2015 - 2019 Molkobain.
*
* This file is part of licensed extension.
*
* Use of this extension is bound by the license you purchased. A license grants you a non-exclusive and non-transferable right to use and incorporate the item in your personal or commercial projects. There are several licenses available (see https://www.molkobain.com/usage-licenses/ for more informations)
*/

/* Overload the default newsroom style to fix markdown rendering */
#newsroom_menu li li p{
margin-bottom: 0.8em;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
/**
* Copyright (c) 2015 - 2019 Molkobain.
*
* This file is part of licensed extension.
*
* Use of this extension is bound by the license you purchased. A license grants you a non-exclusive and non-transferable right to use and incorporate the item in your personal or commercial projects. There are several licenses available (see https://www.molkobain.com/usage-licenses/ for more informations)
*/

namespace Molkobain\iTop\Extension\NewsroomProvider\Console\Extension;

use iPageUIExtension;
use iTopWebPage;
use Molkobain\iTop\Extension\NewsroomProvider\Common\Helper\ConfigHelper;
use utils;

/**
* Class PageUIExtension
*
* @package Molkobain\iTop\Extension\NewsroomProvider\Console\Extension
*/
class PageUIExtension implements iPageUIExtension
{
/**
* @inheritDoc
*/
public function GetNorthPaneHtml(iTopWebPage $oPage)
{
// Check if enabled
if(!ConfigHelper::IsEnabled())
{
return;
}

// Add external files now as it might make some glitches if loaded after async call
// - CSS files
$oPage->add_saas('env-' . utils::GetCurrentEnvironment() . '/' . ConfigHelper::GetModuleCode() . '/common/css/default.scss');
}

/**
* @inheritDoc
*/
public function GetSouthPaneHtml(iTopWebPage $oPage)
{
// Do nothing
}

/**
* @inheritDoc
*/
public function GetBannerHtml(iTopWebPage $oPage)
{
// Do nothing
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/** @noinspection PhpUnhandledExceptionInspection */
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'molkobain-newsroom-provider/1.0.0',
'molkobain-newsroom-provider/1.0.1',
array(
// Identification
//
Expand All @@ -35,6 +35,7 @@
'datamodel' => array(
'common/confighelper.class.inc.php',
'core/newsroomprovider.class.inc.php',
'console/applicationuiextension.class.inc.php',
),
'webservice' => array(),
'data.struct' => array(// add your 'structure' definition XML files here,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/** @noinspection PhpUnhandledExceptionInspection */
SetupWebPage::AddModule(
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
'molkobain-markdown-viewer/1.1.1',
'molkobain-markdown-viewer/1.1.2',
array(
// Identification
//
Expand All @@ -25,7 +25,7 @@
//
'dependencies' => array(
'molkobain-handy-framework/1.2.4',
'molkobain-newsroom-provider/1.0.0',
'molkobain-newsroom-provider/1.0.1',
),
'mandatory' => false,
'visible' => true,
Expand Down

0 comments on commit 37336aa

Please sign in to comment.