581 Commits (c9a415c469f3080c820e92b721b3b4b872148a2d)

Author SHA1 Message Date
Barış Soner Uşaklı a0f5461860
don't set and read from topic hash in parallel (#6831)
this was causing a test to fail, although very rarely
6 years ago
Barış Soner Uşaklı ba21c5170a moved increase/decrease
moved these two methods into addPostToTopic&removePostFromTopic
6 years ago
Barış Soner Uşaklı 5c7dd54815
fix zsets and update them on post move, closes #6823 (#6827) 6 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ı b7ead6dc9c
Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
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ı 37ca5a1c63 filter falsy teasers 7 years ago
Barış Soner Uşaklı 93d52ef338 default to 'recent' sort 7 years ago
Barış Soner Uşaklı 6f18cf368b closes #6741 7 years ago
Baris Usakli e7bd0cea74 fix lint 7 years ago
Baris Usakli bcef32c5af closes #6645 7 years ago
Baris Usakli f830322ee9 closes #6597 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Barış Soner Uşaklı f7a0815b46 fix redis tests 7 years ago
Barış Soner Uşaklı 2c3fd5fbce remove some dupe code 7 years ago
Barış Soner Uşaklı 2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
7 years ago
Julian Lam cb3b2bd27b closes #6562 7 years ago
Barış Soner Uşaklı f77e7de285 closes #6067 7 years ago
Barış Soner Uşaklı 81328806a0 closes #6511 7 years ago
Barış Soner Uşaklı 4ee2284066 closes #6489 7 years ago
Julian Lam 4f6cc20457 completed basic integration for #6463 7 years ago
Julian Lam bfee23adee basic methods and initial integration for #6463 7 years ago
Barış Soner Uşaklı 749b282cdd add matchwords to search api 7 years ago
Barış Soner Uşaklı 40d5b4f8ba change to eachSeries 7 years ago
Barış Soner Uşaklı 225af93b9e closes #6329 7 years ago
Ben Lubar 00776bdd8e Bookmark optimization (#6315)
* Set the user's bookmark if their current bookmark is past the end of the topic.

* Optimize forked topic bookmark updating.

Remove support for updating bookmarks for users who sort by votes.

Don't even consider updating bookmarks for users who have not read the posts being removed.

Only compute post indices once per fork operation instead of once per user that has ever read the topic.
7 years ago
Barış Soner Uşaklı 3551a34138 up spam be gone 7 years ago
Barış Soner Uşaklı f119ae3103 dont show same topic in suggested 7 years ago
Barış Soner Uşaklı c38edb1fd4 more changes to suggested topics 7 years ago
Barış Soner Uşaklı 9d3b00f778 shuffle suggested topics, search in same category 7 years ago
Barış Soner Uşaklı 8427601b04 closes #6287 7 years ago
Barış Soner Uşaklı 2e2b97033e closes #6248 , closes #6282 7 years ago
Barış Soner Uşaklı 8ceb102ed3 closes #6274 7 years ago
Barış Soner Uşaklı f3fda152bf closes #6216 7 years ago
Barış Soner Uşaklı 2f3b7279be closes #6212 7 years ago
Barış Soner Uşaklı 510e57d414 on new topic create add to votes sorted set 7 years ago
Barış Soner Uşaklı ba56810790 upgrade script fixes 7 years ago
Barış Soner Uşaklı 9d7e0775aa closes #6214 7 years ago
Barış Soner Uşaklı b58387c822 closes #6214 7 years ago
Barış Soner Uşaklı baa868cf2b fix lint 7 years ago
Barış Soner Uşaklı d2ffdbda7d closes #6203 7 years ago
Barış Soner Uşaklı 2661a31227 closes #6202 7 years ago
Barış Soner Uşaklı a9e15ae9d0 strip img tags on topic teaser 7 years ago
Barış Soner Uşaklı 2565b6e542 on pin remove from votes sorted set 7 years ago
Barış Soner Uşaklı b9d4b02780 sort tags by score 7 years ago
Barış Soner Uşaklı a166304dcb #6158
remove from sorted sets on delete/purge
7 years ago