- 12 May, 2010 40 commits
-
-
Nicolas Delaby authored
document_interaction_workflow has been replaced by document_conversion_interaction_workflow and document_security_interaction_workflow git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35257 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
move some script from dms because Notification Message need them git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35255 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
replace setTextFormat by setContentType in WebPage_init git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35254 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* add document_conversion_interaction_workflow * add document_security_interaction_workflow * move process_status_workflow from erp5_dms because Notification Message need it. * move contributor base_category from erp5_dms because Notification Message need it. * cached_convertible_interaction_workflow is replaced by new interaction workflow git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35253 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* if no conversion is asked return original document git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35251 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35250 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
OOoDocument inherit now from BaseConvertableMixin, TextConvertableMixin and BaseConvertableAndFileMixin. * remove all methods defined in these mixin git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35249 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35248 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35247 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35246 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
by content_type Enable WebDav edition of TextDocument. Works if encoded is not uft-8 git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35245 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
IBaseConvertable. * replace getTextFormat by getContentType git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35244 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* no need to call getTextFormat, this property hsa been removed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35243 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
Now if a TextDocument is filledi in with a file, convertToBaseFormat will try to convert the content of this file into utf-8 whatever the encoding used. The result of base_data conversion will not be stored into base_data property but text_content. Backward compatibility is keept, thanks to getContentType which reads text_format property if content_type is empty. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35242 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* setData and setFile can be used * text_format and content_type are similar so delete this property from TextDocument PropertySheet * Delete ad hoc support for DAV control git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35241 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
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
No need to inherit from CachedConvertableMixin as Image already inherit. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35234 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@35232 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
because it does not implement IBaseConvertable interface git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35229 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35228 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35227 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* override _setData to wrapp it into PData * override getData to extract PData * use new size property from Data PropertySheet git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35226 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35225 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
* According content_type wrap data into TempDocument who support convert then return the converted value from this temporary document. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35224 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
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35222 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
in order to share them in all Document's (OOoDocument, Image, File, ...) code and improve consistency. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35221 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35220 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35219 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
let convert method return the expected data (for TextDocument, data comes from text_content). Also, convert method only should raise NotConvertedError if needed git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35218 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
acceptable encoding (it is reliable for html content only), So fallback to file command (only available on linux2 platform) to detect used encoding for text/plain. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35217 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
public methods: - getConversion - getConversionMd5 - getConversionDate - getConversionSize git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35216 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
Nicolas Delaby authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35215 20353a03-c40f-0410-a6d1-a30d3c3de9de
-