aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Repository/EntryRepository.php
Commit message (Collapse)AuthorAgeFilesLines
* Redirect to the current view instead of homepageadd-random-articleJeremy Benoist2018-10-121-17/+16
|
* Better random functionJeremy Benoist2018-10-121-9/+13
|
* Fix testsJeremy Benoist2018-10-121-0/+5
|
* Added random featureNicolas Lœuillet2018-10-111-4/+42
|
* Sort archive page by archived atJeremy Benoist2018-09-211-1/+1
|
* Code StyleSébastien Viande2018-09-211-1/+1
|
* Entry: add sort parameter archivedSébastien Viande2018-09-211-0/+2
|
* Add missing parametersJeremy Benoist2018-09-071-1/+1
| | | | Parameters weren’t passed to the sub function.
* php-cs-fixerKevin Decherf2018-09-051-7/+7
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* EntryRepository: refactor getBuilderForUntaggedByUserKevin Decherf2018-09-051-3/+16
| | | | | | | | | Improve SQL performance by replacing size(e.tags) with a left join and a null condition Move the QueryBuilder logic into getRawBuilderForUntaggedByUser Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* EntryRepository: refactor getBuilderByUserKevin Decherf2018-09-051-12/+38
| | | | | | | | | | | | We refactor getBuilderByUser to separate QueryBuilder getter and the orderBy(). The previous code of getBuilderByUser() has been moved to getSortedQueryBuilderByUser(). getBuildByUser() now returns a QueryBuilder without the call to orderBy(). A new method named sortQueryBuilder() returns a given QueryBuilder with an orderBy() call using given sort parameters. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* php-cs-fixerKevin Decherf2018-09-051-2/+2
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix #3361 check type for tags in entry repositorySébastien Viande2017-10-121-1/+1
| | | | Check is $tags is a string before explode
* Remove unused functionJeremy Benoist2017-09-061-20/+0
| | | | Introduce after the rebase I guess
* Fix testsJeremy Benoist2017-09-061-1/+1
|
* Multiple tag search was broken from APIJeremy Benoist2017-09-061-5/+40
| | | | | | | | | | First, the setParameter() were done on the same parameter which in fact just duplicated the condition in the SQL query (like `where t.label = 'test' and t.label = 'test'`. Changed the parameter doesn't help because the query was then wrong. Changing the way to match associated tags for an entry and it worked.
* Set a starred_at field when an entry is starred.François D2017-08-251-5/+6
| | | | | | | | This date is used to sort starred entries. Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated. Add an updateStar method into Entry class A migration script has been added in order to set starred_at field.
* rename getAllEntriesIdAndUrl into findAllEntriesIdAndUrlByUserIdNicolas Hart2017-08-221-1/+1
|
* rename getAllEntriesId into findAllEntriesIdByUserIdNicolas Hart2017-08-221-1/+1
|
* Add reload entry commandNicolas Hart2017-08-211-0/+17
|
* Reduce number of queries on tag listNicolas Hart2017-08-061-20/+0
|
* Fix some namespaces and phpdocNicolas Hart2017-07-291-4/+5
|
* Fix testsJeremy Benoist2017-07-031-2/+2
|
* Add a real configuration for CS-FixerJeremy Benoist2017-07-011-17/+17
|
* Add public filter/field in the APIJeremy Benoist2017-06-101-3/+8
| | | | | | Listing entries can now be filtered by “public”. Creating or patching an entry can now set is to public or remove the public. Entry response now include “is_public” boolean field
* Fixed @j0k3r reviewNicolas Lœuillet2017-05-051-3/+1
|
* Added test for deduplicationNicolas Lœuillet2017-05-051-0/+19
|
* Add Clean Duplicates CommandThomas Citharel2017-05-011-0/+13
|
* Allow to remove all archived entriesThomas Citharel2017-03-311-0/+8
| | | | | | Since we still support fucking SQLite, we need to retrieve all tags & annotations for archived entries before deleting them. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Rename method from *username to *userThomas Citharel2017-03-301-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Search by term: extend to entries urlKevin Decherf2017-02-161-1/+2
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Removed outputWalkers for RSS and APINicolas Lœuillet2016-12-151-1/+1
|
* Removed outputWalkers for paginationNicolas Lœuillet2016-12-151-3/+1
| | | | Due to overload, we disabled output walkers (see https://github.com/whiteoctober/Pagerfanta/issues/115
* Removed user join in query builderNicolas Lœuillet2016-12-121-2/+1
|
* Added testsNicolas Lœuillet2016-11-191-2/+1
|
* Added translations and currentRoute parameterNicolas Lœuillet2016-11-191-5/+17
|
* Added a simple search engineNicolas Lœuillet2016-11-191-0/+19
| | | | Fix #18
* Use created_at as default sortJeremy Benoist2016-11-041-1/+1
| | | | With index (following https://github.com/wallabag/wallabag/pull/2534)
* Use statements & update translationJeremy Benoist2016-10-221-1/+2
|
* CSJeremy Benoist2016-10-221-2/+2
|
* Add custom doctrine subscriber for SQLiteJeremy Benoist2016-10-221-0/+13
| | | | | | Since SQLite doesn’t handle cascade remove by default, we need to handle it manually. Also some refacto
* Optimize the way tag list is renderedJeremy Benoist2016-10-091-0/+20
| | | | | | 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
* Fix parameters in API _linksJeremy Benoist2016-10-021-1/+1
| | | | We forgot to pass them to the factory
* Avoid duplicate url with accentsJeremy Benoist2016-10-011-1/+1
|
* Remove useless variableNicolas Lœuillet2016-09-051-2/+0
|
* Added tags counter in sidebar (material theme)Nicolas Lœuillet2016-09-041-21/+0
|
* Merge pull request #2002 from wallabag/feature-display-itemsNumberJeremy Benoist2016-09-031-0/+24
|\ | | | | Feature display items number
| * Store cache lifetime in configNicolas Lœuillet2016-09-031-2/+9
| |
| * Enable cache for queriesNicolas Lœuillet2016-09-011-0/+17
| |
* | Add untagged entriesNicolas Lœuillet2016-08-281-0/+16
| | | | | | | | Fix #1631