This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="fce-2col"> | |
<div class="fce-2col-col1"> | |
Column 1 | |
</div> | |
<div class="fce-2col-col2"> | |
Column 2 | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am derhansen on github. | |
* I am derhansen (https://keybase.io/derhansen) on keybase. | |
* I have a public key whose fingerprint is 57A1 7E2E 04C3 0B2C 507D 91A7 37CF 88CB 71EB 2ECF | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="TYPO3-62-Extbase-Extension" default="build" basedir="."> | |
<property environment="env"/> | |
<target name="build" depends="init, tests, phpcs, phpmd, phpcpd, cleanup"> | |
</target> | |
<target name="init"> | |
<mkdir dir="${env.WORKSPACE}/build"/> | |
<mkdir dir="${env.WORKSPACE}/build/phpcs"/> | |
<mkdir dir="${env.WORKSPACE}/build/phpunit"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace YOURNAMESPACE\YourExtKey\Controller; | |
class EventController extends \DERHANSEN\SfEventMgt\Controller\EventController { | |
/** | |
* Saves the registration | |
* | |
* @param $registration \YOURNAMESPACE\YourExtKey\Domain\Model\Registration | |
* @param $event \DERHANSEN\SfEventMgt\Domain\Model\Event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['backend']['loginProviders'][1433416748] = array( | |
'provider' => \TYPO3\CMS\Openid\LoginProvider\OpenIdLoginProvider::class, | |
'sorting' => 25, | |
'icon-class' => 'fa-openid', | |
'label' => 'LLL:EXT:openid/Resources/Private/Language/locallang.xlf:login.link' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OpenIdLoginProvider implements LoginProviderInterface { | |
/** | |
* @param StandaloneView $view | |
* @param PageRenderer $pageRenderer | |
* @param LoginController $loginController | |
*/ | |
public function render(StandaloneView $view, PageRenderer $pageRenderer, LoginController $loginController) { | |
$view->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName('EXT:openid/Resources/Private/Templates/OpenidLogin.html')); | |
$view->assign('presetOpenId', GeneralUtility::_GP('openid_url')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:layout name="Login" /> | |
<f:section name="loginFormFields"> | |
<div class="form-group t3js-login-openid-section" id="t3-login-openid_url-section"> | |
<div class="input-group"> | |
<input type="text" id="openid_url" name="openid_url" value="{presetOpenId}" autofocus="autofocus" placeholder="{f:translate(key: 'openId', extensionName: 'openid')}" class="form-control input-login t3js-clearable t3js-login-openid-field" /> | |
<div class="input-group-addon"> | |
<span class="fa fa-openid"></span> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$extConf = unserialize($TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY]); | |
if (isset($extConf['yubikeyEnableBE']) && (bool)$extConf['yubikeyEnableBE']) { | |
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['backend']['loginProviders'][1433416747]['provider'] = DERHANSEN\SfYubikey\LoginProvider\YubikeyLoginProvider::class; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class YubikeyLoginProvider extends UsernamePasswordLoginProvider { | |
/** | |
* Renders the login fields | |
* | |
* @param StandaloneView $view | |
* @param PageRenderer $pageRenderer | |
* @param LoginController $loginController | |
*/ | |
public function render(StandaloneView $view, PageRenderer $pageRenderer, LoginController $loginController) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- 5.4 | |
- 5.5 | |
- 5.6 | |
env: | |
matrix: | |
- DB=mysql TYPO3_BRANCH=TYPO3_6-2 COVERAGE=0 | |
- DB=mysql TYPO3_BRANCH=master COVERAGE=0 |
OlderNewer