Commit Graph

9685 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
5e1c33bb3b Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-08 23:01:28 -04:00
Barış Soner Uşaklı
a4d5c81de5 closes #6819 2018-10-08 23:01:25 -04:00
Baris Usakli
3886a704e0 fix lint 2018-10-06 12:10:51 -04:00
Baris Usakli
84737b5a49 use buildForSelect 2018-10-06 11:48:06 -04:00
Baris Usakli
6dc84deca9 allow admins mods to watch/ignore categories for other users 2018-10-05 14:37:44 -04:00
Baris Usakli
71905bb2c6 fix watched categories 2018-10-05 13:21:14 -04:00
Baris Usakli
9ed4239d8e small changes and test for user/:slug/categories 2018-10-05 13:04:17 -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ı
b58ab48485 add test for /sessions controller 2018-10-04 14:30:16 -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ı
13a1497617 closes #6801 2018-10-04 11:38:42 -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ı
48d49cfcad Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-10-03 19:16:36 -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ı
f45d24d351 change if to !== 0 2018-10-03 17:03:23 -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ı
77beaf2e15 Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
2018-09-29 06:49:41 -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
Julian Lam
f95308bf33 move sharp require into the method it is used in src/file.js 2018-09-28 15:23:56 -04:00
Julian Lam
ebabcc5e3c if authenticate middleware is overridden by plugin, check for req.user and return notAllowed helper otherwise
/cc @LudwikJaniuk
2018-09-27 13:46:16 -04:00
Barış Soner Uşaklı
4b970a1072 use lodash, load 3 posts per iteration 2018-09-27 09:52:56 -04:00
Barış Soner Uşaklı
18d0deeccb update deprecated methods (#6794) 2018-09-26 15:02:57 -04:00
Barış Soner Uşaklı
1cb2e1e368 remove console.log switch to series 2018-09-26 10:56:19 -04:00
Julian Lam
c9dfb4e109 closes #6790 2018-09-25 14:45:49 -04:00
Julian Lam
02046889ec closes #6691 2018-09-25 12:44:13 -04:00
Ben Lubar
11b655163e Only run the DDL for session storage on the primary instance. (#6788)
This fixes a restart loop caused by deadlocks in large clusters.
2018-09-25 12:12:18 -04:00
Barış Soner Uşaklı
1590452697 filter topics you cant read @benlubar 2018-09-25 11:14:25 -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ı
4570daa033 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-24 17:42:57 -04:00
Barış Soner Uşaklı
3ed856f587 change if 2018-09-24 17:42:54 -04:00
Barış Soner Uşaklı
9724ef083e remove v from query 2018-09-24 16:59:12 -04:00
Barış Soner Uşaklı
786311fa64 use value 2018-09-24 16:58:35 -04:00
Barış Soner Uşaklı
5a69f979a8 update processSortedSet to use withScores 2018-09-24 16:57:19 -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ı
7f863b8af0 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2018-09-22 01:28:17 -04:00
Barış Soner Uşaklı
17ce482c9f closes #6780 2018-09-22 01:28:13 -04:00
Barış Soner Uşaklı
7787c9b4bb fix wrong year on upgrade script 2018-09-21 23:14:55 -04:00
Barış Soner Uşaklı
24601694db fix wrong year on upgrade script 2018-09-21 23:13:44 -04:00
Baris Usakli
edefab1d69 closes #6728
add option to disable a category on creation
show disabled categories on manage privileges
2018-09-21 16:10:07 -04:00
Baris Usakli
4d5e164fd2 closes #6778 2018-09-21 13:49:56 -04:00
Barış Soner Uşaklı
59b988a205 change test so it checks url 2018-09-20 22:09:20 -04:00
Barış Soner Uşaklı
71ccd67665 closes #6722
calculate size of base64 image from buffer, still not perfect but better than string.length
2018-09-20 19:47:44 -04:00
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
2018-09-20 17:05:52 -04:00