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).
Jeremy Benoist [Tue, 29 Dec 2015 14:04:46 +0000 (15:04 +0100)]
Cleanup tests
- WallabagRestController: remove the tag deletion from the API since we can't remove a tag now, we only remove reference to entries
- RuleBasedTaggerTest: remove workaround for asserting tag are equal since problem was related to mock expects (_call instead of findOneByLabel which was removed from the tag repository)
Jeremy Benoist [Sun, 27 Dec 2015 20:28:48 +0000 (21:28 +0100)]
Don't redirect to the content page after deletion
Fix #1512
We generate the url of the removed content and compare it to the referer url. If they matche, we redirect user to the homepage otherwise to the referer url.
Jeremy Benoist [Sun, 27 Dec 2015 21:26:49 +0000 (22:26 +0100)]
Avoid multiple tag creation
When a new tag is created but not yet persisted, it can be duplicated.
It could happen when multiple rules match the content and at least 2 of them should attach same new tag.
Mathieu Bruyen [Thu, 26 Nov 2015 08:20:23 +0000 (09:20 +0100)]
SMTP configuration through environment
Configuring SMTP parameters required to be written in files which is not
convenient when using docker containers as the credentials need to be in
the filesystem.
Created environment parameters override for those parameters. A new build
script created in order to generate those parameters right before
launching the application.