Permalink
Commits on Feb 14, 2018
  1. Bring back 'headers' context property as it is used by result storages

    kkopachev authored and heynemann committed Feb 14, 2018
Commits on Feb 5, 2018
  1. Fix Context object memory leak caused by circular references

    kkopachev authored and heynemann committed Nov 3, 2017
Commits on Feb 1, 2018
  1. Optimize resizing of some jpegs using pillow draft

    kkopachev authored and heynemann committed Sep 25, 2017
  2. Add HeyCar to the "Whos using it" section

    marceloboeira authored and heynemann committed Jan 26, 2018
Commits on Jan 30, 2018
  1. Travis: Using ppa jonathonf/ffmpeg-3 with ffmpeg 3.4

    marcelometal committed Jan 25, 2018
Commits on Jan 23, 2018
  1. Release 6.4.1

    heynemann committed Jan 23, 2018
  2. setup ubuntu

    heynemann committed Jan 23, 2018
  3. Ubuntu old release is now used in travis

    heynemann committed Jan 23, 2018
Commits on Jan 15, 2018
  1. Fixing lint issue

    heynemann committed Jan 15, 2018
  2. fixing codacy trailing space issue, adding yang to test requirement p…

    afbase authored and heynemann committed Nov 2, 2017
    …ackages and versioning coverage
  3. I'm making this commit to replace the deprecated library dlitz/pycrypto

    afbase authored and heynemann committed Nov 2, 2017
    for legrandin/pycryptome mostly a drag and drop replacement
    
    For deprecation notice see: dlitz/pycrypto#173
    For Legrandin/pycryptome see: https://github.com/Legrandin/pycryptodome
  4. fix issues with the jpegtran optimizer and the epoll IOLoop

    Savar authored and heynemann committed Jan 2, 2018
    after enabling the jpegtran optimizer and having enough traffic the IOLoop from tornado
    starts to through now and then the following exception.
    
    {
      "module": "ioloop",
      "funcName": "handle_callback_exception",
      "message": "Exception in callback None",
      "exception": [
        "Traceback (most recent call last):\n",
        "  File \"/usr/local/lib/python2.7/site-packages/tornado/ioloop.py\", line 887, in start\n    fd_obj, handler_func = self._handlers[fd]\n",
        "KeyError: 14\n"
      ],
      "name": "tornado.application",
      "threadName": "MainThread",
      "filename": "ioloop.py",
      "processName": "MainProcess",
      "pathname": "/usr/local/lib/python2.7/site-packages/tornado/ioloop.py",
      "lineno": 638,
      "levelname": "ERROR"
    }
    
    Reading through http://y.tsutsumi.io/keyerror-in-self_handlers-a-journey-deep-into-tornados-internals.html
    and keeping in mind that Popen is also doing a fork the base idea was to ensure that all FDs are being closed
    on the fork which worked for us and the error doesn't happen anymore.
    
    The error was easily reproducable with a local running thumbor 6.2.1 with Pillow and also with the OpenCV engine
    (tested both) by doing something like this:
    
    ab -c 10 -n 1000 "http://localhost:8080/unsafe/filters:format(jpeg)/http://172.17.0.1:8081/pic.png"
    
    (be aware the error happens not immediately so wait until you have 300-400 requests)
  5. Release 6.4.0

    heynemann committed Jan 15, 2018
  6. Removing undocumented distributed collage filter

    heynemann committed Jan 15, 2018
    The filter has been moved to
    https://github.com/globocom/thumbor-distributed-collage-filter and is
    already available at PyPI, so users can keep using it as soon as they
    upgrade thumbor to this release.
    
    This filter should not be in thumbor's codebase as it has dependencies
    to numpy and opencv. If any portion of thumbor's codebase has optional
    dependencies, they should be explicitly handled, and that's not the case
    in this filter. Other than that, it was in the default set of filters.
    
    Thumbor's committers, please strive to reduce thumbor's codebase, not
    increase it. We worked hard to ensure that Thumbor is as extensible as
    it can be. The reasoning here is that people can write thumbor
    extensions and use them with thumbor's lightweight core. There's no reason to
    increase thumbor's codebase. We've also done it in the past (I'm looking
    at you both Redis and Mongo storages), but we've been trying hard to reduce
    these dependencies, as they make evolving thumbor much harder.
Commits on Jan 7, 2018
  1. Merge pull request #1026 from guilhermearaujo/master

    heynemann committed Jan 7, 2018
    Add Bumbo to Libraries
  2. Add Bumbo to Libraries

    guilhermearaujo committed Jan 7, 2018
Commits on Jan 1, 2018
  1. Merge pull request #1014 from tomsaleeba/patch-1

    heynemann committed Jan 1, 2018
    Some minor updates to the docs
  2. Merge pull request #997 from kenhub/master

    heynemann committed Jan 1, 2018
    fixes #996 500 with watermark on S3
Commits on Dec 17, 2017
  1. Fixed reorientate tests for big endian machines

    marcelometal committed Dec 17, 2017
    exif_str() return a little endian EXIF
    
    Thanks @clarete
Commits on Dec 6, 2017
  1. docs: remove broken formatting I introduced, fix the list of options …

    tomsaleeba committed Dec 6, 2017
    …for POST
Commits on Nov 30, 2017
  1. Merge pull request #995 from kkopachev/transformer-tests

    heynemann committed Nov 30, 2017
    Fix transformer tests and fix exception thrown when fit-in + requested size has "orig"
Commits on Nov 29, 2017
  1. Merge pull request #988 from kkopachev/pillow-transparency

    heynemann committed Nov 29, 2017
    Fix resize causing transparency loss on paletted images
Commits on Nov 12, 2017
  1. Travis: Fixed env

    marcelometal committed Nov 12, 2017
  2. Don't check code style for UnitTests

    marcelometal committed Nov 12, 2017
    Makefile: Remove static target
  3. Python3: Fixed ext filters

    marcelometal committed Nov 11, 2017
  4. Fixed flake8 issues

    marcelometal committed Nov 12, 2017
Commits on Nov 11, 2017
  1. Merge pull request #991 from marcelometal/cstring

    rfloriano committed Nov 11, 2017
    Python3: Fixed ImportError (No module named 'cStringIO')
Commits on Oct 19, 2017
  1. fixes #996 500 with watermark on S3

    gingerlime committed Oct 19, 2017
    * adds a check if result is an instance of LoaderResult
Commits on Oct 16, 2017
  1. Add one more fill filter test - now with 'orig' width

    kkopachev committed Oct 16, 2017
Commits on Oct 11, 2017
  1. Fix transformer fit-in case when request has "orig" as size

    kkopachev committed Oct 11, 2017