Barış Soner Uşaklı
161526f7f2
Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
2023-10-31 11:32:45 -04:00
Barış Soner Uşaklı
d8d26c9f57
feat: add new lang string for minutes
2023-10-31 11:32:43 -04:00
Julian Lam
581516c88e
fix: made parentCid optional in api.search.categories
2023-10-31 11:32:07 -04:00
Julian Lam
00de9d5b07
refactor(socket.io): deprecate categories.categorySearch in favour of api.search.categories
...
THIS IS WIP
2023-10-31 11:32:07 -04:00
Julian Lam
1ce4ca54da
refactor(socket.io): deprecate categories.loadMore in favour of api.categories.getTopics
2023-10-31 11:32:07 -04:00
Julian Lam
5399e86af1
docs(socket.io): openapi schema for remaining added routes
2023-10-31 11:32:07 -04:00
Julian Lam
54000aabf5
fix(socket.io): update getPosts controller to return object containing posts instead of straight array
2023-10-31 11:32:07 -04:00
Julian Lam
010727f5cb
refactor(socket.io): deprecate categories.loadMoreSubCategories in favour of api.categories.getChildren
2023-10-31 11:32:07 -04:00
Julian Lam
d7c6b3d60e
refactor(socket.io): deprecate categories.setWatchState in favour of api.categories.setWatchState
2023-10-31 11:32:07 -04:00
Julian Lam
f1dbfaa283
chore(socket.io): deprecate categories.(isModerator|ignore|watch|getSelectCategories|getMoveCategories|getCategoriesByPrivilege)
2023-10-31 11:32:07 -04:00
Julian Lam
c442b6e662
refactor(socket.io): deprecate categories.getTopicCount in favour of api.categories.getTopicCount
2023-10-31 11:32:07 -04:00
Julian Lam
96046373da
refactor(socket.io): deprecate categories.get in favour of api.categories.list
2023-10-31 11:32:07 -04:00
Julian Lam
52b78e83a8
refactor(socket.io): deprecate categories.getRecentReplies in favour of api.categories.getPosts
2023-10-31 11:32:07 -04:00
Barış Soner Uşaklı
4c4f3ac983
feat: add direct message link ( #12138 )
...
* feat: add direct message link
/message/:mid
add /:index? to chat routes
add copy link to chat messages
add messageCount to each room object
add infinitescroll in both directions to chat
* fix more tests
* test: more text fixes
* test: fix tests
* remove async
* dont crash if element not in dom
clamp scrollToIndex values to 0, msgCount
2023-10-31 10:15:06 -04:00
Barış Soner Uşaklı
d3fb339c37
derp
2023-10-28 20:44:51 -04:00
Barış Soner Uşaklı
21c4779c93
Merge branch 'master' into develop
2023-10-28 13:42:14 -04:00
Barış Soner Uşaklı
46f6f9eff0
fix: thumb width
2023-10-28 13:42:06 -04:00
Barış Soner Uşaklı
87a859aa93
feat: closes #5584 , setup winston to output to file
...
on upgrade
2023-10-27 19:27:00 -04:00
Julian Lam
022fa0e75f
fix: don't count internal links towards link count when restricting new users from posting links
2023-10-26 11:18:23 -04:00
Barış Soner Uşaklı
4693f8bf1e
Merge branch 'master' into develop
2023-10-26 11:15:53 -04:00
Barış Soner Uşaklı
1f8007476c
feat: closes #12123 , allow setting hh:mm for pin expiry
...
use locale for pin expiry and use short form
2023-10-26 11:14:58 -04:00
Barış Soner Uşaklı
6c7e614417
feat: batch.processSortedSet min/max ( #12129 )
...
* feat: batch.processSortedSet min/max
* test if this works
2023-10-26 10:23:27 -04:00
Barış Soner Uşaklı
668a355afe
fix: closes #12126 , fix language keys
2023-10-25 19:07:13 -04:00
Barış Soner Uşaklı
075cd598d1
fix: closes #12126 , fix language keys
2023-10-25 19:06:29 -04:00
Barış Soner Uşaklı
e5a60dc857
fix: param
2023-10-25 13:40:15 -04:00
Barış Soner Uşaklı
dabc282dde
refactor: move async call to parallel
2023-10-25 13:25:55 -04:00
Julian Lam
6a696c43a3
fix: handle public chat rooms too
2023-10-25 13:23:01 -04:00
Julian Lam
18c27d1ad3
fix: suppress chat message notifications for users who are known to be in the chat room (uid is present in the corresponding socket.io room)
2023-10-25 13:23:01 -04:00
Barış Soner Uşaklı
728d63f953
fix: closes #12115 , toggle hasmore as well
2023-10-24 10:52:33 -04:00
Barış Soner Uşaklı
d401bf450b
fix count
2023-10-23 11:09:41 -04:00
Barış Soner Uşaklı
2a833ea476
dont count drafts
2023-10-23 10:31:23 -04:00
Barış Soner Uşaklı
2ca5192b8a
feat: show # of widgets on templates
...
ability to hide drafts
2023-10-23 10:14:36 -04:00
Barış Soner Uşaklı
b1ff93f85c
refactor: get rid of util.promisify on async function
2023-10-22 16:15:28 -04:00
Barış Soner Uşaklı
ff6bfeb87f
refactor: fix comment
2023-10-21 10:06:49 -04:00
Barış Soner Uşaklı
2955fdb5a0
feat: #12101 , dont return rssFeedUrl if feeds are disabled
2023-10-19 09:35:59 -04:00
Barış Soner Uşaklı
1739f5a9e7
fix : #10276 , only move widgets if area doesn't exist
...
when changing a theme save all locations that have widgets in them, after restart go through these locations and if they don't exist anymore move those widgets to drafts
2023-10-18 10:37:11 -04:00
Barış Soner Uşaklı
b398321a5e
Chat with privileged ( #12092 )
...
* Update headers.js
Fixes X-Upstream-Hostname header for os hostnames with invalid characters
* Added missing period in allowed hostname chars
Allowed hostname chars should include A-Za-z0-9-. based on https://man7.org/linux/man-pages/man7/hostname.7.html
* feat: add chat:privileged global privilege
to only allow chatting with privileged users
* test: fix priv test
* test: one more fix
---------
Co-authored-by: chadjw <chad.warner@gmail.com >
2023-10-17 13:19:25 -04:00
Barış Soner Uşaklı
9e9046bf65
feat: award notif filter
2023-10-16 19:18:17 -04:00
Barış Soner Uşaklı
c1ae879d90
fix : #12090 , dont award disabled rewards
2023-10-16 19:17:52 -04:00
Barış Soner Uşaklı
347a43f4fe
fix: rewards fixes
...
fix enabled/disabled button
sort rewards from oldest to newest
2023-10-16 19:02:42 -04:00
Barış Soner Uşaklı
e542b27d1d
feat: update to mongodb 6.1 ( #12087 )
2023-10-15 13:38:57 -04:00
Barış Soner Uşaklı
eca64ef3d6
widget overflow fix
2023-10-14 15:06:09 -04:00
Barış Soner Uşaklı
c7c6e8ffb4
refactor: get rid of async.series
2023-10-13 12:11:41 -04:00
Barış Soner Uşaklı
f96b0b7a4a
feat: add category canonical url
2023-10-12 16:21:19 -04:00
Barış Soner Uşaklı
aa69e2ed76
Merge branch 'develop' of https://github.com/NodeBB/NodeBB into develop
2023-10-12 10:26:06 -04:00
Barış Soner Uşaklı
e35ff0a1b5
use absolute url
2023-10-12 10:26:00 -04:00
Julian Lam
db5b0f47e0
feat: update error handler to check for pseudo-standard no-* prefix and route to 404 handler instead
2023-10-12 10:23:30 -04:00
Julian Lam
e012edea3b
feat: flag rescinding logic + api method
2023-10-12 10:23:30 -04:00
Julian Lam
cc8fe4353d
fix: incorrect data passed to api.flags.get
2023-10-12 10:23:30 -04:00
Julian Lam
da2390594a
test: added test cases for .addReport and .rescindReport()
2023-10-12 10:23:30 -04:00