Barış Soner Uşaklı
f581c052ee
feat: #7023
...
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
2018-12-04 14:32:43 -05:00
Barış Soner Uşaklı
ec0c50d4e0
fix : #7041
2018-12-01 16:59:20 -05:00
Peter Jaszkowiak
ba619c7ec8
style(eslint): match operator-linebreak preferences
2018-11-30 13:38:59 -05:00
Peter Jaszkowiak
89c025d102
feat: close #7002 , console message if mismatched origins
2018-11-30 13:38:59 -05:00
Barış Soner Uşaklı
2c5e38d8f1
closes #7004
...
do not translate email subjects twice, emailer already translates the passed in subject param
2018-11-28 10:42:40 -05:00
Barış Soner Uşaklı
00a066985a
cache categories:cid and cid:<cid>:children
...
these rarely change, no need to go to db for them
2018-11-27 19:38:28 -05:00
Barış Soner Uşaklı
53ad2bbd6e
Categories optimize ( #6999 )
...
* WIP
* fix category page
* fix counts, and copyPrivileges
* fix lint
* more fixes,
* redis fix
* fix test
* fix category test
* remove getParentsAndChildren
2018-11-25 19:08:38 -05:00
Barış Soner Uşaklı
e17c4b2766
uid fixes
2018-11-17 22:31:39 -05:00
Barış Soner Uşaklı
f0dead7aba
more tooltip work
2018-11-14 13:53:35 -05:00
Barış Soner Uşaklı
69bb3293ee
misc fixes
...
handle spider uids properly
2018-11-12 00:20:44 -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ı
6f47446171
closes #6910
2018-11-05 08:20:43 -05:00
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
2018-10-27 06:26:50 -04:00
Barış Soner Uşaklı
f3a679e268
remove parseInts
2018-10-25 17:02:59 -04:00
Barış Soner Uşaklı
369e4854d2
remove parseInts
2018-10-24 19:30:50 -04:00
Barış Soner Uşaklı
541997a755
fix lint
2018-10-24 19:25:40 -04:00
Barış Soner Uşaklı
40f9ee3003
dont crash if topic does not exist
2018-10-24 17:41:06 -04:00
Barış Soner Uşaklı
5b842c98ac
fix typo
2018-10-24 11:34:57 -04:00
Barış Soner Uşaklı
9f36ce3997
#6862
2018-10-24 11:24:37 -04:00
Barış Soner Uşaklı
728e7bdae9
remove more parseInts
2018-10-23 21:36:18 -04:00
Baris Usakli
a228dc2de9
closes #6797
2018-10-23 17:50:44 -04:00
Baris Usakli
fdbefa3d1f
remove more parseInts
2018-10-23 13:59:28 -04:00
Baris Usakli
881185ae59
closes #6857
2018-10-22 13:07:02 -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ı
f5fe91286e
closes #6851
2018-10-20 17:23:15 -04:00
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Baris Usakli
baf91089a6
remove unused methods
2018-10-17 15:23:46 -04:00
Baris Usakli
6dc84deca9
allow admins mods to watch/ignore categories for other users
2018-10-05 14:37:44 -04:00
André Zanghelini
523a2dc54c
Add settings page to control watched categories ( #6648 )
...
* Add settings page to control watched categories
* Fix passing undefined to pushUnreadCount
2018-10-05 13:00:18 -04:00
Barış Soner Uşaklı
1df9961eb4
make lint happy
2018-10-04 15:26:34 -04:00
Barış Soner Uşaklı
8df6838561
closes #6816
2018-10-04 15:09:18 -04:00
Barış Soner Uşaklı
002522834c
closes #6815
2018-10-04 13:42:53 -04:00
Barış Soner Uşaklı
b033d6f115
add tid to post-purge event
2018-10-04 12:18:11 -04:00
Barış Soner Uşaklı
7bc69e9182
Merge branch 'master' of https://github.com/NodeBB/NodeBB
2018-10-04 11:08:04 -04:00
Barış Soner Uşaklı
1bea247748
add username/email to user-delete event
2018-10-04 11:08:01 -04:00
Barış Soner Uşaklı
49ba5af5fa
closes #6810 ( #6813 )
2018-10-04 10:56:47 -04:00
Barış Soner Uşaklı
d1491feed9
add tid to topic rename and post delete restore events
2018-10-03 19:16:32 -04:00
Barış Soner Uşaklı
f77091d1ed
change user delete so it returns quickly
2018-10-03 19:12:46 -04:00
Barış Soner Uşaklı
b7eaf4191e
return correct post count if its out of sync
2018-09-30 16:37:10 -04:00
Barış Soner Uşaklı
d92ef9ca11
remove id
2018-09-28 23:13:07 -04:00
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.
2018-09-28 17:02:03 -04:00
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
2018-09-24 20:20:52 -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ı
69c7260fe9
dont let sending more than max invites via bulk invite
2018-09-20 11:55:53 -04:00
Barış Soner Uşaklı
669a5135e1
closes #6768
2018-09-19 14:38:07 -04:00
Barış Soner Uşaklı
089bf5d8bb
closes #6773
2018-09-18 08:58:47 -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ı
25fed0aa8d
change isPasswordCorrect to return false if user does not have password
2018-09-06 14:32:44 -04:00
Julian Lam
545e678e8a
fixes #6726
2018-08-30 15:08:01 -04:00
Baris Usakli
546b13b897
fix lint and tests
2018-07-27 13:10:52 -04:00