Gaetan Delannay
|
cb6fea7631
|
[pod,px] 'loop' variable allows to know if we are managing an even or odd elem via loop.<elem>.odd and loop.<elem>.even. [gen] In the process of migrating from ZPT (Zope Page Templates) to appy.px (Python Xml).
|
2013-06-27 11:57:39 +02:00 |
|
Gaetan Delannay
|
e4b84be05e
|
[px] Managed special HTML attributes like 'checked' and 'selected'.
|
2013-06-26 13:44:31 +02:00 |
|
Gaetan Delannay
|
5ece5c9831
|
[px] Added the possibility to have several PX actions in the same XHTML tag. If several PX action are defined, they are evaluated in this order: var, for, if.
|
2013-06-25 23:22:33 +02:00 |
|
Gaetan Delannay
|
1d931cfb96
|
[px] Made PX thread-safe.
|
2013-06-25 12:04:23 +02:00 |
|
Gaetan Delannay
|
086f93e845
|
[gen] Added the posssibility to create a custom widget that displays an icon for generating a doc from a pod field, but with an additional param allowing to customize the pod context.
|
2013-06-20 17:35:52 +02:00 |
|
Gaetan Delannay
|
06039b300c
|
[pod] Line breaks which are found within pod expression results are converted to odf line-breaks into the pod result.
|
2013-06-12 10:30:20 +02:00 |
|
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
|
0c50fe188a
|
Updated 'print' statements throughout Appy code, in order to be Python3x as well as Python2x-compliant.
|
2013-05-30 00:46:11 +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
|
540a9947d8
|
[pod,px] An expression that begins with char ':' is considered XML code that will come into the result unescaped.
|
2013-05-24 10:16:16 +02:00 |
|
Gaetan Delannay
|
b996de09c6
|
[gen] Bugfixes.
|
2013-05-16 09:53:27 +02:00 |
|
Gaetan Delannay
|
a94d400d03
|
[pod] Bugfix: error when a pod template does not have a 'mimetype' file inside (https://bugs.launchpad.net/bugs/1173009); bugfix: error when parsing some ods pod templates: some cells do not have attribute 'office:value-type' (see bug https://bugs.launchpad.net/bugs/1173301). [gen] Added a basic integration of gen applications with Google Analytics.
|
2013-04-29 21:32:05 +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
|
2a145ac890
|
[px] PXs can be called by other PXs.
|
2013-03-22 12:52:24 +01:00 |
|
Gaetan Delannay
|
bfbf9bea82
|
[pod] Improved error handling. [px] More work on PX.
|
2013-03-19 22:06:47 +01:00 |
|
Gaetan Delannay
|
d5296ba321
|
[pod] Added the possibility to define several variables, in 'with' statements, separated by ';'.
|
2013-03-19 17:07:11 +01:00 |
|
Gaetan Delannay
|
bf98b2cdf2
|
[px] Implemented attribute values containing Python expressions, and errors management.
|
2013-03-16 00:02:16 +01:00 |
|
Gaetan Delannay
|
be3cc6ae59
|
[px] First draft for a new template engine Python-XML, sharing the pod roots.
|
2013-03-15 16:50:28 +01: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
|
2307a284cc
|
[gen] Wrapper.reindex: allow to specify attribute 'fields' containing the list of fields that must be reindexed. If not given, all object fields are reindexed. [pod] POD ODS templates: into POD results from ODS templates, Python expressions that produce ints, floats or dates (Zope DateTime only for the moment) produce cells with typed values.
|
2013-02-06 17:15:01 +01:00 |
|
Gaetan Delannay
|
43261fde60
|
[pod+gen] Added POD rendering based on ODS templates. Integrated with gen.
|
2013-02-05 08:51:25 +01:00 |
|
Gaetan Delannay
|
d5d99b67eb
|
[pod] Performance improvement: stop computing tag names, create a dict of precomputed tags before starting parsing.
|
2013-01-31 12:50:25 +01:00 |
|
Gaetan Delannay
|
ad94fee755
|
[gen] First draft of using POD ODS (Calc) templates.
|
2013-01-31 00:11:24 +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
|
5d31bc10db
|
[pod] Changed the way pod results are re-zipped, in order to be compliant with section 17.4 of the OpenDocument format specification (bug https://bugs.launchpad.net/appy/+bug/1101237).
|
2013-01-22 16:34:29 +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
|
bba7c589be
|
[shared] Added appy.shared.data.vatEuroCountries, which is the list of countries of the euro zone.
|
2012-12-20 16:09:05 +01:00 |
|
Gaetan Delannay
|
6061060c49
|
[doc] Updated doc. Ready for publishing a new version of appyframework.org (at least I think :))
|
2012-12-03 16:18:24 +01:00 |
|
Gaetan Delannay
|
caca61516f
|
[bin] job.py: if the specified user does not exist in the DB, try with a user named 'admin'; [gen] Calendar: allow to insert additional, custom (XHTML or textual) info in any cell of the calendar, via new attribute Calendar.additionalInfo; [pod] some code refactoring; xhtml2odt: allow, when converting tables, to take into account attributes 'width' of tds; bugfix when converting 'href' attrs of 'a' tags.
|
2012-10-26 13:09:44 +02:00 |
|
Gaetan Delannay
|
31a0268641
|
[gen] Do not generate base label for a workflow transition if transition.show is False; added an alternative predefined layout for pages (including summary, which is absent by default); [pod] added a default POD style 'podPageBreak' allowing to include page breaks via do... from... statements.
|
2012-08-14 16:05:02 +02:00 |
|
Gaetan Delannay
|
7e31304c30
|
[pod] Repaired some tests in the xhtml2odt test suite.
|
2012-07-10 14:53:31 +02:00 |
|
Gaetan Delannay
|
a7bcd1a098
|
[gen] allow Manager to change the login of a user; bugfix in dumping XHTML tables whose column sizes are automatically computed; bugfix: apply styles mapping to 'p' tags that are added automatically by xhtml2odt (was only implemented for p tags inside li tags).
|
2012-07-10 14:21:08 +02:00 |
|
Gaetan Delannay
|
8a5ca81746
|
[pod] xhtml2odt: generate ODT tables from XHTML tables, taking into account variable column sizes.
|
2012-07-06 17:57:25 +02:00 |
|
Gaetan Delannay
|
bc505b335f
|
[gen] Bugfix in RTL languages support; [pod] xhtml2odt: bugfix in management of styles applied to inner p tags added within li tags.
|
2012-07-03 15:00:45 +02:00 |
|
Gaetan Delannay
|
d16b03e0d6
|
[gen] XhtmlCleaner now only keeps useful CSS attributes within XHTML style attributes.
|
2012-05-24 12:54:40 +02: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
|
028040351c
|
appy.gen: improved cleaning and formatting of XHTML content; appy.pod: added some default appy-related table styles for producing cells with text in bold/normal, aligned right/left, etc.
|
2012-05-14 17:35:34 +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
|
abdd0ee52d
|
appy.shared.diff: bugfix: work internally on unicode representations of strings to diff: this way, we are sure every char is one char length.
|
2012-04-13 18:07:48 +02:00 |
|
Gaetan Delannay
|
cbb8d5cd12
|
appy.pod: variable named 'loop' is now available in the POD context of any section within a 'for' statement, with attributes like loop.[iterVariableName].length (=total number of looped elements) and loop.[iterVariableName].nb (=index of currently looped element).
|
2012-03-16 14:59:59 +01: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
|
a80ef513ff
|
appy.gen: added new format 'captcha' for a String.
|
2012-02-16 18:13:51 +01:00 |
|
Gaetan Delannay
|
95a899f3de
|
appy.pod: bugfix while importing SVG images.
|
2012-01-26 13:40:11 +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
|
7d844070df
|
appy.pod: improved styles mapping system: one may now express things like: 'p[text-align=center]':'StandardCentered' (ie, map an HTML tag having some CSS attributes to a specific ODT style). See verbose docstrings in styles_manager.py.
|
2012-01-12 21:49:23 +01:00 |
|
Gaetan Delannay
|
30a51b7c1d
|
appy.gen: added params String.allowImageUpload and String.styles for tuning the in-line editor corresponding to a String instance with format=XHTML; managed borders images uploaded in such a field; bugfix for https://bugs.launchpad.net/appy/+bug/913171 (appy.shared.dav).
|
2012-01-09 17:00:47 +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
|
e78cf62694
|
appy.gen: bugfix in group widget 'tabs'; improved layout of grid widgets in view mode; appy.pod: class OdtTable allows to generate HTML tables as well.
|
2011-12-09 08:56:37 +01:00 |
|