Skip to content

Tags: mtlynch/logpaste

Tags

0.3.1

Toggle 0.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix bash command for litestream docker-entrypoint (#217)

0.3.0

Toggle 0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add SQLite to Nix flake (#213)

0.2.9

Toggle 0.2.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add custom character limit to pastes (#196)

# Background

Recently I've been looking at alternatives to the service 0x0.st for
pasting log files to. Logpaste seems like the perfect replacement, but
it has limits on file size. Adding the ability for administrators to add
custom file sizes would allow admins to make the file size the
equivalent of 0x0's (512 MiB) or even larger. It would also allow them
to set smaller limits as well if resources are limited or if the content
being pasted doesn't warrant large sizes.

# Changes

- The default limit is now `2 * 1024 * 1024`, or 2 MiB instead of `2 *
1000 * 1000`, 2 MB
- Add cli flag `-maxsize int` to allow admins to set an arbitrary limit
on paste file sizes if they would like to
- The argument is passed in by # of MiB (so for a 512MiB limit,
`-maxsize 512`, or for the default 2MiB, `-maxsize 2`)
- Add field `maxCharLimit` to the `defaultServer` struct for storing the
given size
- Add fields to `handlers/paste_test.go` to use the new struct field in
order for tests to pass
- Replace instances of `MaxPasteCharacters` with `s.maxCharLimit`

---------

Co-authored-by: Michael Lynch <[email protected]>

0.2.8

Toggle 0.2.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add cleaner handling for when entry is not found (#158)

* Add cleaner handling for when entry is not found

* Fix unit tests

0.2.7

Toggle 0.2.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Build Docker images in CircleCI (#146)

0.2.6

Toggle 0.2.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
User CircleCI machine image to deploy (#141)

0.2.5

Toggle 0.2.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Upgrade to litestream 0.3.7 (#136)

0.2.4

Toggle 0.2.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add a dark mode option (#121)

* Add a dark mode option

* Add dark mode options to Docker and README

0.2.3

Toggle 0.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update Litestream to 0.3.6 (#118)

0.2.2

Toggle 0.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Upgrade cypress to 8.1.0 (#116)