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 |
|---|---|---|---|---|---|---|---|---|
10049450 | <NME> schema.pgsql.sql
<BEF> ADDFILE
<MSG> Merge pull request #215 from Richard-Rumpel/patch-1
Create schema.pgsql.sql
<DFF> @@ -0,0 +1,13 @@
+CREATE TABLE public.user
+( ... | 13 | Merge pull request #215 from Richard-Rumpel/patch-1 | 0 | .sql | pgsql | bsd-3-clause | ZF-Commons/ZfcUser |
10049451 | <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... | 2 | fix #17 ErrorException A non well formed numeric value encountered | 1 | .php | php | mit | nao-pon/flysystem-google-drive |
10049452 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
```bash
composer requ... | 6 | Merge branch 'master' of git://github.com/nao-pon/flysystem-google-drive | 0 | .md | md | mit | nao-pon/flysystem-google-drive |
10049453 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
- For Google Drive AP... | 1 | Merge pull request #9 from OskarStark/patch-1 | 1 | .md | md | mit | nao-pon/flysystem-google-drive |
10049454 | <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 | Changed form buttons to button element. | 1 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049455 | <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 | Changed form buttons to button element. | 1 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049456 | <NME> DbTest.php
<BEF> <?php
namespace ZfcUserTest\Authentication\Adapter;
use Zend\EventManager\Event;
use ZfcUser\Authentication\Adapter\Db;
class DbTest extends \PHPUnit_Framework_TestCase
{
/**
* The object to be tested.
*
* @var Db
*/
protected $db;
/**
* Mock of AuthEvent.... | 60 | Added tests for AbstractAdapter and a little more work on Db tests | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049457 | <NME> DbTest.php
<BEF> <?php
namespace ZfcUserTest\Authentication\Adapter;
use Zend\EventManager\Event;
use ZfcUser\Authentication\Adapter\Db;
class DbTest extends \PHPUnit_Framework_TestCase
{
/**
* The object to be tested.
*
* @var Db
*/
protected $db;
/**
* Mock of AuthEvent.... | 60 | Added tests for AbstractAdapter and a little more work on Db tests | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049458 | <NME> ZfcUserLoginWidget.php
<BEF> <?php
namespace ZfcUser\View\Helper;
use Zend\View\Helper\AbstractHelper;
use ZfcUser\Form\Login as LoginForm;
use Zend\View\Model\ViewModel;
class ZfcUserLoginWidget extends AbstractHelper
{
/**
* Login Form
* @var LoginForm
*/
protected $loginForm;
/**... | 2 | Merge pull request #197 from valorin/cs-fixes | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049459 | <NME> ZfcUserLoginWidget.php
<BEF> <?php
namespace ZfcUser\View\Helper;
use Zend\View\Helper\AbstractHelper;
use ZfcUser\Form\Login as LoginForm;
use Zend\View\Model\ViewModel;
class ZfcUserLoginWidget extends AbstractHelper
{
/**
* Login Form
* @var LoginForm
*/
protected $loginForm;
/**... | 2 | Merge pull request #197 from valorin/cs-fixes | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049460 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
```bash
composer requ... | 4 | edited README.md | 3 | .md | md | mit | nao-pon/flysystem-google-drive |
10049461 | <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 | Merge pull request #4 from GallopLabs/bootlocal-shell | 2 | .sh | sh | mit | adlogix/docker-machine-nfs |
10049462 | <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... | 48 | optimize of upload function | 1 | .php | php | mit | nao-pon/flysystem-google-drive |
10049463 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
- For Google Drive AP... | 1 | [README] fix example link | 1 | .md | md | mit | nao-pon/flysystem-google-drive |
10049464 | <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... | 49 | add a method `public function hasDir($path)` for flysystem plugin | 14 | .php | php | mit | nao-pon/flysystem-google-drive |
10049465 | <NME> UserControllerTest.php
<BEF> <?php
namespace ZfcUserTest\Controller;
use Zend\Form\FormElementManager;
use ZfcUser\Controller\RedirectCallback;
use ZfcUser\Controller\UserController as Controller;
use Zend\Http\Response;
use Zend\Stdlib\Parameters;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Se... | 9 | Fix controller tests | 22 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049466 | <NME> UserControllerTest.php
<BEF> <?php
namespace ZfcUserTest\Controller;
use Zend\Form\FormElementManager;
use ZfcUser\Controller\RedirectCallback;
use ZfcUser\Controller\UserController as Controller;
use Zend\Http\Response;
use Zend\Stdlib\Parameters;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Se... | 9 | Fix controller tests | 22 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049467 | <NME> register.phtml
<BEF> <h1><?php echo $this->translate('Register'); ?></h1>
<?php
if (!$this->enableRegistration) {
print "Registration is disabled";
return;
}
}
?>
<?php echo $registerForm->setAction($this->url('zfcuser/register'))->setView($this); ?>
<MSG> fix registration form
<DFF> @@ -8,4 +8,25 @@ ... | 22 | fix registration form | 1 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049468 | <NME> register.phtml
<BEF> <h1><?php echo $this->translate('Register'); ?></h1>
<?php
if (!$this->enableRegistration) {
print "Registration is disabled";
return;
}
}
?>
<?php echo $registerForm->setAction($this->url('zfcuser/register'))->setView($this); ?>
<MSG> fix registration form
<DFF> @@ -8,4 +8,25 @@ ... | 22 | fix registration form | 1 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049469 | <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... | 4 | Use proper way to pass custom event. | 5 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049470 | <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... | 4 | Use proper way to pass custom event. | 5 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049471 | <NME> Module.php
<BEF> <?php
namespace ZfcUser;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\ModuleManager\Feature\ControllerPluginProviderInterface;
use Zend\ModuleManager\Feature\ControllerProviderInterface;
class Module
{
public function init(Manager $moduleManager)
{
$this->in... | 11 | Add options and dynamic hash algorithms | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049472 | <NME> Module.php
<BEF> <?php
namespace ZfcUser;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
use Zend\ModuleManager\Feature\ControllerPluginProviderInterface;
use Zend\ModuleManager\Feature\ControllerProviderInterface;
class Module
{
public function init(Manager $moduleManager)
{
$this->in... | 11 | Add options and dynamic hash algorithms | 2 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049473 | <NME> schema.sqlite.sql
<BEF> CREATE TABLE user
(
user_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
username VARCHAR(255) DEFAULT NULL UNIQUE,
email VARCHAR(255) NOT NULL UNIQUE,
display_name VARCHAR(50) DEFAULT NULL,
password VARCHAR(128) NOT NULL
);
);
<MSG> Merge pull ... | 1 | Merge pull request #117 from SocalNick/feature/null-email | 1 | .sql | sqlite | bsd-3-clause | ZF-Commons/ZfcUser |
10049474 | <NME> schema.sqlite.sql
<BEF> CREATE TABLE user
(
user_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
username VARCHAR(255) DEFAULT NULL UNIQUE,
email VARCHAR(255) NOT NULL UNIQUE,
display_name VARCHAR(50) DEFAULT NULL,
password VARCHAR(128) NOT NULL
);
);
<MSG> Merge pull ... | 1 | Merge pull request #117 from SocalNick/feature/null-email | 1 | .sql | sqlite | bsd-3-clause | ZF-Commons/ZfcUser |
10049475 | <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
## Install
```sh
curl -s https://raw.githubusercontent.com/adl... | 9 | submitted a Homebrew formula | 0 | .md | md | mit | adlogix/docker-machine-nfs |
10049476 | <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... | 4 | Merge pull request #499 from MalteGerth/patch-1 | 4 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049477 | <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... | 4 | Merge pull request #499 from MalteGerth/patch-1 | 4 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049478 | <NME> User.php
<BEF> <?php
namespace ZfcUser\Mapper;
use ZfcUser\Entity\UserInterface as UserEntityInterface;
use Zend\Hydrator\HydratorInterface;
class User extends AbstractDbMapper implements UserInterface
{
protected $tableName = 'user';
public function findByEmail($email)
{
$select = $this-... | 9 | Trigger a 'find' event on the composed event manager when one of the find* methods is used | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049479 | <NME> User.php
<BEF> <?php
namespace ZfcUser\Mapper;
use ZfcUser\Entity\UserInterface as UserEntityInterface;
use Zend\Hydrator\HydratorInterface;
class User extends AbstractDbMapper implements UserInterface
{
protected $tableName = 'user';
public function findByEmail($email)
{
$select = $this-... | 9 | Trigger a 'find' event on the composed event manager when one of the find* methods is used | 3 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049480 | <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... | 7 | Fix #8 | 7 | .sh | sh | mit | adlogix/docker-machine-nfs |
10049481 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 18 | Merge pull request #424 from grizzm0/Readme/Database | 25 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049482 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 18 | Merge pull request #424 from grizzm0/Readme/Database | 25 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049483 | <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 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049484 | <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 | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049485 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 1 | Update README.md | 1 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049486 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 1 | Update README.md | 1 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049487 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 1 | Update year in Password Security section | 1 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049488 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 1 | Update year in Password Security section | 1 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049489 | <NME> Db.php
<BEF> <?php
namespace ZfcUser\Authentication\Storage;
use Interop\Container\ContainerInterface;
use Zend\Authentication\Storage;
use Zend\Authentication\Storage\StorageInterface;
use Zend\ServiceManager\ServiceManager;
use ZfcUser\Mapper\UserInterface as UserMapper;
class Db implements Storage\StorageIn... | 1 | Little cleanup | 4 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049490 | <NME> Db.php
<BEF> <?php
namespace ZfcUser\Authentication\Storage;
use Interop\Container\ContainerInterface;
use Zend\Authentication\Storage;
use Zend\Authentication\Storage\StorageInterface;
use Zend\ServiceManager\ServiceManager;
use ZfcUser\Mapper\UserInterface as UserMapper;
class Db implements Storage\StorageIn... | 1 | Little cleanup | 4 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049491 | <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... | 4 | Work with file path including spaces (#90) | 4 | .sh | sh | mit | adlogix/docker-machine-nfs |
10049492 | <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 #105 from rhutchison/master | 1 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049493 | <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 #105 from rhutchison/master | 1 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049494 | <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... | 9 | get change password working + some CS fixes | 10 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049495 | <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... | 9 | get change password working + some CS fixes | 10 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049496 | <NME> ru_RU.po
<BEF> ADDFILE
<MSG> Russian translation language files [ru_RU] - hijacked from @eugenzor
pull request https://github.com/ZF-Commons/ZfcUser/pull/333 and cleaned-up.
Needs to be reviewed. #333
<DFF> @@ -0,0 +1,128 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: ZfcUser\n"
+"Report-Msgid-Bugs-To: zf-devteam... | 128 | Russian translation language files [ru_RU] - hijacked from @eugenzor pull request https://github.com/ZF-Commons/ZfcUser/pull/333 and cleaned-up. Needs to be reviewed. #333 | 0 | .po | po | bsd-3-clause | ZF-Commons/ZfcUser |
10049497 | <NME> ru_RU.po
<BEF> ADDFILE
<MSG> Russian translation language files [ru_RU] - hijacked from @eugenzor
pull request https://github.com/ZF-Commons/ZfcUser/pull/333 and cleaned-up.
Needs to be reviewed. #333
<DFF> @@ -0,0 +1,128 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: ZfcUser\n"
+"Report-Msgid-Bugs-To: zf-devteam... | 128 | Russian translation language files [ru_RU] - hijacked from @eugenzor pull request https://github.com/ZF-Commons/ZfcUser/pull/333 and cleaned-up. Needs to be reviewed. #333 | 0 | .po | po | bsd-3-clause | ZF-Commons/ZfcUser |
10049498 | <NME> ZfcUserAuthentication.php
<BEF> <?php
namespace ZfcUser\Controller\Plugin;
use Zend\Mvc\Controller\Plugin\AbstractPlugin;
use Zend\Authentication\AuthenticationService;
use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceManager;
use Zend\ServiceManager\ServiceLocatorInterface;
... | 4 | serviceLocator injected via controller plugin factory | 50 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049499 | <NME> ZfcUserAuthentication.php
<BEF> <?php
namespace ZfcUser\Controller\Plugin;
use Zend\Mvc\Controller\Plugin\AbstractPlugin;
use Zend\Authentication\AuthenticationService;
use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceManager;
use Zend\ServiceManager\ServiceLocatorInterface;
... | 4 | serviceLocator injected via controller plugin factory | 50 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049500 | <NME> ChangePasswordFilter.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\InputFilter\InputFilter;
use ZfcUser\Options\AuthenticationOptionsInterface;
class ChangePasswordFilter extends InputFilter
{
public function __construct(AuthenticationOptionsInterface $options)
{
$identityParams = array(
... | 1 | Fix array_push param order for form filters | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049501 | <NME> ChangePasswordFilter.php
<BEF> <?php
namespace ZfcUser\Form;
use Zend\InputFilter\InputFilter;
use ZfcUser\Options\AuthenticationOptionsInterface;
class ChangePasswordFilter extends InputFilter
{
public function __construct(AuthenticationOptionsInterface $options)
{
$identityParams = array(
... | 1 | Fix array_push param order for form filters | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049502 | <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... | 3 | Updated getting docker-machine properties (#98) | 3 | .sh | sh | mit | adlogix/docker-machine-nfs |
10049503 | <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... | 1 | Merge pull request #5 from leyyinad/master | 1 | .sh | sh | mit | adlogix/docker-machine-nfs |
10049504 | <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... | 2 | fix problem of `getUrl()` | 1 | .php | php | mit | nao-pon/flysystem-google-drive |
10049505 | <NME> Db.php
<BEF> <?php
namespace ZfcUser\Authentication\Storage;
use Interop\Container\ContainerInterface;
use Zend\Authentication\Storage;
use Zend\Authentication\Storage\StorageInterface;
use Zend\ServiceManager\ServiceManager;
use ZfcUser\Mapper\UserInterface as UserMapper;
class Db implements Storage\StorageIn... | 1 | IsEmpty check in storage should not trigger additional read from the mapper. | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049506 | <NME> Db.php
<BEF> <?php
namespace ZfcUser\Authentication\Storage;
use Interop\Container\ContainerInterface;
use Zend\Authentication\Storage;
use Zend\Authentication\Storage\StorageInterface;
use Zend\ServiceManager\ServiceManager;
use ZfcUser\Mapper\UserInterface as UserMapper;
class Db implements Storage\StorageIn... | 1 | IsEmpty check in storage should not trigger additional read from the mapper. | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049507 | <NME> schema.sql
<BEF> -- Auto-generated by Doctrine; formatted with http://www.dpriver.com/pp/sqlformat.htm
CREATE TABLE USER
(
user_id INT AUTO_INCREMENT NOT NULL,
username VARCHAR(255) DEFAULT NULL,
display_name VARCHAR(50) DEFAULT NULL,
password VARCHAR(128) NOT NULL,
state ... | 1 | Fix schema and update Zend\Db mapper | 1 | .sql | sql | bsd-3-clause | ZF-Commons/ZfcUser |
10049508 | <NME> schema.sql
<BEF> -- Auto-generated by Doctrine; formatted with http://www.dpriver.com/pp/sqlformat.htm
CREATE TABLE USER
(
user_id INT AUTO_INCREMENT NOT NULL,
username VARCHAR(255) DEFAULT NULL,
display_name VARCHAR(50) DEFAULT NULL,
password VARCHAR(128) NOT NULL,
state ... | 1 | Fix schema and update Zend\Db mapper | 1 | .sql | sql | bsd-3-clause | ZF-Commons/ZfcUser |
10049509 | <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 | Update login form: events() -> getEventManager() | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049510 | <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 | Update login form: events() -> getEventManager() | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049511 | <NME> register.phtml
<BEF> <h1>Register</h1>
<?php
if(!$this->enableRegistration)
{
print "Registration is disabled";
return;
}
?>
<?php
$form = $this->registerForm;
$form->prepare();
$form->setAttribute('action', $this->url('zfcuser/register'));
$form->setAttribute('method', 'post');
echo $this->form()->o... | 20 | Clean up coding standard - PSR2 compliant | 34 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049512 | <NME> register.phtml
<BEF> <h1>Register</h1>
<?php
if(!$this->enableRegistration)
{
print "Registration is disabled";
return;
}
?>
<?php
$form = $this->registerForm;
$form->prepare();
$form->setAttribute('action', $this->url('zfcuser/register'));
$form->setAttribute('method', 'post');
echo $this->form()->o... | 20 | Clean up coding standard - PSR2 compliant | 34 | .phtml | phtml | bsd-3-clause | ZF-Commons/ZfcUser |
10049513 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 39 | Documentation and removing the MD5 legacy password stuff. | 0 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049514 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 39 | Documentation and removing the MD5 legacy password stuff. | 0 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049515 | <NME> README.md
<BEF> # Flysystem Adapter for Google Drive
[](http://xoops.hypweb.net/)
[](LICENSE)
## Installation
- For Google Drive AP... | 1 | add how to get up and running gist from ivanvermeyen | 1 | .md | md | mit | nao-pon/flysystem-google-drive |
10049516 | <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 | Do not limit retrieval of redirect parameter to POST. | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049517 | <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 | Do not limit retrieval of redirect parameter to POST. | 1 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049518 | <NME> RegisterFilter.php
<BEF> <?php
namespace ZfcUser\Form;
use ZfcUser\InputFilter\ProvidesEventsInputFilter;
use ZfcUser\Options\RegistrationOptionsInterface;
class RegisterFilter extends ProvidesEventsInputFilter
{
protected $emailValidator;
protected $usernameValidator;
/**
* @var Registration... | 1 | Update RegisterFilter.php | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049519 | <NME> RegisterFilter.php
<BEF> <?php
namespace ZfcUser\Form;
use ZfcUser\InputFilter\ProvidesEventsInputFilter;
use ZfcUser\Options\RegistrationOptionsInterface;
class RegisterFilter extends ProvidesEventsInputFilter
{
protected $emailValidator;
protected $usernameValidator;
/**
* @var Registration... | 1 | Update RegisterFilter.php | 0 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049520 | <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... | 11 | Support for xhyve | 1 | .sh | sh | mit | adlogix/docker-machine-nfs |
10049521 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 30 | Update readme | 28 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049522 | <NME> README.md
<BEF> ZfcUser
=======
[](https://travis-ci.org/ZF-Commons/ZfcUser)
[](https://scrutinizer-ci.com/g/ZF-Commons/ZfcUs... | 30 | Update readme | 28 | .md | md | bsd-3-clause | ZF-Commons/ZfcUser |
10049523 | <NME> UserControllerTest.php
<BEF> <?php
namespace ZfcUserTest\Controller;
use ZfcUser\Controller\UserController as Controller;
use Zend\Http\Response;
use Zend\Stdlib\Parameters;
use Zend\Stdlib\Parameters;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Service\User as UserService;
use Zend\Form\Form;
... | 235 | Change redirect strategy | 271 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049524 | <NME> UserControllerTest.php
<BEF> <?php
namespace ZfcUserTest\Controller;
use ZfcUser\Controller\UserController as Controller;
use Zend\Http\Response;
use Zend\Stdlib\Parameters;
use Zend\Stdlib\Parameters;
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Service\User as UserService;
use Zend\Form\Form;
... | 235 | Change redirect strategy | 271 | .php | php | bsd-3-clause | ZF-Commons/ZfcUser |
10049525 | <NME> setup.py
<BEF> try:
import sys
from setuptools import setup, find_packages
# Read the version from __init__ to avoid importing python-xbrl while installing.
# This lets the install work when the user does not have BeautifulSoup
# installed.
VERSION = re.search(r"__version__ = '(.*?)'",
open(... | 10 | update setup and manifest | 9 | .py | py | apache-2.0 | greedo/python-xbrl |
10049526 | <NME> README.rst
<BEF> |PyPI version| |Travis-CI| |license|
**python-xbrl** is a library for parsing
`xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__
documents providing output as both a basic model object and serialized
objects thur
`marshma... | 2 | added docs for ignore errors | 1 | .rst | rst | apache-2.0 | greedo/python-xbrl |
10049527 | <NME> .travis.yml
<BEF> language: python
python:
- "2.6"
- "2.7"
# command to install dependencies
install:
packages:
- build-essential
- python-dev
- libxml2
- libxml2-dev
- libxslt-dev
# command to install dependencies
install:
- pip in... | 4 | adding more platform tests | 1 | .yml | travis | apache-2.0 | greedo/python-xbrl |
10049528 | <NME> gaap.py
<BEF> ADDFILE
<MSG> support for decimal precision
<DFF> @@ -0,0 +1,15 @@
+from parser import XBRLParser, GAAP, GAAPSerializer
+
+xbrl_parser = XBRLParser(precision=0)
+
+# Parse an incoming XBRL file
+xbrl = xbrl_parser.parse(file("sam-20140329.xml"))
+
+# Parse just the GAAP data from the xbrl object
+g... | 15 | support for decimal precision | 0 | .py | py | apache-2.0 | greedo/python-xbrl |
10049529 | <NME> test_parse.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
from xbrl import XBRLParser
from xbrl import GAAP
from xbrl import GAAPSerializer
from xbrl import DEISerializer
from xbrl import XBRLParserException
import pytest
import sys
import os
try:
from StringIO import StringIO
except ImportError:
__p... | 24 | test fix for python3 | 13 | .py | py | apache-2.0 | greedo/python-xbrl |
10049530 | <NME> gaap.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
xbrl_parser = XBRLParser(precision=0)
# Parse an incoming XBRL file
xbrl = xbrl_parser.parse(file("sam-20140329.xml"))
# Parse just the GAAP data from the xbrl object
gaap_obj = xbrl_parser.parseGAAP(xbrl, doc_date="20140329", doc_type="10-Q"))
# Serialize... | 2 | parsing is supported of different contexts | 2 | .py | py | apache-2.0 | greedo/python-xbrl |
10049531 | <NME> setup.py
<BEF> ADDFILE
<MSG> initial commit
<DFF> @@ -0,0 +1,59 @@
+import re
+import sys
+
+from setuptools import setup, find_packages
+
+# Read the version from __init__ to avoid importing ofxparse while installing.
+# This lets the install work when the user does not have BeautifulSoup
+# installed.
+VERSION... | 59 | initial commit | 0 | .py | py | apache-2.0 | greedo/python-xbrl |
10049532 | <NME> test_parse.py
<BEF>
import os
from unittest import TestCase
import sys
sys.path.insert(0, os.path.abspath('..'))
from parse import XBRLParser
#from xbrlparse.xbrlparse import OfxFile, OfxPreprocessedFile, OfxParserException, soup_maker
class TestParse(TestCase):
def testEmptyFile(self):
... | 2 | updated tests | 7 | .py | py | apache-2.0 | greedo/python-xbrl |
10049533 | <NME> README.rst
<BEF> |PyPI version| |Travis-CI| |license|
**python-xbrl** is a library for parsing
`xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__
documents providing output as both a basic model object and serialized
objects thur
`marshma... | 12 | Merge branch 'master' of https://github.com/greedo/python-xbrl | 0 | .rst | rst | apache-2.0 | greedo/python-xbrl |
10049534 | <NME> test_parse.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
from xbrl import XBRLParser
from xbrl import GAAP
from xbrl import GAAPSerializer
from xbrl import DEISerializer
from xbrl import XBRLParserException
import pytest
from parser import soup_maker, XBRLParser, XBRLParserException
class TestParse():
... | 4 | Merge pull request #4 from greedo/pep8 | 1 | .py | py | apache-2.0 | greedo/python-xbrl |
10049535 | <NME> setup.cfg
<BEF> [bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1
<MSG> closes #10
<DFF> @@ -3,3 +3,6 @@
# 3... | 3 | closes #10 | 0 | .cfg | cfg | apache-2.0 | greedo/python-xbrl |
10049536 | <NME> requirements.txt
<BEF> pytest==2.8.3
pep8==1.6.2
marshmallow>=2.15.1
beautifulsoup4
ordereddict
lxml
<MSG> new python 3 byte encode, year is 360
<DFF> @@ -4,3 +4,4 @@ marshmallow
beautifulsoup4
ordereddict
lxml
+six
| 1 | new python 3 byte encode, year is 360 | 0 | .txt | txt | apache-2.0 | greedo/python-xbrl |
10049537 | <NME> xbrl.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
import re
from marshmallow import Schema, fields
import datetime
import collections
import six
import logging
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
if 'OrderedDict' in dir(collections):
odict = collectio... | 2 | fixing net_cash_flows_investing_discontinued | 2 | .py | py | apache-2.0 | greedo/python-xbrl |
10049538 | <NME> setup.py
<BEF> try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
setup(
name='python-xbrl',
version='1.0.5',
description='library for parsing xbrl documents',
author='Joe Cabrera',
author_email='jcabrera@eminorlabs.com',
... | 1 | version bump | 1 | .py | py | apache-2.0 | greedo/python-xbrl |
10049539 | <NME> requirements.txt
<BEF> pytest==2.8.3
pep8==1.6.2
marshmallow>=2.15.1
beautifulsoup4
ordereddict
lxml
futures
<MSG> future not futures
<DFF> @@ -4,4 +4,4 @@ marshmallow
beautifulsoup4
ordereddict
lxml
-futures
+future
| 1 | future not futures | 1 | .txt | txt | apache-2.0 | greedo/python-xbrl |
10049540 | <NME> xbrl.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
import re
from marshmallow import Schema, fields
import datetime
import collections
import six
import logging
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
if 'OrderedDict' in dir(collections):
odict = collectio... | 2 | guard against list index out of range exception | 1 | .py | py | apache-2.0 | greedo/python-xbrl |
10049541 | <NME> xbrl.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
import re
from marshmallow import Schema, fields
import datetime
import collections
import six
import logging
try:
from StringIO import StringIO
except ImportError:
from io import StringIO
if 'OrderedDict' in dir(collections):
odict = collectio... | 2 | Update xbrl.py | 2 | .py | py | apache-2.0 | greedo/python-xbrl |
10049542 | <NME> README.rst
<BEF> |PyPI version| |Travis-CI|
**python-xbrl** is a library for parsing
`xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__
documents providing output as both a basic model object and serialized
objects thur
`marshmallow <http... | 4 | adding Apache license badge | 1 | .rst | rst | apache-2.0 | greedo/python-xbrl |
10049543 | <NME> test_parse.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
from xbrl import XBRLParser
from xbrl import GAAP
from xbrl import GAAPSerializer
from xbrl import DEISerializer
from xbrl import XBRLParserException
import pytest
import sys
import os
import six
try:
import __pypy__
except ImportError:
__pyp... | 1 | indentation fix | 1 | .py | py | apache-2.0 | greedo/python-xbrl |
10049544 | <NME> requirements.txt
<BEF> pytest==2.8.3
pep8==1.6.2
marshmallow>=2.15.1
beautifulsoup4==4.4.1
ordereddict==1.1
lxml==3.5.0
six==1.9.0
<MSG> Merge pull request #51 from greedo/dependabot/pip/lxml-4.6.2
Bump lxml from 3.5.0 to 4.6.2
<DFF> @@ -3,5 +3,5 @@ pep8==1.6.2
marshmallow>=2.15.1
beautifulsoup4==4.4.1
order... | 1 | Merge pull request #51 from greedo/dependabot/pip/lxml-4.6.2 | 1 | .txt | txt | apache-2.0 | greedo/python-xbrl |
10049545 | <NME> README.rst
<BEF> |PyPI version| |Travis-CI| |license|
**python-xbrl** is a library for parsing
`xbrl <http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html>`__
documents providing output as both a basic model object and serialized
objects thur
`marshma... | 2 | Merge branch 'master' of https://github.com/greedo/python-xbrl | 1 | .rst | rst | apache-2.0 | greedo/python-xbrl |
10049546 | <NME> LICENSE
<BEF> Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distr... | 1 | Update LICENSE | 1 | LICENSE | apache-2.0 | greedo/python-xbrl | |
10049547 | <NME> test_parse.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
from xbrl import XBRLParser
from xbrl import GAAP
from xbrl import GAAPSerializer
from xbrl import DEISerializer
from xbrl import XBRLParserException
import pytest
import sys
import os
import six
try:
import __pypy__
except ImportError:
__pypy... | 10 | Merge branch 'master' of https://github.com/greedo/python-xbrl | 10 | .py | py | apache-2.0 | greedo/python-xbrl |
10049548 | <NME> test_parse.py
<BEF> #! /usr/bin/env python
# encoding: utf-8
from xbrl import XBRLParser
from xbrl import GAAP
from xbrl import GAAPSerializer
from xbrl import DEISerializer
except ImportError:
from io import StringIO
from parser import soup_maker, XBRLParser, XBRLParserException, GAAP, GAAPSerializer
def ... | 1 | forgot to rename the test import too | 1 | .py | py | apache-2.0 | greedo/python-xbrl |
10049549 | <NME> requirements.txt
<BEF> ADDFILE
<MSG> Create requirements.txt
<DFF> @@ -0,0 +1,3 @@
+pytest
+marshmallow
+beautifulsoup4
| 3 | Create requirements.txt | 0 | .txt | txt | apache-2.0 | greedo/python-xbrl |