Commit graph

188 commits

Author SHA1 Message Date
SomewhatDamaged
9b22d2719a Adding /api/v1/json/comment/:id endpoint (#13)
* Add `/api/v1/json/comment/:id` endpoint

* Add controller for `/api/v1/json/comment/:id`

Add controller for `/api/v1/json/comment/:id` endpoint

* Fixes permissions

Now will show `403 forbidden` if a comment on a deleted image is requested.

* Fixed endpoint schema

Now conforms to endpoint schema

* Permission adjustment

Will prevent `user_id` and `author` from leaking in the event the image is `hidden_from_users`

* Permission lockout

Lockout of all data if destroyed.

* Lockout on destroyed_content

Return 404 when `comment.destroyed_content`

* Refactored for neatness
2019-12-31 18:25:11 -05:00
byte[]
4342978483 hides, vote tampering 2019-12-30 07:50:02 -05:00
byte[]
15864ab742 api search controllers 2019-12-24 03:26:06 -05:00
byte[]
20c521e67b tor plug 2019-12-23 13:57:14 -05:00
byte[]
1435149d32 admin badge user list 2019-12-23 09:23:25 -05:00
Luna D
116179e3ec
how did that even happen 2019-12-22 17:45:29 -05:00
Luna D
7caafd976e
re-add mod scratchpad by blatantly copy-pasting 2019-12-22 17:17:20 -05:00
byte[]
81b5a58fab tag change mass reversion 2019-12-22 00:09:01 -05:00
byte[]
3cd51526d9 add related endpoint and controller 2019-12-20 18:02:03 -05:00
byte[]
46602460ea rearrange plugs 2019-12-20 12:44:45 -05:00
byte[]
a7d9386af8 mod faves page 2019-12-20 12:26:38 -05:00
byte[]
48eda4ff5d poll votes 2019-12-19 22:41:19 -05:00
byte[]
fe746dac0f channel creation 2019-12-18 12:01:33 -05:00
byte[]
6d105ffc53 image uploader tampering 2019-12-17 13:53:41 -05:00
byte[]
d8b425bdf6 tag detail page 2019-12-17 13:12:58 -05:00
byte[]
e2496cd43b mod profiles tag/source changes 2019-12-17 12:56:03 -05:00
byte[]
8b220775bb more admin tools 2019-12-17 00:44:24 -05:00
byte[]
c45a2a16d9 admin donations 2019-12-16 22:24:40 -05:00
byte[]
598f46215e profile details 2019-12-16 21:26:43 -05:00
byte[]
8f445e49f9 batch tagging 2019-12-16 17:11:16 -05:00
byte[]
70b077e4e7 add reindex and delete buttons 2019-12-16 13:49:53 -05:00
byte[]
a74e7e9170 image mod tools 2019-12-16 00:25:06 -05:00
byte[]
f8431cb1c2 admin users and roles 2019-12-15 21:21:14 -05:00
byte[]
299e0cf923 admin mod notes 2019-12-15 17:52:51 -05:00
byte[]
e37ab2849e badges and awards 2019-12-15 15:02:13 -05:00
byte[]
2a6b596765 admin forums 2019-12-15 12:54:27 -05:00
byte[]
b14dbf46b5 admin pages 2019-12-15 12:33:37 -05:00
byte[]
b1828ff68a adverts 2019-12-14 21:54:16 -05:00
byte[]
482f1dfe5e tag aliasing and image editing 2019-12-14 18:07:29 -05:00
byte[]
4f3390f728 tag description and implication editing 2019-12-14 16:18:49 -05:00
byte[]
ff854fce73 Merge remote-tracking branch 'origin/staff-tools' 2019-12-14 13:31:28 -05:00
byte[]
56ce4c74bc site notices 2019-12-14 13:28:04 -05:00
Luna D
782baba324
topic hiding / restoring 2019-12-14 13:03:11 -05:00
Luna D
375a5c6de1
topic stick, lock, total shitcode 2019-12-13 18:31:42 -05:00
byte[]
4063f84b6b user bans + ban messages for users 2019-12-13 12:14:34 -05:00
byte[]
aa4af5a2e6 admin dnp queue 2019-12-12 16:44:50 -05:00
byte[]
54be9dfa5d routing, control flow and whitespace fixes 2019-12-11 23:41:33 -05:00
Luna D
4e5a29e6fb
post hiding, destroying, and a few fixes 2019-12-11 18:58:00 -05:00
Luna D
a2b3817d5a
comment hiding 2019-12-10 15:29:48 -05:00
byte[]
7d247b777f admin user links 2019-12-09 20:21:49 -05:00
byte[]
687db1b98d duplicate reports 2019-12-08 23:41:35 -05:00
byte[]
13d971a0c1 admin reports: claim, close 2019-12-08 22:16:13 -05:00
byte[]
007624ed85 block registrations from banned users 2019-12-08 15:45:28 -05:00
byte[]
181931cf67 admin reports 2019-12-08 12:45:37 -05:00
byte[]
2c8a5fd43d add api tag controller 2019-12-08 00:04:45 -05:00
byte[]
f9f6518d97 image hiding 2019-12-07 23:53:18 -05:00
byte[]
0d48fc59b2 staff tools for ips 2019-12-07 20:49:28 -05:00
byte[]
cf28d6e915 fixes for private messages 2019-12-07 18:24:37 -05:00
byte[]
ae189bafce avatar uploading 2019-12-07 11:26:45 -05:00
byte[]
2a9cbb0ff0 Merge remote-tracking branch 'origin/staff-tools' 2019-12-06 17:57:26 -05:00
byte[]
da16bd48d8 misc fixes 2019-12-06 13:06:54 -05:00
byte[]
2d9b85d686 add csp, add global last button 2019-12-06 12:41:02 -05:00
byte[]
6329b01e38 hide/spoiler/watch from tag dropdown 2019-12-06 12:12:55 -05:00
byte[]
ae6e282424 post editing 2019-12-06 10:14:25 -05:00
byte[]
d22ab9aa58 tentative comment editing 2019-12-06 09:43:01 -05:00
byte[]
76de12d69d post versions 2019-12-06 08:58:34 -05:00
byte[]
9fc04b9b71 primitive history viewing 2019-12-05 21:46:51 -05:00
byte[]
2a338d86c7 allow users to edit their profile description 2019-12-05 19:36:45 -05:00
byte[]
c070b515c0 channel subscriptions 2019-12-04 23:27:40 -05:00
byte[]
885488d40e galleries 2019-12-04 23:12:49 -05:00
byte[]
dfe1e3b57e gallery routes 2019-12-04 19:11:31 -05:00
Luna D
accc9b5304
actual working counters i think 2019-12-04 18:15:54 -05:00
byte[]
022b1008ab add profile source changes 2019-12-04 17:56:13 -05:00
byte[]
015abf068b add tag changes to tag, profile 2019-12-04 17:10:35 -05:00
byte[]
b36ef1dd23 commission item routes 2019-12-04 12:14:41 -05:00
byte[]
8d9487e032 renest commissions page 2019-12-04 09:28:17 -05:00
byte[]
846c99e563 user links 2019-12-04 09:04:25 -05:00
byte[]
3f6322ca81 user reporting 2019-12-04 08:25:10 -05:00
byte[]
c3d6a3817e add reporting to conversations 2019-12-04 08:19:33 -05:00
byte[]
2bc39e8416 comment and post reporting 2019-12-04 08:13:10 -05:00
byte[]
600d37c7c0 image options area 2019-12-03 23:14:56 -05:00
byte[]
50880ba888 oembed api 2019-12-03 20:27:58 -05:00
byte[]
a9c276ae2f add filter override param 2019-12-03 20:00:48 -05:00
byte[]
12fb45170c api changes 2019-12-03 19:50:23 -05:00
byte[]
e39a8eeccc automatic updating notifications 2019-12-02 09:55:48 -05:00
byte[]
ea29cef2a1 add tag fetch endpoint 2019-12-01 12:26:14 -05:00
byte[]
bec983fdf1 duplicate reports 2019-11-30 23:51:44 -05:00
byte[]
927cc55073 rss api 2019-11-30 18:11:24 -05:00
byte[]
64d1e817d1 settings page 2019-11-30 17:40:53 -05:00
byte[]
1e1b0054d0 add livestream tracking 2019-11-30 01:30:45 -05:00
byte[]
4c98a6f4ec scoped random navigation 2019-11-30 00:40:37 -05:00
byte[]
d94a09c2d9 add image navigation 2019-11-29 21:33:15 -05:00
byte[]
d6ba37c882 stats page 2019-11-29 17:45:44 -05:00
byte[]
c047f0af6d staff page 2019-11-29 17:01:54 -05:00
byte[]
4b124160ad dnp list 2019-11-29 16:47:41 -05:00
byte[]
ca1036088f notification clearing, forum subscriptions 2019-11-29 14:29:01 -05:00
byte[]
ce450b77d9 static pages 2019-11-29 01:35:15 -05:00
byte[]
c621c83ac8 adverts 2019-11-29 01:26:05 -05:00
byte[]
57fcb8504c add description editing 2019-11-29 00:39:15 -05:00
byte[]
85b1f2b1ec reverse search 2019-11-28 19:11:05 -05:00
byte[]
109f3f781a finish scraper 2019-11-28 18:19:47 -05:00
byte[]
fbfa572a1e add scrapers 2019-11-28 12:12:10 -05:00
byte[]
a22b397fc4 show forum list 2019-11-27 21:57:25 -05:00
byte[]
83fed839ad add previewing and textile help to textile edit boxes 2019-11-27 21:06:41 -05:00
byte[]
47f379d82d add tag autocompletion 2019-11-26 21:19:07 -05:00
byte[]
84abf98b30 uploading works 2019-11-25 23:51:17 -05:00
byte[]
dd8ecd531c controller/view for tag changes, source changes 2019-11-24 21:16:22 -05:00
byte[]
d6e07b8316 topics/polls forms, relative dates 2019-11-18 22:38:22 -05:00
byte[]
2f4ba6d96d read site notices 2019-11-18 12:32:23 -05:00
byte[]
acb50f3efe conversations 2019-11-18 11:00:08 -05:00