• v2.4 b11c7c2845

    v2.4 Stable

    bbaovanc released this 2020-11-24 17:57:58 -06:00 | 1 commits to master since this release

    Changelog:

    • Strip EXIF data from images before saving (b11c7c2845)
    • Switch usage of str.format() to f-strings (63818bd371)
    Downloads
  • v2.3 9910bc279c

    v2.3 Stable

    bbaovanc released this 2020-09-15 17:43:57 -05:00 | 8 commits to master since this release

    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)
    Downloads
  • v2.2.post1 ba68674e4e

    v2.2.post1 Stable

    bbaovanc released this 2020-09-08 00:04:04 -05:00 | 13 commits to master since this release

    • Change references of GitHub to git.bbaovanc.com (5e2be10434 and 99ff2c68a3)
    • Clean up README.md and add LICENSE section (3d5c55498f)
    • Add FAQ and section links in README.md (f21adfa04e)
    • Add newline after block comments at beginning of code (dd069bf395)
    • Add GitHub-specific README.md which links to my Gitea instance (ba68674e4e)
    Downloads
  • v2.2 7c1f449bce

    v2.2 Stable

    BBaoVanC released this 2020-09-05 18:55:56 -05:00 | 19 commits to master since this release

    Full changelog:

    • Change file extension check to be case-insensitive (0dbcc0e)
    • Add "verify" field to request to not save image (7c1f449)
    Downloads
  • v2.1.3 b8b5a2518c

    BBaoVanC released this 2020-09-05 15:43:36 -05:00 | 21 commits to master since this release

    This makes it easier for programs to interpret the responses. Programs can be sure that the response they get will be JSON. Before, sometimes the program would return HTML responses.

    Downloads
  • v2.1.2 805e545b39

    BBaoVanC released this 2020-09-04 19:44:46 -05:00 | 22 commits to master since this release

    Removed some duplicate code blocks in keyctl.py.

    Downloads
  • v2.1.1 9a117817f7

    BBaoVanC released this 2020-09-04 16:32:53 -05:00 | 23 commits to master since this release

    It's insecure to use a pseudorandom number generator.

    Downloads
  • v2.1 c9cd6469a9

    BBaoVanC released this 2020-09-04 15:37:34 -05:00 | 24 commits to master since this release

    Use the help screen shown with python3 keyctl.py --help

    For example:

    $ python3 keyctl.py list
    List of upload keys:
        [1] 8lNwhQ...
        [2] 7lqIWL...
        [3] dJhoKd...
        [4] lxBfii...
        [5] RxdjmO...
    $ python3 keyctl.py show 7lqIWL
    Key: 7lqIWLZ4QpVAnzT1zFwqv3epuvcTtfQkINxxST8i8L3e9BKO8WGWGer0horwU6wb
    $ python3 keyctl.py generate
    Your new key is: d5TUunlMuSHitcs86DqYdo9c6WAtHvbtS3Ss4aXsxJhCvB0OFftAydnMK9VXt7A9
    $ python3 keyctl.py list
    List of upload keys:
        [1] 8lNwhQ...
        [2] 7lqIWL...
        [3] dJhoKd...
        [4] lxBfii...
        [5] RxdjmO...
        [6] d5TUun...
    $
    Downloads
  • v2.0 565a91e4ec

    BBaoVanC released this 2020-09-03 21:44:58 -05:00 | 28 commits to master since this release

    This is v2.0 because it is completely non-backwards compatible.

    Decrypting your uploadkeys file

    Take the latest keygen.py from the branch feature-iss4 and run the command python3 -c 'import keygen; keygen.decrypt_uploadkeys()' to decrypt your uploadkeys file. If you get the following:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/bbaovanc/github-repos/imgupload/keygen.py", line 80, in <module>
        if Path(settings.ENCKEY_PATH).is_file():
    AttributeError: module 'settings' has no attribute 'ENCKEY_PATH'
    

    then add ENCKEY_PATH = "secret.key" (substitute secret.key if you changed it) back to your settings.py temporarily. You may remove ENCKEY_PATH from your settings.py after decrypting your uploadkeys.

    Downloads
  • v1.1 065296f84a

    v1.1 Stable

    BBaoVanC released this 2020-09-02 18:04:41 -05:00 | 31 commits to master since this release

    Feature changelog:

    • Allow easy customization of filename generation
    • Change keygen.py to not require root

    Bugfix changelog:

    • Rename functions.py to functions.py.default
    Downloads