Julian Lam
010727f5cb
refactor(socket.io): deprecate categories.loadMoreSubCategories in favour of api.categories.getChildren
2023-10-31 11:32:07 -04:00
Julian Lam
d7c6b3d60e
refactor(socket.io): deprecate categories.setWatchState in favour of api.categories.setWatchState
2023-10-31 11:32:07 -04:00
Julian Lam
c442b6e662
refactor(socket.io): deprecate categories.getTopicCount in favour of api.categories.getTopicCount
2023-10-31 11:32:07 -04:00
Julian Lam
96046373da
refactor(socket.io): deprecate categories.get in favour of api.categories.list
2023-10-31 11:32:07 -04:00
Julian Lam
52b78e83a8
refactor(socket.io): deprecate categories.getRecentReplies in favour of api.categories.getPosts
2023-10-31 11:32:07 -04:00
Barış Soner Uşaklı
cc3f82bc83
breaking: remove socket.emit('admin.categories.setPrivilege') and socket.emit('admin.categories.getPrivilegeSettings')
2021-12-06 21:47:47 -05:00
Julian Lam
7da061f0d7
refactor: automatically authenticate all requests setup through route helpers ( #9357 )
...
* refactor: automatically authenticate all requests setup through route helpers
* fix: removed connect-ensure-login dependency
* fix: bug with some middlewares not defined outside route helper methods
2021-03-08 14:03:22 -05:00
Julian Lam
c1b3079d93
feat: category privilege API routes
...
closes #9342
2021-03-04 12:46:31 -05:00
Peter Jaszkowiak
23f212a4c0
chore: eslint prefer-destructuring
2021-02-08 18:06:44 -05:00
Julian Lam
edb8da1ef9
feat(api): closes #9123 category and topic routes migrated to Write API
2020-12-29 10:32:01 -05:00
Julian Lam
266d7587b2
refactor: remove usage of middlewares
...
Specifically, middleware.isAdmin|exposePrivilegeSet|exposePrivileges
2020-10-29 07:56:28 -04:00
Barış Soner Uşaklı
bf480ee58b
refactor: setupApiRoute signature
2020-10-15 23:12:19 -04:00
Julian Lam
f67824719c
chore(writeapi): cleanup
2020-10-08 15:33:10 -04:00
Julian Lam
3072de4812
feat: added DELETE /api/v1/categories/:cid route
2020-10-08 15:33:10 -04:00
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
2020-10-08 15:33:10 -04:00
Julian Lam
dc666fd8a9
feat: added POST /api/v1/categories route
2020-10-08 15:33:10 -04:00