github Forceu/Gokapi v2.2.1

7 hours ago

v2.2.1

Changelog

  • Fixed File Requests not working, when GOKAPI_LENGTH_ID > 15 #353
  • Better rate limiting for invalid logins or IDs
  • Better IP parsing
  • Fixed gokapi-cli flag parsing for --output-path
  • Fixed multiple incorrect parameters in API documentation

Updating

If your reverse proxy does not connect from 127.0.0.1, add its IP address to the GOKAPI_TRUSTED_PROXIES environment variable (comma-separated if there are multiple).

If Gokapi is running behind Cloudflare, make sure to set the GOKAPI_USE_CLOUDFLARE environment variable to true.

Full Changelog: v2.2.0...v2.2.1

v2.2.0

Changelog

  • File Requests has been added, where you can request a file upload from other people
  • Log Viewer has gotten a big overhaul and displays many other stats now
  • It is now possible to use a custom favicon
  • Short-lived tokens are used instead of user API keys to improve security
  • Browser timezone is used instead of server timezone for UI
  • Added env variable to set a minium password length
  • Downloads can be made from the UI without increasing the download counter
  • gokapi-cli now supports downloads
  • Add deprecation alerts
  • Gokapi now checks if enough free space is available, and otherwise rejects a new upload
  • A lot of UI improvements
  • Many small fixes and improvements

Updating

By default, new users are not allowed to create file requests. If you want to have all your old users gain that permission, set the environment variable GOKAPI_GUEST_UPLOAD_BY_DEFAULT to true before updating your instance.

Breaking Changes

  • DOCKER_NONROOT has been deprecated in favour of docker --user. See documentation on how to migrate
  • API output for FileList has slightly changed
  • Chunks must be at least 5MB in size, except the last chunk
  • To delete logs, the user has to be an admin now

Full Changelog: v2.1.0...v2.2.0

Don't miss a new Gokapi release

NewReleases is sending notifications on new releases.