An error occurred fetching the project authors.
- 24 Mar, 2011 1 commit
-
-
Nicolas Delaby authored
Give original filename instead of converted filename, to not confuse transforms behind portal_transforms. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44584 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Mar, 2011 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44348 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Dec, 2010 1 commit
-
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41818 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Oct, 2010 1 commit
-
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39446 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 21 Jul, 2010 3 commits
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37216 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
Use _MARKER instead of None to allow explicitly quality to be determined by background convet application (if required). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37214 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
Unhard code default image quality and make it possible to specify in preferences. Fall back to constant value as before if preference is not specified. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37212 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Jul, 2010 1 commit
-
-
Sebastien Robin authored
Conflicts: bt5/erp5_base/bt/revision bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py bt5/erp5_simulation/bt/revision bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml bt5/erp5_trade/bt/change_log bt5/erp5_trade/bt/revision products/ERP5/Document/BusinessPath.py products/ERP5/Document/SimulationMovement.py products/ERP5/Document/TradeCondition.py products/ERP5/Document/TradeModelLine.py products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision products/ERP5Type/ERP5Type.py git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 Jul, 2010 2 commits
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37106 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37104 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Jun, 2010 1 commit
-
-
Julien Muchembled authored
Previous code led to much code duplication. For DMS, each method redefining 'index_html' had to merge all possible parameters (with their default values) of overridden methods. This was even worse for DocumentProxyMixin.index_html, because the type of the proxied document is not even known. This commit adds a new 'fill_args_from_request' decorator and fixes 'index_html' for proxied images (default value for 'frame' was only changed in Image class). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35905 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 May, 2010 2 commits
-
-
Nicolas Delaby authored
If format is None it means that we do not want to change the format and return the raw data or a resized image in same format. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35752 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
As a reminder convert() aims to check Conversion Format Permission. remove obsolete security statements git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35749 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 May, 2010 1 commit
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35603 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 May, 2010 9 commits
-
-
Nicolas Delaby authored
* use DEFAULT_QUALITY constant * Postpone the test off relevance conversion parameters in order to check if resizing is not needed to fit display ratio. If test succeed then call convert, otherwise return raw image (getData). * remove _getDisplayPhoto and merge is code inside _makeDisplayPhoto because this method is called from only one statement and factorisation is null git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35240 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* Call hasData instead of get_size to follow ERP5 API * call getSizeFromImageDisplay()only once * getSizeFromImageDisplay will return default dimension of Image itself of display is not inside DEFAULT_DISPLAY_ID_LIST git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35239 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35238 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35237 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
from string format git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35236 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35235 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35233 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35231 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
import text format list from Document git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35223 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 26 Mar, 2010 1 commit
-
-
Mame Coumba Sall authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34146 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 25 Mar, 2010 1 commit
-
-
Mame Coumba Sall authored
-Modified to include methods that returns allowed target item list for conversion git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34092 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 10 Mar, 2010 1 commit
-
-
Nicolas Dumazet authored
What's the point? Mostly cleaning up pyflakes output: now, running it on those files does not give anymore cluttered output, but raises (almost) only valid human errors. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33558 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2010 2 commits
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32853 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Ivan Tyagov authored
Explicitly check if hasData do exists. As Document is an abstract class such a check should be avoided and all inheriting classes should implement the standard hasBaseData method. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32851 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Feb, 2010 1 commit
-
-
Jérome Perrin authored
interface that this method may raise ConversionError if conversion is not allowed, or Unauthorized if conversion is not permitted. Review by Nicolas git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32359 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 28 Jan, 2010 2 commits
-
-
Fabien Morin authored
revert r32063 as convert should return pdata anyway, the conversion should be done by convert caller. Reviewed by jerome and kazuhiko git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32068 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
Big images are cut into smaller chunks, so it's required to cast to str. See OFS/Image -> _read_data method for more informations reviewed by Kazuhiko git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32063 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Dec, 2009 3 commits
-
-
Fabien Morin authored
the return made in try and in except was the same. Take it of from both and put it after. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31540 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
Image were not stored in the same way in every methods : in case of index_html, the image was stored, in case of convert, the image.data was stored. This lead to conflicts because in both cases, the cache_id was the same, so if inded_html was first call, and after that, convert was call on the same image, convert will return an Image object instead of image.data String. Now in all cases, the image is stored by setConversion, and in case of convert, only image.data is returned. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31532 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Fabien Morin authored
getSizeFromImageDisplay method was returning (heigh, width), but all other methods were returning (widht height). In addition to this, there was mistakes : from Document/Image.py +295 : 'width': self.getSizeFromImageDisplay(id)[0], 'height': self.getSizeFromImageDisplay(id)[1], and also l 450: (width, height) = self.getSizeFromImageDisplay(display) the use of width and height was mixed up. Currently, all default preferences display size define squares (width = heigh), so this mistake was never detected. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31531 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 16 Dec, 2009 1 commit
-
-
Fabien Morin authored
reviewed and approved by Romain git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31341 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Nov, 2009 1 commit
-
-
Sebastien Robin authored
order to make optimisation configuration in unit test - isIndexable is not a property any more, it is a ConstantGetter instance, so it works like a property and like a method - same thing for isPredicate, isTemplate, isDelivery... we can start moving using only methods. - do not define isTemplate, isDelivery... when it is already available thanks to inheritance - new methods generated for all ERP5 objects : provides[InterfaceName]. For instance, "providesIMovement()" will return True or False for any ERP5 object. - new method "is[Group]Type" generated for all ERP5 objects. The group here is group of portal types (like getPortalDeliveryTypeList()). So on any ERP5 object, you can do "isDeliveryType()", and this will returns True or False. - add tests git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30704 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 09 Oct, 2009 1 commit
-
-
Julien Muchembled authored
In getSizeFromImageDisplay, accessors must be used without default 0 parameter because it would override the default value from property sheet, and the user may not have overriden these values in his preferences. Add a unit test to test that behaviour of preference accessor. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29505 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 08 Oct, 2009 1 commit
-
-
Leonardo Rochael Almeida authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29486 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 07 Oct, 2009 2 commits
-
-
Julien Muchembled authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29450 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
add 'display=display' argument in setConversion just same as arguments in getConversion() otherwise generateCacheId() value differs and images cache will not be hit. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29441 20353a03-c40f-0410-a6d1-a30d3c3de9de
-