Skip to content

Commit

Permalink
[fc] Repository: plone.namedfile
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2022-09-29T12:20:54+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.namedfile@d845513

Use mode parameter instead of deprecated direction and warn user about it.

Fixes plone/plone.namedfile#102

Files changed:
A news/102.bugfix
M plone/namedfile/adapters.py
M plone/namedfile/scaling.py
M plone/namedfile/test.pt
M plone/namedfile/tests/test_adapters.py
M plone/namedfile/tests/test_scaling.py
M plone/namedfile/usage.rst
Repository: plone.namedfile

Branch: refs/heads/master
Date: 2022-09-29T12:20:55+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.namedfile@6fb9077

In DefaultImageScalingFactory call, get rid of the direction parameter early.

Otherwise it ends up in hashes and it negates the next condition.
Some plone.restapi tests fail without this fix.

Files changed:
M plone/namedfile/scaling.py
Repository: plone.namedfile

Branch: refs/heads/master
Date: 2022-09-29T12:20:55+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.namedfile@40b8977

No longer test Plone 5.2 on 3.6 and Plone 6.0 on 3.7.

Files changed:
A news/3637.breaking
M .github/workflows/tests.yml
M tox.ini
Repository: plone.namedfile

Branch: refs/heads/master
Date: 2022-09-29T20:50:11+02:00
Author: Maurits van Rees (mauritsvanrees) <[email protected]>
Commit: plone/plone.namedfile@c0a681c

Merge pull request #131 from plone/petschki-mode-scaling-take-3

Use mode parameter instead of deprecated direction (take 3)

Files changed:
A news/102.bugfix
A news/3637.breaking
M .github/workflows/tests.yml
M plone/namedfile/adapters.py
M plone/namedfile/scaling.py
M plone/namedfile/test.pt
M plone/namedfile/tests/test_adapters.py
M plone/namedfile/tests/test_scaling.py
M plone/namedfile/usage.rst
M tox.ini
  • Loading branch information
mauritsvanrees committed Sep 29, 2022
1 parent 77fc5cd commit ccfae2c
Showing 1 changed file with 46 additions and 32 deletions.
Loading

0 comments on commit ccfae2c

Please sign in to comment.