Commit Graph

186 Commits (066d10f94a5c17cd3d6ca85c4d894b0f28c839fe)

Author SHA1 Message Date
Mike Lang a34af372d0
thrimbletrimmer: Validate chapter titles are ascii only
We are not sure what characters are allowed in chapter titles.
Emoji seem to be disallowed. It is unknown whether things like accents or smart quotes are allowed.
To be conservative, we warn if there are any non-ascii characters in the chapter title.
Mike Lang cb144866a6 Change wording of "submit anyway" button when saving a draft
ElementalAlchemist 0f1d125413
Fix jumping to the first chapter marker location ()
ElementalAlchemist 8264206f09
Add 4x and 8x playback speeds ()
* Add 4x and 8x playback speeds

* Make the "max speed" keyboard shortcut go to 2x first and then to the actual max speed
ElementalAlchemist 179f06b413
Fix loading Thrimbletrimmer and defaulting initial chapter time ()
ElementalAlchemist d979b40d9f Make the first chapter marker uneditable and tie it to the first range start time
This is a more usable enforcement of the requirement that YouTube enforces for the first chapter to be at the exact beginning of the video.
Mike Lang 879fe2c70b thrimbletrimmer: Change default download type to smart
The new smart cut type avoids artifacting/playing issues that happen with fast cuts or multi-range rough cuts.

However it is new and experimental so we keep the old options available as backups.
ElementalAlchemist 8382e90659 Highlight the chapter description field as an error if it contains angle brackets
ElementalAlchemist f5c171f5ca Fix formatting
ElementalAlchemist be9b7b8a3c Fix loading chat for non-UTC timestamps in restreamer
ElementalAlchemist d2bcff3ffd Avoid disabling the force reset row buttons on videos that are still transcoding
ElementalAlchemist d2f95bea20 Fix jump to buttons not working on videos that were already submitted
ElementalAlchemist 8648ad52ee Properly handle when video or just metadata can be edited
ElementalAlchemist 2ddf2f8426 Stop adjusting/breaking chapters when range times change
ElementalAlchemist 766b4d111d Confirm leaving when changes are made or confirmation needs to take place
ElementalAlchemist dd747416e0 Sort thumbnails in editor
This sorts the thumbnail by name.
ElementalAlchemist 3ddbbfd31d Sort chapter markers within each range
ElementalAlchemist e0d035f8b9 Add shift versions of currently unshifted shortcuts
ElementalAlchemist cded411188 Update Hls.js
ElementalAlchemist 6382fd259b Prevent cut modifications when a video that was already uploaded is being modified
ElementalAlchemist 3578a63ab8 Stop inviting the browser to load JS map files that don't exist
ElementalAlchemist 5158328888 Fix initial state of thumbnail data UI
ElementalAlchemist 797a36eaab Fix updating custom thumbnail images
ElementalAlchemist 92b34d2670 Initial implementation of announcement display
ElementalAlchemist 0cad481cea Add support for CLEARCHAT clearing the entire chat
ElementalAlchemist 832a0264bb Frontload the chat time display calculation
The chat time display calculation is also done in a worker to prevent stalling. Since we do the calculation on load, the stalling that is prevented would happen when loading the page.
ElementalAlchemist c23d94881b Fix use of JS to detect whether there is chat data
ElementalAlchemist 3710d9410a Fix indentation style
Mike Lang 834edf2701
Don't show a template option for non-png files ()
Each template now has two files, a `.png` and a `.json`. This is currently making them show up twice.
To fix this, we only consider files which end in `.png`.

We do this in the backend so the frontend doesn't need to know about it.
ElementalAlchemist dd4bf320cd Fix changing editor times breaking chat display
ElementalAlchemist d44bbe3440 Add missing tooltips for video range icons
ElementalAlchemist 131d248251 Add display for abbreviated YouTube titles
ElementalAlchemist 6b255f5018 Add jump to chapter marker functionality
ElementalAlchemist 8ea985c07a Fix distortion of non-standard-size default emotes
ElementalAlchemist 262a293d2e Fix issue where the first message of the playback may not be displayed on the restreamer page
ElementalAlchemist ea0729cbd6 Show system messages (raids, subscriptions, etc.) in the chat replay
ElementalAlchemist cae4976cf6 Fix incorrect use of substring
ElementalAlchemist c6961bbd46 Add ACTION support
ElementalAlchemist aa2c444d1a Implement chat auto-scroll
ElementalAlchemist 76de577695 Fix updating chat on playlist reload for restreamer page
ElementalAlchemist 4a1880461f Add replies support
ElementalAlchemist dc4e7f0835 Implement chat transcript for editor and chat replay for restreamer page
ElementalAlchemist 2939089edd Upgrade luxon
ElementalAlchemist 8c872f6999 Add image preview generation
ElementalAlchemist 9fa898d5aa Fix doing the time conversion before the data required for the time conversion is loaded
ElementalAlchemist 0e787677a0 Load thumbnail data for video
ElementalAlchemist 64f0ac714f Set up thumbnail editing with data plumbing through
Mike Lang 0681902789 Trigger download of the image file in a hacky way
Apparently this is the Recommended Approach for doing this - you create an <a> element,
set its attributes, then temporarily add it to the page and click() it.

The downloads.download() api we found earlier is exclusive to Chrome Apps.
Mike Lang adb6e2ae10 thrimbletrimmer: Add button to download current frame
It always uses source quality and downloads as a PNG.

We use the browser.downloads api to construct the URL on demand.

Note we might not always get the exact right frame in 60fps streams,
we might get one before or after (and "frame seek" in the editor skips 2 frames in this case).
ElementalAlchemist 1cb819a4c5 Use more native HTML options for editor keyboard shortcuts help