Commit graph

167 commits

Author SHA1 Message Date
Heinrich 'Henrik' Langos
d0727c2187 build: Add go 1.19 to allowed versions (#43)
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-04 11:34:52 +00:00
Heinrich 'Henrik' Langos
c0138ec10e feat: Prefer external thumbnail over embedded ones (#44)
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>
2023-01-04 11:34:40 +00:00
Heinrich 'Henrik' Langos
0a793f7d3f feat: Make upload path selectable (#39)
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-25 02:48:06 +00:00
Heinrich 'Henrik' Langos
7a4ef5b6df feat: Add YAML support for added / modified metadata (#37)
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-25 01:29:44 +00:00
Heinrich 'Henrik' Langos
a2cc622bc9 Normalize library path before adding and improve error logging (#38)
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-25 01:21:03 +00:00
James Mills
efa00d1534
Seriously wtf 2022-11-08 09:56:12 +10:00
James Mills
a0b38fb01e
Fix Drone build-and-push-image step 2022-11-08 09:38:40 +10:00
James Mills
b367429ca2
Fix Docker image build 2022-11-08 09:16:05 +10:00
James Mills
6eef473551
Fix CI 2022-11-08 08:20:23 +10:00
James Mills
0d32d37356
Add Drone CI 2022-11-08 08:06:55 +10:00
Jacob Weisz
d4223a9ef7 Remove external FontAwesome dependency (#30)
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-10-01 05:21:40 +00:00
Jacob Weisz
70fbc8c7b0 Add Sandstorm packaging files (#26)
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-09-24 05:29:27 +00:00
gabek
29f2784591 Replace rice box with go embed (#25)
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-30 01:17:08 +00:00
gabek
199aaa171f Readme update to show /upload authentication (#24)
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-25 23:32:08 +00:00
gabek
1791533e0e Optionally require auth for the /upload endpoint (#23)
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-25 23:17:24 +00:00
gabek
ed8964ee7a Supply the seconds position where a thumbnail is generated (#22)
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-25 23:15:27 +00:00
James Mills
31040303f7
Remove deprecated netgo build tag (Fixes #4) 2022-08-01 14:28:03 +10:00
James Mills
c011bbae0c
Fix image target to build multi-arch images to the Docker Hub 2022-08-01 14:03:00 +10:00
James Mills
cc036e0af1
Update CHANGELOG for v1.1.13 2022-08-01 13:25:18 +10:00
James Mills
371715ebb8
Add empty CHANGELOG.md to support new release process 2022-08-01 13:24:30 +10:00
James Mills
35217febfc Add support for multi-arch binary and docker image releases (#20)
Reviewed-on: https://git.mills.io/prologic/tube/pulls/20
2022-08-01 03:22:17 +00:00
James Mills
3b7c29eb8a
Update deps 2022-07-23 11:35:09 +10:00
gerard webb
012ae52fc7 docker small adjustments (#17)
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>
2022-04-29 21:54:16 +00:00
James Mills
acf8cbd82d Fix deps (#8)
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-08-27 15:36:53 +00:00
taigrr
88bb10f804 Fix broken README markdown links (#1)
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-12 23:50:21 +00:00
James Mills
02e2aebc49
Remove Github workflows 2021-07-13 08:34:56 +10:00
James Mills
5c2b402a8a
Fix import paths 2021-07-13 08:34:56 +10:00
Srxr
e743a9a425
Remove proprietary notices about video (#40)
* Make content proprietary configurable

* Update README

* Fixed a few template context bugs

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2021-06-08 23:22:14 +10:00
James Mills
7e3d72c24f
Update Go versions to build/test against in CI to 1.14, 1.15 and 1.16 2021-06-08 22:55:06 +10:00
James Mills
89442bb269
Update shortuuid dep 2021-06-08 22:49:56 +10:00
James Mills
97c79e1e61
Update deps 2021-06-08 22:43:53 +10:00
James Mills
43e093e38e
Update deps 2021-03-25 21:36:39 +10:00
f varas
3ab82de433
fixes issue 30 (#32) 2021-02-10 07:12:48 +10:00
James Mills
a920d7b0a8
Remove label workflow 2021-01-04 13:46:22 +10:00
Guilherme Lima
26d97b96eb
fix: Fix typo (#29) 2021-01-04 13:45:22 +10:00
Rick
5adab6d32d
fix version doesn't work (#28) 2020-12-26 08:26:09 +10:00
Bilel Medimegh
d36fb862c8
Added opengraphs (https://ogp.me/) tags to support embedding, #24 (#25)
* Added opengraphs (https://ogp.me/) tags to support embedding, #24

* Edited AUTHORS
2020-10-16 08:21:49 +10:00
James Mills
9502e15a1c
Remove autoassign and greetings workflows. Fixes #26 2020-10-16 08:19:36 +10:00
James Mills
a190bb9451
Update static assets 2020-07-08 16:55:29 +10:00
James Mills
efdcccc1a8
Update deps 2020-07-08 16:54:04 +10:00
James Mills
6a2eaefcca
Fix the import path of this package 2020-07-08 16:50:53 +10:00
James Mills
a5d1ec2b1d
Add tube app to myselfhosted.app 2020-04-12 20:52:08 +10:00
James Mills
45b554199d
Add plist service configuration for launchd on macOS 2020-04-12 20:15:49 +10:00
James Mills
338c0b7dd4
Fix a typo in the README
Fixes #22
2020-04-10 14:44:46 +10:00
X3STeNLiTE
20bf93c86d
fix hard-coded frontend max_upload_size validation (#20) 2020-04-09 01:53:54 +10:00
James Mills
cb8d61538d
Update README.md 2020-04-06 18:31:54 +10:00
Adam Shannon
8b0bfd30a3
app: fix bitcask migration path (#17)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
2020-04-06 09:18:44 +10:00
James Mills
f29ff54542
Add documentation on configuration options (#10) 2020-04-06 09:11:23 +10:00
James Mills
6e33260d2e
Add Homebrew install instructions 2020-04-02 00:05:23 +10:00
James Mills
eeb391cefb
Fix .goreleaser.yml config 2020-04-02 00:02:16 +10:00