1487 Commits (7950b254a62fa4af84d58982fa56dcaba921e10f)

Author SHA1 Message Date
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ı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Baris Usakli baf91089a6 remove unused methods 6 years ago
Baris Usakli 6dc84deca9 allow admins mods to watch/ignore categories for other users 6 years ago
André Zanghelini 523a2dc54c Add settings page to control watched categories (#6648)
* Add settings page to control watched categories

* Fix passing undefined to pushUnreadCount
6 years ago
Barış Soner Uşaklı 1df9961eb4 make lint happy 6 years ago
Barış Soner Uşaklı 8df6838561 closes #6816 6 years ago
Barış Soner Uşaklı 002522834c closes #6815 6 years ago
Barış Soner Uşaklı b033d6f115 add tid to post-purge event 6 years ago
Barış Soner Uşaklı 7bc69e9182 Merge branch 'master' of https://github.com/NodeBB/NodeBB 6 years ago
Barış Soner Uşaklı 1bea247748 add username/email to user-delete event 6 years ago
Barış Soner Uşaklı 49ba5af5fa
closes #6810 (#6813) 6 years ago
Barış Soner Uşaklı d1491feed9 add tid to topic rename and post delete restore events 6 years ago
Barış Soner Uşaklı f77091d1ed change user delete so it returns quickly 6 years ago
Barış Soner Uşaklı b7eaf4191e return correct post count if its out of sync 6 years ago
Barış Soner Uşaklı d92ef9ca11
remove id 6 years ago
Ben Lubar cf4ea94e6d Fix single-host-cluster socket.io (#6802)
It was silently dropping every message because every node thought it was the master node.
6 years ago
Barış Soner Uşaklı 95501e8fee
closes #6738 closes #6290 (#6785)
* closes #6738 closes #6290

* fix test, delete keys

* delete all bans on user delete

* fix upgrade script to actually read reason
6 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
6 years ago
Barış Soner Uşaklı 69c7260fe9 dont let sending more than max invites via bulk invite 6 years ago
Barış Soner Uşaklı 669a5135e1 closes #6768 6 years ago
Barış Soner Uşaklı 089bf5d8bb
closes #6773 6 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ı 25fed0aa8d change isPasswordCorrect to return false if user does not have password 7 years ago
Julian Lam 545e678e8a fixes #6726 7 years ago
Baris Usakli 546b13b897 fix lint and tests 7 years ago
Baris Usakli 79ffae608e closes #6675 7 years ago
Julian Lam b6a5419ca1 closes #6674 7 years ago
Ben Lubar 44373afc52 Fix socket.io not working properly in single-host clusters. (#6669)
This is because we don't use the cluster module, so the master nodejs process doesn't know about any of the clients through the socket API.
7 years ago
Ben Lubar c1e98eefa7 Allow single-host clusters to not send pubsub and socket.io messages through the database. (#6659)
* Allow single-host clusters to not send pubsub and socket.io messages through the database.

* Fix lint errors.
7 years ago
Ben Lubar f1a6537fc2 Add notification frequencies from nodebb-plugin-upvote-notifications. (#6640)
* Add notification frequencies from nodebb-plugin-upvote-notifications.

https://github.com/boomzillawtf/nodebb-plugin-upvote-notifications

* Fix editing settings clearing upvote notification preferences.
7 years ago
Baris Usakli 16a7728ab8 fix redis warnings 7 years ago
Julian Lam 7a53fa9469 Added block and unblock button to profile dropdown menu, #6560 7 years ago
Barış Soner Uşaklı 4ed079555e Merge remote-tracking branch 'refs/remotes/origin/master' into blocks 7 years ago
Julian Lam ad8ac2bdff removed unused checkPassword socket call 7 years ago
Julian Lam fb42862ec7 check password validity in user delete socket call 7 years ago
Baris Usakli 584f88e092 blocks WIP 7 years ago
Julian Lam be0ef799ee closes #6592 7 years ago
Barış Soner Uşaklı 57b7c7ede4 closes #6607 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Julian Lam 9e90d1ea5d closes #6557 7 years ago
Barış Soner Uşaklı 274b33e9e1 move addPostData before modifyPostPrivilege 7 years ago
Barış Soner Uşaklı acf2f2a776 move modifyPostByPrivilege call before filtering posts so index is correct 7 years ago
Julian Lam cb3b2bd27b closes #6562 7 years ago
Barış Soner Uşaklı a37dc1856f #6561 7 years ago
Julian Lam 99dc3feeb2 Edit history is now a category-level privilege
Closes #6425
7 years ago
Barış Soner Uşaklı 779d03cf57 move timestamp to server 7 years ago
Barış Soner Uşaklı 908b77fe28 closes #6250 7 years ago
Barış Soner Uşaklı 7df57ba7a7 remove dupe code 7 years ago