Commit Graph
93 Commits
Author SHA1 Message Date
shockrah b278649794 ! Finalizing welcome page for the app itself
Now i can get back to doing backend thigns
2021-10-17 21:14:00 -07:00
shockrah 05166a84c8 - REmoving VPS deployment since hugo isn't playing ball 2021-10-17 19:15:49 -07:00
shockrah b4d3b3ab44 * Fixing broken scss links in vps
This is due to hugo using gitlab pages as the base url
2021-10-17 19:07:59 -07:00
shockrah 59ec865da6 * fixing pad theme name 2021-10-17 16:40:19 -07:00
shockrah f4da9117a6 * renmaing?? 2021-10-17 16:38:16 -07:00
shockrah d9cf05d6ce * updating submodules 2021-10-17 16:29:47 -07:00
shockrah 5b7248a7f3 * Fixing pages pipelien 2021-10-17 16:26:35 -07:00
shockrah cb2c7ac3ec * back to gitlab pages but this time with a good compiler 2021-10-17 16:24:47 -07:00
shockrah a00c68392c * rocket.rs is busted rn so not bothering for now 2021-10-17 16:08:02 -07:00
shockrah c9e5f5f30c * still opting for vps > gitpages 2021-10-17 16:06:49 -07:00
shockrah 71c0088385 * using my own vps instead of pages because it enver updates 2021-10-17 16:04:53 -07:00
shockrah 89487d03a2 * Changing job name to pages 2021-10-17 08:00:18 +00:00
shockrah aaf684342d * Opting for nightly toolchain 2021-10-16 22:14:17 -07:00
shockrah 0ac7ef72e7 * Fixing artifacts final path 2021-10-16 22:09:53 -07:00
shockrah 9d81b3dff4 * Fixing path issue 2021-10-16 22:04:44 -07:00
shockrah 43f0dbadd2 * fixing image keys 2021-10-16 22:03:23 -07:00
shockrah 93539a017b * Fixing busted pipes 2021-10-16 22:02:41 -07:00
shockrah 220c4ba7e5 * Renaming submodule 2021-10-16 21:58:51 -07:00
shockrah cc0ea8411e + Finalizing docs page for now 2021-10-16 21:57:10 -07:00
shockrah bfdb5b3414 + Job for building the wiki page 2021-10-16 21:15:23 -07:00
shockrah 8f32ee4766 + Gitpage with hugo
For now its pretty barebones that will change v soon
2021-10-16 21:11:09 -07:00
shockrah abbfb48b48 * Fixing image to use to default with rust nightly 2021-10-16 20:09:54 -07:00
shockrah 5082640c49 * Forgot to specify build stage and docker image 2021-10-16 19:56:37 -07:00
shockrah 7c811e6617 * Fixing artifacts paths 2021-10-16 19:51:53 -07:00
shockrah d41aacb629 - Removing clippable-cli tool as it's not useful
File upload is something I'll figure out later
2021-10-16 19:51:45 -07:00
shockrah 90bd7658e6 + Pipeline for building simple package for linux 2021-10-16 19:37:32 -07:00
shockrah 7046d835b8 * Script for generating thumbnails 2021-10-16 19:18:20 -07:00
shockrah e9b2507ec5 + Category field on VideoMeta objects
This is basically just used to build url's for video links
2021-10-16 18:16:04 -07:00
shockrah e54314a629 - Removing base64 and rocket_contrib deps from project 2021-10-16 18:15:18 -07:00
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 2f6719081a - Removing old bs that doesn't do anything
* Frontend noow expects the newer endpoints in place
2021-10-12 22:51:47 -07:00
shockrah d924c2359a * Fixing broken 'missing thumbnail' default
* Fixing frontend TS to accomodate for new thumbnail uri path's
2021-10-12 22:44:08 -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 e049512c03 * Sanity refactor to clean up common warnings
! ALso using the new common module
2021-10-12 21:09:20 -07:00
shockrah ba7cd26f3a + /category page handler now fills out open graph meta data correctly 2021-10-12 17:37:37 -07:00
shockrah 3252ddd586 + Modernized readme to not succ 2021-10-12 17:37:03 -07:00
shockrah e679ee563a * Frontend now accounts for new /static prefix 2021-10-12 11:20:09 -07:00
shockrah b13270802f + THumbnail API code
This is all served behind /thumbail/...
2021-10-12 11:19:31 -07:00
shockrah 5836258c25 + Tiny thumbnail api
! Consider some new prefixes for the different API's
2021-10-12 11:18:58 -07:00
shockrah d5b8fba7f6 * Opting to return a URI pathname to thumbnails now
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
2021-10-12 11:18:32 -07:00
shockrah cf55dcfde0 + dev thumbnails dir 2021-10-12 11:16:59 -07:00
shockrah 574bcc0473 * Fixing clip links for individual clips 2021-10-12 00:16:27 -07:00
shockrah 69dfa488d9 * /api/categories/<cat> fully working and cleaned up 2021-10-11 23:39:06 -07:00
shockrah 7725ff5e1d * Frontend caught up to videos api 2021-10-11 23:38:26 -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 d0413cfff2 + Misc changes that don't belong anywhere alone 2021-10-11 14:36:02 -07:00
shockrah 72ab6decfb + Missing data safety in index.ts
Basically we want sane defaults in case a backend decides to implode on itself
2021-10-11 14:35:43 -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 e4373560a4 - removing rocket_contrib from deps
+ Adding rocket feature json
2021-10-11 14:33:51 -07:00
shockrah 210e0c3171 - removing compiled js from project 2021-10-11 14:33:03 -07:00
shockrah e779d88d63 * Fixing URI path issues in template 2021-10-10 14:00:53 -07:00
shockrah 3905f0f3d3 - Removing all of the remaining frontend leftover from hugo 2021-10-10 13:47:05 -07:00
shockrah 3041d7fb20 removing busted file 2021-10-10 13:40:29 -07:00
shockrah 8fa283f606 * Moving frontend TS to its own root dir
Knowing that  some pepople(myself) don't like JS this is to keep
any potential JS as non-hidden as possible
2021-10-10 13:24:49 -07:00
shockrah d76eaea6e9 * UPgrading rocket 2021-10-10 13:22:37 -07:00
shockrah bcee741e2e * Upgrading to rocket-v0.0.5-rc.1 2021-10-10 13:22:11 -07:00
shockrah 8ce7c038f9 * Moving frontend to api along
THere's also some deps in there but i cb fucked to doc that
2021-10-10 13:21:34 -07:00
shockrah d06784c06e + Templating support with tera 2021-10-08 13:28:31 -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 de4b44ac90 - Ignoring category page JS 2021-10-05 17:05:02 -07:00
shockrah 6670bb7606 * Ignoring generated js and addding a labeling script 2021-10-05 16:28:11 -07:00
shockrah 8094926278 * New 404 image and removing generated js 2021-10-05 16:26:49 -07:00
shockrah 30a607ae2c * tracking with lfs 2021-10-05 16:05:25 -07:00
shockrah 98afa7d684 + Tracking gifs now 2021-10-05 15:58:38 -07:00
shockrah c90d969e74 * Set default image if nothing was found for category thumbnail 2021-10-05 15:58:14 -07:00
shockrah 3230d7b762 - Removing genrated files 2021-10-05 15:56:05 -07:00
shockrah 3180e3ee60 * LFS installed for image tracking 2021-10-05 15:54:50 -07:00
shockrah 7b86e738df Base index page fleshed out but now requires polish 2021-10-05 15:52:08 -07:00
shockrah 6b8e7de31a * Thumbnails are now included in api response 2021-10-05 13:47:37 -07:00
shockrah 4a45ef5c97 * Updating deps for project 2021-10-04 19:27:54 -07:00
shockrah 5b3f6efebf * Simplifying backend api by... alot 2021-10-04 12:19:41 -07:00
shockrah 87b373bde8 - removing dblib 2021-10-04 12:16:21 -07:00
shockrah 85b32d5e96 + Adding last trait methods required for video meta storage to be properly done
! Still need to add file handling however I think I'm going to do that in the trait itself
This will probably require some thought so I'm gonna wait until the frontend
catches back up
2021-09-30 19:47:44 -07:00
shockrah 678dd3d7ee + More meta-cache backend for video store 2021-09-29 21:19:49 -07:00
shockrah caed1444c1 - filename is now a function dont @ me 2021-09-29 21:19:40 -07:00
shockrah 20bacc32a2 *.json files 2021-09-27 21:04:54 -07:00
shockrah 65a2b41875 + Skeleton code for dblib::VideoStore trait
For now we are just keeping everything in JSON because the use
case intended here is _not_ to have 999999 clips but like maybe
a few hundred/thousand at most
2021-09-27 21:04:25 -07:00
shockrah 27f337f63a + Adding Videos field to json store
Basically the json store keeps the keys _and_ the meta data for the videos
At some we'll change this however this would be
a dblib only change
2021-09-27 21:03:27 -07:00
shockrah 3623a8236f + Skeleton code for the /video-api
With this we can start work on the api code itself
which at this point should be fill in as we go
2021-09-27 21:02:25 -07:00
shockrah 8a3b85351e - serde_json from packages as its just redudant
Just 'serde' is all we need rightnow
2021-09-27 20:37:51 -07:00
shockrah 32bf68361d * Moving Keystore related methods into its own module
+ VideoStore Trait designed out
+ comon error types yey
2021-09-27 15:51:19 -07:00
shockrah ae3dd475c1 + Json now a required part for web server
This is primarily for JSON based HTTP payloads which should make things
easier to deal with in the browser later
2021-09-27 15:50:31 -07:00
shockrah 7a1c0ec3ff * Dependencies now include dblib in web server 2021-09-27 14:49:43 -07:00
shockrah a50cce38e9 + FromRequest on ApiKey
With this we should get some easy coupling with the web server
2021-09-27 14:46:46 -07:00
shockrah 0e895abc94 * Properly named dblb API and docs 2021-09-27 12:23:29 -07:00
shockrah ea241d07c8 + Flag to create new keystore 2021-09-27 11:56:15 -07:00
shockrah 847d7a487f + Adding web routes
+ Skeleton code for web page routes is almost done
! Might have to add some clever Javascript but we'll see
2021-09-27 11:55:38 -07:00
shockrah a590a648c0 + Rocket 0.4 as main web server dep 2021-09-26 22:37:16 -07:00
shockrah d5fbb17baa * Admin changes to better explain what's going on this repo 2021-09-06 22:39:30 -07:00
shockrah 42924e8419 + CLI Tool for clippable
! Not yet tested however there really isn't much code to test at all
2021-09-06 21:28:28 -07:00
shockrah 9f9f61d968 + Package admin things
.gitignore and Cargo package files as well
2021-09-06 16:33:04 -07:00
shockrah 01f64375f2 + DBLib which is basically our "datbase" driver
This stands to be the only data we're going to bother supporting right now
THe reason for this is because of sheer lazyness
2021-09-06 16:32:37 -07:00