<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tube.git/app/app.go, branch refactor-upload-handler</title>
<subtitle>[MIRROR] Repo for Tube located at https://git.mills.io/prologic/tube
</subtitle>
<id>https://git.bensanders.xyz/tube.git/atom?h=refactor-upload-handler</id>
<link rel='self' href='https://git.bensanders.xyz/tube.git/atom?h=refactor-upload-handler'/>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/'/>
<updated>2023-02-12T11:23:49+00:00</updated>
<entry>
<title>WIP: otf encoding</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-02-12T10:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=a1230de0ac2ba3b0d295d377818878d5ee6a74c8'/>
<id>urn:sha1:a1230de0ac2ba3b0d295d377818878d5ee6a74c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>chore: Reorder arguments to ffmpeg</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-02-12T10:20:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=b15f62a49ebd371e2bbbbe46e12b7931d8e6bd8e'/>
<id>urn:sha1:b15f62a49ebd371e2bbbbe46e12b7931d8e6bd8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor down-scaling of uploaded videos</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-30T18:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=b492b372406c1ad457bef31779395f0ba2c28e20'/>
<id>urn:sha1:b492b372406c1ad457bef31779395f0ba2c28e20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix upload error for large files</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-22T02:34:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=adfb9023c2fd00ec14ea753b49334bd5b9b00c57'/>
<id>urn:sha1:adfb9023c2fd00ec14ea753b49334bd5b9b00c57</id>
<content type='text'>
This should avoid allocation of max_upload_size bytes of RAM.
Instead we only allocate 1MB of RAM for the upload form decoder.

- Fixes #67
</content>
</entry>
<entry>
<title>refactor: Extract funcions for transcoding and thumbnails</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-19T05:42:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=c9ae0f31f0ec016a53b314507af1fa8c7aaa1f9e'/>
<id>urn:sha1:c9ae0f31f0ec016a53b314507af1fa8c7aaa1f9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: refactor filehandling on upload</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-17T20:14:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=c63711843530738e9f317b8924f2de7912272162'/>
<id>urn:sha1:c63711843530738e9f317b8924f2de7912272162</id>
<content type='text'>
There is still a couple of functions that need to be broken
up, but most things are small enough now, to identify where
a storage backend can be attached.
</content>
</entry>
<entry>
<title>refactor: Extract copyFileFromFormToUploadDir from uploadHandler</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-17T01:41:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=c4d471c9a2bb2fccedbd6243449201f6bcea72a7'/>
<id>urn:sha1:c4d471c9a2bb2fccedbd6243449201f6bcea72a7</id>
<content type='text'>
Once we have some file in the upload_path directory, we only
need to determine where it should go.
The further processing can be passed on to a job queue and
handled in the background.
</content>
</entry>
<entry>
<title>refactor: Extract file and filename from upload form separately</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-17T00:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=0e522db2d4f9cfac166105be1ec6d8b61d86572d'/>
<id>urn:sha1:0e522db2d4f9cfac166105be1ec6d8b61d86572d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: Prepare to isolate handling of upload form from further processing</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-16T23:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=b8d8fe689ab8d116ffc879d91df65b9e28c9d623'/>
<id>urn:sha1:b8d8fe689ab8d116ffc879d91df65b9e28c9d623</id>
<content type='text'>
This will allow to extract the handling of uploaded files.
Once that is done, we can prepare to handle uploaded,
and imported files more similar.
</content>
</entry>
<entry>
<title>refactor: More comments, minor path handling helpers, extract upload target selection</title>
<updated>2023-02-12T11:23:49+00:00</updated>
<author>
<name>Heinrich 'Henrik' Langos</name>
<email>gumbo2000@noreply@mills.io</email>
</author>
<published>2023-01-16T17:18:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.bensanders.xyz/tube.git/commit/?id=c7a41ce1b306ac786fa6a6821cb580aa4166c831'/>
<id>urn:sha1:c7a41ce1b306ac786fa6a6821cb580aa4166c831</id>
<content type='text'>
</content>
</entry>
</feed>
