Commit graph

21 commits

Author SHA1 Message Date
Gaetan Delannay af635f936f [gen] Appy is now integrated to ckeditor 4.4.7 via CDN (check http://cdn.ckeditor.com). 2015-02-22 12:42:04 +01:00
Gaetan Delannay c6a376f420 [gen] Bugfix. 2015-01-28 18:26:58 +01:00
Gaetan Delannay 6f488644e3 [gen] Table of indexes: indexed date values are now correctly displayed as DateTime instances. 2015-01-22 18:43:10 +01:00
Gaetan Delannay 8591611aac [gen] Added param Field.mustIndex, that, for indexed fields, defines (via a method) when indexation must occur or not. Indeed, in some cases, an index is required on some field but we don't want all objects to have an index value for this field at any time. 2014-12-26 17:29:14 +01:00
Gaetan Delannay e01615476b [gen] Added attribute Field.view allowing to specify, for any field, an alternative pxView. 2014-12-09 15:19:28 +01:00
Gaetan Delannay c53654a1a1 [gen] Added attribute 'xml' on every field allowing to customize the XML marshalling process. [gen] Added new layout 'xml', now different from the 'view' layout, allowing to define which fields are to be dumped in the XML version of some object. [gen] Security fix in ToolMixin::getUser. [gen] Bugfix in Mixin::getUrl. [shared] dav.py: method 'get' can now accept parameters. [shared] xml_parser: changes to the XmlMarshaller (due to XML-related changes). 2014-12-08 14:52:04 +01:00
Gaetan Delannay 71bc58a8b0 [gen] While <obj>.<fieldName> allows to get the 'DB' value of some field, <obj>.getValue allows to get a variant of it, ie, the formatted version (via an internal call to field.getFormattedValue). 2014-09-08 15:13:18 +02:00
Gaetan Delannay f8a7103c7a [gen] Changes in parameters of some basic field methods to enable field.languages to be defined dymanically via a method. 2014-09-05 17:13:23 +02:00
Gaetan Delannay 25f0e8184e [pod] When inserting an image via statement do... from document(...), parameter 'sizeUnit' can now be 'pc' (percentage): in this case, percentages are expressed as a tuple (widthPercentage, heightPercentage) in parameter 'size' and must be integers from 1 to 100. [bin] backup.py: better error handling when contacting SMTP server. [gen] Calendar widget for Date fields: bugfix (when the date range is in reverse chronological order). [gen] Ref field: added hook 'afterLink' allowing to execute a method just after an object has been linked. [gen] Ref field: added attribute 'unlinkElement' allowing to define a specific condition for unlinking a given object (before, it was only possible to define, in attribute 'unlink', a global condition allowing to unlink any object from the Ref. [gen] Bugfix: the link to the home page, when clicking on the logo, is fixed. 2014-07-10 09:46:39 +02:00
Gaetan Delannay b98da33d47 [gen] Removed obsolete attribute Field.sync. 2014-03-05 16:19:11 +01:00
Gaetan Delannay 6d6c842f12 [gen] Allow for ajax-based master-slave relationships within the search screen for Ref fields. 2014-03-05 13:25:36 +01:00
Gaetan Delannay ea08d7981f [gen] Added field.persist to avoid storing values for fields that do not require it (like master fields only used to determine selectable values among slave fields). 2014-03-04 15:03:37 +01:00
Gaetan Delannay fe56ee27a0 [gen] Bugfixes. 2014-02-27 12:54:05 +01:00
Gaetan Delannay 809a553cf4 [gen] Replaced database fields tool.resultColumnsFor[class] by static attributes class.listColumns. [gen] Bugfixes and removed unused code. 2013-09-18 12:06:07 +02:00
Gaetan Delannay 383af4a687 [gen] BPX bugfixes. 2013-09-11 22:11:44 +02:00
Gaetan Delannay 34e3a3083e [gen] More work ZPT->PX. 2013-08-21 12:35:30 +02:00
Gaetan Delannay d385b8514e [gen] Optimized PXs, that are almost ready. This is the last gen version where PTs are still working. 2013-07-23 10:29:39 +02:00
Gaetan Delannay efd918f175 [gen] Replaced, in PXs, function 'img' by function 'url', that returns the URL of an external resource to be included in the XHTML, like an image, a Javascript file or a CSS file. 2013-07-20 19:56:17 +02:00
Gaetan Delannay 1810373304 [gen] Optimized PXs. [px] added tag 'var2', similar to 'var', but that is executed after tags 'for' and 'if'. 2013-07-15 11:23:29 +02:00
Gaetan Delannay 369e41b43c [gen] Continued PX-based refactoring. 2013-07-10 09:56:35 +02:00
Gaetan Delannay 25b4edfc1d [gen] Moved Appy fields into appy/fields together with their PX. 2013-07-08 23:39:16 +02:00