Commit Graph
27 Commits
Author SHA1 Message Date
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 6c6d5f8f30 + onload hook for admin form functionality 2022-03-24 19:59:24 -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 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 e3e98e8b9e !+ Auth verification flow now complete 2022-02-02 22:57:36 -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 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 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 f327d993c5 * Fixing broken video links in href 2021-10-22 23:59:27 -07:00
shockrah 65ea393b7e * Better video titles
* Clickable images in categories pages
2021-10-22 23:24:59 -07:00
shockrah c503cc5d9d * Hover divs and clickable images 2021-10-22 22:42:21 -07:00
shockrah 501916cb57 * typo in og tags 2021-10-17 21:22:13 -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 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 e679ee563a * Frontend now accounts for new /static prefix 2021-10-12 11:20:09 -07:00
shockrah 574bcc0473 * Fixing clip links for individual clips 2021-10-12 00:16:27 -07:00
shockrah 7725ff5e1d * Frontend caught up to videos api 2021-10-11 23:38:26 -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 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