Commit Graph

194 Commits

Author SHA1 Message Date
690158ff1c Fixing vertical alignment in videos pages 2025-08-18 14:46:10 -07:00
050160c326 Hugo template rip commit. When in doubut steal it out 2025-08-18 10:19:49 -07:00
d709e5fcc5 Skeleton for basic homepage and other generic pages like 404's and things 2025-08-18 10:19:10 -07:00
f6d2fcd3f6 updating templates to the ones from the dimension theme, no video support yet with this theming 2025-08-18 10:18:31 -07:00
eb99d97e7b Path & PathBuf .join() methods are more headache than they're worth
Here's two hard coded variables
2025-08-17 15:30:09 -07:00
7d813391bd Stablizing backend files search 2025-08-17 15:22:21 -07:00
1309ab2324 Backend now responsed to all correct API calls for video file pages 2025-08-15 20:45:04 -07:00
150d34c38e Opting for string keys in json db 2025-08-15 20:24:09 -07:00
61b3a5fe80 Main video pages now slowly coming online from the backend 2025-08-15 16:20:56 -07:00
ac200c0c0d Removing mega old code that doesn't work anymore 2025-08-13 16:14:49 -07:00
9671be1ff3 Updating references to old api/ to clippable-svc/ 2022-10-28 12:12:21 -07:00
348410853a Renamed api to clippable-svc to be more clear 2022-10-28 12:09:29 -07:00
54af3628e4 - Removing out of scope code 2022-05-04 17:46:22 -07:00
dc98feef5f + Required job dependencies for cargo builders
'needs' keyword also added for meme graph lines
2022-03-27 00:49:36 -07:00
ba0d75d383 + New jobs for building both admin and normal docker images
+ New jobs for building both admin and normal binary packages

! NOTE: This commit is likely broken so do not use it to checkout
2022-03-27 00:45:07 -07:00
9f78f316c5 +* Ansible role meta data 2022-03-27 00:43:14 -07:00
988d598a19 + Base job for deploy docker images to gitlab repos 2022-03-27 00:42:47 -07:00
1fd47481c8 + Base job for building cargo binaries
script field is the only that "userland" code needs to
override
2022-03-27 00:41:47 -07:00
4416d08994 + admin::populate_video_list now populates t he video list
The ul here is meant to serve as a quick
way to check what videos are being served
as well as removing videos

+ category::VideoMeta::as_li built for admin video list
This is basically how we spit this out onto
the DOM
2022-03-27 00:00:50 -07:00
d1e2d80eae + Font awesome images
+ Styling for admin video list
2022-03-26 23:58:53 -07:00
e31edb55ad !* Switching to the fetch api from old xhr
Less jank and now also using a more flexbile
backend for fetching json data

!!! Error handling required as there is barely any safety atm
2022-03-26 22:33:09 -07:00
40e2d9d4be + category::fetch_category_videos for easy json fetches 2022-03-26 22:13:55 -07:00
2411e39e87 + Adding hook for /admin redirect 2022-03-26 22:01:17 -07:00
86b9081354 + Rust docs where needed
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.
2022-03-26 21:51:07 -07:00
6c6d5f8f30 + onload hook for admin form functionality 2022-03-24 19:59:24 -07:00
1e4a6d5f5d + New buttons/fields for submitting data 2022-03-24 19:59:01 -07:00
63ac49de5f + Upload form hooks for simple uploads
There is still more work to be done for
stabilization as well as updates for more
code quality as right now things are very
ad-hoc.
2022-03-24 19:58:20 -07:00
d56bd6b7cd + Generally useful helper functions 2022-03-22 22:09:43 -07:00
367c798320 + /admin/remove-video...
+ /admin/upload-video
Code still requires some tests to ensure correctness
2022-03-22 22:09:04 -07:00
88a938d0c2 - Removing partial module from streaming branch
+ Moving DB_PATH into db module
2022-03-22 20:02:01 -07:00
0d9991c557 !* Splitting up the admin module
This is primarily for organizational reasons
however it should make things easier to
track as the complexity increases with
features getting filled out.
2022-03-22 20:01:19 -07:00
7c85c656e9 * script src=/static/dist/budle.js where required
* page module no longer sets 'script_src'
2022-03-22 17:49:09 -07:00
3ad4d4fa14 +! More fixing of dev dependencies 2022-03-22 17:35:03 -07:00
a234696e46 + Debugging/packaging tech stack deps 2022-03-22 17:24:27 -07:00
28d9c2aa30 * Frontend restructure with webpack
Doing this means we only have to serve up a single js
file across all pages, reducing the amount of fuckery the backend
has to do. Also we can start marking the js to require much heavier caching
2022-03-22 17:17:15 -07:00
0db05a2e5b + Adding deps required for better packaging 2022-03-22 17:15:51 -07:00
f65bc578a8 * Exposing page::default_map
+ Max width for login form
2022-03-13 12:49:36 -07:00
b7a3410fc4 Partial response ranges are now parsed properly 2022-03-02 21:21:04 -08:00
shockrah
db637c0889 * Cargo clippy cleanup 2022-02-05 13:49:49 -08:00
shockrah
0698f62659 + Adding thumbnail to video opengraph tags 2022-02-02 23:47:02 -08:00
shockrah
de70a177aa * Fixing Opengraph type from website to video.other 2022-02-02 23:12:03 -08:00
shockrah
b2296ff4ca * Exposing page::default_map
+ Max width for login form
2022-02-02 23:04:22 -08:00
shockrah
7b04401893 * Simplified video meta dump prior to uploading 2022-02-02 23:03:32 -08:00
shockrah
ff73995ff3 !!+ Optional backend code for admin feature
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
2022-02-02 23:02:39 -08:00
shockrah
91d3d2b9fc +! Deps for admin feature
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.
2022-02-02 22:59:46 -08:00
shockrah
e3e98e8b9e !+ Auth verification flow now complete 2022-02-02 22:57:36 -08:00
shockrah
7a4d3d01e4 +! og:video tag 2022-02-02 22:29:44 -08:00
shockrah
03491a6396 + Adding back proper breadcrumbs to the navbar 2022-02-02 21:55:21 -08:00
shockrah
2a0b6f616c + Specifying tag for typescript building 2022-02-02 21:19:41 -08:00
shockrah
5fd4d920d0 + Switching to codesignals docker image 2022-02-02 19:50:56 -08:00