Commit graph

344 commits

Author SHA1 Message Date
Gaetan Delannay f091b25c98 [gen] One can now specify a different source language for every translation. 2013-01-09 10:46:14 +01:00
Gaetan Delannay 6ee3d6ded9 [gen] Bugfix. 2013-01-09 09:14:57 +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
Gaetan Delannay 6caeeb1761 [gen] Prepared for showing changes on every field. 2013-01-08 13:29:21 +01:00
Gaetan Delannay 7b94bfb85e [gen] Bugfix for result-tied POD templates. 2013-01-08 13:28:35 +01:00
Gaetan Delannay 240ce59519 [gen] Allow to display, in history, differences between successive versions of XHTML fields via appy.shared.diff.HtmlDiff (which was not integrated to appy.gen until now). Improved rendering of XHTML fields. [pod] bugfix while generating filenames for files included into pod results. 2013-01-07 15:30:13 +01:00
Gaetan Delannay 6c832e43bb [shared] utils.py.FileWrapper: added method 'copy' to get a copy of a file. 2012-12-21 11:38:19 +01:00
Gaetan Delannay bba7c589be [shared] Added appy.shared.data.vatEuroCountries, which is the list of countries of the euro zone. 2012-12-20 16:09:05 +01:00
Gaetan Delannay 6d0d2ea591 [gen] Bugfix: generate i18n label even for transitions for which show is False, because the label will be used within object's history. 2012-12-19 10:01:31 +01:00
Gaetan Delannay 446a2d9a16 [gen] Bugfixes. 2012-12-18 22:49:26 +01:00
Gaetan Delannay 70b18f597f [gen] Added config param 'enableSessionTimeout' for enabling/disabling session timeout (disabled by default). 2012-12-15 23:36:56 +01:00
Gaetan Delannay 1e3a8ba351 [shared] Converted files with country codes to UTF-8. 2012-12-14 14:50:23 +01:00
Gaetan Delannay 0dae8b1888 [gen] Added the possibility to span widgets on several columns on the search screen (param Field.scolspan). 2012-12-14 09:23:33 +01:00
Gaetan Delannay 3f75d14e92 [gen] Bugfix: it is now possible to generate indexes on back references. 2012-12-13 10:45:25 +01:00
Gaetan Delannay 4db5e9d995 [gen] Bugfixes. 2012-12-12 17:26:01 +01:00
Gaetan Delannay ba5bc76548 [bin] Added a script for creating a local Debian repository. 2012-12-11 22:50:21 +01:00
Gaetan Delannay d0da6740b1 [pod] Bugfix for https://bugs.launchpad.net/appy/+bug/1083533 (thanks Gauthier). 2012-12-07 12:05:39 +01:00
Gaetan Delannay 68ae08b75a [gen] Simplified management and rendering of phases. 2012-12-07 11:23:08 +01:00
Gaetan Delannay 823ada17da [gen] Bugfix. 2012-12-05 17:47:19 +01:00
Gaetan Delannay 6061060c49 [doc] Updated doc. Ready for publishing a new version of appyframework.org (at least I think :)) 2012-12-03 16:18:24 +01:00
Gaetan Delannay ed3a31ff29 [gen] Bugfix in the Calendar field. 2012-12-03 09:33:19 +01:00
Gaetan Delannay 387fbaea7c [gen] Ergonomic improvements: added a breadcrumb, more compact design. 2012-11-29 20:45:21 +01:00
Gaetan Delannay 3ec1270fc2 [gen] Added appy.gen.Pod.rLayouts, a default layout for rendering POD templates on query result pages; various security and bugfixes. 2012-11-26 13:58:27 +01:00
Gaetan Delannay c3aa01a554 [gen] Added the possility to get an XML version of every object by calling URL <objectUrl>/xml; added the possiblity to call any method on any object by calling <objectUrl>?do=myMethod and retrieve the result as XML. 2012-11-23 15:20:12 +01:00
Gaetan Delannay 5269b278f7 [gen] It is now possible to define, via method 'getDynamicSearches', dynamic searches for a class. 2012-11-14 17:40:52 +01:00
Gaetan Delannay 4872e5d8b8 [gen] Searches can now be grouped into groups of groups of..., creating a tree structure in the portlet. 2012-11-14 11:36:48 +01:00
Gaetan Delannay 6cf29778b6 [gen] Calendar: added a method for retrieving events from a calendar. 2012-11-08 22:39:22 +01:00
Gaetan Delannay 0dd870c042 [gen] Allow to use class Group as parameter of Search.group (soon, we will be able to get groups of groups of groups... of searches, to produce a tree of searches); refactored i18n-related code. 2012-11-06 11:32:39 +01:00
Gaetan Delannay fcb1d36da0 [gen] Remove attributes showWorkflowFor...; buttons for triggering workflow transitions are not located besides the standard actions (icons): edit, save, etc. 2012-11-05 13:12:18 +01:00
Gaetan Delannay 21585df6a1 [gen] Added an index 'Modified' on every object (it represents the date of the last modification); removed obsolete workflow-related code; removed attributes Tool.showAllStatesInPhaseFor...; changed the way to display the object's current state in the UI. 2012-11-05 10:21:27 +01:00
Gaetan Delannay f31cbc4d12 [gen] for Type.shownInfo and tool.resultColumns..., added the possibility to define the name, width and alignment of every column (=notion of 'column layout'). 2012-11-02 22:27:54 +01:00
Gaetan Delannay 4a69a3beb2 [gen] For Strings with validator=String.URL, an HTML link is rendered in view layouts; added a 'real' 'state' field to any Appy class, allowing to use it in search screens for example; added 2 hook methods: getIcons and getSubTitles, allowing to add, in lists of objects (Refs or queries), icons besides the title and anything below it; optimized query.pt: for every new query, 1 server request is done (previously, one standard request + one ajax request were done); removed columns 'actions' (Refs, query): action icons are not included in the column containing the title (we avoid having empty columns whhen no action is available). 2012-10-31 21:17:31 +01:00
Gaetan Delannay 7240561f7f [gen] Added param Search.default allowing to define a default Search. The default search, if present, will be triggered when clicking on the main link for a class, instead of the query that collects all instances of this class; appy.gen.Type: removed 3 obsolete params: 'index', 'editDefault' and 'optional'. For achieving the same result than using 'editDefault', one may define 'by hand' an attribute on the Tool for storing the editable default value, and define, on the appropriate field in param 'default', a method that returns the value of the tool attribute; Added Type.defaultForSearch, allowing, for some sub-types, to define a default value when displaying the corresponding widget on the search screen; added a default 'state' field allowing to include workflow state among search criteria in the search screens; removed obsolete test applications. 2012-10-31 13:20:25 +01:00
Gaetan Delannay 1505264887 [gen] Bugfix for IE in master/slave relationships. Calendar field: added 2 params: 'preCompute' allows to specify a method that is called once every time a month is shown and whose result can be accessed by other methods; 'applicableEvents' allows to specify, for every day, a list of applicable events which can be a sub-set of all aplicable events (or event nothing). 2012-10-30 05:53:45 +01:00
Gaetan Delannay caca61516f [bin] job.py: if the specified user does not exist in the DB, try with a user named 'admin'; [gen] Calendar: allow to insert additional, custom (XHTML or textual) info in any cell of the calendar, via new attribute Calendar.additionalInfo; [pod] some code refactoring; xhtml2odt: allow, when converting tables, to take into account attributes 'width' of tds; bugfix when converting 'href' attrs of 'a' tags. 2012-10-26 13:09:44 +02:00
Gaetan Delannay ba148c51aa [gen] Calendar: display weekend days in a special way. 2012-10-18 20:57:03 +02:00
Gaetan Delannay 614ce576af [gen] Calendar field: added the possibility to define a start and or end date for defining a specific date range; also added param 'defaultDate' (by default=now): when the calendar is shown for the 1st time, it shows the month where this date is included. 2012-10-13 18:09:42 +02:00
Gaetan Delannay 856cda9031 [gen] Calendar field: added the possibility to define eventTypes dynamically: eventTypes can therefore be anything, ie object UIDs. 2012-10-12 16:36:04 +02:00
Gaetan Delannay 9954edf71a [gen] Improved performance of the Ref field and added an icon for dissociating referred objects. 2012-10-08 10:08:54 +02:00
Gaetan Delannay 872b77208b [gen] Optimized Ref: do not ajax-call the Ref view macro when displaying a complete page; added Ref.changeOrder to enable/disable (independently from write permission) the possibility to sort or change order of referred objects. 2012-10-07 11:26:55 +02:00
Gaetan Delannay 82a8ac99b4 [gen] Calendar: added the possibility in some calendar to view events from another calendar. 2012-10-06 07:22:24 +02:00
Gaetan Delannay fdd9f4c375 [gen] Take into account Calendar.maxEventLength. 2012-10-06 05:20:35 +02:00
Gaetan Delannay 64e1ace32c [gen] Bugfixes in the management of indexes. 2012-10-05 16:38:15 +02:00
Gaetan Delannay 7a38892cee [gen] Missing i18n in Ref field. 2012-10-04 16:17:30 +02:00
Gaetan Delannay 93bde7a0f5 [gen] Added a new calendar field, allowing to add a single (typed) event by day. 2012-10-03 14:44:34 +02:00
Gaetan Delannay 3bd66e3264 [gen] Indexing machinery: bugfixes (Ref index). 2012-09-26 23:32:57 +02:00
Gaetan Delannay 8d1a88bd27 [shared] xml_parser.XmlParser: added param 'raiseOnError' allowing to raise or not an exception when a SAX fatal parsing error is encountered; [gen] fine-tuned indexing machinery with more accurate text extraction from text and xhtml fields. 2012-09-26 23:13:02 +02:00
Gaetan Delannay a2ae839704 [gen] Added the possiblity to extract in a clean way text from XHTML field values. 2012-09-25 21:43:45 +02:00
Gaetan Delannay d3e2478d6b [gen] Added some default page and field layouts. 2012-09-24 16:32:16 +02:00
Gaetan Delannay 4d9823a59a [gen] Bugfix in the standard banner for RTL languages. 2012-09-20 15:43:53 +02:00