Commit Graph

9 Commits

Author SHA1 Message Date
shockrah
c53d9a293e ! Finalizing video fetch endpoint
With this the backend is officially at an MVP stage and now requires polishing
Proper data streaming for larger clips is basically required
for a really good backend(especially async streaming)
and some better css for the video player
2021-10-16 18:14:04 -07:00
shockrah
d6b076970f + Video clip endpoint
Let's users actually request videos
+ Meta data handling for video clip pages
+ Template for video pages
2021-10-13 00:21:27 -07:00
shockrah
254da1ae90 * vid_file_entries now uses common::get_clips_dir
- get_video_preview
This is because of the old base64 requirement
* /api/category/<cat> handler now returns Option<Json<Vec<VideoPreview>>>
While more verbose we can more easily convey intentions
to any consumers of this endpoint.
Those intentions being that None values just mean nothing was found
2021-10-12 22:17:50 -07:00
shockrah
69dfa488d9 * /api/categories/<cat> fully working and cleaned up 2021-10-11 23:39:06 -07:00
shockrah
b9c4cb7c6b * /api/categories/<cat> is now working properly
Output should be correct for the frontend
2021-10-11 20:39:51 -07:00
shockrah
b763329abd + api::list_categories now re-added and working as intended
! This patch is massive but idc right now im sprinting to finish this conversion
2021-10-11 14:34:50 -07:00
shockrah
4b6ced439d ! Bulk commit of progression
A lot off issues with the current design make 100% more sense by cutting hugo out of the picture entirely
This means we're switching fully to rocket however
we're not going to leave behind the work done with hugo,
we're just going to migrate it over first
2021-10-08 13:21:09 -07:00
shockrah
6b8e7de31a * Thumbnails are now included in api response 2021-10-05 13:47:37 -07:00
shockrah
5b3f6efebf * Simplifying backend api by... alot 2021-10-04 12:19:41 -07:00