Commit graph

179 commits

Author SHA1 Message Date
Gaetan Delannay fe56ee27a0 [gen] Bugfixes. 2014-02-27 12:54:05 +01:00
Gaetan Delannay c002b5cb59 [gen] Added px.override allowing to modify PX code; bugfixes; added migration code for converting File instances to FileInfo instances. 2014-02-26 23:40:27 +01:00
Gaetan Delannay be145be254 [gen] Binary files stored in fields appy.fields.File are now stored outside the ZODB, on the filesystem; Ref fields can now also be rendered as dropdown menus: every menu represents a coherent group of link
ed objects. The main menu entry can be textual or an icon; computed fields are by default rendered in view and cell layouts.
2014-02-26 10:40:27 +01:00
Gaetan Delannay e1d0597694 [gen] list field now takes into account 'show' attribute of sub-fields. 2014-01-14 09:07:42 +01:00
Gaetan Delannay 14f4848348 [gen] Added base Appy i18n files containing standard Appy labels. 2013-10-20 18:12:39 +02:00
Gaetan Delannay 6a83285e64 [gen] Extended the HTTP-XML system to be able to call a method via a HTTP POST containing XML data (SOAP or REST-like). 2013-10-08 22:41:21 +02:00
Gaetan Delannay 91e0bd2240 [gen] Allow to group transitions. 2013-09-24 12:26:31 +02:00
Gaetan Delannay 180b3473e8 [pod,px] Allow to reference an already defined variable instead of defining one in a var statement, via the '@' prefix. For example, in PX: var='@i = i + 1'. [pod] Repaired broken tests [gen] Bugfixes. 2013-09-23 22:36:09 +02:00
Gaetan Delannay 1f901e5545 [gen] klass.creators can now be a method that either returns a list of global roles allowed to create instances of this class, or a boolean indicating if the currently logged user can create instances of this class or not. [gen] Bugfixes. 2013-09-22 16:33:32 +02:00
Gaetan Delannay e1b83574c5 [gen] pod fields now read pod templates directly from disk. Fields 'template' and 'formats' that were generated into the database (and editable through-the-web) are now removed. This simplification will allow in a second step to define several templates for a unique pod field, ie: multiDoc = Pod(template='od/Item*.odt'). [gen] Additionally, fields tool.numberOfSearchColumnsForXXX and tool.searchFieldsForXXX are not generated anymore and are replace by static class attributes class.numberOfSearchColumns and class.searchFields. 2013-09-21 17:46:42 +02:00
Gaetan Delannay c5930edd2d [gen] Added wrapper.getLastEvent, allowing to perform kinds of queries into an object's history. 2013-09-20 23:15:54 +02:00
Gaetan Delannay 6206dbe59c [fields] computed.py: plainText is now False by default, method can now be a PX [fields] list.py: bugfixes in the validation process; [gen] within aby PX, its context is now available as a special var '_ctx_': to use with caution only for the needs of Appy itself. It is not meant to be used by Appy developers. 2013-09-20 17:42:07 +02:00
Gaetan Delannay 59dc619c7f [gen] Bugfixes. 2013-09-18 15:57:34 +02: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 5223af2a62 [gen] Get rid of some Zope-specific security aspects. This is a preparatory work to extend the Appy authentication system to perform ldap authentication as well. 2013-08-23 18:57:27 +02:00
Gaetan Delannay 04852360fa [gen] Goodbye Zope Page Templates. 2013-08-21 22:25:27 +02:00
Gaetan Delannay 1bd77d68c4 [gen] Refactoring. 2013-08-21 13:54:56 +02:00
Gaetan Delannay 34e3a3083e [gen] More work ZPT->PX. 2013-08-21 12:35:30 +02:00
Gaetan Delannay f91972c21a [gen] Minor updates. 2013-08-08 12:00:33 +02:00
Gaetan Delannay 8833f7b0ae [gen] Changed the way to customize the Config in an app. 2013-07-24 15:53:19 +02:00
Gaetan Delannay 88bd5e5bce [gen] Created param config.groupsForGlobalRoles that disabled by default creation of a group for every global role. On a appy class it is now possible to define a static method 'generateUid' that generates a UID for every instance of this class, instead of using the standard Appy way to produce such UIDs. [shared] dav.Resource: allow to retrieve the result encoded or not in utf8. 2013-07-23 17:07:27 +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 5d350de491 [gen] Optimized PXs. 2013-07-15 13:39:05 +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 05292356e7 [gen] Added a validator for String fields, for validating Belgian NISS numbers. 2013-07-10 18:05:06 +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