gasoved
53e0d4d2e0
feat: banned-users group
2021-02-03 15:22:44 -05:00
Barış Soner Uşaklı
d1364c3130
Categories refactor ( #9233 )
...
* feat: wip categories pagination
* feat: add subCategoriesPerPage setting
* feat: add load more sub categories button to category page
* fix: openapi spec
* feat: show sub categories left on category page
hide button when no more categories left
* breaking: rename categories to allCategories on /search
categories contains the search results
* fix: spec
* refactor: remove cidsPerPage
* fix: tests
* feat: use component for subcategories
* fix: prevent negative subCategoriesLeft
2021-02-01 15:19:32 -05:00
Barış Soner Uşaklı
5bc1f5b4e8
fix : #9231 , fix redis pubsub connection
...
regression from fdfbc90255
2021-01-31 12:37:28 -05:00
Julian Lam
d85ad10d34
fix: restored sanity checks for post move socket calls
2021-01-18 15:47:15 -05:00
Julian Lam
966c4117ec
refactor(api): post move to write API
2021-01-18 15:31:14 -05:00
Julian Lam
e118e59ce0
refactor(api): post diffs to use write API
2021-01-18 14:26:22 -05:00
Barış Soner Uşaklı
1968bf50f1
fix : #9163 , fix total connection count on ACP
...
sockets.sockets is a JS map in 3.x
2021-01-04 16:58:29 -05:00
Julian Lam
9ecfac9b68
feat(api): #9123 , migrate rest of the getObject controllers to Write API
2020-12-29 10:32:01 -05:00
Julian Lam
e267f29584
feat(api): #9123 , migrate /api/post/pid/:pid to Write API
2020-12-29 10:32:01 -05:00
Julian Lam
2874036024
fix: tests
2020-12-23 17:48:54 -05:00
Julian Lam
3aa5beb832
feat: allow multiple privileges to be defined for a given admin socket call
2020-12-23 14:18:14 -05:00
Julian Lam
80ee3dfbd1
fix(api): tests
2020-12-22 14:39:48 -05:00
Barış Soner Uşaklı
931105e6cb
fix: dont show deleted posts in navigator
2020-12-22 14:29:25 -05:00
Julian Lam
32e36f7b2e
feat(api): group ownership API route, switch client-side to use API route
2020-12-22 14:26:31 -05:00
Julian Lam
1cd2689cf6
refactor(api): deprecated groups update socket in favour of API lib
2020-12-22 13:22:01 -05:00
Peter Jaszkowiak
2be396ff6e
fix: email testing and settings change from ACP
...
- changing email SMTP settings wouldn't apply the first time
- "Send Test Email" now will report emailer errors in most cases
2020-12-18 16:39:09 -05:00
Barış Soner Uşaklı
80de572aa1
feat: add user.email.confirmByUid for sso plugins
2020-12-10 20:25:48 -05:00
Barış Soner Uşaklı
1c45fa1ba5
feat: socket.io 3 changes ( #8845 )
...
* feat: socket.io 3 changes
* feat: replace socketio-wildcard with socket.onAny
up socket.io-redis to 6.x
* feat: remove mongodb/psql socket.io adapters
* feat: show data on fail
* fix: tests
* fix: typo
* fix: logger test fix
* fix: logger.io_close
* chore: up deps
* chore: update readme to reflect redis requirement
* fix: increase timeout show data if test fails
2020-12-06 13:03:33 -05:00
Barış Soner Uşaklı
d2888d1d1f
Category tags ( #8938 )
...
* feat: wip category tags
* fix: tag search
* feat: remove debug
* fix: returns of searchTags and autocomplete
* fix: alpha sort
* fix: redis
* fix: delete zsets on category purge, fix another test
* fix: test
2020-12-06 12:36:40 -05:00
Barış Soner Uşaklı
792e9e703e
fix: dont strip tags
2020-12-06 12:22:39 -05:00
Barış Soner Uşaklı
6669496dba
Navigator ( #9049 )
...
* feat: navigator changes
* fix: remove extra code
* feat: add lang keys
2020-12-04 11:56:10 -05:00
Barış Soner Uşaklı
fcb10ebdbb
feat: add socket connect/disconnect action hooks
2020-12-03 10:44:12 -05:00
Barış Soner Uşaklı
ef6c3b0029
fix: check uid as well
2020-12-02 19:04:07 -05:00
Barış Soner Uşaklı
7e867cf95e
fix : #7597 , fix progress bar of cover/profile uploads
...
send big cover images in chunks
2020-12-02 18:38:01 -05:00
Barış Soner Uşaklı
700736535c
fix: guests dont always have sid
2020-11-30 11:51:52 -05:00
Barış Soner Uşaklı
a4fe4d3cf5
fix: allow guests to see their replies immediately
2020-11-30 11:08:00 -05:00
Barış Soner Uşaklı
5080f35752
fix : #8991 , logout on password reset, dont verify email if password expired
...
dont allow same password on reset
2020-11-29 21:55:07 -05:00
Barış Soner Uşaklı
6e6a7a8f8a
fix : #8969 , export csv to file
2020-11-27 15:38:22 -05:00
Barış Soner Uşaklı
f4d217d829
fix : #8980 , fix lang string
2020-11-27 12:38:43 -05:00
Barış Soner Uşaklı
414caac01b
fix : #8957
2020-11-26 12:45:02 -05:00
Barış Soner Uşaklı
6771ca150a
fix: add topic uid to infinitescroll
2020-11-25 18:07:40 -05:00
Barış Soner Uşaklı
e32cd31ec6
fix : #8918
2020-11-25 14:33:19 -05:00
psychobunny
1c0e8c1663
fix: move meta.getServerTime call to admin namespace
2020-11-24 16:30:16 -05:00
Barış Soner Uşaklı
2b73a14e42
fix : #8933
2020-11-23 17:01:36 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
965671a97b
fix: remove params from error log
2020-11-18 21:50:47 -05:00
Barış Soner Uşaklı
a6afcfd531
feat: #8475 , allow flagging self posts
...
dont count flags towards self posts
dont allow flagging your own account
2020-11-17 21:28:32 -05:00
Julian Lam
a0b7a82350
feat(api): account deletion routes for the Write API ( #8881 )
...
* feat(api): account deletion routes for the Write API
* refactor: rewrite client-side calls to account deletion to use api
* style: apply DRY
2020-11-17 17:29:50 -05:00
gasoved
3ccebf112e
feat: invites regardless of registration type, invite privilege, groups to join on acceptance ( #8786 )
...
* feat: allow invites in normal registration mode + invite privilege
* feat: select groups to join from an invite
* test: check if groups from invitations have been joined
* fix: remove unused variable
* feat: write API versions of socket calls
* docs: openapi specs for the new routes
* test: iron out mongo redis difference
* refactor: move inviteGroups endpoint into write API
* refactor: use GET /api/v3/users/:uid/invites/groups
Instead of GET /api/v3/users/:uid/inviteGroups
* fix: no need for /api/v3 prefix when using api module
* fix: tests
* refactor: change POST /api/v3/users/invite
To POST /api/v3/users/:uid/invites
* refactor: make helpers.invite awaitable
* fix: restrict invite API to self-use only
* fix: move invite groups controller to write api, +tests
* fix: tests
Co-authored-by: Julian Lam <julian@nodebb.org >
2020-11-16 14:47:23 -05:00
Barış Soner Uşaklı
e4d2764d4c
fix : #8884 , remove header/footer cache
2020-11-15 16:43:06 -05:00
Barış Soner Uşaklı
2e44639210
fix: guest header/footer cache
...
allow clearing individual caches
2020-11-07 22:06:25 -05:00
Barış Soner Uşaklı
f1f9b225b0
feat: #8824 , cache refactor ( #8851 )
...
* feat: #8824 , cache refactor
ability to disable caches
ability to download contents of cache
refactor cache modules to remove duplicated code
* fix: remove duplicate hit/miss tracking
check cacheEnabled in getUncachedKeys
2020-11-06 23:13:12 -05:00
Julian Lam
d263192271
feat: group exists API call in write api
2020-11-06 12:18:42 -05:00
Julian Lam
1446cec77f
feat: user exist route in write api
2020-11-06 11:55:04 -05:00
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
2020-10-26 10:43:18 -04:00
Julian Lam
c26f2b6599
feat(writeapi): user settings API
2020-10-22 14:07:50 -04:00
Julian Lam
a691be5952
fix: incorrect logic for post history editable bool
2020-10-20 16:09:40 -04:00
Julian Lam
7a8f704900
fix : #8776 some users unable to restore old versions via history
2020-10-20 10:40:23 -04:00
Barış Soner Uşaklı
ea31f50554
refactor: show more lines of stack trace
2020-10-19 22:43:18 -04:00
Barış Soner Uşaklı
d9a16855d0
refactor: posts api
2020-10-17 22:59:12 -04:00