Commit Graph

1545 Commits (master)
 

Author SHA1 Message Date
Christopher Usher d5244d2244 Update comments in schema 4 days ago
Christopher Usher b792b1b555 Now use a sky pixel and a dashboard pixel to determine time-of-day
Can now also identify the score screen

Colours and pixel localtions have been updated for this years stream in
720p but changing to 1080p is a trivial change
4 days ago
Mike Lang 2fcbff3b44 Fix full cuts not using custom transitions properly 4 days ago
Mike Lang 6bb3edab41 schedulebot: Fix having hour as float 4 days ago
Mike Lang 3d03f0d984 sheetsync: And all the other places with that mistake 4 days ago
Mike Lang e14afdb6c1 Fix typo in sheetsync for media links 4 days ago
Mike Lang 7ca45e89b9 fix pubbot config 4 days ago
Mike Lang 69d3892101 pubbot: Get channel ids from config and handle prizes in the new website 4 days ago
Mike Lang 16d11c02bd hacky resize of old odo-last-digit prototypes
They're very time consuming to create, and the bad frame rate makes it harder
as some animation frames get skipped.
4 days ago
Mike Lang 557f8c7f7d fixup coords 4 days ago
Mike Lang 2d2f915a7f New prototypes for 2024 buscam 4 days ago
Mike Lang c1d85863bd pixel coordinates for 2024 buscam 4 days ago
Christopher Usher add8d021a8 also apply fix to get_thumbnail 4 days ago
Mike Lang 861a426395 thrimshim: Fix performance issue with getting template png
Bytes returned from the database are a "memoryview" and not a bytes object.
These mostly behave the same, but one difference is that Flask recognizes
a bytes object as something it can send as-is, whereas a memoryview ends up using
its generic "iterable" processing. This results in sending every individual byte of the result
as a single part of a HTTP chunked encoding response, adding 5 bytes and a syscall to every byte returned.

The solution is to explicitly convert it to bytes before returning.
4 days ago
Mike Lang 653f651491 schedulebot: Use correct division for calculating hour
int() is truncation, // is floor
4 days ago
ElementalAlchemist 3d4c63a697 Fix uploading a new thumbnail image when updating a thumbnail 5 days ago
ElementalAlchemist 0d35e95dc7 Format Thrimbletrimmer files
I forgot to run prettier before my last PR.
6 days ago
ElementalAlchemist 501549350b Fix name duplicate check to only run when the template name is changed
Without checking first, a rename is required for all thumbnail template modifications.
6 days ago
ElementalAlchemist f4d303147d Allow editing thumbnail data 6 days ago
ElementalAlchemist ea6d256b6d Fix database access 6 days ago
ElementalAlchemist 9435dc8575 Set default crop values
These values were empirically determined to be good from previous thumbnail templates.
6 days ago
Christopher Usher 4f5805fd8d I thought we had fixed this 6 days ago
Christopher Usher fcd9f0afbd Added parser to default_template column 6 days ago
ElementalAlchemist ef061b6768 Pass the auth token when submitting thumbnails 6 days ago
Christopher Usher 1320472d05 Fixing pip installing wheels 7 days ago
Christopher Usher d3fa140995 Another typo fix 7 days ago
Christopher Usher fc2e30512d Missing opperator 7 days ago
Christopher Usher 843ee5dca5 Fixing incomplete changes to calculate_shift 7 days ago
Christopher Usher ca2668ef47 Fix typo that should have been fixed earlier 7 days ago
Christopher Usher acd7710fd7 Fun with inheritance 7 days ago
Christopher Usher 4041040af0 The Middleware object, not the SheetSync object, needs to know about shifts 7 days ago
Christopher Usher 71a8789c4b Fixed missing import 7 days ago
ElementalAlchemist fc82b2b17f Run Prettier on other Thrimbletrimmer files
It had not been run in previous PRs
1 week ago
ElementalAlchemist c8899f5133 Implement thumbnail manager
This implements a frontend for submitting new thumbnails and viewing existing thumbnail data.
1 week ago
ElementalAlchemist 6290850ff0 Add jcrop to the prettier ignore file 1 week ago
ElementalAlchemist 8ac23f2927 When checking whether a template exists, check the right table 1 week ago
Christopher Usher 5bd8fbd65f Static content for creating a template 1 week ago
Christopher Usher b4882a9fc4 More bug fixes 1 week ago
Christopher Usher 7ed0bbedc4 Fixed typo 1 week ago
Christopher Usher d6f976ac0f Bug fixes and improvements in response to comments on the PR 1 week ago
Christopher Usher c4e98f4dca fixed build error 1 week ago
Christopher Usher 8d6d37e462 added shift definitions to docker-compose 1 week ago
Christopher Usher 1fb3fca993 Updated sheetsync to calculate shifts 1 week ago
Christopher Usher a0953ecdcb renamed one_off 1 week ago
Christopher Usher ecd638356d thrimshim now uses tags to set default thumbnail 1 week ago
Christopher Usher bd89655190 code to compute what shift a time is in 1 week ago
Christopher Usher 167f8e623c Changes to support setting default templates based on tags 1 week ago
Mike Lang a56f7e7ecb blogbot: can't hash strings 1 week ago
Mike Lang 2a12687473 blogbot: need to save the string version of the html 1 week ago
Mike Lang a648dee902 Fix typo in blogbot 1 week ago