Commit Graph

168 Commits

Author SHA1 Message Date
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
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