There may be more changes that could be
added to improve documentation however
this is meant to be a good start.
!+ There is also a new redirect endpoint for /admin/dashboard
This just a convenience thing so that people
don't have to remember the '/dashboard'
part of the admin route.
This is primarily for organizational reasons
however it should make things easier to
track as the complexity increases with
features getting filled out.
Features implemented thus far are proven to be working however
they will be left as optional features until they are more properly
tested in some kind of staging environment
These are only compiled with the --features admin flag so placing these
alongside the normal feature dependencies is totally safe and won't
increase compile times as they are not compiled in default builds. They
are however downloaded so some extra overhead is spent fetching them
for builds.
This should make building much more straight forward in the future
as currently builds have to follow a much stranger method
- Removed fluff storage file
No longer going to support uploading API. This is with the assumption that
most who use this software are going to know how to upload files to their
server anyway
This makes them literally 30Kb on average for my personal use
Also they're thumbnails so they could actually be smaller
! forcing thumbnails to be jpg as well
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
- 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
Because of this the backend now only has to serve data that browsers req
Also helps out api clients since responses are generally smaller
And helps out servers since responses are faster