Julian Lam
bff53de03f
fix: handle ACP category enable/disable states after call success
5 years ago
Julian Lam
aa8faf58a0
refactor: remove /users/{uid}/settings/{setting} route
...
@baris Also, I am now allowing the following properties to be saved in User.saveSettings:
- categoryTopicSort
- topicPostSort
- setCategorySort
- setTopicSort
5 years ago
Barış Soner Uşaklı
9082062e90
fix: sort setting not using correct field name
5 years ago
Barış Soner Uşaklı
a512d99472
refactor: remove unnecessary wrapper
5 years ago
Barış Soner Uşaklı
a05905f196
performance improvements ( #8795 )
...
* perf: nconf/winston/render
cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests
* fix: copy paste fail
* refactor: style and fire hook only log in dev mode
* fix: cache key, header changes based on template
* perf: change replace
* fix: add missing await
* perf: category
* perf: lodash clone
* perf: remove escapeRegexChars
5 years ago
Julian Lam
c26f2b6599
feat(writeapi): user settings API
5 years ago
Baris Usakli
1a4c0decb7
fix: reset button loading html
5 years ago
Barış Soner Uşaklı
e6440c0d21
fix : #8779 , fix move all
...
add new language keys
5 years ago
Barış Soner Uşaklı
3ee4936db6
fix: keep sortBy while searching
5 years ago
Barış Soner Uşaklı
85cfe49d65
fix: autocomplete.user on search page
5 years ago
Barış Soner Uşaklı
c107649b40
fix : #8732
5 years ago
Barış Soner Uşaklı
d9a16855d0
refactor: posts api
5 years ago
Barış Soner Uşaklı
272e73da53
refactor: post restore/delete/purge
5 years ago
Barış Soner Uşaklı
9738e20207
refactor: merge post.edit
...
fix: dont fadeout/fadeint if title/post didnt change
5 years ago
Barış Soner Uşaklı
2279e37261
refactor: deprecate socket.emit('users.search') use api route
5 years ago
Barış Soner Uşaklı
083c74e059
refactor: api categories
5 years ago
Barış Soner Uşaklı
51a60d3d46
fix: handler for group.join
5 years ago
Julian Lam
20bb9c7ec8
fix: csrf token only on non-GET routes
5 years ago
Barış Soner Uşaklı
3673accdb8
refactor: api module
...
only return promise if callback is undefined
dont append baseUrl if url already starts with api
correctly handle writeapi readapi response for data/error
remove unused onError
dont append empty ? to url for get routes
5 years ago
Julian Lam
a784d10fff
refactor: api module returns promise, error-first cb if cb passed in
...
no more separate onSuccess onError callbacks
/cc @baris
5 years ago
Barış Soner Uşaklı
4b9444f1a5
fix: avatar selector
5 years ago
Barış Soner Uşaklı
872bacf1c4
Admin/users ( #8762 )
...
* feat: wip admin/users
* feat: more work
* feat: more fixes
* feat: #8662 , verified/unverified user groups
* feat: add filter
* feat: change user search to use filters array
* refactor: remove unused search call
* fix: tests
* fix: cant join system groups
* fix: upgrade script
5 years ago
Julian Lam
1e07886f30
feat: require csrf token if not using bearer token
5 years ago
Barış Soner Uşaklı
ba2e1c4c7e
fix: show more lines
5 years ago
Barış Soner Uşaklı
01265d08f3
feat: add stack to deprecate message
5 years ago
Barış Soner Uşaklı
dc29f4dca2
refactor: switch to using slugify module
5 years ago
Barış Soner Uşaklı
bddfcb5867
feat: #8734 , add slugify module, deprecate utils.slugify
5 years ago
Barış Soner Uşaklı
eab7489ec5
feat: #8734 , move deserialize/serialize to package.json
5 years ago
Barış Soner Uşaklı
948f26143c
feat: #5964 , #8734 remove colorpicker
5 years ago
Barış Soner Uşaklı
c954db84e4
refactor: require style
5 years ago
Barış Soner Uşaklı
931d44b5e2
fix: undefined api require, @julianlam
5 years ago
Barış Soner Uşaklı
e2d407b769
fix: watch tooltip
5 years ago
Barış Soner Uşaklı
aedd28e0a6
fix: module name
5 years ago
Barış Soner Uşaklı
cc705e5e2b
feat: #8734 , move sortable to package.json
5 years ago
Barış Soner Uşaklı
75c9668656
fix: admin jquerui requires
5 years ago
Barış Soner Uşaklı
8c019a6a3b
fix: timeago locale switch
5 years ago
Barış Soner Uşaklı
300a87559f
feat: #8734 , move bootbox to package.json
5 years ago
Barış Soner Uşaklı
420a312982
Merge branch 'master' of https://github.com/NodeBB/NodeBB
5 years ago
Barış Soner Uşaklı
3b231360d3
feat: load jquery-form before using
5 years ago
Barış Soner Uşaklı
fda2aedfd8
feat: #8734 , jquery-ui, jquery-form, timeago ( #8748 )
...
* feat: #8734 , jquery-ui, jquery-form, timeago
get rid of forum/footer.js move that code to app.js & wait for app to load before calling ajaxify.end
make sockets.js a requirejs module
move jquery-ui to node_modules and load via requirejs
move jquery-form to node_modules and load via requirejs
move timeago to node_modules and load via requirejs
only include the css for needed jquery-ui widgets
* feat: keep socket/io global for backwards compat
* refactor: move socket listener to chat
5 years ago
Barış Soner Uşaklı
ae3a231fce
feat: #8734 , remove semver.browser
...
use compare-versions as a module
5 years ago
Barış Soner Uşaklı
2c1897b373
feat: #8734 , move slideout to package.json
5 years ago
Barış Soner Uşaklı
9c157de05d
feat: #8734 , move tinycon to package.json
5 years ago
Barış Soner Uşaklı
45e8a4d588
fix : #8734 make nprogress module
5 years ago
Barış Soner Uşaklı
12c8b1c2bc
fix: dont allow adding duplicates to privileges page
...
hightlight uid/group if it is added again from autocomplete
5 years ago
Barış Soner Uşaklı
f259063f08
fix : #8728 , dont add admins to table
5 years ago
Julian Lam
f870721fca
feat(writeapi): file deletion route
5 years ago
Julian Lam
3ea1aa4780
refactor(writeapi): update route prefix to api/v3, default error option
5 years ago
Julian Lam
0973feea16
feat(writeapi): post bookmarking
5 years ago
Julian Lam
9942c248eb
feat(writeapi): post voting
5 years ago
Julian Lam
414169fdfa
feat(writeapi): post delete/restore/purge
5 years ago
Julian Lam
9be5629458
feat(writeapi): topic follow/ignore
5 years ago
Julian Lam
da25ce4d09
feat: topic delete/restore/purge/(un)pin/(un)lock
5 years ago
Julian Lam
49652e6f1b
feat: management of API tokens via ACP
5 years ago
Julian Lam
adcadbb2b5
fix: tests
5 years ago
Julian Lam
cb9369f10e
fix: bad merge w/ category ACP page
5 years ago
Julian Lam
a905d7f022
refactor: rewrite modules/api.js in AMD style
5 years ago
Julian Lam
40dc1c38d3
feat(writeapi): added DELETE /groups/:slug/membership/:uid route
5 years ago
Julian Lam
68ecf41ecf
fix(writeapi): client-side group join API call
5 years ago
Julian Lam
952dc211dd
feat(writeapi): added group joining and deletion
5 years ago
Julian Lam
d044c3223e
feat(writeapi): abstracted ajax calls out to new api module
5 years ago
Julian Lam
ba345e53e8
feat(writeapi): added POST /api/v1/groups
5 years ago
Julian Lam
3072de4812
feat: added DELETE /api/v1/categories/:cid route
5 years ago
Julian Lam
e942ad8101
feat: added PUT /api/v1/categories/:cid route
...
Deprecated admin.categories.update socket call
Showing stack trace in console for errors, when in development mode
5 years ago
Julian Lam
a5af2dc819
feat: added PUT/DELETE /api/v1/users/:uid/ban routes
5 years ago
Julian Lam
db5c5b2cfb
fix: follow route to match spec
5 years ago
Julian Lam
b5bbcbaeaa
feat: added POST and DELETE /api/v1/users/:uid/follow routes
5 years ago
Julian Lam
7aed174ebc
feat: added PUT /api/v1/users/:uid/password route
5 years ago
Julian Lam
a1ddc210b2
feat: added DELETE /api/v1/users/:uid and DELETE /api/v1/users
5 years ago
Julian Lam
d8879d21db
fix: error handling with POST /api/v1/users
5 years ago
Julian Lam
58043e07ba
fix: use POST call for user creation in ACP
...
- Not entirely sure about error handling yet, more research needed
- Also added socket method deprecation utility method
5 years ago
Barış Soner Uşaklı
7138d433b1
fix: selector, so it doesnt effect suggested topics
5 years ago
Julian Lam
fc603a5368
fix: use app.parseAndTranslate instead of benchpress.parse
5 years ago
psychobunny
20e0cc5cbb
fix: sorted list delete button
5 years ago
Barış Soner Uşaklı
b955fd363d
fix: dont allow sorting pinned topics on recent
5 years ago
Julian Lam
3c7f79cb8a
fix: use console.info instead of console.log for sw registration
5 years ago
Barış Soner Uşaklı
1542a5d7e5
feat: remove post/header selector
5 years ago
psychobunny
60afb110ef
fix: prevent mutiple highlighted rows on category/topic pages
5 years ago
Barış Soner Uşaklı
5d9a868142
feat: category filter on post queue ( #8710 )
...
* feat: category filter on post queue
category filter module
* feat: add spec
5 years ago
Julian Lam
f1de084da3
fix: do not show TOC if fewer than 2 headings
5 years ago
psychobunny
caa8c00f89
fix: params cached in autocomplete module
5 years ago
Peter Jaszkowiak
55d5cccf2e
Document deprecations and remove old ones ( #8706 )
...
* chore: document deprecation removal versions
* chore: remove deprecations 2+ versions old
5 years ago
Barış Soner Uşaklı
72e82c4aca
Merge branch 'master' of https://github.com/NodeBB/NodeBB
5 years ago
psychobunny
1761e13dbd
feat: dedicated sorting buttons for plugin ordering in ACP
5 years ago
Barış Soner Uşaklı
c33dc90562
Merge branch 'master' of https://github.com/NodeBB/NodeBB
5 years ago
Barış Soner Uşaklı
54737d3076
feat: #8233 , search sub categories
5 years ago
psychobunny
f4d76f1edd
feat: move service-worker.js into its own file
5 years ago
Julian Lam
8437130ec2
fix: early button/anchor clicks do nothing
...
This reverts commit a395324b52
, and
fixes the issue where the ACP became unusable because of the earlier
variant of this code.
Thanks @psychobunny for spotting.
5 years ago
Barış Soner Uşaklı
a395324b52
Revert "fix: early button/anchor clicks do nothing"
...
This reverts commit 966d3f7654
.
5 years ago
Julian Lam
966d3f7654
fix: early button/anchor clicks do nothing
...
This solves a small UX issue where clicking on a button (or anchor
that is not meant to be ajaxified) before ajaxify.end is called
leads to nothing happening because the appropriate click handler
has not been added.
This code will intercept premature clicks, wait until ajaxify.end
is called, and then re-send the click.
5 years ago
Barış Soner Uşaklı
ea0f3262f4
feat: #8695 , allow sort for guests
5 years ago
psychobunny
6478b32d0e
feat: upload maskable icon for PWA
5 years ago
psychobunny
aa268d5eeb
feat: register service worker, #8126
5 years ago
psychobunny
b6f2f0e5d0
fix : #8681 change owner modal's search should check if user is banned
5 years ago
psychobunny
611f3c6155
feat: allow autocomplete to pass optional params to user.search
5 years ago
Julian Lam
f8032cd09b
fix: add img-responsive to post queue post items
5 years ago
psychobunny
2ad3305879
fix: language key in reset password
5 years ago
Julian Lam
0fffe28941
fix: issue where the last flag filter could not be removed
5 years ago
psychobunny
2cd5f959a0
feat: add row highlighting for popular and unread
5 years ago
psychobunny
48a8ec4ab2
feat: return to previous page and/or category after marking topic unread
...
... also return to category if pagination is active and previous page was another page in the thread
5 years ago