Commit Graph

22164 Commits

Author SHA1 Message Date
Julian Lam
c96fd3b19b feat: pass user picture object into change_picture_modal 2021-02-19 13:39:22 -05:00
Julian Lam
28f6931e16 refactor: move picture change client-side logic to its own rjs module 2021-02-19 11:54:48 -05:00
Barış Soner Uşaklı
beb1427387 feat: add logout to invalid session 2021-02-19 11:51:28 -05:00
Barış Soner Uşaklı
cfc237c2b7 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2021-02-19 11:39:58 -05:00
Barış Soner Uşaklı
a592ebd1ff feat: category search test 2021-02-19 11:39:10 -05:00
Julian Lam
d3a9e76ae2 test(user): added additional tests for icon background colour 2021-02-19 11:38:48 -05:00
Julian Lam
955021247e feat(user): icon background selector in change picture modal 2021-02-19 11:38:48 -05:00
Julian Lam
fbccf6e22f refactor(user): all plugins to change list of icon background colours
One notable change is line 200, where a conditional was changed. The conditional used to check for `user.hasOwnProperty('picture')` and was added so that icons would only be included in the response if the picture was requested. This doesn't seem to apply as picture could be set regardless (see default avatar logic above), so I explicitly check `requestedFields` now.
2021-02-19 11:38:48 -05:00
Julian Lam
b4c0b32b26 fix: use root context if buildAvatar context is undefined 2021-02-19 11:38:48 -05:00
Barış Soner Uşaklı
ed3d9dcbbf feat: pass post object to filter:post.tools 2021-02-19 11:32:17 -05:00
Renovate Bot
ed503b8051 fix(deps): update dependency nodebb-theme-persona to v10.5.14 2021-02-19 12:22:10 +00:00
Misty (Bot)
e23bf9f94d Latest translations and fallbacks 2021-02-19 09:08:52 +00:00
Misty (Bot)
f9fc884867 Latest translations and fallbacks 2021-02-18 09:08:51 +00:00
Barış Soner Uşaklı
fa91525a6d fix: use bootbox module 2021-02-17 21:24:24 -05:00
Barış Soner Uşaklı
0e07f3c9ba feat: allow defining a list of system tags 2021-02-17 14:44:04 -05:00
Barış Soner Uşaklı
bbaaead09c feat: add category search test, #9307 2021-02-17 13:03:14 -05:00
Barış Soner Uşaklı
25c8f02634 fix: #9307, use _.flatten 2021-02-17 12:48:11 -05:00
Julian Lam
2fef462782 fix: awaiting res.render in send404 controller
>
> A plugin wanted to use `response:rotuer.page` to 404 a specific page on some condition. res.render returns early in send404 and so must be awaited otherwise multiple responses will be sent
2021-02-17 11:57:12 -05:00
Julian Lam
65c57c730c docs: added comment re: #9305 2021-02-17 10:52:04 -05:00
ahwayakchih
34096b73ef fix: do not overwrite config.port from URL, if it's already set
If URL was set to something like `http://example.com:8080`, and port
was set to 4567, keep listening on port 4567 and keep linking through
URL that was specified.
This allows to listen on port 4567, while having NGINX (or any proxy)
set to listen on port 8080 and route traffic to port 4567.
So NodeBB can be "hidden" behind proxy while URL can still contain
non-standard port, i.e., port different than 80 and 443.
2021-02-17 10:51:08 -05:00
Julian Lam
8686fbfa3f fix: switch back to getSortedSetRange
/cc @barisusakli
2021-02-17 10:41:57 -05:00
Misty (Bot)
ce3f581434 Latest translations and fallbacks 2021-02-17 09:08:43 +00:00
Renovate Bot
ddd8fa31d6 fix(deps): update dependency nodebb-theme-persona to v10.5.12 2021-02-17 06:48:03 +00:00
Barış Soner Uşaklı
9ce6f8ad93 feat: add tag filter to getSortedTopics 2021-02-16 23:12:10 -05:00
Barış Soner Uşaklı
5286f20862 refactor: remove dupe code 2021-02-16 22:10:26 -05:00
Julian Lam
4c078084dc test: fix spec for topic thumbs 2021-02-16 12:40:25 -05:00
Julian Lam
1d9ade4c36 test: added missing properties to topicObject 2021-02-16 12:29:11 -05:00
Julian Lam
b31f6dd24a test: added missing test file 2021-02-16 12:22:35 -05:00
Julian Lam
ad54b174a4 test: topic reordering tests 2021-02-16 12:18:25 -05:00
Julian Lam
7223074f1d feat: ability to re-order topic thumbnails 2021-02-16 11:54:09 -05:00
Julian Lam
db027170a8 feat: add close button to topic thumbnail modal 2021-02-16 11:54:09 -05:00
Misty (Bot)
2821b917d0 Latest translations and fallbacks 2021-02-16 09:09:26 +00:00
Barış Soner Uşaklı
91734a6484 fix: settings v3 2021-02-15 20:52:01 -05:00
Barış Soner Uşaklı
0738dae895 feat: #9304, add category/topic/username to post queue notification emails 2021-02-15 16:15:04 -05:00
Misty (Bot)
59885a9e2e Latest translations and fallbacks 2021-02-15 09:08:41 +00:00
Barış Soner Uşaklı
8f0386d9ac feat: add failing test for list append/prepend with list (#9303)
* feat: add failing test for list append/prepend with list

* feat: mongo/psql

* feat: improve test
2021-02-14 11:12:56 -05:00
Misty (Bot)
b5b92768e2 Latest translations and fallbacks 2021-02-14 09:06:43 +00:00
Renovate Bot
4ee3a8e876 fix(deps): update dependency benchpressjs to v2.4.1 2021-02-14 05:26:21 +00:00
Julian Lam
782bef5eec fix: another topic thumb test fix 2021-02-13 12:06:18 -05:00
Julian Lam
1ae8dda8a8 chore: extra console.log 2021-02-13 11:57:10 -05:00
Julian Lam
7ebb6d3056 fix: thumbs.associate logic fix + tests 2021-02-13 11:52:12 -05:00
Renovate Bot
7f8fd4b0f6 fix(deps): update dependency nodebb-theme-persona to v10.5.10 2021-02-13 10:51:56 +00:00
Misty (Bot)
3ad25e8ff6 Latest translations and fallbacks 2021-02-13 09:06:41 +00:00
Renovate Bot
9ec0b2ed68 chore(deps): update dependency eslint to v7.20.0 2021-02-13 08:40:39 +00:00
Barış Soner Uşaklı
7665adf7d1 fix: missing awaits, possible test fix 2021-02-13 01:43:52 -05:00
Barış Soner Uşaklı
9a6cf3d967 fix: #9301, dont call sitemapstream if there are no entries in categories/pages/topics.xml 2021-02-12 23:18:16 -05:00
Julian Lam
50664487b9 test: additional tests for topic thumbs 2021-02-12 20:43:38 -05:00
Barış Soner Uşaklı
807b0d4348 fix: properly incase its the same path 2021-02-12 20:18:47 -05:00
Barış Soner Uşaklı
76bcc0c99c fix: numThumbs count on associate 2021-02-12 20:17:43 -05:00
Julian Lam
1490b32d1b fix: missing cache deletion calls for post-queue cache
/cc @barisusakli
2021-02-12 19:57:26 -05:00