<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/slcl/README.md, branch thumbnail</title>
<subtitle>Small and lightweight cloud storage written in C99 and POSIX.1-2008.
</subtitle>
<id>https://gitea.privatedns.org/xavi/slcl/atom?h=thumbnail</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/slcl/atom?h=thumbnail'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/'/>
<updated>2023-07-11T11:30:17+00:00</updated>
<entry>
<title>WIP add thumbnail CLI tools</title>
<updated>2023-07-11T11:30:17+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-08T01:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=05a76f289912a7a0cdf3749057c376019fe0b68b'/>
<id>urn:sha1:05a76f289912a7a0cdf3749057c376019fe0b68b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove HTTP/1.0 support</title>
<updated>2023-05-01T02:13:24+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-04-27T22:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=30a101717c8ac825f6ce676c6d717964f19307a8'/>
<id>urn:sha1:30a101717c8ac825f6ce676c6d717964f19307a8</id>
<content type='text'>
Considering http.h defined HTTP/1.1-only responses such as "303 See
Other", as well as incoming HTTP/1.1-only features (e.g.: byte serving),
it did not make much sense to keep a somewhat broken compatibility
against HTTP/1.0.

Unfortunately, this breaks support with some existing clients such
as lynx(1), even if HTTP/1.0 was already deprecated many years ago.
However, even lynx(1) can be configured to support HTTP/1.1.
</content>
</entry>
<entry>
<title>README.md: Fix wrong links</title>
<updated>2023-03-19T23:10:26+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-19T23:10:26+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=d51b191ab7005de6679a00dd200ad5502ecff5ac'/>
<id>urn:sha1:d51b191ab7005de6679a00dd200ad5502ecff5ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>README.md: Update according to current status</title>
<updated>2023-03-19T22:59:45+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-19T12:27:41+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=f0936adb34ceddf7d6d5aa99519e7fdccdba8237'/>
<id>urn:sha1:f0936adb34ceddf7d6d5aa99519e7fdccdba8237</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make usergen a bit more useful</title>
<updated>2023-03-16T00:55:22+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-16T00:53:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=f6fd20fdc4def2406614eebb958ef15f6085bb0e'/>
<id>urn:sha1:f6fd20fdc4def2406614eebb958ef15f6085bb0e</id>
<content type='text'>
So far, usergen printed a JSON object over standard output that had to
be manually copied into db.json. Now, this step is done automatically,
thanks to jq(1). OTOH, user directory is now also created by usergen.
</content>
</entry>
<entry>
<title>Implement user quota</title>
<updated>2023-03-06T04:51:49+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-06T04:09:56+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=ff8da797a143cb1dfbeb4ce2d2c3e4a1d0c2e56a'/>
<id>urn:sha1:ff8da797a143cb1dfbeb4ce2d2c3e4a1d0c2e56a</id>
<content type='text'>
This feature allows admins to set a specific quota for each user, in
MiB. This feature is particularly useful for shared instances, where
unlimited user storage might be unfeasible or even dangerous for the
server.

Also, a nice HTML5 &lt;progress&gt; element has been added to the site that
shows how much of the quota has been consumed.

If no quota is set, slcl falls back to the default behaviour i.e.,
assume unlimited storage.

Limitations:

- While HTTP does specify a Content-Length, which determines the length
of the whole request, it does not specify how many files are involved
or their individual sizes.
- Because of this, if multiple files are uploaded simultaneously, the
whole request would be dropped if user quota is exceeded, even if not
all files exceeded it.
- Also, Content-Length adds the length of some HTTP boilerplate
(e.g.: boundaries), but slcl must rely on this before accepting the
whole request. In other words, this means some requests might be
rejected by slcl because of the extra bytes caused by such boilerplate.
- When the quota is exceeded, slcl must close the connection so that
the rest of the transfer is cancelled. Unfortunately, this means no
HTML can be sent back to the customer to inform about the situation.
</content>
</entry>
<entry>
<title>README.md: Fix broken link to usergen</title>
<updated>2023-03-06T01:27:38+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-03-06T01:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=3e95727e275f650d2c6703aa8753b1c72d366d40'/>
<id>urn:sha1:3e95727e275f650d2c6703aa8753b1c72d366d40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Initial commit</title>
<updated>2023-02-28T00:43:56+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-01-09T00:22:54+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=d26f046fc9149693a6ebc28301ccc3581c0f144e'/>
<id>urn:sha1:d26f046fc9149693a6ebc28301ccc3581c0f144e</id>
<content type='text'>
</content>
</entry>
</feed>
