Julian Lam
5b42b6b369
API route for returning tracked analytics keys ( #10019 )
...
* feat: track metrics saved by NodeBB (and assoc. plugins), #9949
* feat: route to retrieve analytics keys, closes #9949
2021-11-19 15:12:13 -05:00
Julian Lam
449366ca83
fix: consolidate plugin reset logic
2021-11-19 12:21:14 -05:00
Barış Soner Uşaklı
9245f71a66
fix: search crash
2021-11-18 20:12:07 -05:00
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
2021-11-18 16:42:18 -05:00
Barış Soner Uşaklı
c26870d227
feat: #10008 , add history entry for note deletion
2021-11-18 13:59:39 -05:00
Barış Soner Uşaklı
697dd37670
refactor: change category feed so it is not updated on every reply
...
allow cid query param for recent/top/popular feeds
2021-11-18 13:11:05 -05:00
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
2021-11-17 23:34:01 -05:00
Barış Soner Uşaklı
e368feef51
refactor: dont expost entire res._locals to client side
2021-11-17 22:11:24 -05:00
Barış Soner Uşaklı
190532b3b4
refactor: shorter meta.settings.get
2021-11-16 19:25:40 -05:00
Barış Soner Uşaklı
51cbeccb08
refactor: clone settings before returning
...
prevents plugins from mistakenly modifying saved settings in cache
2021-11-16 19:20:18 -05:00
Barış Soner Uşaklı
27c05448e1
refactor: remove another async.series
2021-11-16 17:11:26 -05:00
Barış Soner Uşaklı
0532c1b2a1
feat: #9957 , don't remove existing fields form config.json
2021-11-16 16:20:39 -05:00
Barış Soner Uşaklı
047f031dd7
fix : #10006 , dont allow new rooms or adding to a room if target is blocked
2021-11-16 11:57:00 -05:00
Barış Soner Uşaklı
f729e51921
refactor: clone before returning
2021-11-15 18:21:52 -05:00
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
2021-11-15 18:08:09 -05:00
Barış Soner Uşaklı
8379c11b22
refactor: setObjectBulk to match sortedSetAddBulk
2021-11-12 19:51:59 -05:00
Baris Usakli
d412ba4411
perf: closes #9994 , bulk methods for settings
2021-11-12 15:13:36 -05:00
Julian Lam
09e0c6d503
feat: add feature flag to disable verification emails, closes #9996
2021-11-12 14:58:56 -05:00
Barış Soner Uşaklı
d196409580
refactor: remove more async.eachSeries/mapSeries
2021-11-10 20:55:06 -05:00
Barış Soner Uşaklı
8750ee04a6
refactor: make a single call to set widgets per template
2021-11-10 20:40:34 -05:00
Barış Soner Uşaklı
80f9963bed
refactor: remove jshint, remove async.parallel
2021-11-10 20:19:13 -05:00
Barış Soner Uşaklı
61d1f56500
test: socket.emit doesnt exist in tests
2021-11-09 10:51:44 -05:00
Julian Lam
1719bff89c
feat: use auto-generated meta and link tags in ACP, closes #9991
2021-11-09 10:39:48 -05:00
Barış Soner Uşaklı
8b4510cc70
refactor: deprecate app.logout
...
use logout module instead
move header related code out of app.js
2021-11-08 23:28:26 -05:00
Barış Soner Uşaklı
1a9b15989b
refactor: move search functions from app.js to search module
...
deprecate:
app.handleSearch, use search.init(options) instead
app.enableTopicSearch, use search.enableQuickSearch(options) instead
app.prepareSearch, use search.showAndFocusInput() instead
2021-11-08 21:31:49 -05:00
Barış Soner Uşaklı
518552543d
refactor: move warnings/messages out of app.js
2021-11-08 20:40:41 -05:00
Julian Lam
c1ac291284
fix: ability to enumerate email via updateProfile method
2021-11-08 15:36:37 -05:00
Julian Lam
b912a564e3
fix: accidentally not clearing email when said email is confirmed for a different uid
2021-11-08 15:16:48 -05:00
Barış Soner Uşaklı
4b738c8cd3
refactor: cleanup info, better cpu usage %
2021-11-06 22:07:06 -04:00
Barış Soner Uşaklı
890bf03fcc
refactor: acp only uses 3 modes and a single theme
...
so only copy 7 files to build folder instead of 400+
2021-11-06 21:20:05 -04:00
Barış Soner Uşaklı
28dd31a8e7
fix : #9976
2021-11-05 14:12:45 -04:00
Barış Soner Uşaklı
9bfb6c7281
fix : #9976 , handle array or object
2021-11-05 14:11:03 -04:00
Barış Soner Uşaklı
66e7cdac7a
fix : #9973 , ignore if assigning to same parent
2021-11-04 11:45:06 -04:00
Barış Soner Uşaklı
d27c9696e3
feat: add node 16 ( #9847 )
...
* feat: add node 16
* fix: check errors in fork
* test: add use-spawn
* test: another test
* Revert "test: another test"
This reverts commit 606efe26fe .
* test: another test
* fix: lint
* fix: remove spawn-wrap
* test: comment out plugin installs
* fix: lint
* test: uncomment all tests except npm i
* fix: lint
* test: bring back tests
* test: remove leftover override
2021-11-04 00:09:14 -04:00
Barış Soner Uşaklı
67cb249122
fix : #9972
2021-11-03 22:47:15 -04:00
Barış Soner Uşaklı
2e623dd271
feat: #9967 , allow dropdowns in navigation
2021-11-03 16:01:32 -04:00
Barış Soner Uşaklı
b916e42f40
feat: show number of events per type in acp
2021-11-01 19:36:18 -04:00
Barış Soner Uşaklı
8c67031609
feat: show posts previews if enabled on mouse over
2021-11-01 15:09:05 -04:00
Barış Soner Uşaklı
3d611ab70e
fix: events for just topic with main post
2021-10-31 16:13:16 -04:00
Barış Soner Uşaklı
89399c0ed5
fix : #9954 , get next post timestamp
...
fixes topic events being inserted in after first page but at the wrong spot
2021-10-31 15:09:33 -04:00
Julian Lam
485b6ced1d
fix: broken post uploads due to 6a976a9db0
2021-10-29 14:23:22 -04:00
Julian Lam
0ee85d5a0b
fix : #9950 , rename account export routes to remove uid/ prefix
2021-10-29 14:12:14 -04:00
Julian Lam
60352eca54
fix: double invocation of authenticateRequest
2021-10-29 11:16:37 -04:00
Julian Lam
6a976a9db0
fix : #9945 , call authenticateRequest middleware for mount points in /api
2021-10-29 10:56:06 -04:00
Barış Soner Uşaklı
bc4b19b4d7
fix: typo in flags
2021-10-28 15:12:12 -04:00
Barış Soner Uşaklı
8f08d9cac0
fix: handle undefined data.query
2021-10-27 14:21:36 -04:00
Julian Lam
28efcb59cb
chore: remove .opacity() mixin as it is supported cross-browser
2021-10-27 12:35:10 -04:00
Barış Soner Uşaklı
c428ba80aa
refactor: wider value field
2021-10-26 16:20:24 -04:00
Barış Soner Uşaklı
c7e078d495
refactor: dont save partial searches
2021-10-26 15:51:42 -04:00
Julian Lam
80ea12c1c1
feat: new ACP option emailPrompt
...
... which allows administrators to disable the client-side prompt to
encourage users to enter or confirm their email addresses
2021-10-26 14:28:42 -04:00