Commit Graph

11415 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
23571224b5 feat: add parent cids to body class 2020-03-26 12:04:04 -04:00
Barış Soner Uşaklı
071506eb7d fix: invite properly 2020-03-20 22:18:14 -04:00
Barış Soner Uşaklı
8f4b99a41c fix: admins not seeing invite button 2020-03-20 22:14:13 -04:00
Barış Soner Uşaklı
0b5fac75b0 fix: #8217, add missing lang key 2020-03-19 10:03:46 -04:00
Julian Lam
93acd13999 fix: #8206 first message in chat has false newSet 2020-03-16 21:15:04 -04:00
Barış Soner Uşaklı
d080c7b04c feat: add 2 hooks for modifying privileges 2020-03-12 12:25:51 -04:00
Barış Soner Uşaklı
f07f4f8e1a fix: #8202, filter non-existing users in search by uid 2020-03-11 12:19:20 -04:00
psychobunny
266061c31a fix: notification bodyShort truncated if there is a comma in topic title 2020-03-10 11:26:08 -04:00
Julian Lam
1efb238a9a refactor: getUsersCSV to use batch lib 2020-03-05 17:51:34 -05:00
psychobunny
e1c6c3b267 refactor: reorganized socket.io admin modules 2020-03-03 16:33:13 -05:00
Barış Soner Uşaklı
5e91a67e78 feat: add user ip to admin/dev/info 2020-03-02 11:18:15 -05:00
Barış Soner Uşaklı
cba5b23e23 feat: change option name 2020-02-28 22:02:46 -05:00
Barış Soner Uşaklı
80f1bcad20 fix: call next 2020-02-28 21:24:51 -05:00
Baris Usakli
476f6717c4 feat: add no-build to ./nodebb setup 2020-02-28 15:53:16 -05:00
Baris Usakli
cf6eadb91a fix: dont let regular users see other users watched categories 2020-02-28 11:02:22 -05:00
Barış Soner Uşaklı
32ada7c4e7 fix: #8188, fix bookmark if sorting is newest_to_oldest 2020-02-27 17:21:36 -05:00
Andrew Rodrigues
ac241fb830 fix: duplicate ID + label 2020-02-27 11:32:19 -05:00
Julian Lam
f0db240a1d fix: #8184 global mods unable to revoke other user sessions 2020-02-26 12:26:52 -05:00
Barış Soner Uşaklı
e72a29b3fd fix: return null if field does not exist 2020-02-24 18:07:51 -05:00
Barış Soner Uşaklı
14e7866745 fix: #8179, limit length of location/website/fullname, check grouptitle 2020-02-24 16:58:51 -05:00
Barış Soner Uşaklı
bc93b5676c fix: #8175 2020-02-22 16:01:04 -05:00
Opliko
41c20761e1 Remove deprecated mongo connection options, fixes #8079 (#8174)
fix #8079 
Unified Topology changes the concept of connecting and causes isConnected to always return true, making any reconnection options useless. Next major version of the driver will remove isConnected entirely.
So:
- reconnect tries
- reconnectInterval
- autoReconnect

Are deprecated and don't really do anything anymore (when unified topology is used at least) other than causing warnings at startup since the 3.4 version of the driver (the current version used by NodeBB is 3.5).

Reference: http://mongodb.github.io/node-mongodb-native/3.5/reference/unified-topology/
2020-02-21 20:15:07 -05:00
Andrew Rodrigues
3c9689a5ac feat: settings sorted list (#8170)
* feat: settings sorted list

see https://github.com/NodeBB/nodebb-plugin-quickstart/pull/9/files for sample
2020-02-21 12:18:09 -05:00
Julian Lam
667608a02c fix: #8168 re-allowing slashes in homePageRoute
Resolves regression introduced by b0f3e48ac2
2020-02-19 12:24:41 -05:00
Julian Lam
eddbd86837 fix: tweak to session validation in addHeaders 2020-02-18 16:08:23 -05:00
Barış Soner Uşaklı
630f5d5b85 fix: only call clearCookie for logged in users 2020-02-18 16:06:05 -05:00
Barış Soner Uşaklı
067034082f fix: #6422, update deleted/restored messages 2020-02-14 23:26:54 -05:00
Barış Soner Uşaklı
4d0636f847 fix: #8163, prevent account deletion 2020-02-13 11:31:20 -05:00
Barış Soner Uşaklı
5a0c7c1497 fix: register 2020-02-11 21:46:34 -05:00
Barış Soner Uşaklı
e74954407f fix: #8157, update recent tid when post is moved 2020-02-11 15:30:15 -05:00
Barış Soner Uşaklı
b73aa84ddc fix: tests 2020-02-10 14:30:40 -05:00
Barış Soner Uşaklı
dd3893b134 fix: move start/stop every iteration 2020-02-10 13:49:04 -05:00
Barış Soner Uşaklı
4abe5eb7ff Revert "fix: #8154, move start/stop every iteration"
This reverts commit 300c04cef9.
2020-02-10 13:47:34 -05:00
Barış Soner Uşaklı
300c04cef9 fix: #8154, move start/stop every iteration 2020-02-10 13:47:15 -05:00
Barış Soner Uşaklı
690bb69d03 fix: #8154, respect stop 2020-02-10 13:21:01 -05:00
Barış Soner Uşaklı
f23bc347b1 fix: #8156 dont allow loading members from hidden groups 2020-02-10 13:20:10 -05:00
Barış Soner Uşaklı
03a02e5d1d fix: #8155, don't validate name on update if groupName didn't change 2020-02-10 13:16:45 -05:00
Baris Usakli
236e1e6859 fix: return correct number of suggested topics 2020-02-07 14:50:18 -05:00
Julian Lam
398f0120b8 fix: logic for determining dailyStats hour vars
Reverts 9ecdb92f7c and fixes it
properly.
2020-02-07 11:35:45 -05:00
Julian Lam
9ecdb92f7c fix: fix daily analytics being one day off 2020-02-07 11:20:59 -05:00
Julian Lam
0b9ad416cb fix: remove debug line 2020-02-07 10:51:24 -05:00
Julian Lam
79737c53fd feat: guard against accidental ommision
...of analytics: prefix in get*StatsForSet methods
2020-02-07 10:28:40 -05:00
Julian Lam
d6e3f3f058 fix: #8142, broken site if no server-side session (#8148)
* fix: #8142, broken site if no server-side session

During the `addHeader` middleware, a check is now done to see if
`req.session.meta` is present. This value is only present if the user
has a valid server-side session.  If it is missing, then it is probably
safe to assume that the server-side session was deleted (either
intentionally or accidentally). In that scenario, the client-side cookie
should be cleared.

Also, there was an issue where the sessionRefresh flag was never cleared
after a successful login, so that was fixed too.

* feat: exported method to get cookie config

* fix: don't clear cookie if cookie is being set

* fix: socket.io tests

Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
2020-02-06 15:52:37 -05:00
Julian Lam
0885ec6858 fix: #8144 pluginHooks in maintenance mode middleware 2020-02-06 15:43:14 -05:00
Barış Soner Uşaklı
a5ef6b53b8 fix: admin relogin 2020-02-03 11:04:20 -05:00
Barış Soner Uşaklı
c35a21d7f0 fix: #8135 2020-01-31 22:56:55 -05:00
Baris Usakli
1e50616c13 fix: handle mkdirp0.5->1.0x so it doesn't break upgrade 2020-01-31 15:05:50 -05:00
Baris Usakli
87225a90c3 fix: #8134, upgrade mkdirp to 1.0.x 2020-01-31 14:10:00 -05:00
Julian Lam
b959c24a2b Merge branch 'master' of github.com:NodeBB/NodeBB 2020-01-29 12:47:55 -05:00
Julian Lam
111ed802cf fix: onSuccessfulLogin not working
In scenarios where onSuccessfulLogin was not called in the SSO plugin,
core's calling of onSuccessfulLogin was prematurely returning, because
it was checking the wrong value.

This commit fixes the issue by checking a different value.
2020-01-29 12:47:48 -05:00