Julian Lam
21dbd47688
fix: typo in hook name
3 years ago
Julian Lam
46fbe15665
fix : #10443 , regression where sorted-list items did not render into the DOM in the predicted order [breaking]
3 years ago
CommanderRoot
200f0b2e4f
refactor: replace deprecated String.prototype.substr() ( #10432 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
Barış Soner Uşaklı
538ad9e18b
feat: add confirm to reject, closes #10427
3 years ago
Julian Lam
b88bb3cfbb
feat: allow client-side hook registration chaining
3 years ago
Barış Soner Uşaklı
f76c0e8952
refactor: shorter generateTopicClass
3 years ago
Julian Lam
935704a83c
feat: collect hook logs in order to reduce console noise, flush on ajaxify loadScript completion
3 years ago
Julian Lam
c83987bd20
fix: don't append to history on refresh or ajaxify to same url
3 years ago
Julian Lam
4b79dfd29d
feat: add support for PATCH method in api module
3 years ago
Barış Soner Uşaklı
7c946570d5
feat: on online users page override timeago cutoff to 24 hours
3 years ago
Barış Soner Uşaklı
be6bbabd0e
feat: ability to mute users
...
new mute privilege
3 years ago
Barış Soner Uşaklı
e9a86cb912
fix: optional params
3 years ago
Barış Soner Uşaklı
e841d59a67
feat: add translateKeys
3 years ago
Barış Soner Uşaklı
70e613f814
fix : #10374 , use quick search in setting
3 years ago
Barış Soner Uşaklı
37ef8366d0
fix : #10360 , only take top level posts
3 years ago
Julian Lam
fec907d99d
fix : #10354 , flag actions regression
3 years ago
Barış Soner Uşaklı
40230725c3
refactor: move header unread code to separate module
3 years ago
Barış Soner Uşaklı
4a1e761adb
refactor: remove code that doesn't do anything
3 years ago
Julian Lam
1c8d1d231e
fix(sorted-list): call loadItem hook on add/edit items as well as on item retrieval, refactor edit to call parse()
3 years ago
Julian Lam
914733e44b
fix: allow calls to api module without a defined payload
3 years ago
Julian Lam
92d613e420
feat(sorted-list): add new client-side hook `filter:settings.sorted-list.loadItem`
3 years ago
Julian Lam
fb4f89f391
fix(sorted-list): only call `.stripHTMLTags()` on string values
3 years ago
Barış Soner Uşaklı
0b813d601e
fix : #10316 , fix quoting regression
3 years ago
Julian Lam
1fa4134201
fix : #10329 , select elements in sorted-list not showing proper values
3 years ago
Barış Soner Uşaklı
3acd2ac850
refactor: wrap around if at end
...
remove debug log
dont focus input on mobile
3 years ago
Barış Soner Uşaklı
b517b376ac
feat: ability to go through your posts in a topic
...
because I am 👴 useful for large topics
3 years ago
Barış Soner Uşaklı
503e27f709
fix : #10302 , fix regression
3 years ago
Barış Soner Uşaklı
58b5781cea
feat: closes #10296
...
asset_base_url in nconf
keep assetBaseUrl in config for backwards compat
3 years ago
Barış Soner Uşaklı
946d351f3a
refactor: lazy load slugify
3 years ago
Barış Soner Uşaklı
398d25c210
feat: #10276 , dont change/revert theme if its current
3 years ago
Barış Soner Uşaklı
fb3f4f9a13
fix : #10256 , allow quote tooltip on mobile
3 years ago
Barış Soner Uşaklı
dcb201dfa8
fix: https://github.com/NodeBB/NodeBB/issues/10242
3 years ago
Barış Soner Uşaklı
cf5c096806
feat: add upload helper module for drag&drop, paste, closes #6388
...
fix chat input not getting focused
3 years ago
Barış Soner Uşaklı
1d01741ae7
fix : #10208 , don't use leading slash in directory names
...
change to use decodeURIComponent in utils.params
3 years ago
Barış Soner Uşaklı
93d18383ee
fix: don't crash if quick search doesn't return posts
3 years ago
Julian Lam
89b559a2a3
refactor: sorted-list .get() to be async fn
...
+ plugin hook `filter:settings.sorted-list.load` to allow modification of params prior to template parsing
3 years ago
Julian Lam
578145acd6
fix: bug where page wouldn't complete loading if data.scripts was emptied
3 years ago
Barış Soner Uşaklı
dc6e629d59
fix: https://github.com/julianlam/nodebb-plugin-mentions/issues/170
3 years ago
Barış Soner Uşaklı
92a249c947
fix : #10197 , fix relative path urls for dashboard pages
3 years ago
Barış Soner Uşaklı
94da502629
fix: if no group label is selected, select no group title option
...
dont save groupTitle: "['null']" if nothing is selected
3 years ago
Barış Soner Uşaklı
1c80adf1ef
feat: revert label js change
3 years ago
Barış Soner Uşaklı
fdfafb44fb
fix: mark unread button showing the selected category
3 years ago
Barış Soner Uşaklı
a75a043b61
feat: allow % in tags, #10135
3 years ago
Barış Soner Uşaklı
8ad64ec0f9
fix : #10121 , fix error messages in user creation
3 years ago
Barış Soner Uşaklı
69a7634a78
fix : #10115 , fix chat autocomplete hook
3 years ago
Barış Soner Uşaklı
b179f0fc0f
fix: use component instead of class name
3 years ago
Julian Lam
2fe53cf849
feat: `GET /api/v3/chats/:roomId/messages`
3 years ago
Julian Lam
aaa6f752d0
refactor: put message api calls behind `/messages` prefix, #10097
3 years ago
Julian Lam
16ba16cdc4
fix: deprecate chats.leave
3 years ago
Julian Lam
fe17c94c35
feat: `DELETE /api/v3/chats/:roomId/users` and `DELETE /api/v3/chats/:roomId/users/:uid`
3 years ago
Julian Lam
d62ee84637
feat: `POST /chats/:roomId/users`
3 years ago
Julian Lam
6eea6451d2
feat: `GET /chats/:roomId/users` [breaking]
3 years ago
Julian Lam
d5fd098ecf
feat: `POST /chats/:roomId/:mid` and `DELETE /chats/:roomId/:mid`
3 years ago
Julian Lam
f48ed3658a
feat: `PUT /chats/:roomId/:mid`
3 years ago
Julian Lam
9a4fd5dc7e
feat: `PUT /api/v3/chats/:roomId`
3 years ago
Julian Lam
eeffb9d978
feat: `POST /api/v3/chats/:roomId`
3 years ago
Barış Soner Uşaklı
a115b771f0
fix : #10096 , don't display preview for links if hostname doesnt match
3 years ago
Barış Soner Uşaklı
a9f81215cf
fix: only render preview on topic page
3 years ago
Nazim
d23ac79839
Revert
3 years ago
Barış Soner Uşaklı
fdaf8274cf
fix : #10090 , remove left over necro posts messages
3 years ago
Barış Soner Uşaklı
c4042c70de
feat: #9506 , allow seeing and editing your queued posts
...
allow regular users access to post queue
allow regular users to edit their queued post/topic title
allow regular users to remove their post from post queue
ability to send a notification to user without removing from post queue
allow accessing single post queue items from notifications
3 years ago
Barış Soner Uşaklı
91e21ecc62
fix: utils method
3 years ago
Barış Soner Uşaklı
9f1b8a3b1e
refactor: use hasOwnProperty
3 years ago
Barış Soner Uşaklı
dbba0c396b
refactor: remove object.create
3 years ago
Barış Soner Uşaklı
3d3ae82f5b
refactor: remove unused args
3 years ago
Barış Soner Uşaklı
633061f4a7
refactor: remove comment
3 years ago
Barış Soner Uşaklı
d4f3ee67fa
refactor: use .map to return promises
3 years ago
Barış Soner Uşaklı
682f60890b
lint: fix
3 years ago
Barış Soner Uşaklı
10e890e41f
fix: targetBlank/dropdown not getting cleared
...
show caret if nav item is dropdown
3 years ago
Barış Soner Uşaklı
69c96078ea
breaking: #10077 , store nav items in objects
3 years ago
Barış Soner Uşaklı
6ad0472106
breaking: remove socket.emit('topics.post')
...
remove socket.emit('topics.search')
remove socket.emit('topics.getTopic')
3 years ago
Barış Soner Uşaklı
bd1cb2d4f9
breaking: remove socket.emit('posts.delete')
...
remove socket.emit('posts.restore')
remove socket.emit('posts.purge')
remove socket.emit('posts.deletePosts')
remove socket.emit('posts.purgePosts')
3 years ago
Barış Soner Uşaklı
236d4e8056
fix : #10068 , update data-index values after sort
3 years ago
Barış Soner Uşaklı
9af2335134
fix : #10068 , baseIndex should be read before sort update fix off by one error
3 years ago
Barış Soner Uşaklı
cc3f82bc83
breaking: remove socket.emit('admin.categories.setPrivilege') and socket.emit('admin.categories.getPrivilegeSettings')
3 years ago
Barış Soner Uşaklı
906dc5675e
fix: handle start=0 stop=0 for topics.getTopicPosts
...
add more tests
3 years ago
Barış Soner Uşaklı
621c142f8e
refactor: alerts
3 years ago
Barış Soner Uşaklı
0a6eeb933e
lint: fix
3 years ago
Barış Soner Uşaklı
cba78aee16
refactor: use alerts.error/success
3 years ago
Barış Soner Uşaklı
4f4236101b
fix: wrong usage of is ACP
3 years ago
Barış Soner Uşaklı
dd02c49f43
refactor: use lang keys, fix typo
3 years ago
Barış Soner Uşaklı
1980feed46
refactor: use alerts module
3 years ago
Barış Soner Uşaklı
7b99dc46eb
test: utils.params
3 years ago
Barış Soner Uşaklı
36aa60346b
breaking: remove action:category.loaded, use action:topics.loading
...
action:category.loaded will not fire on infintite load of topics
3 years ago
Baris Usakli
d378bf4c9c
fix: quote button staying on screen on slow computers
4 years ago
Barış Soner Uşaklı
242f8e95ad
fix : #10020 , /api/post/upload returns v3 style response
4 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
4 years ago
Barış Soner Uşaklı
d5bfd51267
fix : #10010 , handle reverse sorting for topic events
...
dont add events to dom if sort is most votes
if sorting is reverse add new events after the main post or at the top instead of bottom
4 years ago
Barış Soner Uşaklı
e368feef51
refactor: dont expost entire res._locals to client side
4 years ago
Barış Soner Uşaklı
4359e5c97c
refactor: remove tabs after declaration
4 years ago
Barış Soner Uşaklı
258f368e32
refactor: add filter:topic.getPosts
...
this hook only fires when loading the posts of a topic cold load + infinite scroll
do not remove posts if they have index =-1
use topics.getTopicPosts instead of getMainPostAndReplies
4 years ago
Barış Soner Uşaklı
231472354e
perf: create user tooltips on demand
4 years ago
Barış Soner Uşaklı
7f8783555b
Revert "perf: remove createUserTooltips"
...
This reverts commit facc10e40f
.
4 years ago
Baris Usakli
facc10e40f
perf: remove createUserTooltips
4 years ago
Barış Soner Uşaklı
41c3eb8298
refactor: shorter require
4 years ago
Barış Soner Uşaklı
96f13e4f5d
feat: #9992 , hooks.one
4 years ago
Barış Soner Uşaklı
0428912c6d
refactor: deprecate app.alert functions user alerts module directly
4 years ago
Barış Soner Uşaklı
8b4510cc70
refactor: deprecate app.logout
...
use logout module instead
move header related code out of app.js
4 years ago
Barış Soner Uşaklı
619034484f
refactor: simpler rejoin
...
remove pointless app.cacheBuster = null
4 years ago
Barış Soner Uşaklı
f352be63dc
refactor: deprecate app.openChat/newChat
...
use chat.openChat/newChat instead
4 years ago