Commit graph

21 commits

Author SHA1 Message Date
Gaetan Delannay 1b3af98305 [pod] Bugfix in function 'pod'; added new method 'pageBreak' allowing to insert a page break via a note 'do xxx from pageBreak()' 2013-05-31 15:23:28 +02:00
Gaetan Delannay e8c63f225f [pod] Within the context of a 'for' statement, loop objects now have additional boolean attributes named 'first' and 'last' that allow to know if the currently walked element is, respectively, the first of the last element of the whole list. Added params 'pageBreakBefore' and 'pageBreakAfter' to OdtImporter and PodImporter. 2013-05-27 22:32:18 +02:00
Gaetan Delannay b996de09c6 [gen] Bugfixes. 2013-05-16 09:53:27 +02:00
Gaetan Delannay 4e5e5143cb [pod] Allowed to call a pod template within another pod template via new POD function 'pod'. 2013-04-22 10:57:51 +02:00
Gaetan Delannay eaf7156b47 [pod] Added the possibility, for function 'document', to import, into an ODT result, external documents of various formats: doc, xls, ppt, etc. This new 'ConvertImporter' uses LibreOffice to first convert the doc into PDF, and then uses the PdfImporter to split the PDF into images (one image per page) and include in in the pod result. 2013-04-19 15:30:18 +02:00
Gaetan Delannay 24089ef674 [gen] Improved search abilities. [pod] Bugfix: import several times an image from the same URL. 2013-02-18 15:03:26 +01:00
Gaetan Delannay 47bcf87a5c [pod] Use, when available, Python's uuid module to generate images and file names to be included in pod results. 2013-01-23 11:47:50 +01:00
Gaetan Delannay 240ce59519 [gen] Allow to display, in history, differences between successive versions of XHTML fields via appy.shared.diff.HtmlDiff (which was not integrated to appy.gen until now). Improved rendering of XHTML fields. [pod] bugfix while generating filenames for files included into pod results. 2013-01-07 15:30:13 +01:00
Gaetan Delannay 9477865f44 [pod] Bugfix while dumping large size images into pod templates from appy.gen FileWrapper instances. 2012-05-22 22:23:54 +02:00
Gaetan Delannay 9b8064b0cd appy.gen: bugfix while searching the catalog based on object state; added XHTML cleanup code; added String.generatePassword; bugfix: mising HTTP header while sending some responses back to Apache (caused a bug in ckeditor image upload); bugfix while importing images via an image resolver (Zope behind a reverse proxy). 2012-04-25 16:21:23 +02:00
Gaetan Delannay 13f3400577 appy.pod: bugfix while including a PDF file into a document; ease the inclusion of Plone images from a Plone/Zope DB through 'do text from document' statements; appy.gen: added obj.mayAct method that allows to display conditionnally the column 'Actions' when an object is shown in a list (query or ref); improved navigation from sub-objects to parent objects; improved layout. 2012-02-23 15:58:06 +01:00
Gaetan Delannay 298ed34b5b appy.pod: allow to import SVG files (requires installing imagemagick). 2012-01-24 17:04:40 +01:00
Gaetan Delannay 2bd3fe1eeb appy.pod: xhtml2odt: ability to include images from img tags (anonymously). Non-anonymous solution for a Appy/Zope server only; function 'document': allow to specify size of images in cm or px, or via a 'style' tag; appy.gen: allow to upload images in ckeditor fields; improved error management. 2012-01-04 18:03:46 +01:00
Gaetan Delannay 6ece750d9a appy.bin: updated publish.py, that is now able to generate a DistUtils tar.gz for Appy; publish.py can now be called with option '-s' (silent): in this mode no question is asked to the user, default values are used; updated new.py that generates a better Plone4-ready simple Zope instance; appy: moved FileWrapper from appy.gen.utils to appy.shared.utils to avoid circular package dependencies; appy.gen: use of .pyt extensions for template Python classes in appy.gen.templates in order to avoid byte-compilation errors when distutils installs the package; appy.pod: when using function 'document' in 'from' statements, first arg can now be a appy.shared.utils.FileWrapper instance. 2011-12-15 22:56:53 +01:00
Gaetan Delannay eceb9175fd appy.bin: backup.py: added the possibility to define login and password for SMTP authentication (the script allows to send mail); appy.pod: added the possibility to specify size of images to import (see https://answers.launchpad.net/appy/+question/171846). 2011-09-24 12:53:33 +02:00
Gaetan Delannay 96a592f125 appy.pod: bugfix when importing images under Windows (https://answers.launchpad.net/appy/+question/171611); appy.gen: bugfix while validating file fields which are mandatory; stopped using uid_catalog and added index 'UID' in portal_catalog; bugfix while searching objects in the limits of a Ref field; display user info in the main template (name, id, roles); when creating an object from a reference, after creation, appy brings the user back to the view page where the Ref field was. 2011-09-20 19:21:48 +02:00
Gaetan Delannay 7514eb31a9 appy.pod: bugfix in html2odt: in some situations, while using stylesMappings, some empty tags were present in the result, producing a superflous empty paragraph; bugfix while importing PNG files under Windows; appy.gen: began to implement a new global Appy-specific page template and styles. 2011-09-02 09:59:49 +02:00
Gaetan Delannay 02fce03143 appy.pod: optimized image importing: when an image is imported several times in a pod template through a call to 'do ... from document(at=path)', pod inserts only one copy of the file into the ODT result. 2011-07-02 11:46:49 +02:00
Gaetan Delannay bfd2357f69 Added a new system for layouting production-ready forms without any HTML coding, many performance improvements and more independence towards Archetypes. 2010-08-05 18:23:17 +02:00
Gaetan Delannay fc75a42264 Added the possibility to log OO errors in appy.gen method File.dump and changed some code for avoiding silly Plone warnings on every user click. 2010-02-09 15:59:03 +01:00
Gaetan Delannay 4043163fc4 Initial import 2009-06-29 14:06:01 +02:00