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
shockrah
5440c508e5
- Removing workspace setup for cargo
...
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
2022-01-02 14:21:32 -08:00
shockrah
1e2ff50214
* breadcrumb navbar should make navigation easier now
2021-10-26 18:47:24 -07:00
shockrah
baedfc72ea
* Better opengraph meta tagging
2021-10-26 18:15:05 -07:00
shockrah
57181ee75e
Merge branch 'master' of gitlab.com:shockrah/clippable
2021-10-26 09:57:21 -07:00
shockrah
64ef933267
+ Adding simple navbar menu at the top
...
In theory breadcrumbs would look/feel better to use but for now
this will do to massively improve the UX
2021-10-26 09:57:08 -07:00
shockrah
3b0249e58a
- Removed file extensions from frontend
2021-10-25 23:35:51 -07:00
shockrah
6bb44e5d05
+ Added support on /clips/<cat>/<file> to ignore the file extension
...
With this the frontend can produce opengraph fetch-friendly url's
2021-10-25 23:31:18 -07:00
shockrah
54b2b55fcb
+ More stuff to ignore for windows env
2021-10-25 22:01:21 -07:00
shockrah
0215ab6ede
* This patch is just an excuse to mention that the docker registry has been updated
2021-10-23 00:15:20 -07:00
shockrah
1b9c9869fc
* Documentation now reflects project's current state
...
Also putting alink to my page
2021-10-23 00:14:41 -07:00
shockrah
f327d993c5
* Fixing broken video links in href
2021-10-22 23:59:27 -07:00
shockrah
12525b8cd5
* Fixing remaining paths in ansible deploy script
2021-10-22 23:52:18 -07:00
shockrah
17aa75a01e
* Fixed ansible file paths
...
idk how i missed all this
2021-10-22 23:42:02 -07:00
shockrah
b4f2902b46
* Fixed static output path on remote
2021-10-22 23:28:26 -07:00
shockrah
65ea393b7e
* Better video titles
...
* Clickable images in categories pages
2021-10-22 23:24:59 -07:00
shockrah
46f9000358
+ Meta data and page data are now split
...
More env vars to keep track of and doc in the landing page too -_-
2021-10-22 23:24:28 -07:00
shockrah
5707499af9
* Cleaner thumbnail finder with more controlled state
2021-10-22 23:12:04 -07:00
shockrah
31d9794d7f
+ Lazy static because we need to start caching
...
and avoid insane heap allocations
2021-10-22 23:11:24 -07:00
shockrah
5fd0279138
- Removign fluff job
2021-10-22 22:42:38 -07:00
shockrah
c503cc5d9d
* Hover divs and clickable images
2021-10-22 22:42:21 -07:00
shockrah
ef0981b68f
+ Adding build stage for the docker image
...
Kinda yolo'ing this one but hey lets see
2021-10-22 20:41:38 -07:00
shockrah
a0bf263014
+ Ansible script for sending up server fiesl to a vps
2021-10-22 20:18:31 -07:00
shockrah
bb69c37a5a
+ QOL Build scripts
2021-10-22 00:31:51 -07:00
shockrah
64d3253b90
Merge branch 'master' of gitlab.com:shockrah/clippable
2021-10-22 00:26:59 -07:00
shockrah
a5f649a284
+ ebs section for terraform build
...
+ Basic nginx setup script
certbot commands are not included
2021-10-21 23:55:58 -07:00
shockrah
c74ee022fc
* Category thumbnails are no longer awful
...
shug.jpg has entered the chat
2021-10-21 00:19:24 -07:00
shockrah
f42f125766
* Optimizing thumbnail generation so they're 640x?
...
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
2021-10-20 21:45:47 -07:00
shockrah
5e3b2e830b
+ Tree clone script
2021-10-20 21:28:02 -07:00
shockrah
71407b9202
Merge branch 'master' of gitlab.com:shockrah/clippable
2021-10-20 21:27:46 -07:00
shockrah
92a23936cf
+ Video bulk thumbnail generator
2021-10-20 21:27:10 -07:00
shockrah
9775ae9cb7
+ Simple example infrastructure built with Terraform
...
This should have literally everything you need to
run a single command and get all infra components
live and ready for app deployment.
2021-10-19 19:57:50 -07:00
shockrah
de51b9141d
+ DOcker image in registry wew lad
...
+ Better docs
All around qol for people that don't know what this thing is
2021-10-18 02:18:00 -07:00
shockrah
d87d689f03
* Seperating build stages
2021-10-18 00:31:30 -07:00
shockrah
3676b13411
+ more content in about section and packaging now
2021-10-18 00:29:59 -07:00
shockrah
7f9ff9bb65
- No more grabbing no directory entries in categories
...
+ Better video sizing
2021-10-17 21:26:04 -07:00
shockrah
501916cb57
* typo in og tags
2021-10-17 21:22:13 -07:00
shockrah
8040481038
* Fixing the open graph image path
2021-10-17 21:17:04 -07:00
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