Barış Soner Uşaklı
263c918088
feat: remove uid:<uid>:ignored:cids ( #7099 )
...
use cid:<cid>:ignorers instead
2018-12-12 11:15:34 -05:00
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
2018-11-30 13:38:59 -05:00
Barış Soner Uşaklı
b8c08a5417
dont call db for guests
2018-11-22 22:21:03 -05:00
Barış Soner Uşaklı
e17c4b2766
uid fixes
2018-11-17 22:31:39 -05:00
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ı
9c022afae1
Parse int ( #6853 )
...
* Store config fields as JSON in the db
Fewer parseInts
* Remove unnecessary parseInts
* remove some dupe code add tests
* remove console.log
* remove more parseInts
* WIP: read meta.configs defaults from defaults.json
remove more parseInts
* more work
* add log for failing test
* update admin pwd
* fix tests, dont require posts/cache before configs are initialized
* handle saves
* Test boolean conditions
* remove more parseInts
* Fix boolean values
* remove lots more parseInts
* removed json parsing
* renamed var to number
* categories dont have timestamp
2018-10-21 16:47:51 -04:00
Barış Soner Uşaklı
c06480b82e
add tests for blocked users teaser/unread
2018-10-15 11:09:57 -04:00
Barış Soner Uşaklı
4b970a1072
use lodash, load 3 posts per iteration
2018-09-27 09:52:56 -04:00
Barış Soner Uşaklı
1590452697
filter topics you cant read @benlubar
2018-09-25 11:14:25 -04:00
Barış Soner Uşaklı
cf75c79611
Unread changes closes #6781 ( #6783 )
...
* WIP
* more unread work
* faster teaser block handling
if user doesn't have anyone blocked don't check
* much faster filtering of blocked posts
* add missing uid
* add tidsByFilter to return
* dont load all pids to find previous non-blocked teaser
* fix unread filters
they no longer use unread/new unread/watched etc they are query strings now
* shorter nav item code
* add unreplied to filters
fix icons not clearing to 0
dont increment unread counters if there is a reply in a topic where you ignored the topic creator
2018-09-24 12:58:59 -04:00
Barış Soner Uşaklı
17ce482c9f
closes #6780
2018-09-22 01:28:13 -04:00
Barış Soner Uşaklı
08dfb3470c
fix tests
2018-09-14 18:00:52 -04:00
Barış Soner Uşaklı
b43bfa3d5b
closes #6759
...
-moved user.blocks.filter from unread controller to getUnreadTopics so
topics are filtered at other places this function is called
- when a new post is made do not send it to uids that have blocked the
poster
- update getUnreadTids so it does not return topics that have new posts
from blocked users
- update hasReadTopics so it does not return false data if topic has new
posts from blocked users
2018-09-14 16:23:21 -04:00
Barış Soner Uşaklı
2fd2accf8c
add tests for top topics
...
fix popular page displaying 18 topics per page
2018-06-15 15:23:30 -04:00
Baris Usakli
a500e0019c
closes #6005
2017-10-30 15:26:17 -04:00
Baris Usakli
19dc7da42f
closes #5994
2017-10-19 13:53:05 -04:00
Barış Soner Uşaklı
38af651072
use _.uniq
2017-06-25 20:00:05 -04:00
Barış Soner Uşaklı
f1b8492164
remove unnecessary checks
2017-05-27 00:30:07 -04:00
Barış Soner Uşaklı
f6ac92111b
style changes
2017-05-26 00:02:20 -04:00
Barış Soner Uşaklı
b3a265f981
closes #5694
2017-05-19 18:50:19 -04:00
Peter Jaszkowiak
6b05f6c5e9
Add hook filter:topics.getUnreadTids
...
Allows for filtering topics from unread count and unread page
2017-05-13 18:46:11 -06:00
barisusakli
75e5f2da74
closes #5485
2017-04-21 21:36:42 -04:00
Julian Lam
d18cfced96
Merge remote-tracking branch 'origin/master' into develop
2017-04-12 23:57:14 -04:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Julian Lam
860999fa6c
Merge remote-tracking branch 'origin/master' into develop
2017-03-10 15:44:29 -05:00
barisusakli
0c8058ba9d
closes #5516
2017-03-09 22:36:28 +03:00
Julian Lam
72e77772db
Merge branch 'master' into develop
2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
1493afee2a
ESlint indent
2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
a5a3f3089a
ESlint no-mixed-operators
2017-02-18 01:51:11 -07:00
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
366ab103a4
closes #5405
2017-01-27 20:38:01 +03:00
barisusakli
49267d54b7
topics unread tests
2016-11-28 14:15:20 +03:00
barisusakli
fb47bf3889
unread/recent changes closes #4774
2016-11-03 13:06:25 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
4ce8e2224a
optimize topics.markTopicNotificationsRead
...
let's not call it once for each tid
2016-09-19 23:43:50 +03:00
barisusakli
4bbc8110a9
closes #4772
2016-06-21 14:43:38 +03:00
barisusakli
11d3834eb9
better filtering
...
if topic is followed but category ignored show it in unread
2016-05-19 13:11:42 +03:00
barisusakli
bf2133ed7c
topic watching
2016-05-18 19:02:43 +03:00
barisusakli
84a7b6690b
closes #4434
2016-05-13 14:08:50 +03:00
barisusakli
ec33a57f77
closes #3128
2016-04-18 15:44:07 +03:00
Ben Lubar
217f0c5652
Switch to a named filter for unread to allow future expansion.
...
Don't use the query string as it is not passed to infinite scroll.
2016-04-08 13:42:47 -05:00
Ben Lubar
a61d947295
allow filtering /unread to only topics that have not yet been seen
2016-04-08 13:31:21 -05:00
pichalite
5f6a1a0acd
complete fixes for #4144
2016-02-26 00:04:56 +00:00
barisusakli
aa30973f0a
fix params
2016-01-07 20:29:31 +02:00
barisusakli
c28494724f
filter dupes
2016-01-04 22:50:51 +02:00
barisusakli
eb57276980
fix test
2016-01-04 15:08:07 +02:00
barisusakli
c10b2fdb60
closes #4022
2016-01-04 14:33:47 +02:00