orangix
02be603dcc
refactor api package comments
...
* use encoding/json for comment parsing
* refactor by moving loop code to an UnmarshalJSON
* use a preallocated array and indices to maintain order while using
goroutines again, this was removed a while ago
* use new struct in comment.hbs and contextComment.hbs
* rewriteUrl partial to reduce rimgo-specific code in api
* move RenderError into pages package to avoid import cycle between render and utils
2026-01-25 06:08:28 +01:00
orangix
34ecc2a32b
User comments support ( #131 )
...
#10
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/131
Co-authored-by: orangix <uleo8b8g@anonaddy.me >
Co-committed-by: orangix <uleo8b8g@anonaddy.me >
2023-08-15 20:38:14 +00:00
video-prize-ranch
f29df4fbd9
Fix .jpeg links in comments
2023-08-10 16:16:42 +00:00
video-prize-ranch
8dba4b7ca0
Replace imgur links in comments
2023-07-20 02:18:15 +00:00
video-prize-ranch
b65ee39162
Switch to codeberg.org/rimgo/rimgo
2023-06-10 12:27:20 -04:00
video-prize-ranch
a3feae6b30
Seperate API from UI
2023-01-01 15:12:03 -05:00
video-prize-ranch
50d71ad321
UI cleanup and changes
2022-10-13 17:29:05 -04:00
video-prize-ranch
a328b15698
Add display: block to comment media
2022-10-08 18:14:00 -04:00
video-prize-ranch
d6ebc9a54a
Render media in comments ( closes #8 )
2022-10-08 17:50:08 -04:00
video-prize-ranch
4306b3bb81
Add image cache and use struct for config ( closes #58 )
2022-09-30 16:57:18 -04:00
video-prize-ranch
e0efe6caca
Move types to api
2022-07-22 11:55:22 -04:00
video-prize-ranch
6eee86d682
Improve code reuse
2022-05-23 11:10:50 -04:00
video-prize-ranch
088f46a5bb
Remove viper and file configuration
2022-04-22 11:55:53 -04:00
video-prize-ranch
90ab3b37d3
Caching ( closes #18 )
2022-03-15 22:56:34 -04:00
video-prize-ranch
8d21d1a576
Initial users support
2022-01-27 20:41:10 -05:00
video-prize-ranch
4a1309e0dc
Comments
2022-01-18 18:05:06 -05:00