Skip to content

Releases: supakeen/pinnwand

1.5.0

27 Jul 07:02
Compare
Choose a tag to compare
  • Change the tab size in the HTML to be 4.
  • List lexer endpoint in configuration by ChrisLovering.
  • Reorder Containerfile to optimise caching by ChrisLovering.
  • Logo is now limited on height, allowing for banner-style logos by ChrisLovering.
  • Make environment variable parsing better by accepting SyntaxError by ChrisLovering.
  • Allow selecting the default lexer in configuration by ChrisLovering.
  • Ctrl+S now submits pastes by ChrisLovering.
  • pdm is now used as the build backend and package solution.
  • Containers are now published by CI to GHCR by ChrisLovering.
  • Add line range(s) highlight support.
  • Add file upload (drag-and-drop or file picker) support.

1.4.0

27 Nov 11:05
Compare
Choose a tag to compare

Focus on prettier pages, ease of development, and more defensive posturing. The reap subcommand is now deprecated and instead ran in-process.

A big change is the fact that you can now configure pinnwand through environment variables, this makes running in containerized systems a fair bit easier.

For packagers, if you previously shipped timer units for reap you can remove them from your packages in this new version.

  • A Containerfile is now provided by default. This allows developers to build a container.
  • If only a single file is pasted the code area for this single file is now larger.
  • Update major versions of some dependencies.
  • Replace the toml dependency with the maintained tomli.
  • Provide example systemd service and timer file for reaping expired pastes.
  • The CSS is now generated from SASS, this means that you need sassc installed if you want to change/rebuild assets.
  • The reap subcommand is deprecated and will be removed in 1.6, it now runs when the http subcommand is running every 1800 seconds instead. The example files for reap have been removed as well.
  • pinnwand can now be configured through environment variables, these start with PINNWAND_ and are all upper case, then the prefix is removed and the key lowercased. This overwrites any previously set value.
  • isort was added to pre-commit checks.
  • The package layout has been changed to a src-layout, if you are running tests with a pytest < 7 you will need the additional pytest-srcpaths plugin.
  • Configuration examples have moved to the etc/ subdirectory.

1.3.2

11 Jul 19:32
Compare
Choose a tag to compare

Changing some dependencies to make packaging easier.

1.3.1

11 Jul 19:32
Compare
Choose a tag to compare

Bumping some major dependencies to make packaging easier.

  • Update major versions of many dependencies.

1.3.0

22 May 08:45
Compare
Choose a tag to compare

More quality of life and code quality changes.

  • Provide archive download of a full paste (#92)
  • Add a resyntax command to rerun lexer over all pastes (#70)
  • Paste expiry options now come from the configuration file (#53)
  • Convert tabs/enters to indentation, contributed by millefalcon (#90)
  • Add line highlighting, contributed by erlliam (#39)
  • Implement naive defensive measures (ratelimiting) (#98)

1.2.3

09 Jan 10:39
Compare
Choose a tag to compare

Fixes to packaging and build setup.

  • Use poetry-core as build-backend (#101)
  • Remove dependency on poetry-dynamic-versioning as it breaks build.

1.2.2

29 Aug 10:14
Compare
Choose a tag to compare

Some longer standing bugs get squatted in pragmatic ways.

  • Ensure minimum body width to prevent button falling off (#79)
  • Select initial lexer for additional files (#97)

1.2.1

06 Aug 18:08
Compare
Choose a tag to compare

Minor updates to the underlying build system for easier packaging by
distros.

  • Set build system correctly (#93)
  • Update version number in pyproject.toml (#93)

1.2.0

06 Aug 05:49
Compare
Choose a tag to compare

New features all around, minor bugfixes, code quality improvements.

  • Add language autodetection, contributed by mweinelt_. (#83)
  • Provide a hex view for pastes. (#86)
  • Add copy to clipboard button. (#87)
  • Command line option (-v) to change log level. (#88)
  • Make the outline color of the focused form elements be in-line with the
    general highlight color.
  • Sum up filesizes and check against paste size. This change now makes the
    paste size limit the total size, not a per-file limit! Adjust your
    configuration accordingly. (#89)
  • Add a report link for files that may be problematic, this link will be
    added only if the report_email field is set to anything than None in the
    configuration file, contributed by Bruce1347_ (#2)
  • Expanded testcase coverage for website from 69% to 84% by adding and fixing
    broken testcases.

1.1.3

20 Jun 15:11
Compare
Choose a tag to compare

An older bug that occurs rarely resurfaced. This time a bunch of code has been
written to eradicate the problem.

  • Race condition in slug_create (#34)
  • Fix the millibyte notation.