81 Commits (45223cded6bda1195e5b6721356661d539125f0d)

Author SHA1 Message Date
Julian Lam 67b8cb8977 fix: restore uid in teasers userObj 6 years ago
Barış Soner Uşaklı a39f0ef592 fix: #5570, create per category user post zsets 6 years ago
Julian Lam 745a9589e9
Use topics:read privilege for topic filtering use cases (#7462)
* fix: use topics:read privilege for topic filtering use cases

* fix: tests

* fix: more broken tests
6 years ago
SweetPPro dab1a1d638 fix for null category (#7029) 6 years ago
Barış Soner Uşaklı 20abc7fc47 closes #6985 6 years ago
Barış Soner Uşaklı 157a7d1f0e prevent possible crash if category.posts is undefined 6 years ago
renovate[bot] 64b9dabff8 chore(deps): update dependency eslint-config-airbnb-base to v13 (#6599)
* chore(deps): update dependency eslint-config-airbnb-base to v13

* chore: #6599, linting 😬
6 years ago
Barış Soner Uşaklı f3a679e268 remove parseInts 6 years ago
Barış Soner Uşaklı c738dc7d3e remove some more parseInts 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Baris Usakli a500e0019c closes #6005 7 years ago
Barış Soner Uşaklı 67ca1881bd closes #5831 8 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı f1b8492164 remove unnecessary checks 8 years ago
Barış Soner Uşaklı f57b5f4e4c refactor 8 years ago
Peter Jaszkowiak 0fe10f5e86 Escape topic titles at the source, deduplicate 8 years ago
Peter Jaszkowiak 1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
8 years ago
Peter Jaszkowiak 8119b8c4ae `filter:teasers.get` provided with `uid` 8 years ago
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
8 years ago
Peter Jaszkowiak 57f89663aa ESlint radix 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli 038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
8 years ago
barisusakli a6c3be0bb1 store category recent tids for faster retrieval 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago
barisusakli fa9f1ac7fe fix dependency errors 9 years ago
barisusakli 56c4e13316 another dependency fix and test 9 years ago
barisusakli b2311edb94 bubble replies from subcategories to the parents 9 years ago
barisusakli 38d1bde895 closes #4669 9 years ago
barisusakli 5e5e46e95f closes #4499 9 years ago
Julian Lam 5f36bfab01 re: #4578 9 years ago
Julian Lam de9357970f fixes #4578 9 years ago
Julian Lam 8eaff1492a Added ACP option to customise recent post
Before, could either be OP or last reply.

Now, you can choose between OP, last reply, or last post (which
includes OP)
9 years ago
barisusakli b0151502c2 use '-inf'/'+inf' 9 years ago
barisusakli fddc6157a3 fix return of getRecentTopicReplies 9 years ago
barisusakli 53d29e29af performance improvements
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
9 years ago
barisusakli 49afe544e1 recursive #3227 10 years ago
barisusakli 7db41275a3 closes #3227 10 years ago
barisusakli 072d287183 closes #3311 10 years ago
EvSpirit 2ea840e65d #2886 Check subcategories when showing category recent topics 10 years ago
EvSpirit 0fcd4dee58 #2886 Check subcategories when showing category recent topics 10 years ago
barisusakli 39a75ea2d7 fix recent replies 10 years ago
Baris Usakli a36391864a fix recent replies crash, closes #2575 10 years ago
barisusakli 15c2b124e3 recent replies needs stripTags true
changed [self] to _
10 years ago
barisusakli 21459fff84 use getPostsFromSet for recent replies 10 years ago
barisusakli 52c12fa1b1 use wrapper functions getPostsFields and getTopicsFields 10 years ago
barisusakli 6b13a84d2f removed extra priv checks
-removed category check from recentreplies since pids are already
checked
-removed category check from topics/unread.js since topics are filtered
now
-added array checks to src/topics.js
10 years ago