Commit Graph

17 Commits

Author SHA1 Message Date
edshot99
4928747b83 add transcript support
it could be possible to load closed captions and subtitles from the transcript div via javascript, but I hate javascript so perhaps some other time.
2024-11-10 13:58:15 -06:00
edshot99
b7fee5fe2f add title support 2024-10-30 18:52:53 -05:00
Earlopain
e002cc165f
[Gems] Bump RuboCop 2024-04-28 11:05:37 +02:00
Earlopain
fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00
Earlopain
e0182057a2
[Posts] Save typed_tags indexed by category id
This is how they actually got cached on the index action.

Fixes tags with invalid categories overwriting all other general tags on the index action.
The cached @typed_tags weren't actually used there because of key mismatching,
except for invalid categories since they fall back to "general" (should have been 0).
2023-08-29 17:33:30 +02:00
Earlopain
36eb87b084
[Cleanup] Move tag data outside of config file
Most of that is not easily configurable and requires db fields, css classes etc.
Everything in TagCategory was also pretty much incomprehensible for me
thanks to the indirection, so I moved it all inline instead.
I'll clean that up in later commits.
2023-08-18 19:08:52 +02:00
Earlopain
162ed5c13a
[Posts] Remove unnecessary null checks
These fields or not nullable
2023-05-10 19:16:48 +02:00
Donovan Daniels
6100f8f0d0
[Posts]: Hide disabled comments info better (#507)
* [Posts]: Hide disabled comments info better

* use method, remove nullable check, remove from api

* I hate rubocop so much

* missed these two
2023-05-10 18:39:38 +02:00
Earlopain
93cd28c0e1
[Posts] Change comment locked to disabled
Instead of just preventing new comments hide everything completly.
2022-05-16 15:53:39 +02:00
Earlopain
6d3f272e90
[Posts] Allow locking comment sections 2022-05-16 14:20:11 +02:00
Earlopain
c8bbfb93b9
[Posts] Address postevent review 2022-01-09 01:47:06 +01:00
Kira
55ecef12bd [API] Add alternate samples to post response 2020-10-23 00:02:54 -07:00
Kira
015b81203a [Posts] Support video duration 2020-10-04 12:29:22 -07:00
Kira
11a6a2e64a [API] Add if post has notes 2020-06-26 17:52:00 -07:00
Kira
1ad46c6dbe [API] Prevent nullable status flags 2020-06-26 17:37:01 -07:00
Kira
e602d896d2 Update post API serializer 2020-01-02 10:53:54 -08:00
Kira
0c69db869c Post serializer 2020-01-02 10:23:09 -08:00