Commit Graph

12835 Commits

Author SHA1 Message Date
Julian Lam
675a62dadd fix: remove debug log 2020-10-08 15:33:10 -04:00
Julian Lam
5fc7e7bfd0 feat: add new api page to ACP menu 2020-10-08 15:33:10 -04:00
Julian Lam
49652e6f1b feat: management of API tokens via ACP 2020-10-08 15:33:10 -04:00
Julian Lam
8e89f34dbf fix: bad logic in group assertion middleware 2020-10-08 15:33:10 -04:00
Julian Lam
8e7baac6ef fix(writeapi): calls to profile editing routes 200 even if user DNE 2020-10-08 15:33:10 -04:00
Julian Lam
7757f965eb fix: errors thrown if no password sent in to profile edit route 2020-10-08 15:33:10 -04:00
Julian Lam
549ca11056 fix: bug where middlewares seemingly ran in parallel 2020-10-08 15:33:10 -04:00
Julian Lam
6096f74ab2 feat(writeapi): adding missing files 2020-10-08 15:33:10 -04:00
Julian Lam
4c833d0bf0 feat(writeapi): topic posting and replying 2020-10-08 15:33:10 -04:00
Julian Lam
40dc1c38d3 feat(writeapi): added DELETE /groups/:slug/membership/:uid route 2020-10-08 15:33:10 -04:00
Julian Lam
68ecf41ecf fix(writeapi): client-side group join API call 2020-10-08 15:33:10 -04:00
Julian Lam
952dc211dd feat(writeapi): added group joining and deletion 2020-10-08 15:33:10 -04:00
Julian Lam
d044c3223e feat(writeapi): abstracted ajax calls out to new api module 2020-10-08 15:33:10 -04:00
Julian Lam
ba345e53e8 feat(writeapi): added POST /api/v1/groups 2020-10-08 15:33:10 -04:00
Julian Lam
49994f3a15 fix(openapi): moved write-api to public/openapi 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
Julian Lam
a5af2dc819 feat: added PUT/DELETE /api/v1/users/:uid/ban routes 2020-10-08 15:33:10 -04:00
Julian Lam
db5c5b2cfb fix: follow route to match spec 2020-10-08 15:33:10 -04:00
Julian Lam
b5bbcbaeaa feat: added POST and DELETE /api/v1/users/:uid/follow routes 2020-10-08 15:33:10 -04:00
Julian Lam
7aed174ebc feat: added PUT /api/v1/users/:uid/password route 2020-10-08 15:33:10 -04:00
Julian Lam
a1ddc210b2 feat: added DELETE /api/v1/users/:uid and DELETE /api/v1/users 2020-10-08 15:33:10 -04:00
Julian Lam
d15d9e4492 fix(refactor): patching helpers.tryRoute for API routes, some re-org
Thanks @barisusakli for the tip
2020-10-08 15:33:10 -04:00
Julian Lam
d8879d21db fix: error handling with POST /api/v1/users 2020-10-08 15:33:10 -04:00
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
2020-10-08 15:33:10 -04:00
Julian Lam
bba2a4638c fix: user creation POST route returns user data, updated openapi spec 2020-10-08 15:33:10 -04:00
Julian Lam
7b6d43bcc8 feat: added checkRequired middleware for API calls 2020-10-08 15:33:10 -04:00
Julian Lam
fd67355b03 fix(writeapi): authenticate middleware logic to work better with await 2020-10-08 15:33:10 -04:00
Julian Lam
f6433ef2c5 fix(refactor): merging write-api auth middlewares with core middlewares 2020-10-08 15:33:10 -04:00
Julian Lam
ec5c48b188 feat: migrating write-api skeleton into core 2020-10-08 15:33:10 -04:00
Barış Soner Uşaklı
264818e517 fix: use proper api url
no need to parse all tags since https://api.github.com/repos/NodeBB/NodeBB/releases/latest gives the latest non-prerelease, non-draft releases
2020-10-07 18:21:23 -04:00
Barış Soner Uşaklı
8eb62e2210 fix: tests, get latest release tag recursively 2020-10-07 18:14:45 -04:00
psychobunny
cdb794888d style: linting 2020-10-07 11:47:44 -04:00
Barış Soner Uşaklı
ed092bf6b5 refactor: remove posts.tools.purge
moved the check to socketPosts.purge
2020-10-06 14:03:59 -04:00
Julian Lam
dde5b6b814 fix: unable to register async method as response hook listener
Also fixes #8723, /api/config now runs middleware.authenticateOrGuest
2020-10-06 09:32:13 -04:00
Barış Soner Uşaklı
cb2f6f7c4a fix: test 2020-10-04 22:11:41 -04:00
Barış Soner Uşaklı
7bf6d3b8eb fix: dont let mods load postqueue for a cid they are not a mod of 2020-10-04 22:10:24 -04:00
Barış Soner Uşaklı
2ea9768e00 fix: show disabled categories in admin&mods 2020-10-04 21:52:57 -04:00
Barış Soner Uşaklı
fbd85680fb fix: spec 2020-10-02 16:57:26 -04:00
Barış Soner Uşaklı
5d9a868142 feat: category filter on post queue (#8710)
* feat: category filter on post queue

category filter module

* feat: add spec
2020-10-02 16:35:20 -04:00
psychobunny
7545951725 chore: refactor src/emailer.js 2020-10-02 11:01:39 -04:00
Peter Jaszkowiak
1aa336d837 refactor: shared constants (#8707)
define plugin name and theme name regexs in one location for consistency

define various shared paths in one place for consistency
2020-10-01 23:02:44 -04:00
Barış Soner Uşaklı
e60357d20d feat: #6594, add top/popular sections to digest email (#8709) 2020-10-01 22:07:33 -04:00
Peter Jaszkowiak
55d5cccf2e Document deprecations and remove old ones (#8706)
* chore: document deprecation removal versions

* chore: remove deprecations 2+ versions old
2020-10-01 12:25:03 -04:00
Peter Jaszkowiak
017af63fb0 fix: #8686, deprecate plugin.json/library (#8705)
and also fix deprecated hooks with no alternative
2020-10-01 11:45:27 -04:00
psychobunny
5441651ea7 fix: update "install plugins" link to go to the download tab 2020-09-30 13:05:17 -04:00
Julian Lam
38f88fc563 fix: #8699 tags route is case sensitive, though tags are not 2020-09-30 11:57:59 -04:00
psychobunny
f4d76f1edd feat: move service-worker.js into its own file 2020-09-30 10:00:28 -04:00
psychobunny
14ba1a6dbb feat: analytics:maxCache setting in ACP
I removed a TODO from core. Watch your head as flying pigs are abound
2020-09-29 17:31:08 -04:00