Skip to content

Commit

Permalink
Refactor to use imagecrop pattern, replace jcrop by croppe, Plone 5 o…
Browse files Browse the repository at this point in the history
…nly.
  • Loading branch information
jensens committed Mar 25, 2016
1 parent 37977cf commit 9ae829d
Show file tree
Hide file tree
Showing 64 changed files with 11,248 additions and 1,820 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Expand Up @@ -15,6 +15,7 @@

# Installer logs
pip-log.txt
pip-selfcheck.json

# Unit test / coverage reports
/.coverage
Expand All @@ -30,6 +31,7 @@ pip-log.txt
# mr.developer
/.mr.developer.cfg
/.installed.cfg
/devsrc

# developement
/.project
Expand All @@ -38,6 +40,10 @@ pip-log.txt
.DS_Store
*.swp
local.cfg
/temp_resources
/node_modules
Gruntfile.js
package.json

# virtualenv
/include
Expand Down
31 changes: 10 additions & 21 deletions .travis.yml
@@ -1,40 +1,29 @@
language: python
python: 2.7
sudo: false
env:
- PLONE_VERSION=4.2
- PLONE_VERSION=4.3
- PLONE_VERSION=5.0
matrix:
allow_failures:
- env: PLONE_VERSION=5.0
cache:
pip: true
directories:
- $HOME/.cache/buildout

- $HOME/buildout-cache
python:
- 2.7
before_install:
- mkdir -p $HOME/.cache/{eggs,downloads}
- ls -p $HOME/.cache/eggs
- ls -p $HOME/.cache/downloads
- mkdir -p $HOME/buildout-cache/{eggs,downloads}
- mkdir $HOME/.buildout
- echo "[buildout]" > $HOME/.buildout/default.cfg
- echo "download-cache = $HOME/.cache/downloads" >> $HOME/.buildout/default.cfg
- echo "eggs-directory = $HOME/.cache/eggs" >> $HOME/.buildout/default.cfg
- echo "download-cache = $HOME/buildout-cache/downloads" >> $HOME/.buildout/default.cfg
- echo "eggs-directory = $HOME/buildout-cache/eggs" >> $HOME/.buildout/default.cfg
install:
- sed -ie "s#test-4.3.cfg#test-$PLONE_VERSION.cfg#" buildout.cfg
- python bootstrap.py -c travis.cfg
- bin/buildout -Nc travis.cfg annotate
- bin/buildout -t 10 -Nc travis.cfg
- pip install -U zc.buildout setuptools pip
- buildout -t 10 -Nc travis.cfg
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
script:
- bin/code-analysis
- bin/test
after_success:
- bin/createcoverage run bin/test
- pip install -q coveralls
- bin/createcoverage
- pip install coveralls
- coveralls
after_failure:
- bin/csslint --version
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTORS.rst
Expand Up @@ -29,4 +29,4 @@ The code is located in the
`github collective <https://github.com/collective/plone.app.imagecropping>`_.

You can clone it and send a pull request or `get access to the github-collective
<http://collective.github.com/>`_ and work directly on the project.
<http://collective.github.com/>`_ and work directly on the project.
1 change: 0 additions & 1 deletion README.rst
Expand Up @@ -179,4 +179,3 @@ Possible extensions / changes for the future


* see also the `issue tracker <https://github.com/collective/plone.app.imagecropping/issues>`_

3 changes: 0 additions & 3 deletions TODO.rst
Expand Up @@ -122,6 +122,3 @@ for the integrator::

#and even nicer:
scales.scale('imagefield', scale='mini').grayscale(0.5)



178 changes: 0 additions & 178 deletions bootstrap.py

This file was deleted.

4 changes: 4 additions & 0 deletions bootstrap.sh
@@ -0,0 +1,4 @@
#!/bin/sh
virtualenv --clear .
./bin/pip install -U pip setuptools zc.buildout
./bin/buildout $*

0 comments on commit 9ae829d

Please sign in to comment.