Barış Soner Uşaklı
ec1d5e38da
breaking: remove socket.emit('posts.upvote')
...
socket.emit('posts.downvote')
socket.emit('posts.unvote')
3 years ago
Barış Soner Uşaklı
8427c5d9db
breaking: remove socket.emit('posts.move')
3 years ago
Barış Soner Uşaklı
4247f62441
breaking: remove socket.emit('posts.edit')
3 years ago
Barış Soner Uşaklı
f7418ccd47
breaking: remove socket.emit('posts.bookmark/unbookmark')
3 years ago
Barış Soner Uşaklı
5c3d5f1f40
test: make it async
3 years ago
Barış Soner Uşaklı
cfd474487a
refactor: async
3 years ago
Barış Soner Uşaklı
f0394c4965
refactor: async
3 years ago
Barış Soner Uşaklı
8491f67daf
refactor: use async
3 years ago
Barış Soner Uşaklı
07e2741ea6
breaking: remove deprecated admin.groups methods
3 years ago
Barış Soner Uşaklı
a8afdc6019
fix : #10069 , don't modify fields array
...
use a single setObjectFields for the profile update
3 years ago
Barış Soner Uşaklı
45d8157fee
fix: tests
3 years ago
Barış Soner Uşaklı
9627fa9029
refactor: always returns array
3 years ago
Barış Soner Uşaklı
830166d120
fix : #10067 , count posts instead of incr/decr
3 years ago
Barış Soner Uşaklı
f4aa249d8c
refactor: use async/await
3 years ago
Barış Soner Uşaklı
cbf198fe9b
lint: remove unused
3 years ago
Barış Soner Uşaklı
45d755b6ae
breaking: remove socket.emit('categories.getCategory')
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ı
0b9c01f9a0
breaking: remove deprecated socket.emit('admin.categories.update')
3 years ago
Barış Soner Uşaklı
ba5d2e7b81
breaking: remove deprecated socket.emit('admin.categories.purge')
3 years ago
Barış Soner Uşaklı
b335372348
breaking: remove deprecated socket.emit('admin.categories.create')
3 years ago
Barış Soner Uşaklı
10c19af2ad
breaking: remove deprecated socket.emit('admin.categories.getAll')
3 years ago
Barış Soner Uşaklı
a20abdce02
lint: remove unused
3 years ago
Barış Soner Uşaklı
36eb47d9a0
refactor: change var name
3 years ago
Barış Soner Uşaklı
170e5dd941
breaking: remove getTopicPosts(tid, ...) usage
3 years ago
Barış Soner Uşaklı
906dc5675e
fix: handle start=0 stop=0 for topics.getTopicPosts
...
add more tests
3 years ago
Julian Lam
fa01801f64
fix: don't throw on invalid session, just return early so socket is not opened.
...
Also updated the plugin hook call to `static:sockets.validateSession` to not return a result, because in static calls that result is always null anyway
3 years ago
Barış Soner Uşaklı
a29535833f
fix : #10052 , dont use spaces in tag class name
3 years ago
Barış Soner Uşaklı
41db9436e8
perf: only add middleware if relativePath is set
3 years ago
Julian Lam
a3bdb70617
feat: ensure that all requests handled by NodeBB fall under the relative_path as configured
3 years ago
Barış Soner Uşaklı
2bb0828af6
refactor: dont need local function
3 years ago
sadaszewski
a1c9a69cd3
incr by bulk. ( #9952 )
...
* incr by bulk.
* Update analytics.js
* Update analytics.js
* lint: fix
Co-authored-by: Barış Soner Uşaklı <baris@nodebb.org>
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
3 years ago
Barış Soner Uşaklı
6ea3b51f12
Zincrybulk ( #9975 )
...
* feat: zincry bulk
* feat: psql bulk incr placeholder
* test: redis test fix
* test: redis test
3 years ago
Barış Soner Uşaklı
d9c42c000c
feat: show 10 members
3 years ago
Barış Soner Uşaklı
1cdb0b1e19
fix: don't crash if tid is falsy
3 years ago
Barış Soner Uşaklı
0414356cf7
perf: don't load all set members to get count
3 years ago
Barış Soner Uşaklı
50063fe238
fix: regression from 27c05448e1
3 years ago
Barış Soner Uşaklı
82b72f7edc
lint: remove unused utils
3 years ago
Barış Soner Uşaklı
5843122178
test: add missing tests
3 years ago
Barış Soner Uşaklı
8117b7f22f
breaking: remove deprecated post diff socket calls
3 years ago
Barış Soner Uşaklı
324262cbb5
refactor: DRY
3 years ago
Barış Soner Uşaklı
1a7fffc7e9
breaking: remove deprecated user middlewares
3 years ago
Barış Soner Uşaklı
941ecaf899
fix: keep query params on /me redirects
3 years ago
Barış Soner Uşaklı
65c5504193
fix: 403/400/500 page not generating csrf_token
3 years ago
Barış Soner Uşaklı
3dd681ebce
fix: error pages dont have config.csrf_token
3 years ago
Barış Soner Uşaklı
7434cbf66f
test: add api token tests
3 years ago
Barış Soner Uşaklı
1e53552874
feat: closes #10018
3 years ago
Baris Usakli
06bfec8840
feat: #10018 add href
3 years ago
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
Barış Soner Uşaklı
9bfb6c7281
fix : #9976 , handle array or object
3 years ago
Barış Soner Uşaklı
66e7cdac7a
fix : #9973 , ignore if assigning to same parent
3 years ago
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 606efe26fe1decd5d9269d63d5b649441ba2203b.
* 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
3 years ago