718 Commits (5f6137f0e609201e651b4aba6e093c3cb007d618)

Author SHA1 Message Date
Barış Soner Uşaklı 85a07e999b fix: #7102 6 years ago
Barış Soner Uşaklı 263c918088
feat: remove uid:<uid>:ignored:cids (#7099)
use cid:<cid>:ignorers instead
6 years ago
Barış Soner Uşaklı 78fa734017 feat: cache category tag whitelist 6 years ago
Barış Soner Uşaklı 7ca62b8399 feat: closes #7070 6 years ago
Baris Usakli eab297bdc9 fix: #7061 6 years ago
Peter Jaszkowiak ba619c7ec8 style(eslint): match operator-linebreak preferences 6 years ago
Baris Usakli 1bb6067e19 suggested topics fix, if search doesn't return enough topics 6 years ago
Barış Soner Uşaklı b8c08a5417 dont call db for guests 6 years ago
Barış Soner Uşaklı e17c4b2766 uid fixes 6 years ago
Barış Soner Uşaklı 69bb3293ee misc fixes
handle spider uids properly
6 years ago
Barış Soner Uşaklı 96e986a865 optimize suggested topics/search 6 years ago
Barış Soner Uşaklı f8e219c323 handle empty set, add test 6 years ago
Barış Soner Uşaklı 973b5fcfe0 closes #6932 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ı 2df19c0ae4 fix typo 6 years ago
Barış Soner Uşaklı ed7399f9ed shorter code 6 years ago
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
6 years ago
Baris Usakli 12f3f56b01 change to .exists 6 years ago
Baris Usakli 566564ed74 fix redis tests
fixed typo in groups/data.js
added postcount,viewcount to int fields
6 years ago
Barış Soner Uşaklı fb6067a7ca only parse if field is requested 6 years ago
Barış Soner Uşaklı f3a679e268 remove parseInts 6 years ago
Barış Soner Uşaklı aca50f1fe1 dont crash if topic is moved to pinned topic 6 years ago
Barış Soner Uşaklı 728e7bdae9 remove more parseInts 6 years ago
Barış Soner Uşaklı 537b7ff7e8 remove more parseInts 6 years ago
Baris Usakli a228dc2de9 closes #6797 6 years ago
Baris Usakli 138154a71c move modules 6 years ago
Baris Usakli fdbefa3d1f remove more parseInts 6 years ago
Baris Usakli 881185ae59 closes #6857 6 years ago
Barış Soner Uşaklı ac39112271 remove more parseInts 6 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
6 years ago
Barış Soner Uşaklı f5fe91286e closes #6851 6 years ago
Barış Soner Uşaklı c3a903142a closes #6850 6 years ago
Barış Soner Uşaklı b2b33ffa57 topics data refactor 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Baris Usakli b4d8b7cf38 move sorted topics code out of recent 6 years ago
Barış Soner Uşaklı 8079d3d3b7 add tids used to returned data 6 years ago
Barış Soner Uşaklı c06480b82e add tests for blocked users teaser/unread 6 years ago
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
Barış Soner Uşaklı 43180d4b83 #6158 7 years ago
Baris Usakli 3551d7d68e closes #4804 7 years ago
Barış Soner Uşaklı 4f2f84e47c #4804 7 years ago
Barış Soner Uşaklı dd176dd5f2
Notification delivery (#6072)
* ability for users to choose how they receive notifications

add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)

* change var name to types

* cleanup

* add event types for privileged users

* remove unused language keys

* fix uids check

* changed if statements

* upgrade script to preserver old settings
7 years ago
Baris Usakli 43bec4cb45 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Baris Usakli 6778cce265 add new zset 7 years ago
Baris Usakli 47143a4a09 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Baris Usakli a500e0019c closes #6005 7 years ago
Baris Usakli c4310395c9 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
7 years ago
Baris Usakli 19dc7da42f closes #5994 7 years ago
Baris Usakli 6a6dc7ef06 closes #5990 7 years ago
Peter Jaszkowiak 46fafb20b9 Remove string.js dependency 7 years ago
Barış Soner Uşaklı 227c245fb2 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	package.json
7 years ago
Barış Soner Uşaklı 0de692188f check topic.cid 7 years ago
Peter Jaszkowiak da9da8190f Bump dependencies
Bumping eslint & configs meant making some linting fixes

For future reference, the `xmlhttprequest-ssl` library must be of equal versioning to the one in `engine.io-client`, otherwise it won't be deduped which causes the socket.io tests to fail
8 years ago
Barış Soner Uşaklı 1019feb569 fix method name 8 years ago
Julian Lam 184dacf1d7 Merge branch 'master' into develop 8 years ago
Julian Lam d9ace1723c removed references to libs that aren't used 8 years ago
Barış Soner Uşaklı 67ca1881bd closes #5831 8 years ago
Baris Usakli f8bfe79cf4 remove tid from recent_tids 8 years ago
Julian Lam 065b3a3a03 notif_chat tpl 8 years ago
Julian Lam a9540a13a1 fixing url in footer 8 years ago
Julian Lam f128f988f3 slimmed down some data, testing notif_post again 8 years ago
Julian Lam 582dd1ed2e testing new footer with new_post tpl 8 years ago
Julian Lam a2627d2066 added default payload to emails, and adding nodebb logo for email header 8 years ago
Julian Lam c2f1d254cc Merge branch 'master' into develop 8 years ago
Barış Soner Uşaklı 80ea9e9797 fix lint 8 years ago
Barış Soner Uşaklı 6485108dfd faster getReplies 8 years ago
Barış Soner Uşaklı feecf0b61c dont make db call if guest 8 years ago
Julian Lam e309ac5040 fixes #5790 8 years ago
Baris Usakli 5167c1aa4f Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Julian Lam 3bd02d58e3 fixes logic that allowed posts beyond maximum post length if min is set to 0, @barisusakli 8 years ago
Julian Lam 28d8be8b9d fixed #5782 8 years ago
Barış Soner Uşaklı e0dc47f883 closes #5779 8 years ago
Barış Soner Uşaklı e6cbaf6d85 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı 38af651072 use _.uniq 8 years ago
Barış Soner Uşaklı 7fe9366103 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı d65f494c6d closes #5127 8 years ago
Baris Usakli 037a0e5239 closes #5742
also fix reverse infinite scroll when sorting is changed
8 years ago
Barış Soner Uşaklı 59b1d8fbae Merge pull request #5710 from NodeBB/_lodash
Switch from underscore to lodash
8 years ago
Peter Jaszkowiak d4e7db45b7 Use zipObject, more test-related ignores 8 years ago
Barış Soner Uşaklı 8eb5564977 fix popular sort 8 years ago
Barış Soner Uşaklı 6635b50c35 closes #5522 8 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı bcc566fb68 remove unnecessary checks 8 years ago
Barış Soner Uşaklı f1b8492164 remove unnecessary checks 8 years ago
Barış Soner Uşaklı 5c51a91e85 fix reward claimable check 8 years ago
Barış Soner Uşaklı fb45b498a2 fix lint 8 years ago
psychobunny c133efa258 Fix tests 8 years ago
psychobunny d70ccb1868 closes #5708 8 years ago
Baris Usakli 61eb7aa68b more tests 8 years ago
Barış Soner Uşaklı f6ac92111b style changes 8 years ago
Barış Soner Uşaklı c9d502320f file.delete method 8 years ago
Barış Soner Uşaklı b3a265f981 closes #5694 8 years ago
Barış Soner Uşaklı 29ca1dbf08 replies/reply fix 8 years ago
Peter Jaszkowiak 6b05f6c5e9 Add hook `filter:topics.getUnreadTids`
Allows for filtering topics from unread count and unread page
8 years ago
Barış Soner Uşaklı 5e3946a6be teaser tests 8 years ago
Peter Jaszkowiak 2b2544a4b1 Deprecate non-standard `String.prototype.rtrim` 8 years ago
barisusakli 75e5f2da74 closes #5485 8 years ago
barisusakli 7b91da067b closes #5602 8 years ago
barisusakli e3205bcfad merge 8 years ago
Peter Jaszkowiak e382bca610 Fix tests 8 years ago
Peter Jaszkowiak 0fe10f5e86 Escape topic titles at the source, deduplicate 8 years ago