Commit Graph
180 Commits
Author SHA1 Message Date
shockrah 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
shockrah 9f78f316c5 +* Ansible role meta data 2022-03-27 00:43:14 -07:00
shockrah 988d598a19 + Base job for deploy docker images to gitlab repos 2022-03-27 00:42:47 -07:00
shockrah 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
shockrah 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
shockrah d1e2d80eae + Font awesome images
+ Styling for admin video list
2022-03-26 23:58:53 -07:00
shockrah 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
shockrah 40e2d9d4be + category::fetch_category_videos for easy json fetches 2022-03-26 22:13:55 -07:00
shockrah 2411e39e87 + Adding hook for /admin redirect 2022-03-26 22:01:17 -07:00
shockrah 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
shockrah 6c6d5f8f30 + onload hook for admin form functionality 2022-03-24 19:59:24 -07:00
shockrah 1e4a6d5f5d + New buttons/fields for submitting data 2022-03-24 19:59:01 -07:00
shockrah 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
shockrah d56bd6b7cd + Generally useful helper functions 2022-03-22 22:09:43 -07:00
shockrah 367c798320 + /admin/remove-video...
+ /admin/upload-video
Code still requires some tests to ensure correctness
2022-03-22 22:09:04 -07:00
shockrah 88a938d0c2 - Removing partial module from streaming branch
+ Moving DB_PATH into db module
2022-03-22 20:02:01 -07:00
shockrah 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
shockrah 7c85c656e9 * script src=/static/dist/budle.js where required
* page module no longer sets 'script_src'
2022-03-22 17:49:09 -07:00
shockrah 3ad4d4fa14 +! More fixing of dev dependencies 2022-03-22 17:35:03 -07:00
shockrah a234696e46 + Debugging/packaging tech stack deps 2022-03-22 17:24:27 -07:00
shockrah 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
shockrah 0db05a2e5b + Adding deps required for better packaging 2022-03-22 17:15:51 -07:00
shockrah f65bc578a8 * Exposing page::default_map
+ Max width for login form
2022-03-13 12:49:36 -07:00
shockrah 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
shockrah cbe0f7a29d *! Fixing buid pipeline to include JS 2022-02-02 19:44:32 -08:00
shockrah f8052a6ecf * Fixing url generation on thumbnails
This is mostly to remove the extensions which mess with OpenGraph meta fetching
Most services like Discord/Twitter/Facebook/Linkedin will not bother using the
Available opengraph metadata if an extension is detected as its assumed to be
a plain file
2022-01-31 15:09:55 -08:00
shockrah ac494608ff * FIxing typo 2022-01-29 13:37:21 -08:00
shockrah 5f2049c22e * Fixing needs clause 2022-01-29 13:35:51 -08:00
shockrah 541e1345d1 * Fixing busted binary path 2022-01-29 13:32:43 -08:00
shockrah 954f4ced8d - Removing rustup toolchain swap
Git version of rocket.rs no longer requires nightly so we're going
to start opting for stable toolchains

* Deploy stage on build-docker-image job
2022-01-28 15:25:05 -08:00
shockrah 1e76a1d444 + Build stage prior to image deployment stage 2022-01-28 13:57:35 -08:00
shockrah 683dcffd6f *+ More env flags listed in readme
*! Async requests for category pictures

With async requests in place HTTP2 should be defaulted more often now
It is recommended now however to enable it with the reverse proxy of choice
2022-01-28 13:39:19 -08:00
shockrah c2eb93d3af + Proper linkage in navbar 2022-01-10 19:01:44 -08:00
shockrah 2c7301a084 * Specifying local gitlab registry 2022-01-02 17:34:44 -08:00
shockrah 2616e5bbbb + Building container via pipeline 2022-01-02 17:21:36 -08:00
shockrah fc5a6b4c9d * Fix to make syntax checks actually pass in testing 2022-01-02 17:15:50 -08:00
shockrah 08b05dbf55 + Docker based service hosts are now supported via the new ansible role
Usage of this role is still sketchy however at least all the
required playbooks are in place
Main issue at the moment is the interfacing with these playbooks
2022-01-02 16:04:10 -08:00
shockrah b7f779b34f + Moving over to new ansible role setup 2022-01-02 15:10:00 -08:00