<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/slcl/page.c, branch v0.1.0-rc2</title>
<subtitle>Small and lightweight cloud storage written in C99 and POSIX.1-2008.
</subtitle>
<id>https://gitea.privatedns.org/xavi/slcl/atom?h=v0.1.0-rc2</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/slcl/atom?h=v0.1.0-rc2'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/'/>
<updated>2023-09-08T22:19:07+00:00</updated>
<entry>
<title>page.c: Update project URL</title>
<updated>2023-09-08T22:19:07+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-09-08T22:19:07+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=7471da3886355199185a3b05a45b4c9b845d5a89'/>
<id>urn:sha1:7471da3886355199185a3b05a45b4c9b845d5a89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do some minor rebranding</title>
<updated>2023-08-01T00:25:30+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-08-01T00:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=75f1f223d45d00629ed0866bf8bed726b60d8215'/>
<id>urn:sha1:75f1f223d45d00629ed0866bf8bed726b60d8215</id>
<content type='text'>
Despite designed around portability and minimalism, I feel slcl no
longer aligns with the philosophical views from the suckless project.
Therefore, I think it was appropriate to unlink its branding from it.
</content>
</entry>
<entry>
<title>Adapt to slweb's include paths</title>
<updated>2023-07-20T23:40:55+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-20T23:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=e49f1da7aed6894c8893cf29c33c4ca839d74976'/>
<id>urn:sha1:e49f1da7aed6894c8893cf29c33c4ca839d74976</id>
<content type='text'>
slweb puts its header files into its own directory in order to avoid
potential name clashing.
</content>
</entry>
<entry>
<title>Limit amount of search results</title>
<updated>2023-07-11T11:27:49+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-11T11:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=38f3f82a77ed4782a9c4e1b4e5a6d9d4c71390a2'/>
<id>urn:sha1:38f3f82a77ed4782a9c4e1b4e5a6d9d4c71390a2</id>
<content type='text'>
When a user enters a search term that is too generic, slcl would
generate a long list of search results, where this generation could have
a big impact on the server performance and its available resources.

Therefore, it is reasonable to limit the number of search results to an
arbitrary limit, so that users are forced to enter a more specific
search term in order to achieve more relevant results.
</content>
</entry>
<entry>
<title>Allow admins to define their own stylesheet</title>
<updated>2023-07-10T23:49:12+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-10T23:20:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=e79e955d93e24a192c9bf94181294d0797e9fded'/>
<id>urn:sha1:e79e955d93e24a192c9bf94181294d0797e9fded</id>
<content type='text'>
slcl used to provide a hardcoded stylesheet. However, it would be
desirable for some admins to provide a custom stylesheet without having
to rebuild the application.

Now, slcl creates a default stylesheet, namely style.css, into the
target directory, that can be later modified by admins.

While this might contradict the suckless philosophy a bit, hopefully
some admins might find this new feature useful.
</content>
</entry>
<entry>
<title>page.c: Allow add_element to hide checkboxes</title>
<updated>2023-07-09T03:54:56+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-09T03:23:49+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=4236c7fc3a7c7ef9f79b045cfd99c6575b16f7b1'/>
<id>urn:sha1:4236c7fc3a7c7ef9f79b045cfd99c6575b16f7b1</id>
<content type='text'>
Since removing files or directories is currently not an option in
searches, it is better to leave checkboxes out to avoid confusion.
</content>
</entry>
<entry>
<title>page.c: Remove back button from searches</title>
<updated>2023-07-09T03:54:56+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-09T03:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=55f0efb8ab0ee62b3a6e729fca0e86465b75964b'/>
<id>urn:sha1:55f0efb8ab0ee62b3a6e729fca0e86465b75964b</id>
<content type='text'>
- The back button would not return to the previous directory, but to the
user root directory.
- While this could have been solved easily (e.g.: by inserting the
referrer directory into the form), it would have implied extra and
unneeded complexity.
</content>
</entry>
<entry>
<title>Implement file/directory removal</title>
<updated>2023-07-08T01:08:07+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-07T22:54:59+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=0822a982ef3b085dc109ec373ff537974503eb04'/>
<id>urn:sha1:0822a982ef3b085dc109ec373ff537974503eb04</id>
<content type='text'>
The following workflow has been implemented:

- A new checkbox for each object inside a directory is shown.
- When one or more objects are selected, the user submits a request
through a HTML5 form.
- Then, slcl will ask the user for confirmation, listing the selected
objects, while reminding the user about the effects.
- The user confirms the selection.
- slcl removes the selected objects. All objects from non-empty
directories are removed, too.
- Finally, slcl redirects the user to the directory the request was
made from.
</content>
</entry>
<entry>
<title>page.c: Return HTTP_STATUS_OK on successful page_search</title>
<updated>2023-07-07T22:52:53+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-07-07T22:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=8bff49d9c8c5842ee1a0cd423035dd53728bf11c'/>
<id>urn:sha1:8bff49d9c8c5842ee1a0cd423035dd53728bf11c</id>
<content type='text'>
This was probably a copy-paste issue when implementing page_search based
on page_quota_exceeded.
</content>
</entry>
<entry>
<title>Implement search</title>
<updated>2023-06-06T01:52:16+00:00</updated>
<author>
<name>Xavier Del Campo Romero</name>
<email>xavi.dcr@tutanota.com</email>
</author>
<published>2023-06-06T01:49:36+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/slcl/commit/?id=5a6c92d69bbb307ca09ac2ecbad54df4f2394bea'/>
<id>urn:sha1:5a6c92d69bbb307ca09ac2ecbad54df4f2394bea</id>
<content type='text'>
This new feature adds a HTML form on each directory listing that allows
to search files recursively, starting from the current user directory.
Wildcard patterns are also allowed.
</content>
</entry>
</feed>
