Commit graph

82 commits

Author SHA1 Message Date
Gaetan Delannay 432a579d47 [gen] On a workflow class, one may now define a method 'onTrigger(self, obj, transitionName)' that will be called after any transition has been triggered, but before the a transition-specific action. 2014-06-02 15:08:39 +02:00
Gaetan Delannay 6494bf22c7 [gen] Added some utility methods. 2014-06-01 11:44:07 +02:00
Gaetan Delannay 2eee217b05 [ref] Better rendering of ref menus. 2014-05-29 13:32:19 +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 57bab29447 [gen] Bugfixes. 2014-05-17 16:44:56 +02:00
Gaetan Delannay cf946e3222 [gen] Added String.placeholder, similar to HTML attribute 'placeholder' allowing to specify a short hint that describes the expected value of the input field. 2014-05-15 12:45:53 +02:00
Gaetan Delannay 0dee80df3c [gen] Bugfix in groups. 2014-05-14 17:26:46 +02:00
Gaetan Delannay 79837d3f00 [gen] Bugfix: rendering of pod fields. 2014-05-14 17:05:50 +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 b2dbef2bc4 Improved class appy.Hack to be able to hack static methods as well; [gen] pod field can now accept a string in param 'showTemplate' if a single format is accepted; when showing linked objects in a ref field, we show a message and no data for every object the currently logged user is not allowed to read; improved the default UI layout (less table borders). 2014-05-03 15:18:41 +02:00
Gaetan Delannay 0a174098f1 [gen] Some CSS changes. 2014-05-02 20:22:33 +02:00
Gaetan Delannay b83f6d512d [gen] More methods on AbstractWrapper. 2014-05-02 14:34:10 +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 14f85509e1 [gen] Added ref.render == 'titles' = a way to render linked objects as a simple list of comma-separated, non clickable titles; bugfix in inline-edit of string XHTML fields. 2014-04-30 21:08:42 +02:00
Gaetan Delannay 4d78996938 [gen] Fixed some problems with groups having style='tabs'. 2014-04-30 15:10:11 +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 ef21375410 [gen] Bugfixes and use of Ref.autoref fto avoid circular references within cross-class Ref fields. 2014-04-22 19:37:36 +02:00
Gaetan Delannay e1b6b1b951 [gen] Buttons for workfow conditions are now smaller when shown in lists of objects; added the possibility to define a specific icon for every workflow transition. 2014-04-21 17:19:27 +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 2b1fc85512 [gen] Bugfixes. 2014-04-19 19:58:02 +02:00
Gaetan Delannay ff7c300dd0 [gen] Bugfix in the Ref field in edit mode. 2014-04-18 22:00:37 +02:00
Gaetan Delannay 16442341f0 [gen] More stuff for modifying workflow objects. 2014-04-18 14:50:07 +02:00
Gaetan Delannay 75f5407e48 [gen] Added and changed some methods on the basic workflow objects in order to ease modifications on workflow objects (states, transitions). 2014-04-17 17:10:38 +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 5de5372bec [gen] Added attribute Ref.numbered allowing to produce numbered lists of tied objects and controls for easily moving objects from one position to another. 2014-04-15 19:52:18 +02:00
Gaetan Delannay 036856f07e [gen] Within Ref fields, added 2 icons for moving tied objects to top or bottom + bugfixes. 2014-04-15 13:01:39 +02:00
Gaetan Delannay ac08d2d795 [gen] Various bugfixes: single-temlplate pod fields, ajax master/slaves and IE10, popup management. 2014-04-14 20:55:23 +02:00
Gaetan Delannay 977cd0a225 [gen] Ref field improved. 2014-04-05 10:54:40 +02:00
Gaetan Delannay b9bfee9615 [gen] Ref field: more work on global actions. 2014-04-05 09:49:54 +02:00
Gaetan Delannay 3621d0da92 [gen] Ref field has now global actions like 'unlink many', 'link many' and 'delete many'. 2014-04-04 16:49:22 +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 edde17d9c8 [bin] More robust backup procedure. [gen] Removed deprecated i18n labels. 2014-03-25 15:11:21 +01:00
Gaetan Delannay e969bbf362 [gen] Pod field: allow to upload a replacement file for a frozen pod document. 2014-03-25 12:05:07 +01:00
Gaetan Delannay d0749cc365 [gen] Added 'freeze actions' to pod fields. 2014-03-24 22:55:00 +01:00
Gaetan Delannay 0834356487 [gen] Pod field can now freeze and unfreeze any of its multiple templates. 2014-03-21 16:50:48 +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 eba86ae6bc [gen] Bugfix in Ref field. 2014-03-11 16:22:28 +01:00
Gaetan Delannay d956c1f17a [bin] backup.py new mode 'copy' thatdoes not use repozo for backup but a simple copy of Data.fs. [gen] Bugfix in pod.py. 2014-03-11 15:29:59 +01:00
Gaetan Delannay 059828b319 [gen] Bugfix while displaying possible values for a Ref field in edit mode. 2014-03-06 23:08:14 +01:00
Gaetan Delannay 74f8592517 [gen] Automatically generated passwords and captcha challenges do not include numbers and letters that could be misread. 2014-03-06 12:15:10 +01:00
Gaetan Delannay 62e2d49953 [gen] Added a transparent clickable logo at the top left (or right if rtl) of the page. 2014-03-05 22:01:51 +01:00
Gaetan Delannay 90af2e5698 [gen] More compact code. 2014-03-05 17:04:43 +01:00
Gaetan Delannay b98da33d47 [gen] Removed obsolete attribute Field.sync. 2014-03-05 16:19:11 +01:00
Gaetan Delannay 5bea4e728b [gen] Allow for ajax-based master-slave relationships within the search screen for String fields. 2014-03-05 15:47:12 +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 584e38abef [gen] Bugfix. 2014-03-04 16:02:23 +01:00