Commit Graph

1545 Commits (master)
 

Author SHA1 Message Date
Mike Lang fbbe37ca9e blogbot: Save blog contents by hash when seen
For every unique hash of the blog html, it will save a copy.
Blogs are saved as JSON files in {segments_dir}/blogs
1 week ago
Dan Collins 3b737f8155 Add 'batman logo wipe' transition 1 week ago
Mike Lang 18905a3c17 buscribe: Tell nginx to actually serve those pages 1 week ago
Mike Lang e91d6b65ac blogbot: add to docker-compose 1 week ago
Mike Lang ce9a8309a2 blogbot: Changes to integrate into wubloader repo 1 week ago
Mike Lang 2618cc076d blogbot changes to work with 2024 website 1 week ago
Mike Lang de52f7dbff Import blogbot from previous years 1 week ago
Mike Lang a0ca96aff6 download_media: Get imgur links working and add test script 1 week ago
Mike Lang c2ff2dfbb1 download_imgur_url: Clarify not handling i.imgur.com 1 week ago
Mike Lang 83f18eda84 download_media: Special casing for imgur 1 week ago
Mike Lang 4dbe1dce5e Use cache in readonly mode for PRs in forked repos 1 week ago
Mike Lang bff3fa7800 Refactor build script to actually have a working cache using buildah
The old "docker build" no longer does caching the way it used to, and our cache logic doesn't work.

The new cache logic uses buildah, which is an alternate image build tool.
Buildah comes pre-installed on GHA.

When building, it pushes each layer as it goes to the cache repo.
It queries the repo for layers that are already built, so we don't need to explicitly pull
any specific tags and cache from them.

If caching is not enabled we still use docker as normal, so local development is not affected.
Local automatic caching will still apply.
1 week ago
Hubbe 4238ab5d9d Use "latest" in workflow manifest 1 week ago
Hubbe f122ef0d95 Special-case "latest" in CACHE_FROM in build script 1 week ago
Christopher Usher b1f6d8d0de Fixed bug in authenticate_artist 1 week ago
Christopher Usher 1ba8597957 Made including a new image optional when updating a template 1 week ago
Hubbe 3ba01dda11 Don't check for active giveaways
The old API is no more, so we can't check for active giveaway. Simply disable it for now.
2 weeks ago
Mike Lang f2a6420634 pubbot: only listen on this year's channel
the other one was last year's
2 weeks ago
Mike Lang 177fad17e2 pubbot: listen on both "total" channels we've seen
The difference? No idea.
2 weeks ago
Thomas Chick f15dcaf545 fix message parsing bug with donation total 2 weeks ago
Mike Lang 211036a4d4 pubbot: try to get correct new url for db total 2 weeks ago
Dan Collins 3c746e569e Match aspect ratio from frame to template or vice versa, or lock
template to frame
2 weeks ago
Christopher Usher 2c5e1058e8 Added missing authentication decorators on calls that modify the
templates database table
2 weeks ago
Dan Collins 33f3b0e0c8 Attach validation to the first chapter marker description field 2 weeks ago
Christopher Usher 7f46b56ed4 Changed from editors to roles in the setup script 2 weeks ago
Christopher Usher 853a8f0ff4 Fixed SQL bug in the roles table 2 weeks ago
Mike Lang 713c0a6363 playlist-audit: Script to help with playlist auditing
As per Sokar's request.
It's not entirely ideal that we're copying the "should be in playlists" criteria here
and in the playlist manager, but it's simple enough (is DONE, is public, matching upload location, tags are a superset of playlist tags) that it should be fine.
2 weeks ago
Dan Collins 94aefc46fc Scale thumbnail pixel coordinates for a 1920x1080 video frame in a 1280x720 template 2 weeks ago
Mike Lang 39c7215910 No longer resize frames to template size before cropping
This was originally done to ensure the crop settings worked no matter what the source resolution was,
but in practice the source resolution is stable (1080p) and the double-resize loses a lot of quality
if you actually want to scale *up* the cropped image.
2 weeks ago
Dan Collins 952d760f8d Remove the :focus CSS rule, it obstructed the image making precise positioning difficult. 2 weeks ago
Dan Collins c3cb931e3e Download jcrop, fix newlines, use let instead of var 2 weeks ago
Dan Collins 1c5d37cc04 Thrimbletrimmer: Add JS cropping tool to advanced template options 2 weeks ago
Mike Lang b866b5d21c playlist manager: run more often 2 weeks ago
Mike Lang 9ad0f5f512 Pass db connect to restreamer 2 weeks ago
Christopher Usher a33b27dea3 Fixed error in thumbnail generation logging 2 weeks ago
Christopher Usher 8020df8e60 Logging for thumbnail template management 3 weeks ago
Mike Lang 2391a73ced thrimletrimmer: Support one-off overlays for thumbnails
By picking the "one-off overlay" option for a thumbnail, you swap specifying a template name
for being able to upload a one-off template that is then combined with the requested frame.

The rendering is done by restreamer, and we do it explicitly whenever
a) Generate Thumbnail Preview is pressed
b) The video is submitted

The rendered thumbnail is then included in the submission as a "custom" thumbnail.

The default thumbnail template params (crop and location) do not change
when this mode is selected, so they'll effectively be the default params of the previously-selected
template. In most cases this will be what you want since almost all our templates share the same
params, and custom one-offs will too.
3 weeks ago
Mike Lang 867ec8411b restreamer: Make get_thumbnail_uploaded_template() work 3 weeks ago
Mike Lang 751271d3c1 thrimbletrimmer: Replace ad-hoc query string building with URLSearchParams
This handles edge cases like special characters properly, and is easier/more readable.
3 weeks ago
Mike Lang f46481af0c thrimbletrimmer: Add support for advanced crop options
- On load + change of template, set from template defaults
- On load, set from video if not null
- Show only in template mode
- Use when previewing image
- Send when submitting
3 weeks ago
Mike Lang d4d2bbcad4 thrimshim: Fix accepting thumbnail crop/location on submit 3 weeks ago
Mike Lang 8abc7c39a3 restreamer: Parse crop/location correctly and document it 3 weeks ago
Mike Lang 2255bc7fc0 sheetsync: Add column to tags sheet 3 weeks ago
Mike Lang f4dc0ea7f1 thrimshim: Fix auth query again, hopefully properly this time 3 weeks ago
Mike Lang 48c91b7828 docker-compose: Set buscribe tag seperately
It's big and slow and most of the time doesn't need updating.
3 weeks ago
Mike Lang 4cd0ef1327 schedulebot: Take creds as a file
Avoids needing to put the creds in docker-compose.jsonnet.
The existing "import" trick didn't work due to the way we run jsonnet in docker.
3 weeks ago
Mike Lang e00e716927 schema: Require role.email always be lowercase
Otherwise it will silently fail to match in the application.
3 weeks ago
Mike Lang 696d1c8baa Fix typo in thrimshim auth SQL 3 weeks ago
Mike Lang 8533c01d7f docker-compose changes for passing schedule sheet to schedulebot 3 weeks ago
Thomas Chick 3cbd44bd17 Switch squeezeh and squeezev descriptions.
My bad, had the videos in front of me and still stuffed it. `squeezeh` squeezes the video to *become* horizontal, not horizontally. Ditto `squeezev`.
3 weeks ago