Commit Graph

718 Commits (040a0058b96ca555637109b4713cbe4080c38099)
 

Author SHA1 Message Date
ElementalAlchemist 040a0058b9 Fix issue with missing help box background 4 years ago
ElementalAlchemist 9a7c4a2592 Fix inconsistent styling on ranges 4 years ago
ElementalAlchemist 73737e06a8 Improve help text for new keyboard shortcuts 4 years ago
ElementalAlchemist 090337aae5 Remove TODO and give a better "you're logged out" message to user 4 years ago
ElementalAlchemist 5d609903b8 Switch back to primary wubloader Google token 4 years ago
ElementalAlchemist e15738f857 Run Prettier on all the files 4 years ago
ElementalAlchemist 50600b1456 Add prettier configuration 4 years ago
ElementalAlchemist ee8d23a6bc Improve styling for adding ranges 4 years ago
ElementalAlchemist 4b1bbff253 Implement video editing 4 years ago
ElementalAlchemist 2740e93be7 Remove unremoved TODO comment 4 years ago
ElementalAlchemist 49bb048af9 Actually style the errors 4 years ago
ElementalAlchemist d5bf649569 Fix some issues with help box when resizing the window 4 years ago
ElementalAlchemist 7b177c205f Initial implementation of stream page 4 years ago
ElementalAlchemist 31db2d11c7 Minor standardization 4 years ago
ElementalAlchemist 41f08ee6cb Change default redirect from thrimbletrimmer dashboard to just thrimbletrimmer, and the reorganized files will make it make more sense 4 years ago
ElementalAlchemist c3eb113b89 Mess with the clock page, mostly to start getting my bearings (also to standardize the markup and code style) 4 years ago
Mike Lang 61f55d03fb thrimbletrimmer: Add waveform image below video 4 years ago
Mike Lang 3de44d6731 Add ability to render waveforms in restreamer 4 years ago
Mike Lang 4db8c8f61c thrimbletrimmer: undo bad refactor 4 years ago
Mike Lang 2865088692 thrimshim: Further validation of titles/descriptions
Youtube doesn't allow < or > characters, or extremely long descriptions.

Fixes #215, #219
4 years ago
Mike Lang 7599681b6d yet another py3 map() issue
"hey i know lets make everything return an iterable but not update anything else to accept them"
4 years ago
Mike Lang 62bd6539ea Unpin gevent as that was a workaround for a py2 issue 4 years ago
Mike Lang 714a16bac4 thrimbletrimmer: Use template literals and other cleanup
Now that we've fixed the function declarations, prettier has also removed the semicolons on them
4 years ago
Mike Lang a69bee0548 thrimbletrimmer: Replace var with let/const and other related bits 4 years ago
Mike Lang 241d302220 thrimbletrimmer: Use "function NAME(...)" instead of "NAME = function (...)"
It's less confusing and more like other languages
4 years ago
Mike Lang ce73f7b0ea Auto-format JS files with prettier
Prettier is a tool for formatting JS files.
We add a minimal configuration to suit our purposes, and run it on all our JS files.

The main things this corrects is mixed tab and space indent issues (replacing fully with tabs),
overly long lines, inconsistent quote usage (prefers double-quotes instead), and missing semicolons.
4 years ago
Christopher Usher 6c97bd462e fixed integer division issues introduced by port to Python 3 4 years ago
Mike Lang e63aa53019 Remove left-over usage of encode_strings
More py3 breakage
4 years ago
Mike Lang 21856c68aa Fix all instances of file.write() for py3
In python 3, file.write() may do a partial write and returns the number of characters written.
In order to not lose data, we need to wrap every instance of file.write() with our new
common.writeall() wrapper that loops until the data is actually written.
4 years ago
Mike Lang a56f6859bb more py3 fixes 4 years ago
Mike Lang f2a8007bf7 Fix build dependency issues 4 years ago
Mike Lang 19f70b1d06 py3 fixes for segment_coverage 4 years ago
Mike Lang ac917409e4 Fix formatting issue in playlist manager 4 years ago
Mike Lang 7d4eb3c8db py3 fixes for backfiller 4 years ago
Mike Lang 8f24c2eae1 py3 fixes for sheetsync 4 years ago
Mike Lang d42d850153 thrimshim: misc cleanup 4 years ago
Mike Lang 9fad66c6be py3 fixes for restreamer 4 years ago
Mike Lang 6a98addac8 py3 fixes for downloader 4 years ago
Mike Lang 50231a5154 py3 fixes for cutter 4 years ago
Mike Lang 3e69000058 py3 fixes for common 4 years ago
Mike Lang d03ae49eec Remove defunct "smart cut" method
This was an alternate way of doing a cut that turned out to work exactly the same as a fast cut,
just with a more complex implementation.
4 years ago
HubbeKing 6d790a1b36 Do a first naive pass for py3 compatibility
Check that open() calls for reading and writing use binary modes
Use alpine version with py3-pip package
Use python3 in Dockerfile CMD
Remove sys.setdefaultencoding() "hack"
Simplify ensure_directory() in common.common package
4 years ago
Mike Lang f0546e2ee3 Pin gevent to 1.5a2 to avoid https://github.com/gevent/gevent/issues/1711 4 years ago
Mike Lang fe4299e926 Change the generate_videos endpoint to make mkvs according to an hours spec passed in 4 years ago
Mike Lang 32138bbd43 downloader: Update to work with twitch's new access token API
Twitch removed their old access token endpoint and now use a GraphQL endpoint.
The old endpoint would just always return 404, which we sadly interpreted as "stream not up".

Thankfully streamlink has already done the reverse engineering work so I was able to
update it to work again fairly easily, it's just a bit more convoluted.
5 years ago
Hubbe 36a5387e26 Change wording on edit submitted alert()
An edit has been submitted for the video. The video hasn't been submitted yet, thrimbletrimmer just informs other components how it wants the edit to be.
5 years ago
Mike Lang 74a38bfaeb thrimbletrimmer: Instead of redirecting on submit, alert but stay 5 years ago
Mike Lang 337111a9ab thrimbletrimmer: Always alert() on errors 5 years ago
Hubbe 27265f3bca Set video.js volume to 50% by default
When the video.js player is ready, set its volume to 50%
5 years ago
Mike Lang f8c877775d Add an alternate manual upload mode specifically for youtube
Adds a built-in "youtube-manual" location which is like "manual" except that it only works
with youtube URLs and populates the video_id column.

The intent is so that we can have playlist_manager manage videos we upload manually,
while still being able to distinguish between that and other manual links that shouldn't
be included (eg. links to third party youtube videos).

This is set when setting a manual link in thrimbletrimmer with a new checkbox, default off.
5 years ago