Commit Briefs

35bde0c11e Oliver Lowe

lemmy: cache posts from post list, too (master)


cc18f53a51 Oliver Lowe

lemmy: implement comment ModTime


635ade7fa0 Oliver Lowe

lemmy: implement client-side community, post caching

Servers now provide a Cache-Control header in the HTTP response, so we can use that for some dead simple caching.


ed1a61d709 Oliver Lowe

lemmy/fs: implement post text file



c8d63abe54 Oliver Lowe

lemmy: make zero client ok


5802ed4c60 Oliver Lowe

fs: let it compile

yeah...


a439d275a8 Oliver Lowe

lemmy/fs: KISS. Keep posts and comments as files in the same dir

Kinda like NNTP.


d4b74d7a68 Oliver Lowe

cmd/Lemmy: show real usernames, render comment threads

To make this easier and smaller, we now use the lemmy package directly rather than the filesystem interface. Can't think of a nice way to use that filesystem (yet?).


2a4edef3d0 Oliver Lowe

lemmy: decode person, counts from API responses

We want these so we can render the info easily in clients


4c497c575c Oliver Lowe

lemmy: fix up, export comment path parsing for commands


53469cfb86 Oliver Lowe

lemmy: decode published, updated times

Now that the Lemmy API returns nice timestamps, it's all done automatically by Go's JSON package.


8a94cb46de Oliver Lowe

fs: skip tests if we can't connect to test instance


3035f1740e Oliver Lowe

lemmy: start decoding users in API responses

This commit adds tests too as it's starting to get a bit trickier.


99ed05e33d Oliver Lowe

add Lemmy command for the acme text editor


fcf319e83d Oliver Lowe

Rework, move filesystem into its own package

Major rework which keeps Stat, Read and ReadDir away from the filesystem tree and more to the file. The fs package implements extra functionality that doesn't really have anything to do with the core package. It also does not need to know how the core lemmy package is implemented to do anything, so may as well enforce the boundary explicitly.


796e17a92d Oliver Lowe

correct godocs.io link


31062b441c Oliver Lowe

start documentation!


00b2414c42 Oliver Lowe

Only cache communities in filesystem

This keeps things simpler


4a5e46556d Oliver Lowe

initial commit