96 Commits (e17c4b2766d2080ee84e82564813a984fd776c38)

Author SHA1 Message Date
Barış Soner Uşaklı e17c4b2766 uid fixes 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 😬
7 years ago
Barış Soner Uşaklı f3a679e268 remove parseInts 7 years ago
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
7 years ago
Barış Soner Uşaklı c06480b82e add tests for blocked users teaser/unread 7 years ago
Barış Soner Uşaklı 4b970a1072 use lodash, load 3 posts per iteration 7 years ago
Barış Soner Uşaklı 1590452697 filter topics you cant read @benlubar 7 years ago
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
7 years ago
Barış Soner Uşaklı 17ce482c9f closes #6780 7 years ago
Barış Soner Uşaklı 08dfb3470c fix tests 7 years ago
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
7 years ago
Barış Soner Uşaklı 2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
7 years ago
Baris Usakli a500e0019c closes #6005 8 years ago
Baris Usakli 19dc7da42f closes #5994 8 years ago
Barış Soner Uşaklı 38af651072 use _.uniq 8 years ago
Barış Soner Uşaklı f1b8492164 remove unnecessary checks 8 years ago
Barış Soner Uşaklı f6ac92111b style changes 8 years ago
Barış Soner Uşaklı b3a265f981 closes #5694 8 years ago
Peter Jaszkowiak 6b05f6c5e9 Add hook `filter:topics.getUnreadTids`
Allows for filtering topics from unread count and unread page
8 years ago
barisusakli 75e5f2da74 closes #5485 8 years ago
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Julian Lam 860999fa6c Merge remote-tracking branch 'origin/master' into develop 8 years ago
barisusakli 0c8058ba9d closes #5516 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 1493afee2a ESlint indent 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak a5a3f3089a ESlint no-mixed-operators 8 years ago
Peter Jaszkowiak 277a7fb8b4 ESlint key-spacing, no-trailing-spaces 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli 366ab103a4 closes #5405 8 years ago
barisusakli 49267d54b7 topics unread tests 8 years ago
barisusakli fb47bf3889 unread/recent changes closes #4774 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
barisusakli 4ce8e2224a optimize topics.markTopicNotificationsRead
let's not call it once for each tid
9 years ago
barisusakli 4bbc8110a9 closes #4772 9 years ago
barisusakli 11d3834eb9 better filtering
if topic is followed but category ignored show it in unread
9 years ago
barisusakli bf2133ed7c topic watching 9 years ago
barisusakli 84a7b6690b closes #4434 9 years ago
barisusakli ec33a57f77 closes #3128 9 years ago
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.
9 years ago
Ben Lubar a61d947295 allow filtering /unread to only topics that have not yet been seen 9 years ago
pichalite 5f6a1a0acd complete fixes for #4144 9 years ago
barisusakli aa30973f0a fix params 9 years ago
barisusakli c28494724f filter dupes 9 years ago
barisusakli eb57276980 fix test 9 years ago
barisusakli c10b2fdb60 closes #4022 9 years ago
barisusakli 7ad90b4ef6 closes #2659 9 years ago
barisusakli 1ecf27417a removed commented out stuff removed topics.enter 10 years ago
barisusakli 5e5cafafd0 make one socket call to load unread counts 10 years ago