Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
10048550 | <NME> Module.php
<BEF> <?php
namespace EdpUser;
use Zend\Module\Manager,
Zend\Config\Config,
Zend\Loader\AutoloaderFactory;
class Module
class Module implements
ControllerProviderInterface,
ControllerPluginProviderInterface,
ConfigProviderInterface,
ServiceProviderInterface
{
public func... | 1 | Basic registration now works | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048551 | <NME> RecordExists.php
<BEF> ADDFILE
<MSG> Add registration for validators
<DFF> @@ -0,0 +1,20 @@
+<?php
+
+namespace ZfcUser\Validator;
+
+class RecordExists extends AbstractRecord
+{
+ public function isValid($value)
+ {
+ $valid = true;
+ $this->setValue($value);
+
+ $result = $this->quer... | 20 | Add registration for validators | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048552 | <NME> RecordExists.php
<BEF> ADDFILE
<MSG> Add registration for validators
<DFF> @@ -0,0 +1,20 @@
+<?php
+
+namespace ZfcUser\Validator;
+
+class RecordExists extends AbstractRecord
+{
+ public function isValid($value)
+ {
+ $valid = true;
+ $this->setValue($value);
+
+ $result = $this->quer... | 20 | Add registration for validators | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048553 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
- For Google Drive AP... | 1 | Merge pull request #62 from Sealtyel/hotfix/readme-add-guide-tokens | 1 | .md | md | mit | nao-pon/flysystem-google-drive |
10048554 | <NME> AdapterChainEvent.php
<BEF> <?php
namespace ZfcUser\Authentication\Adapter;
use Zend\EventManager\Event;
use Zend\Stdlib\RequestInterface as Request;
class AdapterChainEvent extends Event
{
/**
* getIdentity
*
* @return mixed
*/
public function getIdentity()
{
return $th... | 2 | Merge pull request #308 from ossinkine/authentication-adapter-docblock-typo-fix | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048555 | <NME> AdapterChainEvent.php
<BEF> <?php
namespace ZfcUser\Authentication\Adapter;
use Zend\EventManager\Event;
use Zend\Stdlib\RequestInterface as Request;
class AdapterChainEvent extends Event
{
/**
* getIdentity
*
* @return mixed
*/
public function getIdentity()
{
return $th... | 2 | Merge pull request #308 from ossinkine/authentication-adapter-docblock-typo-fix | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048556 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 39 | Add composer to installation in README | 5 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048557 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 39 | Add composer to installation in README | 5 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048558 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://coveralls.io/r/ZF-Commons/ZfcUser)
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://coveralls.io/r/ZF-Commons/ZfcUser)
[,
),
'router' => array(
'password_hash_algorithm' => 'blowfish', // blowfish, sha512, sha256
'blowfish_cost' ... | 1 | Fix typo in module.config.php | 1 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048561 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'password_hash_algorithm' => 'blowfish', // blowfish, sha512, sha256
'blowfish_cost' ... | 1 | Fix typo in module.config.php | 1 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048562 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
- For Google Drive AP... | 1 | Update README.md | 2 | .md | md | mit | nao-pon/flysystem-google-drive |
10048563 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
- For Google Drive AP... | 0 | Update README.md | 1 | .md | md | mit | nao-pon/flysystem-google-drive |
10048564 | <NME> GoogleDriveAdapter.php
<BEF> <?php
namespace Hypweb\Flysystem\GoogleDrive;
use Google_Service_Drive;
use Google_Service_Drive_DriveFile;
use Google_Service_Drive_FileList;
use Google_Service_Drive_Permission;
use Google_Http_MediaFileUpload;
use League\Flysystem\Adapter\AbstractAdapter;
use League\Flysystem\Adap... | 1 | [cleanup] remove `applyPathPrefix()` | 15 | .php | php | mit | nao-pon/flysystem-google-drive |
10048565 | <NME> GoogleDriveAdapter.php
<BEF> <?php
namespace Hypweb\Flysystem\GoogleDrive;
use Google_Service_Drive;
use Google_Service_Drive_DriveFile;
use Google_Service_Drive_FileList;
use Google_Service_Drive_Permission;
use Google_Http_MediaFileUpload;
use League\Flysystem\Adapter\AbstractAdapter;
use League\Flysystem\Adap... | 3 | add error handling in `createDirectory()` | 1 | .php | php | mit | nao-pon/flysystem-google-drive |
10048566 | <NME> GoogleDriveAdapter.php
<BEF> <?php
namespace Hypweb\Flysystem\GoogleDrive;
use Google_Service_Drive;
use Google_Service_Drive_DriveFile;
use Google_Service_Drive_FileList;
use Google_Service_Drive_Permission;
use Google_Http_MediaFileUpload;
use League\Flysystem\Adapter\AbstractAdapter;
use League\Flysystem\Adap... | 15 | fix stat problem of root directory of drive | 14 | .php | php | mit | nao-pon/flysystem-google-drive |
10048567 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
'sha512... | 64 | Update for new DI route config | 53 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048568 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
'sha512... | 64 | Update for new DI route config | 53 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048569 | <NME> register.phtml
<BEF> <h1><?php echo $this->translate('Register'); ?></h1>
<?php
if (!$this->enableRegistration) {
print "Registration is disabled";
return;
}
$form = $this->registerForm;
$form->prepare();
$form->setAttribute('action', $this->url('zfcuser/register'));
$form->setAttribute('method', 'post')... | 3 | Merge pull request #104 from EvanDotPro/feature/use-case-improvements | 3 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10048570 | <NME> register.phtml
<BEF> <h1><?php echo $this->translate('Register'); ?></h1>
<?php
if (!$this->enableRegistration) {
print "Registration is disabled";
return;
}
$form = $this->registerForm;
$form->prepare();
$form->setAttribute('action', $this->url('zfcuser/register'));
$form->setAttribute('method', 'post')... | 3 | Merge pull request #104 from EvanDotPro/feature/use-case-improvements | 3 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10048571 | <NME> Module.php
<BEF> <?php
namespace ZfcUser;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\ModuleManager\Feature\ControllerPluginProviderInterface;
use Zend\ModuleManager\Feature\ControllerProviderInterface;
use Zend\ModuleManager\Feature\ServiceProviderInterface;
class Module implements
Co... | 3 | fixes a problem with case sensitive class names | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048572 | <NME> Module.php
<BEF> <?php
namespace ZfcUser;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\ModuleManager\Feature\ControllerPluginProviderInterface;
use Zend\ModuleManager\Feature\ControllerProviderInterface;
use Zend\ModuleManager\Feature\ServiceProviderInterface;
class Module implements
Co... | 3 | fixes a problem with case sensitive class names | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048573 | <NME> InvalidArgumentException.php
<BEF> <?php
namespace ZfcUser\Validator\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{}
}
<MSG> Merge pull request #151 from b-durand/hotfix/coding-standards
Fix Coding Standards PSR-2
<DFF> @@ -3,4 +3,4 @@
namespace Zf... | 1 | Merge pull request #151 from b-durand/hotfix/coding-standards | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048574 | <NME> InvalidArgumentException.php
<BEF> <?php
namespace ZfcUser\Validator\Exception;
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
{}
}
<MSG> Merge pull request #151 from b-durand/hotfix/coding-standards
Fix Coding Standards PSR-2
<DFF> @@ -3,4 +3,4 @@
namespace Zf... | 1 | Merge pull request #151 from b-durand/hotfix/coding-standards | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048575 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
... | 4 | Rename view helpers to avoid class name collisions | 4 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048576 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
... | 4 | Rename view helpers to avoid class name collisions | 4 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048577 | <NME> AbstractRecord.php
<BEF> <?php
namespace ZfcUser\Validator;
use Zend\Validator\AbstractValidator,
ZfcUser\Mapper\UserInterface as UserMapper;
abstract class AbstractRecord extends AbstractValidator
{
/**
* Error constants
*/
const ERROR_NO_RECORD_FOUND = 'noRecordFound';
const ERROR_R... | 1 | Updates for supporting separate ZfcUser adapter modules | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048578 | <NME> AbstractRecord.php
<BEF> <?php
namespace ZfcUser\Validator;
use Zend\Validator\AbstractValidator,
ZfcUser\Mapper\UserInterface as UserMapper;
abstract class AbstractRecord extends AbstractValidator
{
/**
* Error constants
*/
const ERROR_NO_RECORD_FOUND = 'noRecordFound';
const ERROR_R... | 1 | Updates for supporting separate ZfcUser adapter modules | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048579 | <NME> schema.sql
<BEF> -- Auto-generated by Doctrine; not my mess!
CREATE TABLE user (user_id INT AUTO_INCREMENT NOT NULL, username VARCHAR(255) DEFAULT NULL, email VARCHAR(255) NOT NULL, display_name VARCHAR(50) DEFAULT NULL, password VARCHAR(128) NOT NULL, last_login DATETIME DEFAULT NULL, last_ip INT DEFAULT NULL, r... | 19 | Format schema file | 2 | .sql | sql | bsd-3-clause | ZF-Commons/ZfcUser |
10048580 | <NME> schema.sql
<BEF> -- Auto-generated by Doctrine; not my mess!
CREATE TABLE user (user_id INT AUTO_INCREMENT NOT NULL, username VARCHAR(255) DEFAULT NULL, email VARCHAR(255) NOT NULL, display_name VARCHAR(50) DEFAULT NULL, password VARCHAR(128) NOT NULL, last_login DATETIME DEFAULT NULL, last_ip INT DEFAULT NULL, r... | 19 | Format schema file | 2 | .sql | sql | bsd-3-clause | ZF-Commons/ZfcUser |
10048581 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 1 | fix incorrect path | 1 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048582 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 1 | fix incorrect path | 1 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048583 | <NME> GoogleUpload.php
<BEF> ADDFILE
<MSG> Merge pull request #6 from ctf0/master
add an example + update rdme
<DFF> @@ -0,0 +1,126 @@
+<?php
+
+namespace App;
+
+use League\Flysystem\Filesystem;
+use Illuminate\Support\Facades\Cache;
+use Illuminate\Support\Facades\Storage;
+use Hypweb\Flysystem\GoogleDrive\GoogleDri... | 126 | Merge pull request #6 from ctf0/master | 0 | .php | php | mit | nao-pon/flysystem-google-drive |
10048584 | <NME> NoRecordExistsTest.php
<BEF> <?php
namespace ZfcUserTest\Validator;
use ZfcUser\Validator\NoRecordExists as Validator;
class NoRecordExistsTest extends \PHPUnit_Framework_TestCase
{
protected $validator;
protected $mapper;
public function setUp()
{
$options = array('key' => 'username'... | 2 | Improve NoRecordExists validator test | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048585 | <NME> NoRecordExistsTest.php
<BEF> <?php
namespace ZfcUserTest\Validator;
use ZfcUser\Validator\NoRecordExists as Validator;
class NoRecordExistsTest extends \PHPUnit_Framework_TestCase
{
protected $validator;
protected $mapper;
public function setUp()
{
$options = array('key' => 'username'... | 2 | Improve NoRecordExists validator test | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048586 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> Merge pull request #152 from b-durand/feature/travis-n-cs
Add travis CI configuration file for CS
<DFF> @@ -0,0 +1,12 @@
+language: php
+
+php:
+ - 5.3.3
+ - 5.3
+ - 5.4
+
+before_install:
+ - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
+
+script:
+ - output=$(php php... | 12 | Merge pull request #152 from b-durand/feature/travis-n-cs | 0 | .yml | travis | bsd-3-clause | ZF-Commons/ZfcUser |
10048587 | <NME> .travis.yml
<BEF> ADDFILE
<MSG> Merge pull request #152 from b-durand/feature/travis-n-cs
Add travis CI configuration file for CS
<DFF> @@ -0,0 +1,12 @@
+language: php
+
+php:
+ - 5.3.3
+ - 5.3
+ - 5.4
+
+before_install:
+ - wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
+
+script:
+ - output=$(php php... | 12 | Merge pull request #152 from b-durand/feature/travis-n-cs | 0 | .yml | travis | bsd-3-clause | ZF-Commons/ZfcUser |
10048588 | <NME> RegistrationOptionsInterface.php
<BEF> <?php
namespace ZfcUser\Options;
interface RegistrationOptionsInterface
{
/**
* set enable display name
*
* @param bool $flag
* @return ModuleOptions
*/
public function setEnableDisplayName($enableDisplayName);
/**
* get enable di... | 15 | Clean up default options | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048589 | <NME> RegistrationOptionsInterface.php
<BEF> <?php
namespace ZfcUser\Options;
interface RegistrationOptionsInterface
{
/**
* set enable display name
*
* @param bool $flag
* @return ModuleOptions
*/
public function setEnableDisplayName($enableDisplayName);
/**
* get enable di... | 15 | Clean up default options | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048590 | <NME> Register.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\Form\Form,
ZfcUser\Module;
class Register extends Base
{
public function initLate()
{
parent::initLate();
public function __construct($name, RegistrationOptionsInterface $options)
{
$this->setRegistrationOptions($opti... | 11 | Merge remote-tracking branch 'rmartell/master' | 12 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048591 | <NME> Register.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\Form\Form,
ZfcUser\Module;
class Register extends Base
{
public function initLate()
{
parent::initLate();
public function __construct($name, RegistrationOptionsInterface $options)
{
$this->setRegistrationOptions($opti... | 11 | Merge remote-tracking branch 'rmartell/master' | 12 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048592 | <NME> Db.php
<BEF> <?php
namespace ZfcUser\Authentication\Adapter;
use Interop\Container\ContainerInterface;
use Zend\Authentication\Result as AuthenticationResult;
use Zend\EventManager\EventInterface;
use Zend\ServiceManager\ServiceManager;
use Zend\Crypt\Password\Bcrypt;
use Zend\Session\Container as SessionContai... | 2 | Merge pull request #3 from Miles8of9/patch-2 | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048593 | <NME> Db.php
<BEF> <?php
namespace ZfcUser\Authentication\Adapter;
use Interop\Container\ContainerInterface;
use Zend\Authentication\Result as AuthenticationResult;
use Zend\EventManager\EventInterface;
use Zend\ServiceManager\ServiceManager;
use Zend\Crypt\Password\Bcrypt;
use Zend\Session\Container as SessionContai... | 2 | Merge pull request #3 from Miles8of9/patch-2 | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048594 | <NME> .travis.yml
<BEF> language: php
php:
- 5.3.3
- 5.3
- 5.4
before_install:
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
- composer install --dev --prefer-source;
- wget https://scrutinizer-ci.com/ocular.phar
- mysql -e "create database IF NOT EXISTS zfc_user;" -uroot
script:
- ./vendor/b... | 1 | Merge pull request #358 from sasezaki/travis_php5_5 | 0 | .yml | travis | bsd-3-clause | ZF-Commons/ZfcUser |
10048595 | <NME> .travis.yml
<BEF> language: php
php:
- 5.3.3
- 5.3
- 5.4
before_install:
- wget http://cs.sensiolabs.org/get/php-cs-fixer.phar
- composer install --dev --prefer-source;
- wget https://scrutinizer-ci.com/ocular.phar
- mysql -e "create database IF NOT EXISTS zfc_user;" -uroot
script:
- ./vendor/b... | 1 | Merge pull request #358 from sasezaki/travis_php5_5 | 0 | .yml | travis | bsd-3-clause | ZF-Commons/ZfcUser |
10048596 | <NME> cs_CZ.po
<BEF> msgid ""
msgstr ""
"Project-Id-Version: ZfcUser\n"
"POT-Creation-Date: 2015-02-09 11:17+0100\n"
"PO-Revision-Date: 2015-02-09 11:17+0100\n"
"Last-Translator: Martin Vagovszký <vagovszky@gmail.com>\n"
"Language-Team: ZF Contibutors <zf-devteam@zend.com>\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"... | 3 | Translation typo | 3 | .po | po | bsd-3-clause | ZF-Commons/ZfcUser |
10048597 | <NME> cs_CZ.po
<BEF> msgid ""
msgstr ""
"Project-Id-Version: ZfcUser\n"
"POT-Creation-Date: 2015-02-09 11:17+0100\n"
"PO-Revision-Date: 2015-02-09 11:17+0100\n"
"Last-Translator: Martin Vagovszký <vagovszky@gmail.com>\n"
"Language-Team: ZF Contibutors <zf-devteam@zend.com>\n"
"Language: cs_CZ\n"
"MIME-Version: 1.0\n"
"... | 3 | Translation typo | 3 | .po | po | bsd-3-clause | ZF-Commons/ZfcUser |
10048598 | <NME> ZfcUserLoginWidget.php
<BEF> <?php
namespace ZfcUser\View\Helper;
use Zend\View\Helper\AbstractHelper,
ZfcUser\Form\Login as LoginForm,
Zend\View\Model\ViewModel;
class ZfcUserLoginWidget extends AbstractHelper
{
/**
* Login Form
* @var LoginForm
*/
protected $loginForm;
/**... | 3 | Merge pull request #113 from Xerkus/hotfix/cs-use | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048599 | <NME> ZfcUserLoginWidget.php
<BEF> <?php
namespace ZfcUser\View\Helper;
use Zend\View\Helper\AbstractHelper,
ZfcUser\Form\Login as LoginForm,
Zend\View\Model\ViewModel;
class ZfcUserLoginWidget extends AbstractHelper
{
/**
* Login Form
* @var LoginForm
*/
protected $loginForm;
/**... | 3 | Merge pull request #113 from Xerkus/hotfix/cs-use | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048600 | <NME> RecordExistsTest.php
<BEF> <?php
namespace ZfcUserTest\Validator;
use ZfcUser\Validator\RecordExists as Validator;
class RecordExistsTest extends \PHPUnit_Framework_TestCase
{
public function testIsValid()
{
$this->markTestIncomplete(
'This test has not been implemented yet.'
... | 38 | Added tests for RecordExists validator | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048601 | <NME> RecordExistsTest.php
<BEF> <?php
namespace ZfcUserTest\Validator;
use ZfcUser\Validator\RecordExists as Validator;
class RecordExistsTest extends \PHPUnit_Framework_TestCase
{
public function testIsValid()
{
$this->markTestIncomplete(
'This test has not been implemented yet.'
... | 38 | Added tests for RecordExists validator | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048602 | <NME> LoginFilter.php
<BEF> ADDFILE
<MSG> login works as far as validating form inputs
<DFF> @@ -0,0 +1,45 @@
+<?php
+
+namespace ZfcUser\Form;
+
+use Zend\InputFilter\InputFilter,
+ ZfcUser\Module as ZfcUser;
+
+class LoginFilter extends InputFilter
+{
+ public function __construct()
+ {
+
+ if (ZfcUs... | 45 | login works as far as validating form inputs | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048603 | <NME> LoginFilter.php
<BEF> ADDFILE
<MSG> login works as far as validating form inputs
<DFF> @@ -0,0 +1,45 @@
+<?php
+
+namespace ZfcUser\Form;
+
+use Zend\InputFilter\InputFilter,
+ ZfcUser\Module as ZfcUser;
+
+class LoginFilter extends InputFilter
+{
+ public function __construct()
+ {
+
+ if (ZfcUs... | 45 | login works as far as validating form inputs | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048604 | <NME> AdapterChain.php
<BEF> <?php
namespace ZfcUser\Authentication\Adapter;
use Zend\Authentication\Adapter\AdapterInterface;
use Zend\Authentication\Result as AuthenticationResult;
use Zend\EventManager\Event;
use Zend\EventManager\EventInterface;
use Zend\EventManager\EventManagerAwareTrait;
use Zend\Stdlib\Reques... | 8 | Check if shared event manager is set | 5 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048605 | <NME> AdapterChain.php
<BEF> <?php
namespace ZfcUser\Authentication\Adapter;
use Zend\Authentication\Adapter\AdapterInterface;
use Zend\Authentication\Result as AuthenticationResult;
use Zend\EventManager\Event;
use Zend\EventManager\EventInterface;
use Zend\EventManager\EventManagerAwareTrait;
use Zend\Stdlib\Reques... | 8 | Check if shared event manager is set | 5 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048606 | <NME> Base.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\Form\Element;
class Base extends ProvidesEventsForm
{
public function __construct($name = null)
{
parent::__construct($name);
$this->add(array(
'name' => 'username',
'options' => array(
'label... | 2 | Registration form: fix missed conversion to getRegistrationOptions | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048607 | <NME> Base.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\Form\Element;
class Base extends ProvidesEventsForm
{
public function __construct($name = null)
{
parent::__construct($name);
$this->add(array(
'name' => 'username',
'options' => array(
'label... | 2 | Registration form: fix missed conversion to getRegistrationOptions | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048608 | <NME> DbIdentityResolver.php
<BEF> ADDFILE
<MSG> Retrieve fresh user entity/model from the DB for each request.
<DFF> @@ -0,0 +1,92 @@
+<?php
+
+namespace EdpUser\Event;
+
+use EdpUser\Authentication\AuthEvent,
+ EdpUser\Module,
+ EdpUser\Mapper\UserInterface as UserMapper,
+ EdpUser\Model\UserInterface as Us... | 92 | Retrieve fresh user entity/model from the DB for each request. | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048609 | <NME> DbIdentityResolver.php
<BEF> ADDFILE
<MSG> Retrieve fresh user entity/model from the DB for each request.
<DFF> @@ -0,0 +1,92 @@
+<?php
+
+namespace EdpUser\Event;
+
+use EdpUser\Authentication\AuthEvent,
+ EdpUser\Module,
+ EdpUser\Mapper\UserInterface as UserMapper,
+ EdpUser\Model\UserInterface as Us... | 92 | Retrieve fresh user entity/model from the DB for each request. | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048610 | <NME> User.php
<BEF> ADDFILE
<MSG> Add initial user service and update di config
<DFF> @@ -0,0 +1,117 @@
+<?php
+
+namespace EdpUser\Service;
+
+use Doctrine\ORM\EntityManager,
+ Zend\Authentication\AuthenticationService,
+ SpiffyDoctrine\Authentication\Adapter\DoctrineEntity as DoctrineAuthAdapter,
+ Zend\Au... | 117 | Add initial user service and update di config | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048611 | <NME> User.php
<BEF> ADDFILE
<MSG> Add initial user service and update di config
<DFF> @@ -0,0 +1,117 @@
+<?php
+
+namespace EdpUser\Service;
+
+use Doctrine\ORM\EntityManager,
+ Zend\Authentication\AuthenticationService,
+ SpiffyDoctrine\Authentication\Adapter\DoctrineEntity as DoctrineAuthAdapter,
+ Zend\Au... | 117 | Add initial user service and update di config | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048612 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
... | 6 | Merge pull request #57 from bjyoungblood/hotfix/no-db-adapter-di | 0 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048613 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
... | 6 | Merge pull request #57 from bjyoungblood/hotfix/no-db-adapter-di | 0 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048614 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
... | 4 | Do not use aliases to inject controller plugins as we would like every module and controller to pick up this injection so that they can use the ZfcUserAuthenication plugin | 6 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048615 | <NME> module.config.php
<BEF> <?php
return array(
'view_manager' => array(
'template_path_stack' => array(
'zfcuser' => __DIR__ . '/../view',
),
),
'router' => array(
'routes' => array(
'zfcuser' => array(
'type' => 'Literal',
... | 4 | Do not use aliases to inject controller plugins as we would like every module and controller to pick up this injection so that they can use the ZfcUserAuthenication plugin | 6 | .php | config | bsd-3-clause | ZF-Commons/ZfcUser |
10048616 | <NME> docker-machine-nfs.sh
<BEF> #!/bin/bash
#
# The MIT License (MIT)
# Copyright © 2015 Toni Van de Voorde <toni.vdv@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the “Software”), to deal
# in the Software without re... | 2 | fix Adding mount with similar machine name causes error #66 (#67) | 2 | .sh | sh | mit | adlogix/docker-machine-nfs |
10048617 | <NME> register.phtml
<BEF> ADDFILE
<MSG> Merge remote-tracking branch 'upstream/master'
<DFF> @@ -0,0 +1,11 @@
+<h1>Register</h1>
+
+<?php
+if(!\ZfcUser\Module::getOption('enable_registration'))
+{
+ print "Registration is disabled";
+ return;
+}
+?>
+
+<?php echo $registerForm->setAction($this->url('zfc... | 11 | Merge remote-tracking branch 'upstream/master' | 0 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10048618 | <NME> register.phtml
<BEF> ADDFILE
<MSG> Merge remote-tracking branch 'upstream/master'
<DFF> @@ -0,0 +1,11 @@
+<h1>Register</h1>
+
+<?php
+if(!\ZfcUser\Module::getOption('enable_registration'))
+{
+ print "Registration is disabled";
+ return;
+}
+?>
+
+<?php echo $registerForm->setAction($this->url('zfc... | 11 | Merge remote-tracking branch 'upstream/master' | 0 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10048619 | <NME> login.phtml
<BEF> <h1><?php echo $this->translate('Sign In'); ?></h1>
<?php
$form = $this->loginForm;
$form->prepare();
$form->setAttribute('action', $this->url('zfcuser/login'));
$form->setAttribute('method', 'post');
$form->setAttribute('autocomplete', 'off');
?>
<?php echo $this->partial('_form.phtml', ['for... | 2 | Don't display the signup link if registration is disabled | 0 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10048620 | <NME> login.phtml
<BEF> <h1><?php echo $this->translate('Sign In'); ?></h1>
<?php
$form = $this->loginForm;
$form->prepare();
$form->setAttribute('action', $this->url('zfcuser/login'));
$form->setAttribute('method', 'post');
$form->setAttribute('autocomplete', 'off');
?>
<?php echo $this->partial('_form.phtml', ['for... | 2 | Don't display the signup link if registration is disabled | 0 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10048621 | <NME> docker-machine-nfs.sh
<BEF> #!/bin/bash
#
# The MIT License (MIT)
# Copyright © 2015 Toni Van de Voorde <toni.vdv@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the “Software”), to deal
# in the Software without re... | 14 | Merge pull request #45 from cameronmaske/mount-options | 1 | .sh | sh | mit | adlogix/docker-machine-nfs |
10048622 | <NME> ControllerFactory.php
<BEF> ADDFILE
<MSG> [zen-33] Working (partially) zfcuser controller
- Adds a factory for the UserController
- Updates some configuration to show view/controller integration
- Working:
- plugin broker integration and seeding
- controller factory
- Not working:
- couldn't get the regist... | 27 | [zen-33] Working (partially) zfcuser controller | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048623 | <NME> ControllerFactory.php
<BEF> ADDFILE
<MSG> [zen-33] Working (partially) zfcuser controller
- Adds a factory for the UserController
- Updates some configuration to show view/controller integration
- Working:
- plugin broker integration and seeding
- controller factory
- Not working:
- couldn't get the regist... | 27 | [zen-33] Working (partially) zfcuser controller | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048624 | <NME> RecordExistsTest.php
<BEF> <?php
namespace ZfcUserTest\Validator;
use ZfcUser\Validator\RecordExists as Validator;
class RecordExistsTest extends \PHPUnit_Framework_TestCase
{
protected $validator;
protected $mapper;
'This test has not been implemented yet.'
);
}
}
$va... | 0 | Fix CS errors and test errors | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048625 | <NME> RecordExistsTest.php
<BEF> <?php
namespace ZfcUserTest\Validator;
use ZfcUser\Validator\RecordExists as Validator;
class RecordExistsTest extends \PHPUnit_Framework_TestCase
{
protected $validator;
protected $mapper;
'This test has not been implemented yet.'
);
}
}
$va... | 0 | Fix CS errors and test errors | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048626 | <NME> Login.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\Form\Element;
use ZfcUser\Options\AuthenticationOptionsInterface;
class Login extends ProvidesEventsForm
{
/**
* @var AuthenticationOptionsInterface
*/
protected $authOptions;
public function __construct($name, AuthenticationOptionsI... | 1 | Consistency with ZF2 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048627 | <NME> Login.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\Form\Element;
use ZfcUser\Options\AuthenticationOptionsInterface;
class Login extends ProvidesEventsForm
{
/**
* @var AuthenticationOptionsInterface
*/
protected $authOptions;
public function __construct($name, AuthenticationOptionsI... | 1 | Consistency with ZF2 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048628 | <NME> AdapterChainEventTest.php
<BEF> ADDFILE
<MSG> Added AdapterChainEventTest
<DFF> @@ -0,0 +1,73 @@
+<?php
+
+namespace ZfcUserTest\Authentication\Adapter;
+
+use ZfcUser\Authentication\Adapter\AdapterChainEvent;
+
+class AdapterChainEventTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * The object to be... | 73 | Added AdapterChainEventTest | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048629 | <NME> AdapterChainEventTest.php
<BEF> ADDFILE
<MSG> Added AdapterChainEventTest
<DFF> @@ -0,0 +1,73 @@
+<?php
+
+namespace ZfcUserTest\Authentication\Adapter;
+
+use ZfcUser\Authentication\Adapter\AdapterChainEvent;
+
+class AdapterChainEventTest extends \PHPUnit_Framework_TestCase
+{
+ /**
+ * The object to be... | 73 | Added AdapterChainEventTest | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048630 | <NME> UserController.php
<BEF> <?php
namespace ZfcUser\Controller;
use Zend\Form\FormInterface;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\Stdlib\ResponseInterface as Response;
use Zend\Stdlib\Parameters;
use Zend\View\Model\ViewModel;
use ZfcUser\Servi... | 1 | Merge pull request #232 from ghunti/patch-1 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048631 | <NME> UserController.php
<BEF> <?php
namespace ZfcUser\Controller;
use Zend\Form\FormInterface;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\Stdlib\ResponseInterface as Response;
use Zend\Stdlib\Parameters;
use Zend\View\Model\ViewModel;
use ZfcUser\Servi... | 1 | Merge pull request #232 from ghunti/patch-1 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048632 | <NME> ModuleOptions.php
<BEF> <?php
namespace ZfcUser\Options;
use Zend\Stdlib\AbstractOptions;
class ModuleOptions extends AbstractOptions implements
UserControllerOptionsInterface,
UserServiceOptionsInterface
{
/**
* @var bool
*/
protected $useRedirectParameterIfPresent = false;
/**
... | 1 | Merge pull request #87 from adamlundrigan/patch-1 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048633 | <NME> ModuleOptions.php
<BEF> <?php
namespace ZfcUser\Options;
use Zend\Stdlib\AbstractOptions;
class ModuleOptions extends AbstractOptions implements
UserControllerOptionsInterface,
UserServiceOptionsInterface
{
/**
* @var bool
*/
protected $useRedirectParameterIfPresent = false;
/**
... | 1 | Merge pull request #87 from adamlundrigan/patch-1 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048634 | <NME> ChangePasswordFilterTest.php
<BEF> <?php
namespace ZfcUserTest\Form;
use ZfcUser\Form\ChangePasswordFilter as Filter;
class ChangePasswordFilterTest extends \PHPUnit_Framework_TestCase
{
public function testConstruct()
{
$options = $this->getMock('ZfcUser\Options\ModuleOptions');
$optio... | 0 | Remove skip in tests for "Fix array_push param order for form filters" | 5 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048635 | <NME> ChangePasswordFilterTest.php
<BEF> <?php
namespace ZfcUserTest\Form;
use ZfcUser\Form\ChangePasswordFilter as Filter;
class ChangePasswordFilterTest extends \PHPUnit_Framework_TestCase
{
public function testConstruct()
{
$options = $this->getMock('ZfcUser\Options\ModuleOptions');
$optio... | 0 | Remove skip in tests for "Fix array_push param order for form filters" | 5 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048636 | <NME> GoogleDriveAdapter.php
<BEF> <?php
namespace Hypweb\Flysystem\GoogleDrive;
use Google_Service_Drive;
use Google_Service_Drive_DriveFile;
use Google_Service_Drive_FileList;
use Google_Http_Request;
use Google_Http_MediaFileUpload;
use League\Flysystem\Adapter\AbstractAdapter;
use League\Flysystem\Config;
use Leag... | 102 | use Google_Service_Drive_ParentReference object | 94 | .php | php | mit | nao-pon/flysystem-google-drive |
10048637 | <NME> User.php
<BEF> <?php
namespace ZfcUser\Service;
use Interop\Container\ContainerInterface;
use Zend\Authentication\AuthenticationService;
use Zend\Form\Form;
use Zend\ServiceManager\ServiceManager;
use Zend\Crypt\Password\Bcrypt;
use Zend\Hydrator;
use ZfcUser\EventManager\EventProvider;
use ZfcUser\Mapper\UserI... | 1 | Merge pull request #101 from adamlundrigan/feature/register.post | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048638 | <NME> User.php
<BEF> <?php
namespace ZfcUser\Service;
use Interop\Container\ContainerInterface;
use Zend\Authentication\AuthenticationService;
use Zend\Form\Form;
use Zend\ServiceManager\ServiceManager;
use Zend\Crypt\Password\Bcrypt;
use Zend\Hydrator;
use ZfcUser\EventManager\EventProvider;
use ZfcUser\Mapper\UserI... | 1 | Merge pull request #101 from adamlundrigan/feature/register.post | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048639 | <NME> fr_FR.po
<BEF> msgid ""
msgstr ""
"Project-Id-Version: ZfcUser\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-26 13:38+0100\n"
"PO-Revision-Date: 2013-02-26 13:38+0100\n"
"Last-Translator: Belair <contact@ebelair.fr>\n"
"Language-Team: ZF Contibutors <zf-devteam@zend.com>\n"
"Language: fr_FR\n"
"MIME-V... | 2 | Add new translation | 2 | .po | po | bsd-3-clause | ZF-Commons/ZfcUser |
10048640 | <NME> fr_FR.po
<BEF> msgid ""
msgstr ""
"Project-Id-Version: ZfcUser\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-02-26 13:38+0100\n"
"PO-Revision-Date: 2013-02-26 13:38+0100\n"
"Last-Translator: Belair <contact@ebelair.fr>\n"
"Language-Team: ZF Contibutors <zf-devteam@zend.com>\n"
"Language: fr_FR\n"
"MIME-V... | 2 | Add new translation | 2 | .po | po | bsd-3-clause | ZF-Commons/ZfcUser |
10048641 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 3 | Updat readme with disclaimer to avoid confusion | 0 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048642 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 3 | Updat readme with disclaimer to avoid confusion | 0 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048643 | <NME> InvalidArgumentException.php
<BEF> ADDFILE
<MSG> refactored user service to handle registration
refactored registration form, to use hydrator
seperated models, mappers and repositories
refactored user controller
some phpdoc fixes
<DFF> @@ -0,0 +1,6 @@
+<?php
+
+namespace ZfcUser\Validator\Exception;
+
+class Inv... | 6 | refactored user service to handle registration refactored registration form, to use hydrator seperated models, mappers and repositories refactored user controller some phpdoc fixes | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048644 | <NME> InvalidArgumentException.php
<BEF> ADDFILE
<MSG> refactored user service to handle registration
refactored registration form, to use hydrator
seperated models, mappers and repositories
refactored user controller
some phpdoc fixes
<DFF> @@ -0,0 +1,6 @@
+<?php
+
+namespace ZfcUser\Validator\Exception;
+
+class Inv... | 6 | refactored user service to handle registration refactored registration form, to use hydrator seperated models, mappers and repositories refactored user controller some phpdoc fixes | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048645 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 21 | Update readme | 0 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048646 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 21 | Update readme | 0 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10048647 | <NME> README.md
<BEF> # Docker Machine NFS
## Requirements
* [Docker Machine](https://docs.docker.com/machine/) 0.5.0+
## Mac OS X 10.9+
Activates [NFS](https://en.wikipedia.org/wiki/Network_File_System) for an
existing boot2docker box created through
[Docker Machine](https://docs.docker.com/machine/).
## Install
... | 1 | Merge pull request #37 from nhooey/patch-1 | 1 | .md | md | mit | adlogix/docker-machine-nfs |
10048648 | <NME> UserControllerFactory.php
<BEF> <?php
namespace ZfcUser\Factory\Controller;
use Interop\Container\ContainerInterface;
use Zend\Mvc\Controller\ControllerManager;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Controller\RedirectCallback;
use ZfcUser... | 6 | Fix usage of servicelocator in UserControllerFactory | 6 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10048649 | <NME> UserControllerFactory.php
<BEF> <?php
namespace ZfcUser\Factory\Controller;
use Interop\Container\ContainerInterface;
use Zend\Mvc\Controller\ControllerManager;
use Zend\ServiceManager\Factory\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Controller\RedirectCallback;
use ZfcUser... | 6 | Fix usage of servicelocator in UserControllerFactory | 6 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |