Commit Graph

530 Commits

Author SHA1 Message Date
Julian Lam
e395fb0919 fix 14064 (#14184)
* **feat**: add support for setting watch state via category ID and member UID in route params

* **feat**: update category watch/privilege routes and logic to use `member` param instead of `uid`/`member` body field

* **feat**: add support for unfollowing via actor parameter in category routes

* **feat**: add deprecation warnings for legacy category routes and refactor privilege fetching to inline async call

* docs: add openapi specs for new category routes with path parameters

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* fix: some minor errors in file paths

* feat: support path extraction from req.query in assert.path middleware

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* feat: support message from both query and body in removeQueuedPost

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* fix: remove ai-added check that path is defined, it is not required

* fix: send message as query param instead of in body, when rejecting queued post

* lint: comma dangle

* `feat(openapi): add optional query parameter support for topic delete endpoints`

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* feat: add query parameter and make request body optional for topic thumbnail deletion

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* feat: support query params for thumb path and crosspost id in topics endpoints

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* feat: add query params for mute/unmute reason and timestamp

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* docs: update unmute API to support query params for reason and until timestamp

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* docs: update unmute endpoint to support reason via request body

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* feat: add reason parameter support to users.unmute

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>

* feat: allow unban reason to be sent via req.query

* fix: timestamps are unix timestamps not 8601

* docs: mute shouldn't have been updated

* chore: remove deprecation warnings

---------

Co-authored-by: aider (ollama/ministral-3:8b) <aider@aider.chat>
2026-04-20 09:54:49 -04:00
Julian Lam
23a8af2ec1 fix: hideSave no longer required, data prop 2026-04-17 00:11:38 -04:00
Julian Lam
117736bc6d feat: show ap send error analytics in ACP 2026-04-15 12:11:29 -04:00
Julian Lam
ef2a17f25d fix: remove reference to hallucinated schema, fix hideSave definitions 2026-04-09 20:15:42 -04:00
Julian Lam
28e173d639 fix: properly order the routes 2026-04-09 20:15:42 -04:00
Julian Lam
c4eeffc3f0 feat(public/openapi/read.yaml): add analytics and errors routes
Co-authored-by: aider (ollama/qwen2.5-coder:7b) <aider@aider.chat>
2026-04-09 20:15:42 -04:00
Julian Lam
7f81b54112 feat(public/openapi): add OpenAPI v3 specifications for admin/federation/analytics and errors routes
Co-authored-by: aider (ollama/qwen2.5-coder:7b) <aider@aider.chat>
2026-04-09 20:15:42 -04:00
Barış Uşaklı
2612340bc9 refactor socket notifications (#14135)
* refactor socket notifications

* dunno why these two gut fubared

* add missing yaml files

* more fixes

* fix: schema

* lint: fix lint issues
2026-03-30 12:02:34 -04:00
Barış Soner Uşaklı
10814b64a5 Merge branch 'master' into develop 2026-03-28 13:25:26 -04:00
Barış Soner Uşaklı
835723482e feat: add unreadNids to /api/notifications 2026-03-26 11:50:55 -04:00
Julian Lam
4b7be68d1b feat: Third-party blocklists (#14115)
* feat: third-party blocklists

* docs: openapi routes for blocklist routes

* fix: handle null blocklists check
2026-03-25 11:31:50 -04:00
Julian Lam
895997b2b8 docs: wrong type for worldDefaultCid 2026-03-18 09:58:23 -04:00
Julian Lam
7e2c7db3b2 fix: schema fix for new api config value 2026-03-18 09:10:13 -04:00
Julian Lam
efaf8eb996 fix: schema fix for new api config value 2026-03-17 12:42:53 -04:00
Barış Soner Uşaklı
779a372fc5 test: add missing selectedCategory to world.yaml
fix url of plugins that are missing it in plugin.json and look for repository.url for backup
2026-03-16 20:31:24 -04:00
Barış Soner Uşaklı
2187f160a9 add active flag to jobs
dont delete everything on startup
2026-03-10 22:32:36 -04:00
Barış Soner Uşaklı
5ff5971465 Merge branch 'master' into develop 2026-03-10 11:01:14 -04:00
Barış Soner Uşaklı
bdb91e826f test: fix spec 2026-03-10 10:42:15 -04:00
Barış Uşaklı
3c0a654012 feat: show cronjobs in acp (#14068)
* feat: show cronjobs in acp

add a wrapper for cronjobs and display in acp

* test: add running to spec

* test: fix running, simplify calls

* test: prevent crash on stopJob
2026-03-06 20:42:38 -05:00
Barış Soner Uşaklı
12122637cc test: fix spec 2026-03-01 14:21:09 -05:00
Barış Soner Uşaklı
6dd9f7340d test: fix spec 2026-03-01 13:56:04 -05:00
Barış Soner Uşaklı
92d72f6745 refactor: remove admin.themes.getInstalled
socket call, and just load the themes in the api call
2026-02-28 12:25:29 -05:00
Barış Soner Uşaklı
ecc740aa25 graph changes 2026-02-27 14:14:02 -05:00
Julian Lam
82b7f429e3 docs: added new ACP routes 2026-02-27 11:54:33 -05:00
Barış Soner Uşaklı
f2bbf3693f fix: closes #7221 restrict cropperjs box to profileImageDimension form ACP
this also resizes the image down to that value and sends a small image to server
move profileImageDimenstion & maximumProfileImageSize from edit to all profile pages, on harmony profile pic can be changed from any page by clicking the avatar
change image.resize so it doesn't resize if image is already same width/height
2026-02-21 22:00:28 -05:00
Barış Soner Uşaklı
523e3b4964 feat: change notif controls to toggles 2026-02-20 21:47:25 -05:00
Barış Soner Uşaklı
3dfd9a43a4 chore: white space 2026-02-17 19:58:22 -05:00
Barış Soner Uşaklı
1dae3d222f feat: add invitedBy to user info page, closes #13972, closes #13997 2026-02-17 19:58:10 -05:00
Julian Lam
4ef9d5fa55 docs: add missing privileges prop to world schema 2026-02-17 11:26:13 -05:00
Julian Lam
07f9eda9fb docs: add bookmarks to postobject in /world 2026-02-17 11:26:13 -05:00
Julian Lam
9a15b57154 docs: add bookmarks to postobject 2026-02-17 11:26:13 -05:00
Julian Lam
91323dce55 docs: chat teasers are different 2026-02-17 11:26:13 -05:00
Julian Lam
0178e4fb7c docs: add teaser to postobject schema 2026-02-17 11:26:13 -05:00
Julian Lam
1869b807f2 refactor: teaser object schema to its own file 2026-02-17 11:26:13 -05:00
Julian Lam
3e2070b2c3 fix: schema... not sure why I need this all of a sudden 2026-02-17 11:26:13 -05:00
Barış Soner Uşaklı
8c6ce198e1 feat: allow configuring unreadCutoff per user, closes #6811 2026-02-16 22:57:00 -05:00
Barış Soner Uşaklı
086a580329 fix spec 2026-02-15 12:36:15 -05:00
Barış Soner Uşaklı
0e2a42d547 test: fix spec 2026-02-12 23:22:10 -05:00
Julian Lam
292e70f70a fix: add example value for failing schema test 2026-02-12 13:43:42 -05:00
Julian Lam
7eb4913671 fix: bad relative path 2026-02-12 12:02:04 -05:00
Julian Lam
072dd1aeb3 docs: OpenAPI schema for rules re-ordering route 2026-02-12 11:47:17 -05:00
Barış Uşaklı
c65af19985 refactor: add createFieldChecker (#13973)
* refactor: add createFieldChecker

* refactor: use hasField in topic/data.js

* refactor: use hasField in categories/data.js

* test: fix category nickname logic

* test: fix spec
2026-02-11 11:38:03 -05:00
Barış Soner Uşaklı
05dd46c31f test: fix spec, remove log 2026-02-09 18:23:29 -05:00
Barış Soner Uşaklı
05d4d85766 test: fix file name 2026-02-07 21:47:17 -05:00
Barış Soner Uşaklı
d601847a76 test: fix spec 2026-02-07 21:46:40 -05:00
Barış Uşaklı
d086ed2c27 feat: ban/mute reasons (#13960)
add acp page to create reasons
add dropdown to insert them into reason
change reason field into textarea
translate and parse reason before sending ban email
2026-02-07 14:32:05 -05:00
Julian Lam
0fbaa937e4 Refactor /world page, closes #13927 (#13954)
* refactor: wholesale UI/data refactor of world to display in feed-like format

* fix: openapi schema

* fix: remove console log

* fix: restrict 'generatedTitle' from being passed-in via topics API

* fix(deps): bumping themes for world refactor support

* fix: /world title and description update

* fix: missing handleIgnoreWatch in world client side js
2026-02-06 14:07:25 -05:00
Barış Soner Uşaklı
43be594a0d test: fix typo in spec 2026-02-04 20:58:23 -05:00
Barış Soner Uşaklı
d1a39554e5 test: fix spec 2026-02-04 20:49:50 -05:00
Barış Soner Uşaklı
30014f4139 test: add missing spec for admin page 2026-02-04 12:59:55 -05:00