Julian Lam
a08fb8e53b
fix: removed superfluous assignment
4 years ago
Julian Lam
0b6ef61e40
fix: createNewPosts to build tpl with ajaxify.data
...
If the post template contains references to items outside of the scope of the post, then when the post is loaded via IS, the expected values are empty.
This was due to createNewPosts calling app.parseAndTranslate with a subset of the page payload. This works fine in Persona (and most other themes)
because they do not refer to properties outside of the post object, but it may be helpful to include the rest of the ajaxify data as well.
4 years ago
Julian Lam
bff53de03f
fix: handle ACP category enable/disable states after call success
4 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
4 years ago
Barış Soner Uşaklı
9082062e90
fix: sort setting not using correct field name
4 years ago
Misty (Bot)
2baccd3ce2
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
6ac73ccb7e
feat: #8801 , disable express compression by default
4 years ago
Julian Lam
cc1c722092
fix: breaking test from 0db0231cff
...
Also lowered export timeout to 5s
4 years ago
Julian Lam
14e5c24ec5
fix(openapi): final fixes to schemas
4 years ago
Julian Lam
b2e9e3e048
fix(writeapi): more tweaks to schema files
4 years ago
Julian Lam
9f9e3c1582
fix(writeapi): fix components, + tag object schema
4 years ago
Julian Lam
a4f3270fc5
fix(writeapi): missing files for tests
4 years ago
Julian Lam
b092f65d95
fix(writeapi): tests
4 years ago
Julian Lam
93f65f89e7
fix(writeapi): added examples to all parameter objects in schema
4 years ago
Barış Soner Uşaklı
a512d99472
refactor: remove unnecessary wrapper
4 years ago
Misty (Bot)
5605a0d1b7
Latest translations and fallbacks
4 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
4 years ago
Misty (Bot)
822c13f199
Latest translations and fallbacks
4 years ago
Misty (Bot)
89a1f481e0
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
0db0231cff
feat: move postercount to topic hash
4 years ago
Barış Soner Uşaklı
7a3183520f
fix: spec
4 years ago
Julian Lam
63e07c9433
fix: tests
4 years ago
Julian Lam
c26f2b6599
feat(writeapi): user settings API
4 years ago
Baris Usakli
1a4c0decb7
fix: reset button loading html
4 years ago
Misty (Bot)
c31cab3457
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
e6440c0d21
fix : #8779 , fix move all
...
add new language keys
4 years ago
Misty (Bot)
df1cfc4caf
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
3ee4936db6
fix: keep sortBy while searching
4 years ago
Barış Soner Uşaklı
85cfe49d65
fix: autocomplete.user on search page
4 years ago
Barış Soner Uşaklı
cf474ab246
fix: spec
4 years ago
Misty (Bot)
1b50e1a062
Latest translations and fallbacks
4 years ago
Julian Lam
ff4fcc23b6
Update bundled logos with new branding ( #8702 )
...
* feat: updating logo assets, square logos missing still
* fix: squared logo for touch icon and notification fallback
* fix: update link to favicon
* feat: add default touch icon sizes, if one isn't uploaded
Co-authored-by: Barış Soner Uşaklı <barisusakli@gmail.com>
4 years ago
Barış Soner Uşaklı
c107649b40
fix : #8732
4 years ago
Barış Soner Uşaklı
d9a16855d0
refactor: posts api
4 years ago
Barış Soner Uşaklı
272e73da53
refactor: post restore/delete/purge
4 years ago
Barış Soner Uşaklı
9738e20207
refactor: merge post.edit
...
fix: dont fadeout/fadeint if title/post didnt change
4 years ago
Barış Soner Uşaklı
2279e37261
refactor: deprecate socket.emit('users.search') use api route
4 years ago
Barış Soner Uşaklı
083c74e059
refactor: api categories
4 years ago
Misty (Bot)
854d61a257
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
51a60d3d46
fix: handler for group.join
4 years ago
Julian Lam
20bb9c7ec8
fix: csrf token only on non-GET routes
4 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
4 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
4 years ago
Misty (Bot)
d52992de1b
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
4b9444f1a5
fix: avatar selector
4 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
4 years ago
Julian Lam
bfaeb27c11
Merge branch 'write-api-csrf'
4 years ago
Julian Lam
1e07886f30
feat: require csrf token if not using bearer token
4 years ago
psychobunny
0e0f1506d2
fix: update server param to /api/v3
4 years ago
psychobunny
c68653d035
fix: typo
4 years ago
psychobunny
7aa4d104af
fix: testing openapi write tests
4 years ago
psychobunny
16873800a6
fix(openapi): users.yaml
4 years ago
psychobunny
54e6003a7c
fix: test fix for write API
...
need to rewrite users.yaml to fix properly
4 years ago
Barış Soner Uşaklı
ba2e1c4c7e
fix: show more lines
4 years ago
Barış Soner Uşaklı
01265d08f3
feat: add stack to deprecate message
4 years ago
Misty (Bot)
0a4fd50aac
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
dc29f4dca2
refactor: switch to using slugify module
4 years ago
Barış Soner Uşaklı
bddfcb5867
feat: #8734 , add slugify module, deprecate utils.slugify
4 years ago
Barış Soner Uşaklı
f16c8268cf
feat: #8734 , move bootstrap-tagsinput to package.json
4 years ago
Barış Soner Uşaklı
eab7489ec5
feat: #8734 , move deserialize/serialize to package.json
4 years ago
Barış Soner Uşaklı
948f26143c
feat: #5964 , #8734 remove colorpicker
4 years ago
Barış Soner Uşaklı
c954db84e4
refactor: require style
4 years ago
Barış Soner Uşaklı
931d44b5e2
fix: undefined api require, @julianlam
4 years ago
Barış Soner Uşaklı
e2d407b769
fix: watch tooltip
4 years ago
Barış Soner Uşaklı
aedd28e0a6
fix: module name
4 years ago
Barış Soner Uşaklı
c721625a95
feat: #8734 remove unused files
4 years ago
Barış Soner Uşaklı
cc705e5e2b
feat: #8734 , move sortable to package.json
4 years ago
Barış Soner Uşaklı
75c9668656
fix: admin jquerui requires
4 years ago
Barış Soner Uşaklı
8c019a6a3b
fix: timeago locale switch
4 years ago
Barış Soner Uşaklı
300a87559f
feat: #8734 , move bootbox to package.json
4 years ago
Barış Soner Uşaklı
420a312982
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
3b231360d3
feat: load jquery-form before using
4 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
4 years ago
Misty (Bot)
ea830871c2
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
59311a63a0
feat: remove unused textcomplete file
4 years ago
Barış Soner Uşaklı
ae3a231fce
feat: #8734 , remove semver.browser
...
use compare-versions as a module
4 years ago
Barış Soner Uşaklı
1531536d46
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
2c1897b373
feat: #8734 , move slideout to package.json
4 years ago
psychobunny
dbb4cfe9d6
style(openapi): break write API routes into individual files
4 years ago
psychobunny
ffac3c7902
style(openapi): move schemas and responses out of write.yaml
4 years ago
Barış Soner Uşaklı
9c157de05d
feat: #8734 , move tinycon to package.json
4 years ago
Barış Soner Uşaklı
45e8a4d588
fix : #8734 make nprogress module
4 years ago
Barış Soner Uşaklı
43589a744d
feat: #8734 , move visibilityjs to package.json
4 years ago
Barış Soner Uşaklı
a46cbb623d
feat: #8734 , move nprogress to package.json
4 years ago
Barış Soner Uşaklı
aa08f8826c
feat: #8734 move r.js to package.json
4 years ago
Misty (Bot)
d5d05e17af
Latest translations and fallbacks
4 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
4 years ago
Barış Soner Uşaklı
f259063f08
fix : #8728 , dont add admins to table
4 years ago
cryptoethic
b3ed26ac2c
feat: revoke user sessions above threshold ( #8731 )
...
* feat: revoke user sessions above threshold
* fix: removed translations from en-US
* fix: defined default maxUserSessions in install\data\defaults.json
4 years ago
Julian Lam
f870721fca
feat(writeapi): file deletion route
4 years ago
Julian Lam
a55b381791
feat(writeapi): admin settings update route
4 years ago
Julian Lam
2ec838fc59
feat(writeapi): token generation/delete routes, ACP updates
4 years ago
Julian Lam
2928b9b87a
style: updates to openapi files
4 years ago
Julian Lam
3ea1aa4780
refactor(writeapi): update route prefix to api/v3, default error option
4 years ago
Julian Lam
0973feea16
feat(writeapi): post bookmarking
4 years ago
Julian Lam
9942c248eb
feat(writeapi): post voting
4 years ago
Julian Lam
414169fdfa
feat(writeapi): post delete/restore/purge
4 years ago
Julian Lam
f66c2fb60f
feat(writeapi): post editing
4 years ago
Julian Lam
1605e5e443
feat(writeapi): topic tags
4 years ago
Julian Lam
9be5629458
feat(writeapi): topic follow/ignore
4 years ago
Julian Lam
da25ce4d09
feat: topic delete/restore/purge/(un)pin/(un)lock
4 years ago
Julian Lam
49652e6f1b
feat: management of API tokens via ACP
4 years ago
Julian Lam
adcadbb2b5
fix: tests
4 years ago
Julian Lam
cb9369f10e
fix: bad merge w/ category ACP page
4 years ago
Julian Lam
a905d7f022
refactor: rewrite modules/api.js in AMD style
4 years ago
Julian Lam
4c833d0bf0
feat(writeapi): topic posting and replying
4 years ago
Julian Lam
40dc1c38d3
feat(writeapi): added DELETE /groups/:slug/membership/:uid route
4 years ago
Julian Lam
68ecf41ecf
fix(writeapi): client-side group join API call
4 years ago
Julian Lam
e1c40b2792
style: allowing some es6 features client-side
4 years ago
Julian Lam
952dc211dd
feat(writeapi): added group joining and deletion
4 years ago
Julian Lam
d044c3223e
feat(writeapi): abstracted ajax calls out to new api module
4 years ago
Julian Lam
ba345e53e8
feat(writeapi): added POST /api/v1/groups
4 years ago
Julian Lam
49994f3a15
fix(openapi): moved write-api to public/openapi
4 years ago
Julian Lam
3072de4812
feat: added DELETE /api/v1/categories/:cid route
4 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
4 years ago
Julian Lam
a5af2dc819
feat: added PUT/DELETE /api/v1/users/:uid/ban routes
4 years ago
Julian Lam
db5c5b2cfb
fix: follow route to match spec
4 years ago
Julian Lam
b5bbcbaeaa
feat: added POST and DELETE /api/v1/users/:uid/follow routes
4 years ago
Julian Lam
7aed174ebc
feat: added PUT /api/v1/users/:uid/password route
4 years ago
Julian Lam
a1ddc210b2
feat: added DELETE /api/v1/users/:uid and DELETE /api/v1/users
4 years ago
Julian Lam
d8879d21db
fix: error handling with POST /api/v1/users
4 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
4 years ago
Barış Soner Uşaklı
dc152a558c
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
7138d433b1
fix: selector, so it doesnt effect suggested topics
4 years ago
Misty (Bot)
af90b99706
Latest translations and fallbacks
4 years ago
Julian Lam
fc603a5368
fix: use app.parseAndTranslate instead of benchpress.parse
4 years ago
psychobunny
20e0cc5cbb
fix: sorted list delete button
4 years ago
Misty (Bot)
174e239332
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
b955fd363d
fix: dont allow sorting pinned topics on recent
4 years ago
Julian Lam
3c7f79cb8a
fix: use console.info instead of console.log for sw registration
4 years ago
Barış Soner Uşaklı
1542a5d7e5
feat: remove post/header selector
4 years ago
Barış Soner Uşaklı
7cd83b9a6a
fix: spec
4 years ago
Barış Soner Uşaklı
6924eb6c52
fix: spec
4 years ago
Misty (Bot)
d93315e3ee
Latest translations and fallbacks
4 years ago
psychobunny
60afb110ef
fix: prevent mutiple highlighted rows on category/topic pages
4 years ago
Misty (Bot)
6ee0cad289
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
fbd85680fb
fix: spec
4 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
4 years ago
Julian Lam
f1de084da3
fix: do not show TOC if fewer than 2 headings
4 years ago
psychobunny
caa8c00f89
fix: params cached in autocomplete module
4 years ago
Misty (Bot)
c65ea5bfa6
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
e60357d20d
feat: #6594 , add top/popular sections to digest email ( #8709 )
4 years ago
Peter Jaszkowiak
55d5cccf2e
Document deprecations and remove old ones ( #8706 )
...
* chore: document deprecation removal versions
* chore: remove deprecations 2+ versions old
4 years ago
Misty (Bot)
39b51707ce
Latest translations and fallbacks
4 years ago
Barış Soner Uşaklı
72e82c4aca
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
psychobunny
1761e13dbd
feat: dedicated sorting buttons for plugin ordering in ACP
4 years ago
Barış Soner Uşaklı
c33dc90562
Merge branch 'master' of https://github.com/NodeBB/NodeBB
4 years ago
Barış Soner Uşaklı
54737d3076
feat: #8233 , search sub categories
4 years ago
psychobunny
c56236f081
fix: overflow on submitPluginUsage field
4 years ago
psychobunny
f4d76f1edd
feat: move service-worker.js into its own file
4 years ago