Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Releases: imgupload-py/imgupload.py

v2.8.1

27 Jan 23:27
8d24770
Compare
Choose a tag to compare
  • Remove fancy_url and discord_url fields in response (ea3c7a6 and 8d24770)

v2.8

25 Jan 08:24
ac20fdf
Compare
Choose a tag to compare

Features

Fixes

  • Rename i.html template to discord.html (c1d5f90)

Documentation

  • Update defaults in configtest.py to match settings.py.default (103be4c)
  • Update README.md badges and NGINX location block (4e93da7)

Code Style

imgupload.py

configtest.py

  • Fix PEP8: Using type instead of isinstance() (f694d77)

keyctl.py

  • Use enumerate instead of iterating through range and len (f04cab8)

v2.7

19 Jan 02:14
2b96ccf
Compare
Choose a tag to compare

Features

  • Remove /utf8 and /i endpoints, change /i8 to /discord, and add /fancy endpoint which just decodes and sends the file raw (b113fd0 and 71af92c)

Fixes

  • Clean up formatting and and add more comments (923a72c)

Documentation

v2.6

18 Jan 01:52
61b4598
Compare
Choose a tag to compare
  • Change /utf8 endpoint to use a redirect (a3110cd)
  • Add /i endpoint which doesn't hide the URL in Discord (61b4598)
  • Add /i8 endpoint which hides the image name and doesn't hide the URL in Discord (f5b81f9, 0484a55, and 5b39eb8)

v2.5.1

17 Jan 23:48
7a0aa7b
Compare
Choose a tag to compare
  • Add /decode endpoint (9d9de60)
  • Add handling for an impossible case of the request method not being POST (00b2a25)

Documentation changes:

  • Update nginx example server block in README.md (7a0aa7b)

v2.5

17 Jan 21:38
95b0a40
Compare
Choose a tag to compare
  • Add support for invisible url trick (77e521a) and (9b44783)
    • This encodes the file part of the url in binary, using U+200B and U+200C
    • Normally, these characters are invisible, and when the url is loaded, it will be decoded
    • See the example image below
  • Add /encode endpoint to encode a string (such as ABcd1234.png) (95b0a40)

Example:
Example image

v2.4.1

14 Jan 21:38
87b5063
Compare
Choose a tag to compare
  • Remove unused flask Response import (70e84ec)
  • Migrate back to GitHub (a9a6e72), (3175aca), and (5b2161a)
  • Add table of contents and update uWSGI instructions (1021f7e)
  • Bump pillow from 8.0.1 to 8.1.0 (87b5063)

v2.4

14 Jan 21:27
b11c7c2
Compare
Choose a tag to compare

Changelog:

  • Strip EXIF data from images before saving (b11c7c2)
  • Switch usage of str.format() to f-strings (63818bd)

v2.3

14 Jan 21:28
Compare
Choose a tag to compare

Features:

  • Check if an image with the same name already exists (f100732)
  • Add optional imageName field which sets what filename the image will be saved to (9910bc2)

Bugfixes:

  • Remove leftover debug print statements from configtest.py (46420ee)

Documentation changes:

  • Increase processes in uwsgi.ini.default (7b372a7)
  • Rewrite installation section of README.md (5570710)

v2.2.post1

14 Jan 21:35
ba68674
Compare
Choose a tag to compare
  • Change references of GitHub to git.bbaovanc.com (5e2be10 and 99ff2c6)
  • Clean up README.md and add LICENSE section (3d5c554)
  • Add FAQ and section links in README.md (f21adfa)
  • Add newline after block comments at beginning of code (dd069bf)
  • Add GitHub-specific README.md which links to my Gitea instance (ba68674)