29 Commits (217d3afd18b9a0139ef4caa698106619ee3f6fe2)

Author SHA1 Message Date
Peter Jaszkowiak dab3b23575 chore: eslint no-var, vars-on-top 4 years ago
Peter Jaszkowiak b56d9e12b5 chore: eslint prefer-arrow-callback 4 years ago
Peter Jaszkowiak 707b55b6a5 chore: eslint prefer-template 4 years ago
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
4 years ago
Barış Soner Uşaklı eb9704f85e feat: #8450, next/prev link tags on /unread /recent 5 years ago
Barış Soner Uşaklı b4a9bb10e5 fix: #7468 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı c7506d77b0 closes #6247 7 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
barisusakli 743a3fb442 fix test 8 years ago
barisusakli e7ced2457e clone query object 8 years ago
Peter Jaszkowiak 11cb3a9554 ESlint operator-assignment, block-scoped-var 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli d4638ffc15 fix test dont turn single pages into ... 8 years ago
Barış Soner Uşaklı dde32744b7 change pagination so its similar to GH 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
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`
9 years ago
barisusakli 2d96cdba1c closes #3720 9 years ago
barisusakli dd61bdb9c6 closes #3038 10 years ago
barisusakli 37a7ac5196 closes #3063 10 years ago
barisusakli e8afe329a9 pagination 10 years ago
barisusakli 38dd3d4281 search newer/older than and better pagination 10 years ago
barisusakli 5c0bcd7e5d proper qs, pagination on search results 10 years ago
barisusakli 98ff75b9c3 closes #2581 10 years ago