Jeremy Benoist [Wed, 20 Jan 2016 16:43:10 +0000 (17:43 +0100)]
Update HTML 2FA template
Split paragraph in translation
Inject wallabag_url for image in HTML template
Remove username & password from config_dev.yml (null are already the default value)
Jeremy Benoist [Thu, 21 Jan 2016 07:59:58 +0000 (08:59 +0100)]
Disable xdebug all the time
Use travis_wait to avoid travis timeout on `composer up`
Jump to `memory_limit -1` for `composer up`
Also, since composer.lock is ignored, we can remove it.
Jeremy Benoist [Sun, 17 Jan 2016 11:52:30 +0000 (12:52 +0100)]
Use translator interface instead of final class
Symfony use a different class when in dev mode and prod mode.
Prod loads `Symfony\Bundle\FrameworkBundle\Translation\Translator`.
Dev loads `Symfony\Component\Translation\DataCollectorTranslator` to gather information for the debug bar.
Jeremy Benoist [Sat, 9 Jan 2016 17:38:40 +0000 (18:38 +0100)]
Fix recent update
- some missing url parameters from WallabagRestController & EntryController
- use a service for `EntryFilterType` to use fully qualified name instead (so changing class signature)
- update ImportBundle (url & form)
Jeremy Benoist [Tue, 22 Dec 2015 08:34:32 +0000 (09:34 +0100)]
Improve composer.json
Following great article from Jordi: http://seld.be/notes/new-composer-patterns
Changelogs summary:
- paragonie/random_compat updated from 1.1.1 to 1.1.4
See changes: https://github.com/paragonie/random_compat/compare/1.1.1...1.1.4
Release notes: https://github.com/paragonie/random_compat/releases/tag/1.1.4
- doctrine/cache updated from v1.5.2 to v1.5.4
See changes: https://github.com/doctrine/cache/compare/v1.5.2...v1.5.4
Release notes: https://github.com/doctrine/cache/releases/tag/v1.5.4
- sensio/framework-extra-bundle updated from v3.0.11 to v3.0.12
See changes: https://github.com/sensiolabs/SensioFrameworkExtraBundle/compare/v3.0.11...v3.0.12
Release notes: https://github.com/sensiolabs/SensioFrameworkExtraBundle/releases/tag/v3.0.12
- nelmio/cors-bundle updated from 1.4.0 to 1.4.1
See changes: https://github.com/nelmio/NelmioCorsBundle/compare/1.4.0...1.4.1
Release notes: https://github.com/nelmio/NelmioCorsBundle/releases/tag/1.4.1
- friendsofsymfony/rest-bundle updated from 1.7.4 to 1.7.6
See changes: https://github.com/FriendsOfSymfony/FOSRestBundle/compare/1.7.4...1.7.6
Release notes: https://github.com/FriendsOfSymfony/FOSRestBundle/releases/tag/1.7.6
- nelmio/api-doc-bundle updated from 2.11.0 to 2.11.1
See changes: https://github.com/nelmio/NelmioApiDocBundle/compare/2.11.0...2.11.1
Release notes: https://github.com/nelmio/NelmioApiDocBundle/releases/tag/2.11.1
- neitanod/forceutf8 updated from v1.5 to v2.0
See changes: https://github.com/neitanod/forceutf8/compare/v1.5...v2.0
Release notes: https://github.com/neitanod/forceutf8/releases/tag/v2.0
- j0k3r/graby-site-config updated from 1.0.9 to 1.0.10
See changes: https://github.com/j0k3r/graby-site-config/compare/1.0.9...1.0.10
Release notes: https://github.com/j0k3r/graby-site-config/releases/tag/1.0.10
- j0k3r/graby updated from 1.0.6 to 1.0.7
See changes: https://github.com/j0k3r/graby/compare/1.0.6...1.0.7
Release notes: https://github.com/j0k3r/graby/releases/tag/1.0.7
- sebastian/diff updated from 1.4.0 to 1.4.1
See changes: https://github.com/sebastianbergmann/diff/compare/1.4.0...1.4.1
Release notes: https://github.com/sebastianbergmann/diff/releases/tag/1.4.1
- phpunit/phpunit updated from 4.8.19 to 4.8.21
See changes: https://github.com/sebastianbergmann/phpunit/compare/4.8.19...4.8.21
Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/4.8.21
- kphoen/rulerz updated from 0.16.1 to 0.16.2
See changes: https://github.com/K-Phoen/rulerz/compare/0.16.1...0.16.2
Release notes: https://github.com/K-Phoen/rulerz/releases/tag/0.16.2
Jeremy Benoist [Sun, 6 Dec 2015 13:39:01 +0000 (14:39 +0100)]
Update deps
Changelogs summary:
- doctrine/cache updated from v1.5.1 to v1.5.2
See changes: https://github.com/doctrine/cache/compare/v1.5.1...v1.5.2
Release notes: https://github.com/doctrine/cache/releases/tag/v1.5.2
- doctrine/common updated from v2.5.1 to v2.5.2
See changes: https://github.com/doctrine/common/compare/v2.5.1...v2.5.2
Release notes: https://github.com/doctrine/common/releases/tag/v2.5.2
- symfony/polyfill-mbstring installed in version v1.0.0
Release notes: https://github.com/symfony/polyfill-mbstring/releases/tag/v1.0.0
- symfony/polyfill-util installed in version v1.0.0
Release notes: https://github.com/symfony/polyfill-util/releases/tag/v1.0.0
- paragonie/random_compat installed in version 1.1.1
Release notes: https://github.com/paragonie/random_compat/releases/tag/1.1.1
- symfony/polyfill-php70 installed in version v1.0.0
Release notes: https://github.com/symfony/polyfill-php70/releases/tag/v1.0.0
- symfony/polyfill-php56 installed in version v1.0.0
Release notes: https://github.com/symfony/polyfill-php56/releases/tag/v1.0.0
- ircmaxell/password-compat installed in version v1.0.4
Release notes: https://github.com/ircmaxell/password_compat/releases/tag/v1.0.4
- symfony/polyfill-php55 installed in version v1.0.0
Release notes: https://github.com/symfony/polyfill-php55/releases/tag/v1.0.0
- symfony/polyfill-php54 installed in version v1.0.0
Release notes: https://github.com/symfony/polyfill-php54/releases/tag/v1.0.0
- symfony/polyfill-intl-icu installed in version v1.0.0
Release notes: https://github.com/symfony/polyfill-intl-icu/releases/tag/v1.0.0
- symfony/symfony updated from v2.7.7 to v2.8.0
See changes: https://github.com/symfony/symfony/compare/v2.7.7...v2.8.0
Release notes: https://github.com/symfony/symfony/releases/tag/v2.8.0
- symfony/security-acl installed in version v2.7.7
Release notes: https://github.com/symfony/security-acl/releases/tag/v2.7.7
- doctrine/orm updated from v2.5.1 to v2.5.2
See changes: https://github.com/doctrine/doctrine2/compare/v2.5.1...v2.5.2
Release notes: https://github.com/doctrine/doctrine2/releases/tag/v2.5.2
- kriswallsmith/assetic updated from v1.3.1 to v1.3.2
See changes: https://github.com/kriswallsmith/assetic/compare/v1.3.1...v1.3.2
Release notes: https://github.com/kriswallsmith/assetic/releases/tag/v1.3.2
- symfony/assetic-bundle updated from v2.7.0 to v2.7.1
See changes: https://github.com/symfony/assetic-bundle/compare/v2.7.0...v2.7.1
Release notes: https://github.com/symfony/assetic-bundle/releases/tag/v2.7.1
- symfony/swiftmailer-bundle updated from v2.3.8 to v2.3.9
See changes: https://github.com/symfony/swiftmailer-bundle/compare/v2.3.8...v2.3.9
Release notes: https://github.com/symfony/swiftmailer-bundle/releases/tag/v2.3.9
- symfony/monolog-bundle updated from 2.8.1 to v2.8.2
See changes: https://github.com/symfony/monolog-bundle/compare/2.8.1...v2.8.2
Release notes: https://github.com/symfony/monolog-bundle/releases/tag/v2.8.2
- sensio/distribution-bundle updated from v3.0.33 to v3.0.34
See changes: https://github.com/sensiolabs/SensioDistributionBundle/compare/v3.0.33...v3.0.34
Release notes: https://github.com/sensiolabs/SensioDistributionBundle/releases/tag/v3.0.34
- friendsofsymfony/rest-bundle updated from 1.7.2 to 1.7.4
See changes: https://github.com/FriendsOfSymfony/FOSRestBundle/compare/1.7.2...1.7.4
Release notes: https://github.com/FriendsOfSymfony/FOSRestBundle/releases/tag/1.7.4
- nelmio/api-doc-bundle updated from 2.10.3 to 2.11.0
See changes: https://github.com/nelmio/NelmioApiDocBundle/compare/2.10.3...2.11.0
Release notes: https://github.com/nelmio/NelmioApiDocBundle/releases/tag/2.11.0
- j0k3r/graby-site-config updated from 1.0.6 to 1.0.9
See changes: https://github.com/j0k3r/graby-site-config/compare/1.0.6...1.0.9
Release notes: https://github.com/j0k3r/graby-site-config/releases/tag/1.0.9
- j0k3r/safecurl updated from v1.1.1 to 2.0.2
See changes: https://github.com/j0k3r/safecurl/compare/v1.1.1...2.0.2
Release notes: https://github.com/j0k3r/safecurl/releases/tag/2.0.2
- j0k3r/graby updated from 1.0.4 to 1.0.6
See changes: https://github.com/j0k3r/graby/compare/1.0.4...1.0.6
Release notes: https://github.com/j0k3r/graby/releases/tag/1.0.6
- scheb/two-factor-bundle updated from v1.4.7 to v1.5.0
See changes: https://github.com/scheb/two-factor-bundle/compare/v1.4.7...v1.5.0
Release notes: https://github.com/scheb/two-factor-bundle/releases/tag/v1.5.0
- sebastian/recursion-context updated from 1.0.1 to 1.0.2
See changes: https://github.com/sebastianbergmann/recursion-context/compare/1.0.1...1.0.2
Release notes: https://github.com/sebastianbergmann/recursion-context/releases/tag/1.0.2
- sebastian/environment updated from 1.3.2 to 1.3.3
See changes: https://github.com/sebastianbergmann/environment/compare/1.3.2...1.3.3
Release notes: https://github.com/sebastianbergmann/environment/releases/tag/1.3.3
- sebastian/diff updated from 1.3.0 to 1.4.0
See changes: https://github.com/sebastianbergmann/diff/compare/1.3.0...1.4.0
Release notes: https://github.com/sebastianbergmann/diff/releases/tag/1.4.0
- phpunit/phpunit updated from 4.8.18 to 4.8.19
See changes: https://github.com/sebastianbergmann/phpunit/compare/4.8.18...4.8.19
Release notes: https://github.com/sebastianbergmann/phpunit/releases/tag/4.8.19
- symfony/phpunit-bridge updated from v2.7.7 to v2.8.0
See changes: https://github.com/symfony/phpunit-bridge/compare/v2.7.7...v2.8.0
Release notes: https://github.com/symfony/phpunit-bridge/releases/tag/v2.8.0
- doctrine/doctrine-cache-bundle updated from 1.2.1 to 1.2.2
See changes: https://github.com/doctrine/DoctrineCacheBundle/compare/1.2.1...1.2.2
Release notes: https://github.com/doctrine/DoctrineCacheBundle/releases/tag/1.2.2
- doctrine/doctrine-bundle updated from v1.5.2 to 1.6.1
See changes: https://github.com/doctrine/DoctrineBundle/compare/v1.5.2...1.6.1
Release notes: https://github.com/doctrine/DoctrineBundle/releases/tag/1.6.1
- phpzip/phpzip updated from 2.0.7 to 2.0.8
See changes: https://github.com/Grandt/PHPZip/compare/2.0.7...2.0.8
Release notes: https://github.com/Grandt/PHPZip/releases/tag/2.0.8
- kphoen/rulerz updated from 0.14.0 to 0.16.1
See changes: https://github.com/K-Phoen/rulerz/compare/0.14.0...0.16.1
Release notes: https://github.com/K-Phoen/rulerz/releases/tag/0.16.1
- friendsofsymfony/user-bundle updated from dev-master to dev-master
See changes: https://github.com/FriendsOfSymfony/FOSUserBundle/compare/45d6f40...e39b040
Jeremy Benoist [Sat, 9 Jan 2016 13:24:09 +0000 (14:24 +0100)]
Update deps
Changelogs summary:
- doctrine/dbal updated from v2.5.3 to v2.5.4
See changes: https://github.com/doctrine/dbal/compare/v2.5.3...v2.5.4
Release notes: https://github.com/doctrine/dbal/releases/tag/v2.5.4
- doctrine/orm updated from v2.5.3 to v2.5.4
See changes: https://github.com/doctrine/doctrine2/compare/v2.5.3...v2.5.4
Release notes: https://github.com/doctrine/doctrine2/releases/tag/v2.5.4
- nelmio/api-doc-bundle updated from 2.11.1 to 2.11.2
See changes: https://github.com/nelmio/NelmioApiDocBundle/compare/2.11.1...2.11.2
Release notes: https://github.com/nelmio/NelmioApiDocBundle/releases/tag/2.11.2
- friendsofsymfony/user-bundle updated from dev-master to dev-master
See changes: https://github.com/FriendsOfSymfony/FOSUserBundle/compare/e5e7a2b...6ccff96
Jeremy Benoist [Thu, 31 Dec 2015 10:24:46 +0000 (11:24 +0100)]
Add tagged services for import
- list services in /import
- add url to import service
- ImportBundle routing are now prefixed by /import
- optimize flush in each import (flushing each 20 contents)
- improve design of each import
- add more tests
Jeremy Benoist [Wed, 30 Dec 2015 11:23:51 +0000 (12:23 +0100)]
Rewrote Pocket Import
For the moment, we won't do a queue system, just a plain synchronous import.
We also use ContentProxy to grab content for each article from Pocket.
Error from Pocket are now logged using the logger.
The ImportInterface need to be simple and not related to oAuth (not all import will use that method).