Commit graph

57 commits

Author SHA1 Message Date
Thomas Citharel e686a76d34 improve test and change method name. Also, display number of entries for each tag 2016-02-10 18:40:15 +01:00
Thomas Citharel 567421af50 remove tag from entry #1377 2016-02-10 17:41:28 +01:00
Jeremy Benoist e678c4752a 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.

Fix #1585
2016-01-17 12:56:04 +01:00
Jeremy Benoist 7883367246 Fix findOneByUrl side effect in tests
Fix #1566
2016-01-15 15:28:32 +01:00
Nicolas Lœuillet 5c072d2b57 Quickstart for beginners 2016-01-15 15:01:30 +01:00
Jeremy Benoist b4b592a0c0 Fix the way to check for an existing entry
Instead of requiring more than 1 entry (> 1) we have to check for at least one entry (> 0)
2016-01-02 23:27:41 +01:00
Jeremy Benoist 5a4bbcc9a7 Change the way to check for an existing entry
The repository method return the entry found or false if nothing exists.
2016-01-02 23:27:41 +01:00
Nicolas Lœuillet 303768dfe9 - remove importers configuration
- add check on userId for findOneByURL for entries
2016-01-02 23:27:41 +01:00
Jeremy Benoist 6be9750155 Removed comment
And move the SQL query inside the php doc
2015-12-29 21:59:34 +01:00
Jeremy Benoist 4059a061c0 Fix the way to remove a tag from all user entries 2015-12-29 15:43:32 +01:00
Jeremy Benoist fc73222723 Remove user reference in tag
Fix #1543
2015-12-29 14:50:52 +01:00
Kévin Gomez 9cbb404b4a Add missing tagging rule repository 2015-11-11 16:23:49 +01:00
Nicolas Lœuillet 1210dae105 remove old implementation for login/register/recover 2015-10-03 13:31:48 +02:00
Nicolas Lœuillet cfb28c9da0 french translation 2015-10-01 09:26:52 +02:00
Jeremy Benoist 02d17813a1 Fix tests for all 2015-09-28 20:26:37 +02:00
Jeremy Benoist 159986c4fb Fix Postgres tests 2015-09-28 19:35:55 +02:00
Jeremy Benoist d4ebe5c5dc Entries filter on language
+ updated deps
2015-09-23 07:55:55 +02:00
Jeremy Benoist ec00964de2 Merge pull request #1372 from wallabag/v2-assign-tags
assign tags to an entry
2015-08-22 12:56:42 +02:00
Nicolas Lœuillet 7244d6cb61 assign tags to an entry 2015-08-22 12:40:48 +02:00
Nicolas Lœuillet 2b7a488917 filters: adapt queryBuilder for 'all' view 2015-08-21 07:38:18 +02:00
Jeremy Benoist 0ab7404f93 Refactorize the way to retrieve entries
One place to retrieve entries in Entry & Rss controller.
More simple and easy to maintain.
2015-08-20 20:39:22 +02:00
Jeremy Benoist 8ce32af612 CS
We shouldn't forget to run `php-cs-fixer` time to time
2015-08-20 07:53:55 +02:00
Nicolas Lœuillet 2686457448 store estimated reading time / filters on reading time 2015-08-12 09:01:29 +02:00
Nicolas Lœuillet 3f3fbef11f Add tags list display 2015-08-07 18:17:23 +02:00
Francois Gravelaine 9fb6ac830f Adds pagerfanta paginator everywhere, modifies article routing. Change API for is_starred and is_archived 2015-07-28 23:23:49 +02:00
Jeremy Benoist 4346a86068 CS 2015-05-30 13:59:33 +02:00
Jeremy 2385f891e5 Sort by id is faster
Since it's the primary key
2015-03-31 22:47:43 +02:00
Jeremy 0c83fd5994 Add rss for entries
will fix #1000
2015-03-31 22:47:43 +02:00
William Durand bcf53ab75b Return pager into EntryRepository (for entries only) 2015-03-06 21:11:01 +01:00
Nicolas Lœuillet 0ca374e6a1 replace Response with JsonResponse 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet d8f9f37ab2 remove debug lines 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet 092ca70725 add relation between user and tags, tests are broken 2015-03-06 21:09:15 +01:00
Nicolas Lœuillet a36737f485 POST entries/tags with test 2015-03-06 20:50:31 +01:00
Nicolas Lœuillet 46bbd8d321 relation between tags and entries 2015-03-06 20:50:31 +01:00
Nicolas Lœuillet 0a018fe039 add relation between entry and tag 2015-03-06 20:50:30 +01:00
Nicolas Lœuillet 6d37a7e6c1 remove dumb code 2015-03-06 20:50:30 +01:00
Nicolas Lœuillet b3dc0749d3 remove GET /tags/id 2015-03-06 20:50:30 +01:00
Nicolas Lœuillet 1d14779154 remove isDeleted flag 2015-03-06 20:50:30 +01:00
Nicolas Lœuillet 0f00688096 first draft of hypermedia implementation 2015-03-06 20:50:29 +01:00
Jeremy 4d85d7e9ba Implement simple config 2015-02-16 21:31:58 +01:00
Jeremy eb3bd7efb7 Add more tests on Entry controller
Also add more fixtures
2015-02-10 22:32:42 +01:00
Jeremy f59f45d740 Merge pull request #1069 from wallabag/v2-fix-return-entries
GET /api/entries returns object, no more array
2015-02-10 14:51:32 +01:00
Nicolas Lœuillet 017e20895f findEntries returns array 2015-02-10 13:53:00 +01:00
Nicolas Lœuillet 11204db45a change phpdoc 2015-02-10 12:14:09 +01:00
Nicolas Lœuillet eaf95758dc GET /api/entries returns object, no more array 2015-02-10 06:44:38 +01:00
Nicolas Lœuillet 2a94b1d1b7 log for authentication on API 2015-02-09 22:07:39 +01:00
Jeremy 3b815d2de5 Add some fixtures
Improve test, so user can login
Fix some leftJoin
Cleanup EntryController
2015-02-08 23:13:40 +01:00
Nicolas Lœuillet be463487cc rename Entries to Entry 2015-02-06 07:45:32 +01:00
Nicolas Lœuillet 905ae369bd normalize entries fields 2015-02-05 22:33:36 +01:00
Nicolas Lœuillet bc782eaa72 sort entries in repository 2015-02-05 07:54:04 +01:00