continuous-integration/drone/push Build is passingDetails
This should avoid allocation of max_upload_size bytes of RAM.
Instead we only allocate 1MB of RAM for the upload form decoder.
- Closes#67
Reviewed-on: #71
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is passingDetails
Without this value, and without a corresponding config.json
entry, the thumbnail will not be generated.
Closesprologic/tube#41
Reviewed-on: #62
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build was killedDetails
Without this, the GET request on the `import` function will fail.
Reviewed-on: #63
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build was killedDetails
This is just a cosmetic change as the values still use
the Library.Paths[]
Closesprologic/tube#56
Reviewed-on: #64
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is passingDetails
Adds some documentation for meta data from yml files and thumbnails.
Adds some clarification regarding video codecs.
* Resolvesprologic/tube#54
* Resolvesprologic/tube#53
Reviewed-on: #59
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
continuous-integration/drone/pr Build is passingDetails
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: #49
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
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: #51
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
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: #48
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
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: #46
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
This should close issue #42
Reviewed-on: #43
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
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: #44
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
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: #39
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
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: #37
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
continuous-integration/drone/push Build is failingDetails
I hope this PR closes#9
Co-authored-by: Heinrich Langos <gumbo2000@noreply@mills.io>
Reviewed-on: #38
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
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: #30
Co-authored-by: Jacob Weisz <ocdtrekkie@noreply@mills.io>
Co-committed-by: Jacob Weisz <ocdtrekkie@noreply@mills.io>
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: #26
Co-authored-by: Jacob Weisz <ocdtrekkie@noreply@mills.io>
Co-committed-by: Jacob Weisz <ocdtrekkie@noreply@mills.io>
just some basic docker make file stuff to make it easier for local dev.
Co-authored-by: gedw99 <gedw99@gmail.com>
Reviewed-on: #17
Co-authored-by: gerard webb <gedw99@noreply@mills.io>
Co-committed-by: gerard webb <gedw99@noreply@mills.io>
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: #1
Co-authored-by: taigrr <taigrr@noreply.git.mills.io>
Co-committed-by: taigrr <taigrr@noreply.git.mills.io>