| Age | Commit message (Collapse) | Author | 
|---|
|  | This is useful for the case that no recipes exist or the recipe data
folder does not exist. | 
|  |  | 
|  |  | 
|  | This is now just not needed. | 
|  | The new custom and text/gemini inspired markup has to be converted to
HTML to display the recipe. | 
|  | The new recipe markup which replaces Markdown will need an own file to
be implemented. | 
|  | This step prepares moving to a new, custom and easily parsable markup
language. | 
|  | Using a database is way more complex (see the commit statistics of this
commit) than using files to store recipe data. Also administration and
usage is simpler. | 
|  |  | 
|  |  | 
|  | The upstream URL can be encoded easily by the user in the Markdown-based
description. The title can be parsed by the first found top-level
heading in the Markdown text.
Thus these two columns are no longer used. To avoid an additional
migration they will be kept in the database. | 
|  | Recipe images are currently complicated to implement and have little
use. Probably they will not be covered in the next release. | 
|  | This allows to use partial HTML files via Go's templating features. | 
|  | This makes templating easier and allows to use partial templates. | 
|  | Docstrings for functions are a good thing. But the inside of a function
should be written in a way that is self-explaining. Thus inline comments
are just extra stuff to maintain and read. | 
|  | This auto-applies the recommended Go codestyle. | 
|  | Logging during a request is at the moment not really needed. Printing
the config to the log was a stupid idea too. | 
|  | Passing the database pointer around is a lot of text and has no benefit. | 
|  |  | 
|  |  | 
|  |  | 
|  | This introduces a layered approach to handling HTTP requests:
- server layer
- path layer
- request layer
The multiplexer file cares about the path layer. It delegates the
request handling to handlers from the request layer. | 
|  | This commit refactors the codebase. The functionality of the error
handling is slightly reduced but the benefit are around 80 lines of code
which could be removed. | 
|  |  | 
|  | This project is not so big that it needs multiple packages. |