Commit graph

129 commits

Author SHA1 Message Date
Gaetan Delannay fcf6a52974 [gen] Added parameter Ref.collapsible allowing to show/hide (via a cookie in the UI, similar to object history) available or tied items. 2015-01-26 17:26:05 +01:00
Gaetan Delannay d9a89f7ad5 [gen] Allow Refs with render='menus' to appear in layout 'buttons'. 2015-01-20 01:03:23 +01:00
Gaetan Delannay 225ea927a4 [gen] Bugfixes in the search machinery. 2015-01-02 16:16:48 +01:00
Gaetan Delannay cf2cbc52d6 [gen] Highlight keywords in query results. 2014-12-30 11:23:03 +01:00
Gaetan Delannay 06c656d278 [gen] Added the possibility to display the content of indexes for a given object on its view layout (param 'indexed' in the request). 2014-12-19 11:21:43 +01:00
Gaetan Delannay 6cd64fdc50 [gen] Bugfixes. 2014-12-15 19:36:00 +01:00
Gaetan Delannay 8511c22612 [gen] Mixin.xml: if an error occurs, log it before xml-marshalling it to the caller app. 2014-12-12 14:47:39 +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 b39c5553ea [shared] Improvements to the XmlMarshaller and bugfix: Mixin.xml returns appy.Object instances correctly marshalled. 2014-12-09 11:40:30 +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 02a7be98ff [gen] One can define statis attribute 'showHistory', being a method or a boolean value. It indicates if the history is visible or not. Added on the User, passwords fields on the main page. This way, when creating a user, those fields are used. When the user wants to change it own password, passwords on the 'passwords' page are then used. 2014-11-25 14:56:38 +01:00
Gaetan Delannay 412d9f939f [gen] A page can now be visible on edit but not on view (ie, the new User page containing only fields 'password' and 'retype password'. Default User class has now 2 pages: the 2 password fields are on a separate page. Zone containing user name in the user strip has evolved. 2014-10-24 15:55:45 +02:00
Gaetan Delannay ccf7e44eef [gen] [gen] Action field: param confirm can be 'text': in this case, the confirm popup contains a textarea whose content is passed as param to the method speficied in param 'action'. Action fields can now be defined in a new layout 'buttons' (show='buttons') in order to appear, on the view layout, besides the extsting series of buttons (edit, next/previous pages...). 2014-10-22 22:17:26 +02:00
Gaetan Delannay 7484fbca93 [gen] Added the possibility to navigate to tied object number X within a list of tied objects from a Ref that is numbered. 2014-10-21 09:25:37 +02:00
Gaetan Delannay 4577855d60 [gen] Added a new hook in the object creation algorithm: 'onEditEarly', called before an object being created is linked to its initiator object. Indeed, 'onEdit' is called after the link has been done, and sometimes, the linking may need some information that must be set before calling onEdit, thus via this new method onEditEarly. 2014-10-17 11:22:49 +02:00
Gaetan Delannay 3dfb90b5b3 [gen] Allow to have data change events that contain comments. 2014-10-15 15:39:11 +02:00
Gaetan Delannay c2676c9cf8 [gen] pod field: bugfix with attr 'formats' without method 'showTemplate'; [shared] bugfix: renamed module ldap to ldap_connector. 2014-10-07 13:14:16 +02:00
Gaetan Delannay 441dc0b423 [gen] Bugfix: display bilingual info in object history. 2014-10-03 12:44:26 +02:00
Gaetan Delannay dcf90f2b94 [gen] Created method mixin.getListTitle that is responsible for displaying an object's title in the various lists (queries, refs). 2014-09-23 18:38:55 +02:00
Gaetan Delannay 400158a0a1 [gen] Users have now a workflow allowing them to deactivated. An inactive user can't log in anymore. This is useful if the User is tied to other objects and cannot be removed without braking the data model, but does not correspond anymore to an active user that is allowed to log in. 2014-09-11 16:41:08 +02:00
Gaetan Delannay 326523cc3a [gen] Cached the user language on the request. 2014-09-10 18:21:14 +02:00
Gaetan Delannay 8aed007623 [gen] Bugfixes: handle multilingual titles in queries, references, breadcrumbs... 2014-09-06 15:20:59 +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 c8cf3911fa [gen] Historization of multilingual fields. 2014-09-03 18:18:27 +02:00
Gaetan Delannay 7889277328 [gen] Adapted all logged messages because thhe logged user is now automatically prepended to any message. 2014-09-01 14:14:32 +02:00
Gaetan Delannay f8d5cb546d [gen] Bugfix. 2014-08-07 14:17:21 +02:00
Gaetan Delannay c8a9c04141 [gen] Log: prepend the user login. 2014-08-06 14:29:18 +02:00
Gaetan Delannay 302d54c7ce [gen] Positioned checkboxes on the left. 2014-07-29 19:21:37 +02:00
Gaetan Delannay 268309045a [gen] Ref field: added params 'beforeLink' and 'afterUnlink' allowing to hold methods that execute respectively before an item is linked via a Ref or after it has been unlinked; bugfix in mixin::getUrl. 2014-06-25 15:42:34 +02:00
Gaetan Delannay 98b748cfb1 [gen] Added for Ref field, param 'insert' that defines at what position a newly tied object is inserted among referred objects. 2014-06-24 17:07:59 +02:00
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