Commit graph

594 commits

Author SHA1 Message Date
Gaetan Delannay
ca16f8989c [bin] Bugfix in publish.py. 2013-04-22 21:20:37 +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
0a8e06f1d9 [gen] Various bugfixes. 2013-04-16 19:56:47 +02:00
Gaetan Delannay
fb40913ef5 [gen] Added a doctype in the standard Appy template. 2013-04-12 08:38:33 +02:00
Gaetan Delannay
d480e58d01 [gen] UI improvements. 2013-04-11 16:01:52 +02:00
Gaetan Delannay
1d2a19a1c6 [gen] Minor updates. 2013-04-09 10:57:21 +02:00
Gaetan Delannay
2869d0382f [bin] Added a new script odfGrep.py that allows to search for some pattern within odt and ods files. 2013-04-03 13:10:23 +02:00
Gaetan Delannay
4e09a40807 [gen] Integrated ckeditor inline editing via boolean parameter field.inlineEdit. 2013-03-29 14:50:12 +01:00
Gaetan Delannay
48c7c50122 [gen] Make ckeditor work with IE. 2013-03-28 21:32:47 +01:00
Gaetan Delannay
e1e1b90921 [gen] Integrated ckeditor 4.1. 2013-03-25 16:38:52 +01:00
Gaetan Delannay
c87db8d167 [gen] In the process of upgrading to ckeditor 4.1. 2013-03-25 14:53:02 +01: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
da1f2699cd [gen] Allow to show transitions on 'view' and/or 'result' layout types. 2013-03-18 13:13:29 +01:00
Gaetan Delannay
e0cef5eed5 Removed test code. 2013-03-16 00:06:28 +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
5cc7884c03 [gen] Bugfix: sort references. 2013-03-10 16:31:49 +01:00
Gaetan Delannay
da4f502ddc [gen] appyclass.getIcons now receives the nav param, in case one wants to reproduce, on an icon or a picture, the link to the element. For example, on a artist's site that presents its artworks, getIcons can be used to create a clickable link to a small version of the artwork, that leads to the full-size picture. Bugfix in result.pt (numbering of elements in the grid view). 2013-03-10 08:29:53 +01:00
Gaetan Delannay
c5ec54f0e5 [gen] Added field appyclass.breadcrumb, allowing to show/hide the breadcrumb when displaying instances of this class; added field appyclass.resultMode, allowing to choose between 'list' or 'grid' mode (previously, only list mode was enabled) when showing instances of this class as a result of some query. 2013-03-09 16:06:12 +01:00
Gaetan Delannay
46f5b8e464 [gen] Removed obsolete code; a Page instance that does not have sub-pages does not show the portlet. 2013-03-08 16:16:25 +01:00
Gaetan Delannay
b717a001d4 [gen] added tool.sendMail as an easy access method for function appy.gen.mail.sendMail. 2013-02-28 23:00:06 +01:00
Gaetan Delannay
7be0a7789d [gen] icons.pt can now be configured even for anonymous users. 2013-02-24 17:49:07 +01:00
Gaetan Delannay
86fc234311 [doc] Forgot to commit new images. 2013-02-22 16:18:17 +01:00
Gaetan Delannay
1522cfdb6f [bin] publish.py: bugfix: automating Appy's deployment on pypi.python.org. 2013-02-22 16:17:04 +01:00
Gaetan Delannay
1fc19469eb [doc] Updated Appy version. 2013-02-22 12:13:00 +01:00
Gaetan Delannay
08248cf58f [doc] Updated pod.html with an explanation about how rendering spreadsheet-based (ODS) templates. 2013-02-22 12:12:19 +01:00
Gaetan Delannay
cf707cd122 [gen] Bugfixes for IE8. 2013-02-22 09:54:23 +01:00
Gaetan Delannay
070e5042fd [gen] Bugfixes with IE8 and JS function 'getElementsByName'. 2013-02-21 19:04:47 +01:00
Gaetan Delannay
c91f7477d9 [gen] Added a link to the home page for anonymous users; resized fields 'login' and 'password'. 2013-02-19 17:38:15 +01:00
Gaetan Delannay
34b0b13f84 [gen] Bugfix while generating the Translation class (page 'main' was not viewable because of field 'trToTool' for which page.show was False for an unknown reason). 2013-02-19 16:48:35 +01:00
Gaetan Delannay
f6b2afc423 [gen] Added params Type.swidth and Type.sheight to allow for different sizes for the search widgets. 2013-02-19 09:57:02 +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
cb77418dda [gen] Stop using param 'cmp' in method [].sort (deprecated in Python3). Used para 'key' instead. 2013-01-22 09:12:00 +01:00
Gaetan Delannay
b3ff087e8f [gen] Added, on edit.pt (the unique Appy form) a handler window.onbeforeunload to warn the user that data can be lost or a lock can stay on the object. 2013-01-18 14:32:29 +01:00
Gaetan Delannay
d42dffacad [gen] Improved the page lock system. 2013-01-18 11:26:01 +01:00
Gaetan Delannay
bdf41adf36 [gen] First draft of a system for locking pages when editing it. 2013-01-14 16:58:30 +01:00
Gaetan Delannay
27197f5b9d [gen] Bugfix in generation of back reference for predefined Refs from model.py; bugfix while editing XHTML fields from class model.py::Page; bugfixes in the XhtmlCleaner. 2013-01-11 17:16:36 +01:00
Gaetan Delannay
b76af3e0c2 [gen] Allow Managers to delete data change events if things go wrong. 2013-01-11 10:52:54 +01:00
Gaetan Delannay
90e46f11e7 [gen] Bigfixees in cleaning of XHTML fields. 2013-01-10 15:59:01 +01:00
Gaetan Delannay
f4e40caf5c [gen] Bugfixes in historization. 2013-01-10 11:47:39 +01:00
Gaetan Delannay
c863b47db5 [gen] field.history can now be a method. This way, historization can be enabled/disabled, field by field, according to any custom condition. 2013-01-10 10:56:22 +01:00