Baris Usakli
0f14f23b2a
feat: #10018 , wip
3 years ago
Julian Lam
6c07433dea
refactor: use routePrefixMap instead of routeRegexpMap, +tests ( #10035 )
...
* refactor: use routePrefixMap instead of routeRegexpMap, +tests
Currently tests fail because privilege pages resolve if passed garbage... hmm
* fix: priv check paths
remove /v3 from path as well
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
3 years ago
Barış Soner Uşaklı
daf385cd42
refactor: use hasOwnProprety
3 years ago
Barış Soner Uşaklı
404a877408
test: add missing tests
3 years ago
Barış Soner Uşaklı
6dcdf1d342
breaking: remove setTopicSort/setCategorySort
3 years ago
Barış Soner Uşaklı
7aa85882d5
chore: right dropdown
3 years ago
Barış Soner Uşaklı
a998cc1c47
chore: right dropdown
3 years ago
Barış Soner Uşaklı
a7d1dfb65c
breaking: remove deprecated socket user create/delete functions
...
add missing tests
3 years ago
Barış Soner Uşaklı
a0e2704da1
Merge branch 'master' of https://github.com/NodeBB/NodeBB
3 years ago
Barış Soner Uşaklı
c93d7fdbdd
breaking: remove deprecated uploads.delete
3 years ago
Julian Lam
e0caa5e0c4
fix: removed unused var
3 years ago
Julian Lam
01bd8a8694
remove email only login ( #10030 )
...
* feat: remove ACP option for email-only logins
* feat: remove email-only login, upgrade script to fix config
3 years ago
Barış Soner Uşaklı
79de48c57f
breaking: remove deprecated methods
3 years ago
Barış Soner Uşaklı
2473d5d873
fix : #10027 , properly auto confirm first user
3 years ago
Barış Soner Uşaklı
71e34be565
fix: cli password reset
3 years ago
Barış Soner Uşaklı
d375dcb873
test: submitUsage
3 years ago
Barış Soner Uşaklı
29b3587d91
test: middleware/expose.js
3 years ago
Barış Soner Uşaklı
c5f08fdc81
breaking: remove socket.io/flags.js
...
refactor: helpers.loginUser returns a single object {jar, csrf_token}
3 years ago
Julian Lam
f0d192fbfd
feat: autocomplete for activate/reset
...
useless features™️
3 years ago
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
3 years ago
Julian Lam
449366ca83
fix: consolidate plugin reset logic
3 years ago
Barış Soner Uşaklı
9245f71a66
fix: search crash
3 years ago
Barış Soner Uşaklı
fb363957d1
refactor: tab rules
3 years ago
Barış Soner Uşaklı
c26870d227
feat: #10008 , add history entry for note deletion
3 years ago
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
3 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
3 years ago
Barış Soner Uşaklı
e368feef51
refactor: dont expost entire res._locals to client side
3 years ago
Barış Soner Uşaklı
190532b3b4
refactor: shorter meta.settings.get
3 years ago
Barış Soner Uşaklı
51cbeccb08
refactor: clone settings before returning
...
prevents plugins from mistakenly modifying saved settings in cache
3 years ago
Barış Soner Uşaklı
27c05448e1
refactor: remove another async.series
3 years ago
Barış Soner Uşaklı
0532c1b2a1
feat: #9957 , don't remove existing fields form config.json
3 years ago
Barış Soner Uşaklı
047f031dd7
fix : #10006 , dont allow new rooms or adding to a room if target is blocked
3 years ago
Barış Soner Uşaklı
f729e51921
refactor: clone before returning
3 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
3 years ago
Barış Soner Uşaklı
8379c11b22
refactor: setObjectBulk to match sortedSetAddBulk
3 years ago
Baris Usakli
d412ba4411
perf: closes #9994 , bulk methods for settings
3 years ago
Julian Lam
09e0c6d503
feat: add feature flag to disable verification emails, closes #9996
3 years ago
Barış Soner Uşaklı
d196409580
refactor: remove more async.eachSeries/mapSeries
3 years ago
Barış Soner Uşaklı
8750ee04a6
refactor: make a single call to set widgets per template
3 years ago
Barış Soner Uşaklı
80f9963bed
refactor: remove jshint, remove async.parallel
3 years ago
Barış Soner Uşaklı
61d1f56500
test: socket.emit doesnt exist in tests
3 years ago
Julian Lam
1719bff89c
feat: use auto-generated meta and link tags in ACP, closes #9991
3 years ago
Barış Soner Uşaklı
8b4510cc70
refactor: deprecate app.logout
...
use logout module instead
move header related code out of app.js
3 years ago
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
3 years ago
Barış Soner Uşaklı
518552543d
refactor: move warnings/messages out of app.js
3 years ago
Julian Lam
c1ac291284
fix: ability to enumerate email via updateProfile method
3 years ago
Julian Lam
b912a564e3
fix: accidentally not clearing email when said email is confirmed for a different uid
3 years ago
Barış Soner Uşaklı
4b738c8cd3
refactor: cleanup info, better cpu usage %
3 years ago
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+
3 years ago
Barış Soner Uşaklı
28dd31a8e7
fix : #9976
3 years ago