Commit graph

91 commits

Author SHA1 Message Date
Gaetan Delannay 4009cf824c [gen] Bugfix: getFormattedValue must produce a different value for strings with format=TEXT depending on the layout type. 2015-03-06 15:54:14 +01:00
Gaetan Delannay 09bf03f9bf [gen] Calendar field: added a validation mechanism. 2015-03-04 14:35:02 +01:00
Gaetan Delannay bf4a781b5a [gen] Ref field bugfix. 2015-02-23 15:02:19 +01:00
Gaetan Delannay 1f34156437 [gen] List field: bugfix with empty-like values (integer 0 for example). Ref field: bugfix: add a tied object with noForm=True. Calendar: added param 'delete' allowing to define who can delete what event type in the calendar. Added method 'clone' on class appy.Object. 2015-02-19 13:40:12 +01:00
Gaetan Delannay 0b4e78bf83 [gen] Removed pxViewPickList, replaced by a recursive call pxView->pxView. 2015-02-17 12:50:44 +01:00
Gaetan Delannay 8b90d877a8 [gen] Bugfixes. 2015-02-17 08:58:04 +01:00
Gaetan Delannay f842c0ce02 [gen] Replaced old-style JS calls to 'askAjaxChunk' to calls to 'askAjax'. 2015-02-13 17:29:51 +01:00
Gaetan Delannay 40e3612682 [gen] New ajax system: more bugfixes. 2015-02-05 14:05:29 +01:00
Gaetan Delannay d23b9be5e5 [gen] New ajax system: bugfixes. 2015-02-05 05:21:51 +01:00
Gaetan Delannay a6645f33ff [gen] FInalized ajaxification of search rows and rows of tied objects in Refs. 2015-02-04 18:33:27 +01:00
Gaetan Delannay 988626e3f2 [gen] Bugfixes in appy.js. 2015-02-04 10:23:40 +01:00
Gaetan Delannay 45192ca4bc [gen] Ajaxified query result and tied object rows. 2015-02-04 09:27:07 +01:00
Gaetan Delannay 1bd6cf29a3 [gen] Modified Ajax system to be able to ajax-refresh a single row within query results or ref tied object (ongoing work). 2015-02-03 10:56:15 +01:00
Gaetan Delannay 9d6aa23ae6 [gen] Changes in the way binary files are downloaded. 2015-01-29 16:36:43 +01:00
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 73f81d9304 [gen] Bug and performance fixes in the authentication mechanism. 2015-01-26 14:10:50 +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 34cafcdbc1 [gen] Improvements in the rendering of buttons throughout the web UI. [gen] Ref field and Search: added param 'showActions' allowing to show or not the range of icons and buttons below or besides every tied or queried object. 2015-01-19 15:44:09 +01:00
Gaetan Delannay 1730ce3c19 [pod] In an ods template, you can now define a variable 'columnsRepeated' that specifies, for every column of the table representing a spreadsheet, how much times it will be repeated bysubsequent 'for... cell' statements. For example, if you have a spreadsheet with 2 columns, and you will need to repeat the second one 100 times, define a statement 'do table with columnsRepeated=(1,100)'. If you don't do that, pod will be unable to guess what column must be repeated and how, will consider your table has having 2 columns and will produce a resulting table spreading the cells within a 2-columns wide table. 2015-01-13 17:02:59 +01:00
Gaetan Delannay bccc9c8320 [gen] Ensure the tool can't be deleted. [gen] Wrapper.sort can now sort according to param field.insert if sortKey is None. 2015-01-08 13:18:14 +01:00
Gaetan Delannay 90657e0faf [gen] Executng actions from list of tied objects (ref field): bugfix. 2015-01-07 18:20:48 +01:00
Gaetan Delannay 746a6cd52d [gen] Display action fields with layout 'buttons' in query results and tied objects for refs, besides transitions. [gen] Show delete button when allowed on the view layout. [gen] Improved method AbstractWrapper::createFrom. 2015-01-06 21:13:30 +01:00
Gaetan Delannay 8591611aac [gen] Added param Field.mustIndex, that, for indexed fields, defines (via a method) when indexation must occur or not. Indeed, in some cases, an index is required on some field but we don't want all objects to have an index value for this field at any time. 2014-12-26 17:29:14 +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 12836a40dc [gen] Ref field: param 'shownInfo' can now be a method. 2014-12-09 09:27:40 +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 c11002b7d5 [gen] Class.listColumns can now be a static method (accepting the tool as single arg). [gen] Indexed Ref fields are now sortable. For every such field, 2 indexes are created: a list index for searching, and a standard index for sorting (by their title). 2014-11-28 14:42:32 +01: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 a16871f4b5 [gen] Ref field: added a confirmation popup when the user wants to sort the ref. Indeed, most users think it is like sorting query results: they are not conscious it is a permanent change in the database, with effect for all users. 2014-10-07 15:03:07 +02:00
Gaetan Delannay 5ac8e71a6f [gen] Bugfix: ref field: empty index value [''] could be stored within the db, as the real value. Added field.setSlave allowing to lazy-define master/slave relationships. 2014-10-06 12:51:40 +02:00
Gaetan Delannay 1455a74056 [shared] xml_parser::XmlUnmarshaller: bugfix: in non-utf8 mode. 2014-10-03 19:56:34 +02:00
Gaetan Delannay abe56a5add [gen] Ref.linkObject and unlinkObject (and caller methods like wrapper.create) can now be called with attr 'executeMethods' being False: in this case, all methods defined in attrs like 'insert', 'beforelink', 'afterLink' will not be called. Can be useful while migrating data or duplicating objects. 2014-09-29 10:06:40 +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 4d12293dc8 [gen] Added wrapper.createFrom, similar to wrapper.create, but allows to create an object with data from another object (kind of 'duplicate' functionality). 2014-09-14 21:40:35 +02:00
Gaetan Delannay 71bc58a8b0 [gen] While <obj>.<fieldName> allows to get the 'DB' value of some field, <obj>.getValue allows to get a variant of it, ie, the formatted version (via an internal call to field.getFormattedValue). 2014-09-08 15:13:18 +02:00
Gaetan Delannay 8aed007623 [gen] Bugfixes: handle multilingual titles in queries, references, breadcrumbs... 2014-09-06 15:20:59 +02:00
Gaetan Delannay fdb8b92fcb [gen] Ref.numbered: when clicking on the number, it gets selected automatically: when hitting then 'enter' key it has the same effect as clickin on the 'move' image. 2014-07-31 17:04:08 +02:00
Gaetan Delannay 302d54c7ce [gen] Positioned checkboxes on the left. 2014-07-29 19:21:37 +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 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 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 8511bcd675 [gen] Bugfixes. 2014-06-24 21:05:01 +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 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 6494bf22c7 [gen] Added some utility methods. 2014-06-01 11:44:07 +02:00