Commit Graph

26 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
a05905f196 performance improvements (#8795)
* perf: nconf/winston/render

cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests

* fix: copy paste fail

* refactor: style and fire hook only log in dev mode

* fix: cache key, header changes based on template

* perf: change replace

* fix: add missing await

* perf: category

* perf: lodash clone

* perf: remove escapeRegexChars
2020-10-26 10:43:18 -04:00
Barış Soner Uşaklı
eb9704f85e feat: #8450, next/prev link tags on /unread /recent 2020-06-30 11:34:32 -04:00
Barış Soner Uşaklı
b4a9bb10e5 fix: #7468 2019-03-19 11:29:16 -04:00
Barış Soner Uşaklı
26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Barış Soner Uşaklı
c7506d77b0 closes #6247 2018-01-26 18:56:17 -05:00
Peter Jaszkowiak
3c2d4fe649 Switch from underscore to lodash 2017-05-27 14:51:45 -06:00
barisusakli
743a3fb442 fix test 2017-03-07 20:58:43 +03:00
barisusakli
e7ced2457e clone query object 2017-03-07 20:26:49 +03:00
Peter Jaszkowiak
11cb3a9554 ESlint operator-assignment, block-scoped-var 2017-02-18 14:20:58 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
barisusakli
d4638ffc15 fix test dont turn single pages into ... 2016-11-24 22:56:42 +03:00
Barış Soner Uşaklı
dde32744b7 change pagination so its similar to GH 2016-11-24 22:38:30 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
barisusakli
6e0a36909d fix pagination after jquery 3.0 update
cache: false in $.ajax breaks the query string by adding _=timestamp

the url results in `page.com/category/2/slug&page=2?_=timestamp`
2016-08-29 19:08:48 +03:00
barisusakli
2d96cdba1c closes #3720 2015-10-07 16:13:42 -04:00
barisusakli
dd61bdb9c6 closes #3038 2015-04-22 13:47:41 -04:00
barisusakli
37a7ac5196 closes #3063 2015-04-19 18:45:16 -04:00
barisusakli
e8afe329a9 pagination 2015-04-17 23:07:18 -04:00
barisusakli
38dd3d4281 search newer/older than and better pagination 2015-02-06 19:47:27 -05:00
barisusakli
5c0bcd7e5d proper qs, pagination on search results 2015-02-05 18:02:30 -05:00
barisusakli
98ff75b9c3 closes #2581 2015-01-28 13:46:11 -05:00