summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-21Fix DockerfileJames Mills
2023-01-21Fix build and versioning (borrowed from yarn)James Mills
2023-01-21Update depsJames Mills
2023-01-21fix: Add missing config defaut. (#62)Heinrich 'Henrik' Langos
Without this value, and without a corresponding config.json entry, the thumbnail will not be generated. Closes prologic/tube#41 Reviewed-on: https://git.mills.io/prologic/tube/pulls/62 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-21fix: Fix initial rendering of import page (#63)Heinrich 'Henrik' Langos
Without this, the GET request on the `import` function will fail. Reviewed-on: https://git.mills.io/prologic/tube/pulls/63 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-21fix: upload form shows prefix instead of path now (#64)Heinrich 'Henrik' Langos
This is just a cosmetic change as the values still use the Library.Paths[] Closes prologic/tube#56 Reviewed-on: https://git.mills.io/prologic/tube/pulls/64 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-18document yml metadata and thumbnail file reading. clarify h.265 (#59)Heinrich 'Henrik' Langos
Adds some documentation for meta data from yml files and thumbnails. Adds some clarification regarding video codecs. * Resolves prologic/tube#54 * Resolves prologic/tube#53 Reviewed-on: https://git.mills.io/prologic/tube/pulls/59 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-16preserve-video-filename (#49)Heinrich 'Henrik' Langos
This should fix issue #40 I have not made the `allowed_characters` configurable yet nor the `replacement_character`. Mostly because I couldn't decide if I should define those "globally" on a server basis, or on the library nodes. Feel free to modify, extend, rip apart. 😁 Reviewed-on: https://git.mills.io/prologic/tube/pulls/49 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-16improve logging at startup (#51)Heinrich 'Henrik' Langos
This bit me hard in the begining. While I was trying to figure out why tube I didn't show any files, it was silently creating directories all over the place. 😆 Reviewed-on: https://git.mills.io/prologic/tube/pulls/51 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-05fix: Select first upload library path by default. (#48)Heinrich 'Henrik' Langos
This is just a minor fix. Probably it shouldn't make a big difference, but I think it is good style to make sure that the there is a pre-selected default for the upload library. Reviewed-on: https://git.mills.io/prologic/tube/pulls/48 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-05fix(config): Always show config file name and abort if read fails (#46)Heinrich 'Henrik' Langos
With this change you should always know what config tube is using. If an explicitly requested file can not be read, then tube will complain and exit. This should fix issue #45 Reviewed-on: https://git.mills.io/prologic/tube/pulls/46 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-04build: Add go 1.19 to allowed versions (#43)Heinrich 'Henrik' Langos
This should close issue #42 Reviewed-on: https://git.mills.io/prologic/tube/pulls/43 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-04feat: Prefer external thumbnail over embedded ones (#44)Heinrich 'Henrik' Langos
This changes the handling of external thumbnails as mentioned in issue #41 If there is an external thumbnail file, it is going to be used, even if there is an embedded thumbnail in the mp4 file. Reviewed-on: https://git.mills.io/prologic/tube/pulls/44 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2022-11-25feat: Make upload path selectable (#39)Heinrich 'Henrik' Langos
This works for me, but for a more public site, I think I'll also add a boolean attribute named "upload_allowed" and "writable" to Config.Library.. Something to allow you to configure which directories can receive new uploads, and which directories we consider writable for other purposes (like editing meta data in yml, creating new thumbnails, ...) Co-authored-by: Heinrich Langos <gumbo2000@noreply@mills.io> Reviewed-on: https://git.mills.io/prologic/tube/pulls/39 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2022-11-25feat: Add YAML support for added / modified metadata (#37)Heinrich 'Henrik' Langos
This change introduces the ability to read additional or modified metadata like title or description from a YAML file. Just like thumbnails are read from "filename.jpg", we now look for "filename.yml" and override the meta data that is embedded in the video file. This is my very first look at golang, so please tell me if, or rather "where" I went wrong. ;-) Co-authored-by: Heinrich Langos <gumbo2000@noreply@mills.io> Reviewed-on: https://git.mills.io/prologic/tube/pulls/37 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2022-11-25Normalize library path before adding and improve error logging (#38)Heinrich 'Henrik' Langos
I hope this PR closes #9 Co-authored-by: Heinrich Langos <gumbo2000@noreply@mills.io> Reviewed-on: https://git.mills.io/prologic/tube/pulls/38 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2022-11-08Seriously wtfJames Mills
2022-11-08Fix Drone build-and-push-image stepJames Mills
2022-11-08Fix Docker image buildJames Mills
2022-11-08Fix CIJames Mills
2022-11-08Add Drone CIJames Mills
2022-10-01Remove external FontAwesome dependency (#30)Jacob Weisz
This fixes #28. Since we only use a single FontAwesome, I decided to just use the SVG (which FontAwesome considers the code comment within appropriate attribution). I further decided "screw it, let's inline it", because it avoids unnecessary complexity, and we can always punt it out to another file later if we need to. Co-authored-by: Jacob Weisz <inbox@jacobweisz.com> Reviewed-on: https://git.mills.io/prologic/tube/pulls/30 Co-authored-by: Jacob Weisz <ocdtrekkie@noreply@mills.io> Co-committed-by: Jacob Weisz <ocdtrekkie@noreply@mills.io>
2022-09-24Add Sandstorm packaging files (#26)Jacob Weisz
I am not quite done here, I need to finish some of the packaging metadata, and I am going to maybe take a pass at permissions prior to release. Opening the pull request so you can easily track the progress. Note that Sandstorm app metadata is supposed to be less than 1 MB total, so I optimized your screenshots. I dare you to tell the difference with the naked eye. Co-authored-by: Jacob Weisz <inbox@jacobweisz.com> Reviewed-on: https://git.mills.io/prologic/tube/pulls/26 Co-authored-by: Jacob Weisz <ocdtrekkie@noreply@mills.io> Co-committed-by: Jacob Weisz <ocdtrekkie@noreply@mills.io>
2022-08-30Replace rice box with go embed (#25)gabek
Reviewed-on: https://git.mills.io/prologic/tube/pulls/25 Co-authored-by: gabek <gabek@noreply@mills.io> Co-committed-by: gabek <gabek@noreply@mills.io>
2022-08-25Readme update to show /upload authentication (#24)gabek
Reviewed-on: https://git.mills.io/prologic/tube/pulls/24 Co-authored-by: gabek <gabek@noreply@mills.io> Co-committed-by: gabek <gabek@noreply@mills.io>
2022-08-25Optionally require auth for the /upload endpoint (#23)gabek
Reviewed-on: https://git.mills.io/prologic/tube/pulls/23 Co-authored-by: gabek <gabek@noreply@mills.io> Co-committed-by: gabek <gabek@noreply@mills.io>
2022-08-25Supply the seconds position where a thumbnail is generated (#22)gabek
Reviewed-on: https://git.mills.io/prologic/tube/pulls/22 Co-authored-by: gabek <gabek@noreply@mills.io> Co-committed-by: gabek <gabek@noreply@mills.io>
2022-08-01Remove deprecated netgo build tag (Fixes #4)James Mills
2022-08-01Fix image target to build multi-arch images to the Docker HubJames Mills
2022-08-01Update CHANGELOG for v1.1.13v1.1.13James Mills
2022-08-01Add empty CHANGELOG.md to support new release processJames Mills
2022-08-01Add support for multi-arch binary and docker image releases (#20)James Mills
Reviewed-on: https://git.mills.io/prologic/tube/pulls/20
2022-07-23Update depsJames Mills
2022-04-29docker small adjustments (#17)gerard webb
just some basic docker make file stuff to make it easier for local dev. Co-authored-by: gedw99 <gedw99@gmail.com> Reviewed-on: https://git.mills.io/prologic/tube/pulls/17 Co-authored-by: gerard webb <gedw99@noreply@mills.io> Co-committed-by: gerard webb <gedw99@noreply@mills.io>
2021-08-27Fix deps (#8)James Mills
Fixes #7 ```#!sh (⎈ |local:default) prologic@Jamess-iMac Sat Aug 28 01:35:47 ~/Projects/tube (master) 0 $ make Removing tube Removing tube.db/ tube version v1.1.12@02e2aeb(⎈ |local:default) ``` Co-authored-by: James Mills <prologic@shortcircuit.net.au> Reviewed-on: https://git.mills.io/prologic/tube/pulls/8 Co-authored-by: James Mills <james@mills.io> Co-committed-by: James Mills <james@mills.io>
2021-07-12Fix broken README markdown links (#1)taigrr
Gitea doesn't play nicely with absolute links in markdown, and requires relative links for things to resolve. Otherwise you get a 404. Co-authored-by: Tai Groot <tai@taigrr.com> Reviewed-on: https://git.mills.io/prologic/tube/pulls/1 Co-authored-by: taigrr <taigrr@noreply.git.mills.io> Co-committed-by: taigrr <taigrr@noreply.git.mills.io>
2021-07-13Remove Github workflowsJames Mills
2021-07-13Fix import pathsJames Mills
2021-06-08Remove proprietary notices about video (#40)Srxr
* Make content proprietary configurable * Update README * Fixed a few template context bugs Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2021-06-08Update Go versions to build/test against in CI to 1.14, 1.15 and 1.16James Mills
2021-06-08Update shortuuid depJames Mills
2021-06-08Update depsJames Mills
2021-03-25Update depsJames Mills
2021-02-10fixes issue 30 (#32)f varas
2021-01-04Remove label workflowJames Mills
2021-01-04fix: Fix typo (#29)Guilherme Lima
2020-12-26fix version doesn't work (#28)Rick
2020-10-16Added opengraphs (https://ogp.me/) tags to support embedding, #24 (#25)Bilel Medimegh
* Added opengraphs (https://ogp.me/) tags to support embedding, #24 * Edited AUTHORS
2020-10-16Remove autoassign and greetings workflows. Fixes #26James Mills
2020-07-08Update static assetsv1.1.12James Mills