mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
Merge branch 'v2' into v2-edit-title
This commit is contained in:
commit
ac9d58211e
13 changed files with 80 additions and 175 deletions
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
../vendor/robmorgan/phinx/bin/phinx
|
|
|
@ -54,7 +54,7 @@
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3",
|
"php": ">=5.3.3",
|
||||||
"symfony/symfony": "2.6.*",
|
"symfony/symfony": "~2.7.0",
|
||||||
"doctrine/orm": "~2.2,>=2.2.3",
|
"doctrine/orm": "~2.2,>=2.2.3",
|
||||||
"doctrine/doctrine-bundle": "~1.2",
|
"doctrine/doctrine-bundle": "~1.2",
|
||||||
"twig/extensions": "~1.0",
|
"twig/extensions": "~1.0",
|
||||||
|
@ -64,19 +64,18 @@
|
||||||
"sensio/distribution-bundle": "~3.0.12",
|
"sensio/distribution-bundle": "~3.0.12",
|
||||||
"sensio/framework-extra-bundle": "~3.0",
|
"sensio/framework-extra-bundle": "~3.0",
|
||||||
"incenteev/composer-parameter-handler": "~2.0",
|
"incenteev/composer-parameter-handler": "~2.0",
|
||||||
"nelmio/cors-bundle": "1.3.*@dev",
|
"nelmio/cors-bundle": "~1.4.0",
|
||||||
"umpirsky/twig-gettext-extractor": "1.1.*",
|
"umpirsky/twig-gettext-extractor": "~1.1.5",
|
||||||
"friendsofsymfony/rest-bundle": "~1.4",
|
"friendsofsymfony/rest-bundle": "~1.4",
|
||||||
"jms/serializer-bundle": "~0.13",
|
"jms/serializer-bundle": "~0.13",
|
||||||
"nelmio/api-doc-bundle": "~2.7",
|
"nelmio/api-doc-bundle": "~2.7",
|
||||||
"ezyang/htmlpurifier": "~4.6",
|
"ezyang/htmlpurifier": "~4.6",
|
||||||
"mgargano/simplehtmldom": "~1.5",
|
"mgargano/simplehtmldom": "~1.5",
|
||||||
"robmorgan/phinx": "~0.4",
|
|
||||||
"tecnick.com/tcpdf": "~6.2",
|
"tecnick.com/tcpdf": "~6.2",
|
||||||
"simplepie/simplepie": "~1.3.1",
|
"simplepie/simplepie": "~1.3.1",
|
||||||
"willdurand/hateoas-bundle": "1.0.*@dev",
|
"willdurand/hateoas-bundle": "~0.5.0",
|
||||||
"htmlawed/htmlawed": "dev-master",
|
"htmlawed/htmlawed": "~1.1.19",
|
||||||
"liip/theme-bundle": "1.1.3",
|
"liip/theme-bundle": "~1.1.3",
|
||||||
"wallabag/PHP-Flash-Messages": "dev-master",
|
"wallabag/PHP-Flash-Messages": "dev-master",
|
||||||
"wallabag/kriss_php5": "dev-master",
|
"wallabag/kriss_php5": "dev-master",
|
||||||
"wallabag/pagination": "dev-master",
|
"wallabag/pagination": "dev-master",
|
||||||
|
@ -84,10 +83,10 @@
|
||||||
"wallabag/php-readability": "dev-master",
|
"wallabag/php-readability": "dev-master",
|
||||||
"wallabag/phpMobi": "dev-master",
|
"wallabag/phpMobi": "dev-master",
|
||||||
"wallabag/Fivefilters_Libraries": "dev-master",
|
"wallabag/Fivefilters_Libraries": "dev-master",
|
||||||
"pagerfanta/pagerfanta": "~1.0@dev"
|
"pagerfanta/pagerfanta": "~1.0.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"doctrine/doctrine-fixtures-bundle": "dev-master",
|
"doctrine/doctrine-fixtures-bundle": "~2.2.0",
|
||||||
"sensio/generator-bundle": "~2.5",
|
"sensio/generator-bundle": "~2.5",
|
||||||
"phpunit/phpunit": "~4.4"
|
"phpunit/phpunit": "~4.4"
|
||||||
},
|
},
|
||||||
|
|
154
composer.lock
generated
154
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"hash": "43d869c37ae73d7b74d3f77c4028bf9c",
|
"hash": "d7869b0dce6699d8f4916e675a4209a8",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "doctrine/annotations",
|
"name": "doctrine/annotations",
|
||||||
|
@ -898,16 +898,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "htmlawed/htmlawed",
|
"name": "htmlawed/htmlawed",
|
||||||
"version": "dev-master",
|
"version": "1.1.19",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/kesar/HTMLawed.git",
|
"url": "https://github.com/kesar/HTMLawed.git",
|
||||||
"reference": "f842e793614bdf3af70a62b1e70570e824dc9ab6"
|
"reference": "620c38edd57e680260ebd8dd0e98167d97e9a7bf"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/kesar/HTMLawed/zipball/f842e793614bdf3af70a62b1e70570e824dc9ab6",
|
"url": "https://api.github.com/repos/kesar/HTMLawed/zipball/620c38edd57e680260ebd8dd0e98167d97e9a7bf",
|
||||||
"reference": "f842e793614bdf3af70a62b1e70570e824dc9ab6",
|
"reference": "620c38edd57e680260ebd8dd0e98167d97e9a7bf",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -940,7 +940,7 @@
|
||||||
"strip",
|
"strip",
|
||||||
"tags"
|
"tags"
|
||||||
],
|
],
|
||||||
"time": "2015-04-12 19:37:20"
|
"time": "2015-04-05 17:23:05"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "incenteev/composer-parameter-handler",
|
"name": "incenteev/composer-parameter-handler",
|
||||||
|
@ -1651,17 +1651,17 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nelmio/cors-bundle",
|
"name": "nelmio/cors-bundle",
|
||||||
"version": "1.3.3",
|
"version": "1.4.0",
|
||||||
"target-dir": "Nelmio/CorsBundle",
|
"target-dir": "Nelmio/CorsBundle",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/nelmio/NelmioCorsBundle.git",
|
"url": "https://github.com/nelmio/NelmioCorsBundle.git",
|
||||||
"reference": "d482c01f6ca0840025b81b65534d0ffb7c18f425"
|
"reference": "553b4c5cdb3ff155f910e8f6e3e0806d42c763a6"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/nelmio/NelmioCorsBundle/zipball/d482c01f6ca0840025b81b65534d0ffb7c18f425",
|
"url": "https://api.github.com/repos/nelmio/NelmioCorsBundle/zipball/553b4c5cdb3ff155f910e8f6e3e0806d42c763a6",
|
||||||
"reference": "d482c01f6ca0840025b81b65534d0ffb7c18f425",
|
"reference": "553b4c5cdb3ff155f910e8f6e3e0806d42c763a6",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1702,7 +1702,7 @@
|
||||||
"cors",
|
"cors",
|
||||||
"crossdomain"
|
"crossdomain"
|
||||||
],
|
],
|
||||||
"time": "2014-12-10 17:26:49"
|
"time": "2015-01-13 17:53:27"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "pagerfanta/pagerfanta",
|
"name": "pagerfanta/pagerfanta",
|
||||||
|
@ -1908,68 +1908,6 @@
|
||||||
],
|
],
|
||||||
"time": "2012-12-21 11:40:51"
|
"time": "2012-12-21 11:40:51"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "robmorgan/phinx",
|
|
||||||
"version": "v0.4.3",
|
|
||||||
"source": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/robmorgan/phinx.git",
|
|
||||||
"reference": "0d1f9cb9939f65f506a8a3f5fee356764c310fd4"
|
|
||||||
},
|
|
||||||
"dist": {
|
|
||||||
"type": "zip",
|
|
||||||
"url": "https://api.github.com/repos/robmorgan/phinx/zipball/0d1f9cb9939f65f506a8a3f5fee356764c310fd4",
|
|
||||||
"reference": "0d1f9cb9939f65f506a8a3f5fee356764c310fd4",
|
|
||||||
"shasum": ""
|
|
||||||
},
|
|
||||||
"require": {
|
|
||||||
"php": ">=5.3.2",
|
|
||||||
"symfony/config": "~2.6.0",
|
|
||||||
"symfony/console": "~2.6.0",
|
|
||||||
"symfony/yaml": "~2.6.0"
|
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "3.7.*",
|
|
||||||
"squizlabs/php_codesniffer": "dev-phpcs-fixer"
|
|
||||||
},
|
|
||||||
"bin": [
|
|
||||||
"bin/phinx"
|
|
||||||
],
|
|
||||||
"type": "library",
|
|
||||||
"autoload": {
|
|
||||||
"psr-4": {
|
|
||||||
"Phinx\\": "src/Phinx"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"notification-url": "https://packagist.org/downloads/",
|
|
||||||
"license": [
|
|
||||||
"MIT"
|
|
||||||
],
|
|
||||||
"authors": [
|
|
||||||
{
|
|
||||||
"name": "Rob Morgan",
|
|
||||||
"email": "robbym@gmail.com",
|
|
||||||
"homepage": "http://robmorgan.id.au",
|
|
||||||
"role": "Lead Developer"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Woody Gilk",
|
|
||||||
"email": "woody.gilk@gmail.com",
|
|
||||||
"homepage": "http://shadowhand.me",
|
|
||||||
"role": "Developer"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"description": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app.",
|
|
||||||
"homepage": "https://phinx.org",
|
|
||||||
"keywords": [
|
|
||||||
"database",
|
|
||||||
"database migrations",
|
|
||||||
"db",
|
|
||||||
"migrations",
|
|
||||||
"phinx"
|
|
||||||
],
|
|
||||||
"time": "2015-02-23 16:38:12"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "sensio/distribution-bundle",
|
"name": "sensio/distribution-bundle",
|
||||||
"version": "v3.0.28",
|
"version": "v3.0.28",
|
||||||
|
@ -2419,25 +2357,26 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/symfony",
|
"name": "symfony/symfony",
|
||||||
"version": "v2.6.9",
|
"version": "v2.7.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/symfony.git",
|
"url": "https://github.com/symfony/symfony.git",
|
||||||
"reference": "b06539573ccf64dd3a62852685f052553d02c5ba"
|
"reference": "9975b1eca3de4db792a2c3e4e16f676a4aadcd46"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/symfony/zipball/b06539573ccf64dd3a62852685f052553d02c5ba",
|
"url": "https://api.github.com/repos/symfony/symfony/zipball/9975b1eca3de4db792a2c3e4e16f676a4aadcd46",
|
||||||
"reference": "b06539573ccf64dd3a62852685f052553d02c5ba",
|
"reference": "9975b1eca3de4db792a2c3e4e16f676a4aadcd46",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"doctrine/common": "~2.3",
|
"doctrine/common": "~2.3",
|
||||||
"php": ">=5.3.3",
|
"php": ">=5.3.9",
|
||||||
"psr/log": "~1.0",
|
"psr/log": "~1.0",
|
||||||
"twig/twig": "~1.12,>=1.12.3"
|
"twig/twig": "~1.18"
|
||||||
},
|
},
|
||||||
"replace": {
|
"replace": {
|
||||||
|
"symfony/asset": "self.version",
|
||||||
"symfony/browser-kit": "self.version",
|
"symfony/browser-kit": "self.version",
|
||||||
"symfony/class-loader": "self.version",
|
"symfony/class-loader": "self.version",
|
||||||
"symfony/config": "self.version",
|
"symfony/config": "self.version",
|
||||||
|
@ -2461,7 +2400,6 @@
|
||||||
"symfony/monolog-bridge": "self.version",
|
"symfony/monolog-bridge": "self.version",
|
||||||
"symfony/options-resolver": "self.version",
|
"symfony/options-resolver": "self.version",
|
||||||
"symfony/process": "self.version",
|
"symfony/process": "self.version",
|
||||||
"symfony/propel1-bridge": "self.version",
|
|
||||||
"symfony/property-access": "self.version",
|
"symfony/property-access": "self.version",
|
||||||
"symfony/proxy-manager-bridge": "self.version",
|
"symfony/proxy-manager-bridge": "self.version",
|
||||||
"symfony/routing": "self.version",
|
"symfony/routing": "self.version",
|
||||||
|
@ -2492,18 +2430,23 @@
|
||||||
"ircmaxell/password-compat": "~1.0",
|
"ircmaxell/password-compat": "~1.0",
|
||||||
"monolog/monolog": "~1.11",
|
"monolog/monolog": "~1.11",
|
||||||
"ocramius/proxy-manager": "~0.4|~1.0",
|
"ocramius/proxy-manager": "~0.4|~1.0",
|
||||||
"propel/propel1": "~1.6",
|
"symfony/phpunit-bridge": "self.version"
|
||||||
"symfony/phpunit-bridge": "~2.7"
|
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.6-dev"
|
"dev-master": "2.7-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-4": {
|
||||||
"Symfony\\": "src/"
|
"Symfony\\Bridge\\Doctrine\\": "src/Symfony/Bridge/Doctrine/",
|
||||||
|
"Symfony\\Bridge\\Monolog\\": "src/Symfony/Bridge/Monolog/",
|
||||||
|
"Symfony\\Bridge\\ProxyManager\\": "src/Symfony/Bridge/ProxyManager/",
|
||||||
|
"Symfony\\Bridge\\Swiftmailer\\": "src/Symfony/Bridge/Swiftmailer/",
|
||||||
|
"Symfony\\Bridge\\Twig\\": "src/Symfony/Bridge/Twig/",
|
||||||
|
"Symfony\\Bundle\\": "src/Symfony/Bundle/",
|
||||||
|
"Symfony\\Component\\": "src/Symfony/Component/"
|
||||||
},
|
},
|
||||||
"classmap": [
|
"classmap": [
|
||||||
"src/Symfony/Component/HttpFoundation/Resources/stubs",
|
"src/Symfony/Component/HttpFoundation/Resources/stubs",
|
||||||
|
@ -2532,7 +2475,7 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"framework"
|
"framework"
|
||||||
],
|
],
|
||||||
"time": "2015-05-29 22:55:07"
|
"time": "2015-05-30 16:52:28"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tecnick.com/tcpdf",
|
"name": "tecnick.com/tcpdf",
|
||||||
|
@ -3108,17 +3051,17 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "willdurand/hateoas-bundle",
|
"name": "willdurand/hateoas-bundle",
|
||||||
"version": "dev-master",
|
"version": "0.5.0",
|
||||||
"target-dir": "Bazinga/Bundle/HateoasBundle",
|
"target-dir": "Bazinga/Bundle/HateoasBundle",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/willdurand/BazingaHateoasBundle.git",
|
"url": "https://github.com/willdurand/BazingaHateoasBundle.git",
|
||||||
"reference": "a99f48ea5004a89ecf0927229d9c912fed9fa4ab"
|
"reference": "3c86e8080e8a229365a0ce91818da6fe6562376b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/willdurand/BazingaHateoasBundle/zipball/a99f48ea5004a89ecf0927229d9c912fed9fa4ab",
|
"url": "https://api.github.com/repos/willdurand/BazingaHateoasBundle/zipball/3c86e8080e8a229365a0ce91818da6fe6562376b",
|
||||||
"reference": "a99f48ea5004a89ecf0927229d9c912fed9fa4ab",
|
"reference": "3c86e8080e8a229365a0ce91818da6fe6562376b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3156,7 +3099,7 @@
|
||||||
"HATEOAS",
|
"HATEOAS",
|
||||||
"rest"
|
"rest"
|
||||||
],
|
],
|
||||||
"time": "2015-03-12 15:49:24"
|
"time": "2015-02-19 16:27:51"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "willdurand/jsonp-callback-validator",
|
"name": "willdurand/jsonp-callback-validator",
|
||||||
|
@ -3308,17 +3251,17 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "doctrine/doctrine-fixtures-bundle",
|
"name": "doctrine/doctrine-fixtures-bundle",
|
||||||
"version": "dev-master",
|
"version": "v2.2.0",
|
||||||
"target-dir": "Doctrine/Bundle/FixturesBundle",
|
"target-dir": "Doctrine/Bundle/FixturesBundle",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/doctrine/DoctrineFixturesBundle.git",
|
"url": "https://github.com/doctrine/DoctrineFixturesBundle.git",
|
||||||
"reference": "c5ff0542772102ddd4e2fbe173e9ad40ad67c22f"
|
"reference": "c811f96f0cf83b997e3a3ed037cac729bbe3e803"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/c5ff0542772102ddd4e2fbe173e9ad40ad67c22f",
|
"url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/c811f96f0cf83b997e3a3ed037cac729bbe3e803",
|
||||||
"reference": "c5ff0542772102ddd4e2fbe173e9ad40ad67c22f",
|
"reference": "c811f96f0cf83b997e3a3ed037cac729bbe3e803",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3330,7 +3273,7 @@
|
||||||
"type": "symfony-bundle",
|
"type": "symfony-bundle",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.2.x-dev"
|
"dev-master": "2.1.x-dev"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -3343,6 +3286,12 @@
|
||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"authors": [
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Fabien Potencier",
|
||||||
|
"email": "fabien@symfony.com",
|
||||||
|
"homepage": "http://fabien.potencier.org",
|
||||||
|
"role": "Lead Developer"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Symfony Community",
|
"name": "Symfony Community",
|
||||||
"homepage": "http://symfony.com/contributors"
|
"homepage": "http://symfony.com/contributors"
|
||||||
|
@ -3350,10 +3299,6 @@
|
||||||
{
|
{
|
||||||
"name": "Doctrine Project",
|
"name": "Doctrine Project",
|
||||||
"homepage": "http://www.doctrine-project.org"
|
"homepage": "http://www.doctrine-project.org"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Fabien Potencier",
|
|
||||||
"email": "fabien@symfony.com"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Symfony DoctrineFixturesBundle",
|
"description": "Symfony DoctrineFixturesBundle",
|
||||||
|
@ -3362,7 +3307,7 @@
|
||||||
"Fixture",
|
"Fixture",
|
||||||
"persistence"
|
"persistence"
|
||||||
],
|
],
|
||||||
"time": "2015-01-19 02:21:37"
|
"time": "2013-09-05 11:23:37"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-docblock",
|
"name": "phpdocumentor/reflection-docblock",
|
||||||
|
@ -4269,18 +4214,13 @@
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"stability-flags": {
|
"stability-flags": {
|
||||||
"nelmio/cors-bundle": 20,
|
|
||||||
"willdurand/hateoas-bundle": 20,
|
|
||||||
"htmlawed/htmlawed": 20,
|
|
||||||
"wallabag/php-flash-messages": 20,
|
"wallabag/php-flash-messages": 20,
|
||||||
"wallabag/kriss_php5": 20,
|
"wallabag/kriss_php5": 20,
|
||||||
"wallabag/pagination": 20,
|
"wallabag/pagination": 20,
|
||||||
"wallabag/phpepub": 20,
|
"wallabag/phpepub": 20,
|
||||||
"wallabag/php-readability": 20,
|
"wallabag/php-readability": 20,
|
||||||
"wallabag/phpmobi": 20,
|
"wallabag/phpmobi": 20,
|
||||||
"wallabag/fivefilters_libraries": 20,
|
"wallabag/fivefilters_libraries": 20
|
||||||
"pagerfanta/pagerfanta": 20,
|
|
||||||
"doctrine/doctrine-fixtures-bundle": 20
|
|
||||||
},
|
},
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
use Phinx\Migration\AbstractMigration;
|
|
||||||
|
|
||||||
class InitDatabase extends AbstractMigration
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Migrate Up.
|
|
||||||
*/
|
|
||||||
public function up()
|
|
||||||
{
|
|
||||||
$this->execute("INSERT INTO config (name, value) VALUES ('foo', 'bar');");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Migrate Down.
|
|
||||||
*/
|
|
||||||
public function down()
|
|
||||||
{
|
|
||||||
$this->execute("DELETE FROM config WHERE name = 'foo' AND value = 'bar';");
|
|
||||||
}
|
|
||||||
}
|
|
17
phinx.yml
17
phinx.yml
|
@ -1,17 +0,0 @@
|
||||||
paths:
|
|
||||||
migrations: %%PHINX_CONFIG_DIR%%/migrations
|
|
||||||
|
|
||||||
environments:
|
|
||||||
default_migration_table: phinxlog
|
|
||||||
default_database: development
|
|
||||||
production:
|
|
||||||
adapter: sqlite
|
|
||||||
name: app/db/poche
|
|
||||||
|
|
||||||
development:
|
|
||||||
adapter: sqlite
|
|
||||||
name: app/db/poche
|
|
||||||
|
|
||||||
testing:
|
|
||||||
adapter: sqlite
|
|
||||||
name: app/db/poche
|
|
|
@ -4,7 +4,7 @@ namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
|
|
||||||
class ConfigType extends AbstractType
|
class ConfigType extends AbstractType
|
||||||
{
|
{
|
||||||
|
@ -24,14 +24,17 @@ class ConfigType extends AbstractType
|
||||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||||
{
|
{
|
||||||
$builder
|
$builder
|
||||||
->add('theme', 'choice', array('choices' => $this->themes))
|
->add('theme', 'choice', array(
|
||||||
|
'choices' => array_flip($this->themes),
|
||||||
|
'choices_as_values' => true,
|
||||||
|
))
|
||||||
->add('items_per_page')
|
->add('items_per_page')
|
||||||
->add('language')
|
->add('language')
|
||||||
->add('save', 'submit')
|
->add('save', 'submit')
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
public function configureOptions(OptionsResolver $resolver)
|
||||||
{
|
{
|
||||||
$resolver->setDefaults(array(
|
$resolver->setDefaults(array(
|
||||||
'data_class' => 'Wallabag\CoreBundle\Entity\Config',
|
'data_class' => 'Wallabag\CoreBundle\Entity\Config',
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
|
|
||||||
class NewEntryType extends AbstractType
|
class NewEntryType extends AbstractType
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ class NewEntryType extends AbstractType
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
public function configureOptions(OptionsResolver $resolver)
|
||||||
{
|
{
|
||||||
$resolver->setDefaults(array(
|
$resolver->setDefaults(array(
|
||||||
'data_class' => 'Wallabag\CoreBundle\Entity\Entry',
|
'data_class' => 'Wallabag\CoreBundle\Entity\Entry',
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
use Symfony\Component\Validator\Constraints;
|
use Symfony\Component\Validator\Constraints;
|
||||||
|
|
||||||
class NewUserType extends AbstractType
|
class NewUserType extends AbstractType
|
||||||
|
@ -27,7 +27,7 @@ class NewUserType extends AbstractType
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
public function configureOptions(OptionsResolver $resolver)
|
||||||
{
|
{
|
||||||
$resolver->setDefaults(array(
|
$resolver->setDefaults(array(
|
||||||
'data_class' => 'Wallabag\CoreBundle\Entity\User',
|
'data_class' => 'Wallabag\CoreBundle\Entity\User',
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
|
|
||||||
class RssType extends AbstractType
|
class RssType extends AbstractType
|
||||||
{
|
{
|
||||||
|
@ -16,7 +16,7 @@ class RssType extends AbstractType
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
public function configureOptions(OptionsResolver $resolver)
|
||||||
{
|
{
|
||||||
$resolver->setDefaults(array(
|
$resolver->setDefaults(array(
|
||||||
'data_class' => 'Wallabag\CoreBundle\Entity\Config',
|
'data_class' => 'Wallabag\CoreBundle\Entity\Config',
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace Wallabag\CoreBundle\Form\Type;
|
||||||
|
|
||||||
use Symfony\Component\Form\AbstractType;
|
use Symfony\Component\Form\AbstractType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||||
|
|
||||||
class UserInformationType extends AbstractType
|
class UserInformationType extends AbstractType
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,7 @@ class UserInformationType extends AbstractType
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setDefaultOptions(OptionsResolverInterface $resolver)
|
public function configureOptions(OptionsResolver $resolver)
|
||||||
{
|
{
|
||||||
$resolver->setDefaults(array(
|
$resolver->setDefaults(array(
|
||||||
'data_class' => 'Wallabag\CoreBundle\Entity\User',
|
'data_class' => 'Wallabag\CoreBundle\Entity\User',
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
namespace Wallabag\CoreBundle\Security\Validator;
|
namespace Wallabag\CoreBundle\Security\Validator;
|
||||||
|
|
||||||
use Symfony\Component\Security\Core\User\UserInterface;
|
use Symfony\Component\Security\Core\User\UserInterface;
|
||||||
use Symfony\Component\Security\Core\SecurityContextInterface;
|
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
|
||||||
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
|
use Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface;
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
use Symfony\Component\Validator\ConstraintValidator;
|
use Symfony\Component\Validator\ConstraintValidator;
|
||||||
|
@ -11,14 +11,17 @@ use Symfony\Component\Validator\Exception\ConstraintDefinitionException;
|
||||||
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
|
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
|
||||||
use Symfony\Component\Security\Core\Validator\Constraints\UserPassword;
|
use Symfony\Component\Security\Core\Validator\Constraints\UserPassword;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @see Symfony\Component\Security\Core\Validator\Constraints\UserPasswordValidator
|
||||||
|
*/
|
||||||
class WallabagUserPasswordValidator extends ConstraintValidator
|
class WallabagUserPasswordValidator extends ConstraintValidator
|
||||||
{
|
{
|
||||||
private $securityContext;
|
private $securityContext;
|
||||||
private $encoderFactory;
|
private $encoderFactory;
|
||||||
|
|
||||||
public function __construct(SecurityContextInterface $securityContext, EncoderFactoryInterface $encoderFactory)
|
public function __construct(TokenStorageInterface $tokenStorage, EncoderFactoryInterface $encoderFactory)
|
||||||
{
|
{
|
||||||
$this->securityContext = $securityContext;
|
$this->tokenStorage = $tokenStorage;
|
||||||
$this->encoderFactory = $encoderFactory;
|
$this->encoderFactory = $encoderFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,7 +34,7 @@ class WallabagUserPasswordValidator extends ConstraintValidator
|
||||||
throw new UnexpectedTypeException($constraint, __NAMESPACE__.'\UserPassword');
|
throw new UnexpectedTypeException($constraint, __NAMESPACE__.'\UserPassword');
|
||||||
}
|
}
|
||||||
|
|
||||||
$user = $this->securityContext->getToken()->getUser();
|
$user = $this->tokenStorage->getToken()->getUser();
|
||||||
|
|
||||||
if (!$user instanceof UserInterface) {
|
if (!$user instanceof UserInterface) {
|
||||||
throw new ConstraintDefinitionException('The User object must implement the UserInterface interface.');
|
throw new ConstraintDefinitionException('The User object must implement the UserInterface interface.');
|
||||||
|
|
|
@ -44,7 +44,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
|
||||||
$form = $crawler->filter('button[id=config_save]')->form();
|
$form = $crawler->filter('button[id=config_save]')->form();
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
'config[theme]' => 'baggy',
|
'config[theme]' => 0,
|
||||||
'config[items_per_page]' => '30',
|
'config[items_per_page]' => '30',
|
||||||
'config[language]' => 'fr_FR',
|
'config[language]' => 'fr_FR',
|
||||||
);
|
);
|
||||||
|
@ -63,12 +63,12 @@ class ConfigControllerTest extends WallabagCoreTestCase
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array(array(
|
array(array(
|
||||||
'config[theme]' => 'baggy',
|
'config[theme]' => 0,
|
||||||
'config[items_per_page]' => '',
|
'config[items_per_page]' => '',
|
||||||
'config[language]' => 'fr_FR',
|
'config[language]' => 'fr_FR',
|
||||||
)),
|
)),
|
||||||
array(array(
|
array(array(
|
||||||
'config[theme]' => 'baggy',
|
'config[theme]' => 0,
|
||||||
'config[items_per_page]' => '12',
|
'config[items_per_page]' => '12',
|
||||||
'config[language]' => '',
|
'config[language]' => '',
|
||||||
)),
|
)),
|
||||||
|
|
Loading…
Reference in a new issue