aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Controller/TagController.php
Commit message (Collapse)AuthorAgeFilesLines
* TagController: support merging labels when renaming one with label of anotherKevin Decherf2020-04-181-11/+16
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* TagController: prevent tag deletion when renaming a tag with the same labelKevin Decherf2020-04-181-6/+9
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* TagController: fix duplicated tags when renaming themKevin Decherf2020-04-181-1/+6
| | | | | | | | | | | | The fix relies on a workaround available on TagsAssigner, see the AssignTagsToEntry() signature for detail. I replaced the findOneByLabel in the corresponding test to assert that there is no duplicate. Fixes #4216 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Update depsJeremy Benoist2019-11-121-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also CS (because cs-fixer got an update) Package operations: 0 installs, 26 updates, 0 removals - Updating twig/twig (v2.12.1 => v2.12.2) - Updating symfony/symfony (v3.4.33 => v3.4.34) - Updating doctrine/event-manager (v1.0.0 => 1.1.0) - Updating doctrine/collections (v1.6.2 => 1.6.3) - Updating doctrine/cache (v1.8.1 => 1.9.0) - Updating doctrine/persistence (1.1.1 => 1.2.0) - Updating doctrine/inflector (v1.3.0 => 1.3.1) - Updating symfony/mime (v4.3.5 => v4.3.7) - Updating swiftmailer/swiftmailer (v6.2.1 => v6.2.3) - Updating symfony/swiftmailer-bundle (v3.3.0 => v3.3.1) - Updating doctrine/dbal (v2.9.2 => v2.9.3) - Updating doctrine/instantiator (1.2.0 => 1.3.0) - Updating j0k3r/graby-site-config (1.0.93 => 1.0.94) - Updating phpoption/phpoption (1.5.0 => 1.5.2) - Updating symfony/http-client-contracts (v1.1.7 => v1.1.8) - Updating symfony/http-client (v4.3.5 => v4.3.7) - Updating sensiolabs/security-checker (v6.0.2 => v6.0.3) - Updating paragonie/constant_time_encoding (v2.2.3 => v2.3.0) - Updating scheb/two-factor-bundle (v4.7.1 => v4.8.0) - Updating symfony/phpunit-bridge (v4.3.6 => v4.3.7) - Updating composer/xdebug-handler (1.3.3 => 1.4.0) - Updating friendsofphp/php-cs-fixer (v2.15.3 => v2.16.0) - Updating doctrine/data-fixtures (v1.3.2 => 1.3.3) - Updating nette/schema (v1.0.0 => v1.0.1) - Updating nikic/php-parser (v4.2.4 => v4.3.0) - Updating sentry/sentry (2.2.2 => 2.2.4)
* Remove link when there are no untagged articlesJeremy Benoist2019-06-061-2/+2
|
* Fix typo & CSJeremy Benoist2019-06-051-1/+1
|
* Show untagged entries count on tag listKevin Decherf2019-06-051-0/+3
| | | | | | Closes #3235 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Merge pull request #3574 from shulard/feature/rename-tagsJérémy Benoist2018-10-151-0/+51
|\ | | | | Allow to rename tags from the web interface.
| * Add RenameForm as tag list view parameters.Stéphane HULARD2018-09-251-0/+6
| | | | | | | | | | This will help handling the CSRF protection token and use symfony HTML generation layer. Also a FormView instance is generated for each tag because we need to render a form for each tag and FormView are not reusable.
| * Create a new Tag action to rename tags.Stéphane HULARD2018-09-251-0/+45
| | | | | | | | The current tag is removed from all the current logged user entries. Then the new one is created and attached.
* | Jump to Symfony 3.4Jeremy Benoist2018-10-041-1/+1
|/ | | | | | | Thanks to the BC compatibility, almost nothing have to be changed. All changes are related to new bundle version of: - SensioFrameworkExtraBundle - DoctrineFixturesBundle
* php-cs-fixerKevin Decherf2018-09-051-1/+1
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* CSJeremy Benoist2017-10-091-1/+1
|
* Reduce number of queries on tag listNicolas Hart2017-08-061-19/+2
|
* Add a real configuration for CS-FixerJeremy Benoist2017-07-011-1/+1
|
* Add all entries RSS feed and put links on tag page itself and baggy tooThomas Citharel2017-06-211-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* User existing service instead of getDoctrineJeremy Benoist2017-06-211-8/+10
|
* Page parameter was never used in the functionJeremy Benoist2017-06-011-2/+1
| | | | | It could have been used if we set the current page inside PreparePagerForEntries. But we did that in each controller because we can have an OutOfRangeCurrentPageException
* TagController: ignore ActionMarkAsRead when removing tag from entryKevin Decherf2017-05-311-1/+1
| | | | | | Fixes #2835 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Move Tags assigner to a separate fileThomas Citharel2017-05-271-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Fixed export by tags with a tag which contains spaceNicolas Lœuillet2016-12-271-1/+1
|
* Fix tests & deprecation noticeJeremy Benoist2016-12-151-1/+1
|
* Merge remote-tracking branch 'origin/master' into 2.2Jeremy Benoist2016-11-031-0/+1
|\
| * Added tag label in the page titleNicolas Lœuillet2016-10-261-0/+1
| | | | | | | | Fix #2472
* | Use statements & update translationJeremy Benoist2016-10-221-5/+5
|/
* Optimize the way tag list is renderedJeremy Benoist2016-10-091-2/+17
| | | | | | Instead of retrieve all informations about entries of a tag to just count them, we’ll count them before with a fastest query. Also change the layout of the tag list in material design
* Ensure orphan tag are remove in APIJeremy Benoist2016-10-071-2/+4
| | | | | | When the association between a tag and an entry is removed, if the tag doesn’t have other entries, we can remove it. Also add more tests for that part and ensure TagControllerTest is isolated from the rest of the test suite (finally!)
* CSJeremy Benoist2016-09-251-1/+1
|
* Fix tags count in menuJeremy Benoist2016-09-251-18/+10
| | | | Move enable cache for Tag in the Entity because function `find*` should return result and not a Query
* Added tags counter in sidebar (material theme)Nicolas Lœuillet2016-09-041-1/+3
|
* Add tests for tag list routesNicolas Lœuillet2016-08-231-1/+5
|
* Links on each tag in Tags viewNicolas Lœuillet2016-08-231-0/+40
|
* Fix tags listingNicolas Lœuillet2016-05-021-1/+1
| | | | | Fix #1994 * Remove unused method in tag repository
* Redirect to homepage if referer is nullNicolas Lœuillet2016-04-151-1/+3
| | | | Fix #1924
* Convert array + phpDocJeremy Benoist2016-04-121-5/+6
| | | | Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
* Simplify tag creation from entryJeremy Benoist2016-03-271-20/+6
| | | | | Testing that a tag exist or is assigned to the current entry isn't important in the tag controler since the `assignTagsToEntry` is already doing that job. So it simplify the controller.
* Split tags with commas from UINicolas Loeuillet2016-03-211-2/+8
|
* Add flashes messagesJeremy Benoist2016-03-201-1/+1
|
* remove tag from entry #1377Thomas Citharel2016-02-101-0/+20
|
* Update bundle & stock fileJeremy Benoist2016-01-151-1/+1
| | | | | | - update stock file (AppKernel, app.php, etc ..) from SymfonyStandard edition) - update bundle to latest release - remove security on profiler
* Symfony Upgrade Fixer FTWJeremy Benoist2016-01-151-2/+2
| | | | symfony-upgrade-fixer fix src/Wallabag/
* Remove user reference in tagJeremy Benoist2015-12-291-7/+5
| | | | Fix #1543
* assign tags to an entryNicolas Lœuillet2015-08-221-0/+50
|
* CSJeremy Benoist2015-08-201-2/+1
| | | | We shouldn't forget to run `php-cs-fixer` time to time
* unit testNicolas Lœuillet2015-08-071-2/+0
|
* Add tags list displayNicolas Lœuillet2015-08-071-0/+33