Commit graph

17 commits

Author SHA1 Message Date
Nicolas Lœuillet 5173fd1c3d
Returned 0 instead of returning empty array for Twig Extension 2016-09-05 14:17:44 +02:00
Nicolas Lœuillet 13d9f7c96c
Switched enableCache visibility to private 2016-09-04 21:06:52 +02:00
Nicolas Lœuillet 429d86f388
Added tags counter in sidebar (material theme) 2016-09-04 20:53:28 +02:00
Jeremy Benoist 234ad94453
CS 2016-09-03 19:26:23 +02:00
Jeremy Benoist 59ddb9ae99
Remove Twig globals
Twig Global function are called globally. This means even on a query to the api.

Using a function we can decide when we want to call it.

Also, remove previous `COUNT(e.id)` since it doesn't work on PostgreSQL ...
2016-09-03 19:09:28 +02:00
Jeremy Benoist 543da3e0b7
Instead of selecting the whole data, just count it
Instead of performing a complex select (to retrieve all data for entry, etc...) just select the counter and retrieve it.

Down from ~50ms to ~30ms on the unread page (with 500 items)
2016-09-03 18:11:07 +02:00
Nicolas Lœuillet 0b0233b1ec
Enable cache for queries 2016-09-01 20:20:12 +02:00
Nicolas Lœuillet f997ae6afb
Implement Twig_Extension_GlobalsInterface to remove deprecation 2016-08-23 07:47:55 +02:00
Nicolas Lœuillet 8315130a75
Display entries number for each category 2016-08-23 07:47:55 +02:00
Jeremy Benoist 4094ea4771 Convert array + phpDoc
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
2016-04-12 12:25:29 +02:00
Nicolas Lœuillet cfb28c9da0 french translation 2015-10-01 09:26:52 +02:00
Nicolas Lœuillet 72fcaf8a6c remove www. on entries view 2015-09-29 22:59:44 +02:00
Nicolas Lœuillet c2257428b2 store domainName in database 2015-08-12 21:16:00 +02:00
Nicolas Lœuillet 2686457448 store estimated reading time / filters on reading time 2015-08-12 09:01:29 +02:00
Jeremy Benoist 4346a86068 CS 2015-05-30 13:59:33 +02:00
Jeremy 7df80cb32c CS 2015-01-31 19:12:49 +01:00
Nicolas Lœuillet ad4d1caa9e move WallabagBundle into Wallabag:CoreBundle 2015-01-23 16:28:37 +01:00