Commit Graph

19967 Commits

Author SHA1 Message Date
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
renovate[bot]
ef964b11a8 fix(deps): update dependency redis to v3 (#8152)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-09 11:14:09 -05:00
renovate[bot]
1037de0216 chore(deps): update dependency jsdom to v16 (#8114)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-09 11:14:00 -05:00
renovate[bot]
d8efc6b653 fix(deps): update dependency rimraf to v3.0.2 (#8153)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-09 11:10:35 -05:00
Baris Usakli
236e1e6859 fix: return correct number of suggested topics 2020-02-07 14:50:18 -05:00
Baris Usakli
2e79480179 fix: #8151, don't crash if taskbar doesn't have element 2020-02-07 12:04:37 -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
14655f8745 fix: no decimal places for category analytics 2020-02-07 10:22:13 -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
Julian Lam
146388aac8 docs: updated changelog 2020-02-05 16:51:00 -05:00
Misty (Bot)
beafd6139f chore: incrementing version number - v1.13.2 2020-02-05 16:04:20 -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
renovate[bot]
157832131d chore(deps): update dependency eslint to v6.8.0 (#8062)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:14:42 -05:00
renovate[bot]
d5b3d56296 Update dependency postcss to v7.0.26 (#8048)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:14:23 -05:00
renovate[bot]
976e26a958 chore(deps): update dependency nyc to v15 (#8094)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:13:54 -05:00
renovate[bot]
eb4a1a5772 chore(deps): update commitlint monorepo (#8100)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:13:41 -05:00
renovate[bot]
cdfbcbb9ce chore(deps): update dependency lint-staged to v10.0.7 (#8132)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 14:13:25 -05:00
Baris Usakli
87225a90c3 fix: #8134, upgrade mkdirp to 1.0.x 2020-01-31 14:10:00 -05:00
Misty (Bot)
5ed7fc0ffa Latest translations and fallbacks 2020-01-31 09:30:22 +00:00
renovate[bot]
16ab641dd1 fix(deps): update dependency connect-redis to v4.0.4 (#8143)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 11:20:48 -05:00
renovate[bot]
726ba71c57 fix(deps): update dependency rimraf to v3.0.1 (#8138)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 10:56:53 -05:00
renovate[bot]
f07b4bfa62 fix(deps): update dependency validator to v12.2.0 (#8136)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 09:10:14 -05:00
renovate[bot]
b370333c6a chore(deps): update dependency mocha to v7 (#8106)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-30 09:09:38 -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
renovate[bot]
6d7131fbc5 fix(deps): update dependency nodebb-theme-persona to v10.1.34 (#8140)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-28 13:33:30 -05:00
Barış Soner Uşaklı
8c48f94b96 fix: #8139, dont allow restore if not deleted by self 2020-01-28 13:03:58 -05:00
Barış Soner Uşaklı
9969dd6335 fix: use view_deleted when filtering, closes #8137 2020-01-28 12:42:57 -05:00
Barış Soner Uşaklı
d927b763c1 fix: escape invalid rules 2020-01-26 22:18:07 -05:00
Barış Soner Uşaklı
66febb8071 feat: add test for isOnline 2020-01-26 21:51:05 -05:00
Barış Soner Uşaklı
3cca929a88 fix: add missing await 2020-01-26 21:35:04 -05:00
Barış Soner Uşaklı
df2c785127 feat: add test for change post owner 2020-01-24 15:24:01 -05:00
Barış Soner Uşaklı
0ae1eb4f6e fix: missing await in SocketPosts.changeOwner 2020-01-24 14:28:27 -05:00
Renovate Bot
dd440ce902 chore(deps): update dependency husky to v4 2020-01-24 13:34:09 -05:00
Andrew Rodrigues
027f3f2256 chore: bump themes 2020-01-24 06:58:11 -05:00
Barış Soner Uşaklı
23810cc64b fix: #8133, check if user is in room before removing 2020-01-23 22:40:14 -05:00
Barış Soner Uşaklı
30c503611c refactor: messaging 2020-01-23 22:19:15 -05:00
Barış Soner Uşaklı
cd1fa27a8b fix: add missing await 2020-01-23 22:19:00 -05:00
Barış Soner Uşaklı
ee4304b443 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2020-01-23 22:13:07 -05:00
Barış Soner Uşaklı
f799f017ab fix: missing await 2020-01-23 22:04:49 -05:00
Baris Usakli
418c174d56 fix: dont return flag data to client 2020-01-23 12:48:21 -05:00
Barış Soner Uşaklı
51236df4ed fix: check if user has read priv before flagging 2020-01-22 12:14:50 -05:00
Barış Soner Uşaklı
1f13ab8a19 fix: restrict getUsersInRoom to members 2020-01-22 11:46:26 -05:00