Commit graph

99 commits

Author SHA1 Message Date
Gaetan Delannay f8f3c0e865 [pod] Added param Renderer.raiseOnError (False by default), that, if True, will force the Renderer to raise an error instead of dumping it into a note in the pod result. 2014-06-23 12:54:32 +02:00
Gaetan Delannay e11e754305 [gen] Class.popup: finalized the development of 'popup' classes. 2014-06-16 00:58:45 +02:00
Gaetan Delannay b3a72ade24 [gen] Bugfixes; for Ref field, replaced render mode 'titles' with 'minimal', allowing to display all fields defined in shownInfo. 2014-05-19 12:12:33 +02:00
Gaetan Delannay b4e6333472 [gen] Bugfix: slave groups; bugfix: security check for pod fields; security bugfix for pod fields: write access to the field is required for performing any freeze-related action; migration to Appy 0.9.0: dump frozen pod fields on disk; repaired test system for Appy 0.9.0; more explicit error message when using, on some field, a specific write or read permission that is not used in the workflow. 2014-05-14 15:10:41 +02:00
Gaetan Delannay 5c6a7f0f97 [gen] Security improvements. 2014-05-03 22:45:51 +02:00
Gaetan Delannay 1d0ee7a614 [gen] Bugfix in the Ref field; added method workflow.Transition.getBack that finds the 'back' transition of a given transition. 2014-05-02 12:35:09 +02:00
Gaetan Delannay 7adbc7e4bc [gen] Fixed groups with style 'tabs'; reused the same tabs for representing phases; pages and phases are now outside the portlet, rendered horizontally below the breadcrumb; methods getSupBreadCrumb and getSubBreadCrumb can now be defined on every gen-class to customize what is shown above and below the breadcrumb (=title with a prefix) on view layouts (those methods are similar to getSubTitle and getSupTitle when displaying lists of objects). 2014-04-29 19:02:06 +02:00
Gaetan Delannay cee7b49e3c [gen] Added method Mixin.onCall allowing to call a specific method on a gen-class from the UI. 2014-04-25 12:14:50 +02:00
Gaetan Delannay f0c1f69573 [gen] Optimisations, bugfixes and refactorings. 2014-04-21 12:11:41 +02:00
Gaetan Delannay 822e1a7c63 [gen] Buttons can now be stretched to fit the size of the inner label. 2014-04-20 19:22:40 +02:00
Gaetan Delannay b5d38ad150 [gen] Moved action-related stuff from mixins/__init__.py to field/action.py. 2014-04-15 21:46:13 +02:00
Gaetan Delannay 977cd0a225 [gen] Ref field improved. 2014-04-05 10:54:40 +02:00
Gaetan Delannay e7c20f8d2b [gen] Ref field: allow to insert many selected items at once (Ref fields with link='list'). 2014-04-03 17:32:57 +02:00
Gaetan Delannay 084f1f9a23 [gen] Ref field: param 'link' can now be 'list' (ongoing work). 2014-04-01 18:34:12 +02:00
Gaetan Delannay 81a201dcad [gen] Allow to specify several folder within an app where to store static ui content (js, css, images). [gen] When browser settings are ignored or absent, default language is the first one listed in Config.languages. 2014-03-28 12:25:42 +01:00
Gaetan Delannay d0749cc365 [gen] Added 'freeze actions' to pod fields. 2014-03-24 22:55:00 +01:00
Gaetan Delannay ecc3a8c39b [gen] Pod fields can now be configured with several templates. 2014-03-19 23:13:31 +01: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 b8ceb66a49 [gen] Master-slave fields: slave values can now ajax-change when the user modifies master values. 2014-03-03 18:54:21 +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 e031e5b138 [gen] method Mixin.xml: if the method result is already XML, it is not marshalled again. 2013-10-09 21:23:49 +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 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 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 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 34e3a3083e [gen] More work ZPT->PX. 2013-08-21 12:35:30 +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 369e41b43c [gen] Continued PX-based refactoring. 2013-07-10 09:56:35 +02:00
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 fd33e73efa [gen] Add the possibility, for an admin, to unlock a page that was locked for too long by some user. 2013-05-22 10:27:31 +02:00
Gaetan Delannay 1c3555fd28 [gen] Added the possibility to define dict someClass.styles (with, currently, a single entry 'title'), allowing to specify alternative CSS classes for class-related elements (here, 'title' allows to define an alternative CSS class for the link allowing to click on some instance of the class on a query or ref). 2013-04-27 02:15:44 +02:00
Gaetan Delannay d480e58d01 [gen] UI improvements. 2013-04-11 16:01:52 +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 da1f2699cd [gen] Allow to show transitions on 'view' and/or 'result' layout types. 2013-03-18 13:13:29 +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 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 b76af3e0c2 [gen] Allow Managers to delete data change events if things go wrong. 2013-01-11 10:52:54 +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
Gaetan Delannay ab00917df6 [gen] Allow to show the cumulative differences performed on historized String fields with format=String.XHTML. 2013-01-08 16:58:29 +01:00