Commit graph

260 commits

Author SHA1 Message Date
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 1ed4f0bf23 [pod] Bugfix: repeated error in a for loop (https://bugs.launchpad.net/appy/+bug/394267). [gen] pod field: get the value of appy cookie 'showSubTitle' in any pod template. 2014-10-16 17:35:35 +02:00
Gaetan Delannay 4947e2956c [gen] Pod field: send pod results by emails. 2014-09-17 18:09:30 +02:00
Gaetan Delannay b565f38d97 [gen] Pod field: more work on mailing lists. 2014-09-17 14:23:05 +02:00
Gaetan Delannay e6f2b5213e [gen] Pod field: more work on mailing lists. 2014-09-17 14:22:36 +02:00
Gaetan Delannay 4fc74b36e7 [gen] Some changes in ckeditor config. 2014-09-11 11:24:53 +02:00
Gaetan Delannay c40e133113 [gen] Integrated ckeditor 4.4.4. 2014-09-11 10:49:48 +02:00
Gaetan Delannay 1e29611746 [gen] Removed old ckeditor (4.1) version. 2014-09-11 10:28:29 +02:00
Gaetan Delannay c8cf3911fa [gen] Historization of multilingual fields. 2014-09-03 18:18:27 +02:00
Gaetan Delannay fb65cf82d8 [gen] More work on string multilingual fields. 2014-08-15 10:46:28 +02:00
Gaetan Delannay 7c2d4c1b7a [gen] More work on multilingual string fields. 2014-08-14 16:46:37 +02:00
Gaetan Delannay 4131ba899e [gen] More work on string multilingual fields. 2014-08-13 17:17:25 +02:00
Gaetan Delannay c8a9c04141 [gen] Log: prepend the user login. 2014-08-06 14:29:18 +02:00
Gaetan Delannay 9cccdebe24 [gen] Minor improvements. 2014-08-05 14:53:08 +02:00
Gaetan Delannay 636def8d24 [gen] Updated the Ajax system to be able to call a method on a Appy wrapper instead of a Zope object. 2014-08-05 09:48:05 +02:00
Gaetan Delannay dda894089a [gen] When param Ref.select is a Search instance, Search.name can be ommitted; added code that shows a warning: Appy is not compatible with MSIE below 9. 2014-07-28 17:35:49 +02:00
Gaetan Delannay a45dfa8dd0 [gen] Ref field: first cmplete version of Ref with link='popup'. 2014-07-28 12:29:16 +02:00
Gaetan Delannay 0bcd0055a3 [gen] More work on Refs with popup='true'. 2014-07-25 15:07:31 +02:00
Gaetan Delannay a14bff45a7 [gen] More work on Ref.link='popup'. 2014-07-23 22:29:47 +02:00
Gaetan Delannay 792db32f27 [gen] Allow to show checkboxes for search results. 2014-07-19 13:42:39 +02:00
Gaetan Delannay b2a2aa5210 [gen] Ref.select can now hold a Search instance; began implementation of Ref.link == 'popup'. 2014-07-18 16:54:11 +02:00
Gaetan Delannay 1c2936d76d [gen] Pod field: added param 'getChecked': if you specify there the name of a Ref field of the same gen class, within the pod template you will be able to know what linked objects are currently selected in the user interface. 2014-07-10 21:22:52 +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 e11e754305 [gen] Class.popup: finalized the development of 'popup' classes. 2014-06-16 00:58:45 +02:00
Gaetan Delannay ef68bb420b [gen] Bugfix in ref (now it is possible to display several refs with render='menus' at the same time); CSS improvements. 2014-06-03 15:55:28 +02:00
Gaetan Delannay 2eee217b05 [ref] Better rendering of ref menus. 2014-05-29 13:32:19 +02:00
Gaetan Delannay 3b18619624 [gen] Better rendering of buttons; added a new utility function for formatting elements like phone numbers. 2014-05-16 12:58:53 +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 61598b91f7 [gen] Removed appywide.css: css class which is specific to the wide layout are now in appy.css but are used conditionally in PXs. 2014-05-13 16:41:59 +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 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 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 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 a417db2ad9 [gen] Ref field improved. 2014-04-05 10:55:12 +02:00
Gaetan Delannay 977cd0a225 [gen] Ref field improved. 2014-04-05 10:54:40 +02:00
Gaetan Delannay 09b0ed5121 [gen] Ref field has now global actions like 'unlink many', 'link many' and 'delete many'. 2014-04-04 16:49:42 +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 aa10572c81 [gen] Added an icon for unlocking single-page objects. 2014-03-25 12:53:10 +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 ecc3a8c39b [gen] Pod fields can now be configured with several templates. 2014-03-19 23:13:31 +01:00
Gaetan Delannay e91a160924 [gen] Added a transparent clickable logo at the top left (or right if rtl) of the page. 2014-03-05 22:02:11 +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 f629f2b323 [gen] Removed obsolete function to create objects via an import form. 2014-03-05 16:48:54 +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 fe56ee27a0 [gen] Bugfixes. 2014-02-27 12:54:05 +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 3b9c078fbb Appy web interface has now 2 skins: the default one, with a fixed with; the one named 'wide', that takes the whole screen width. Choosing the skin is made via de Conf instance, attribute 'skin'. 2014-01-20 16:30:14 +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 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 383af4a687 [gen] BPX bugfixes. 2013-09-11 22:11:44 +02:00
Gaetan Delannay 7f88c7cca8 [gen] Show a special icon for users that are local copies of external sources. 2013-09-10 17:55:10 +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 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 5d350de491 [gen] Optimized PXs. 2013-07-15 13:39:05 +02:00
Gaetan Delannay 25b4edfc1d [gen] Moved Appy fields into appy/fields together with their PX. 2013-07-08 23:39:16 +02:00
Gaetan Delannay 2b5d286668 [gen] On Page instances, one may now define a method for conditionnally showing the 'edit' button on 'view' layout. [gen] An app may now, on its Config class, define a method getHomeObject that must return an object that will be the home object for a given (class of) user(s). This object's menu will appear when the user is consulting a page with no tied menu (like a search for example). [gen] More ZPT->PX work. 2013-06-28 15:00:02 +02:00
Gaetan Delannay e6cacd10dd [px] Better error reporting when encountering a parsing error in a PX. 2013-06-26 17:06:06 +02:00
Gaetan Delannay 1bc2a2f890 [gen] More buttons replacing simple icons. 2013-06-25 19:37:21 +02:00
Gaetan Delannay b5136c59c1 [gen] Some actions were triggered via icons. That was not explicit enough for basic users. So now, every action is triggerd by a button that displays an icon+a text. 2013-06-25 17:34:17 +02:00
Gaetan Delannay 086f93e845 [gen] Added the posssibility to create a custom widget that displays an icon for generating a doc from a pod field, but with an additional param allowing to customize the pod context. 2013-06-20 17:35:52 +02:00
Gaetan Delannay 5a50d07e54 [gen] Replaced attributes tool.enableAdvancedSearchForX by klass.searchAdvanced.show. 2013-06-07 16:37:00 +02:00
Gaetan Delannay 7049e4780e [gen] Improvement in the management of Unauthorized exceptions. 2013-05-31 09:59:25 +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 820d3ef241 [gen] Added Config.discreetLogin allowing to put a discreet link on the main page for logging in, instead of the login form in the central strip, for sites where logged users do not represent the majority of visitors (only some admins). 2013-05-10 12:16:57 +02:00
Gaetan Delannay 97ddf7a2c4 [gen] Bugfix: do not show the Calendar widget (search and edit layouts) if field.calendar is False. 2013-04-30 11:45:31 +02:00
Gaetan Delannay a94d400d03 [pod] Bugfix: error when a pod template does not have a 'mimetype' file inside (https://bugs.launchpad.net/bugs/1173009); bugfix: error when parsing some ods pod templates: some cells do not have attribute 'office:value-type' (see bug https://bugs.launchpad.net/bugs/1173301). [gen] Added a basic integration of gen applications with Google Analytics. 2013-04-29 21:32:05 +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 0a8e06f1d9 [gen] Various bugfixes. 2013-04-16 19:56:47 +02:00
Gaetan Delannay fb40913ef5 [gen] Added a doctype in the standard Appy template. 2013-04-12 08:38:33 +02:00
Gaetan Delannay d480e58d01 [gen] UI improvements. 2013-04-11 16:01:52 +02:00
Gaetan Delannay 1d2a19a1c6 [gen] Minor updates. 2013-04-09 10:57:21 +02:00
Gaetan Delannay 2869d0382f [bin] Added a new script odfGrep.py that allows to search for some pattern within odt and ods files. 2013-04-03 13:10:23 +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 c87db8d167 [gen] In the process of upgrading to ckeditor 4.1. 2013-03-25 14:53:02 +01:00
Gaetan Delannay 2a145ac890 [px] PXs can be called by other PXs. 2013-03-22 12:52:24 +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 e0cef5eed5 Removed test code. 2013-03-16 00:06:28 +01:00
Gaetan Delannay bf98b2cdf2 [px] Implemented attribute values containing Python expressions, and errors management. 2013-03-16 00:02:16 +01:00