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 😬
2018-11-07 15:53:14 -05:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
c738dc7d3e
remove some more parseInts
2018-10-22 21:58:34 -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
Baris Usakli
a500e0019c
closes #6005
2017-10-30 15:26:17 -04:00
Barış Soner Uşaklı
67ca1881bd
closes #5831
2017-07-15 16:24:46 -04:00
Peter Jaszkowiak
3c2d4fe649
Switch from underscore to lodash
2017-05-27 14:51:45 -06:00
Barış Soner Uşaklı
f1b8492164
remove unnecessary checks
2017-05-27 00:30:07 -04:00
Barış Soner Uşaklı
f57b5f4e4c
refactor
2017-05-24 15:07:13 -04:00
Peter Jaszkowiak
0fe10f5e86
Escape topic titles at the source, deduplicate
2017-04-15 01:38:42 -06:00
Peter Jaszkowiak
1fb48ef7a7
Fix #5592 ( #5593 )
...
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents
* Fix tests
2017-04-13 21:37:54 +03:00
Peter Jaszkowiak
8119b8c4ae
filter:teasers.get provided with uid
2017-04-03 14:40:03 -07:00
Peter Jaszkowiak
93f38d4f30
ESlint no-multi-assign
...
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
2017-02-18 18:06:28 -07:00
Peter Jaszkowiak
57f89663aa
ESlint radix
2017-02-18 14:29:52 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
52f2028206
ESlint no-multiple-empty-lines
2017-02-17 22:08:23 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
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
2016-10-11 16:06:47 +03:00
barisusakli
a6c3be0bb1
store category recent tids for faster retrieval
2016-09-22 18:21:54 +03:00
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
2016-08-27 15:45:15 +03:00
barisusakli
fa9f1ac7fe
fix dependency errors
2016-08-27 01:52:08 +03:00
barisusakli
56c4e13316
another dependency fix and test
2016-08-26 19:33:16 +03:00
barisusakli
b2311edb94
bubble replies from subcategories to the parents
2016-06-06 17:36:51 +03:00
barisusakli
38d1bde895
closes #4669
2016-05-23 11:39:35 +03:00
barisusakli
5e5e46e95f
closes #4499
2016-04-29 20:35:57 +03:00
Julian Lam
5f36bfab01
re: #4578
2016-04-28 14:18:19 -04:00
Julian Lam
de9357970f
fixes #4578
2016-04-28 14:10:10 -04:00
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)
2016-04-28 11:52:05 -04:00
barisusakli
b0151502c2
use '-inf'/'+inf'
2016-03-11 14:20:23 +02:00
barisusakli
fddc6157a3
fix return of getRecentTopicReplies
2016-01-10 10:59:04 +02:00
barisusakli
53d29e29af
performance improvements
...
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
2015-10-18 18:30:17 -04:00
barisusakli
49afe544e1
recursive #3227
2015-08-20 14:23:29 -04:00
barisusakli
7db41275a3
closes #3227
2015-08-19 15:53:37 -04:00
barisusakli
072d287183
closes #3311
2015-07-10 16:43:31 -04:00
EvSpirit
2ea840e65d
#2886 Check subcategories when showing category recent topics
2015-03-24 21:58:35 +03:00
EvSpirit
0fcd4dee58
#2886 Check subcategories when showing category recent topics
2015-03-24 21:39:28 +03:00
barisusakli
39a75ea2d7
fix recent replies
2015-02-04 15:49:08 -05:00
Baris Usakli
a36391864a
fix recent replies crash, closes #2575
2015-01-04 11:42:39 -05:00
barisusakli
15c2b124e3
recent replies needs stripTags true
...
changed [self] to _
2014-11-19 14:13:00 -05:00
barisusakli
21459fff84
use getPostsFromSet for recent replies
2014-11-19 11:02:28 -05:00
barisusakli
52c12fa1b1
use wrapper functions getPostsFields and getTopicsFields
2014-11-14 20:19:14 -05:00
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
2014-11-14 19:52:25 -05:00
Julian Lam
9debfd94ec
removed the hook I just added: filter:category.recent, was a bit misleading.
2014-11-14 17:42:33 -05:00
Julian Lam
20ea40133b
added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter
2014-11-14 17:31:44 -05:00
barisusakli
485827db84
check count before privileges
2014-11-14 16:22:05 -05:00
barisusakli
6a3a3669d2
check privs on getRecentReplies and getRecentTopicReplies
2014-11-14 16:20:40 -05:00
barisusakli
7823416410
err check, assignPostsToCategory is sync
2014-11-08 23:22:10 -05:00
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
2014-11-07 19:40:41 -05:00