da4f502ddc[gen] appyclass.getIcons now receives the nav param, in case one wants to reproduce, on an icon or a picture, the link to the element. For example, on a artist's site that presents its artworks, getIcons can be used to create a clickable link to a small version of the artwork, that leads to the full-size picture. Bugfix in result.pt (numbering of elements in the grid view).
Gaetan Delannay
2013-03-10 08:29:53 +0100
c5ec54f0e5[gen] Added field appyclass.breadcrumb, allowing to show/hide the breadcrumb when displaying instances of this class; added field appyclass.resultMode, allowing to choose between 'list' or 'grid' mode (previously, only list mode was enabled) when showing instances of this class as a result of some query.
Gaetan Delannay
2013-03-09 16:06:12 +0100
46f5b8e464[gen] Removed obsolete code; a Page instance that does not have sub-pages does not show the portlet.
Gaetan Delannay
2013-03-08 16:16:25 +0100
b717a001d4[gen] added tool.sendMail as an easy access method for function appy.gen.mail.sendMail.
Gaetan Delannay
2013-02-28 23:00:06 +0100
7be0a7789d[gen] icons.pt can now be configured even for anonymous users.
Gaetan Delannay
2013-02-24 17:49:07 +0100
86fc234311[doc] Forgot to commit new images.
Gaetan Delannay
2013-02-22 16:18:17 +0100
08248cf58f[doc] Updated pod.html with an explanation about how rendering spreadsheet-based (ODS) templates.
Gaetan Delannay
2013-02-22 12:12:19 +0100
cf707cd122[gen] Bugfixes for IE8.
Gaetan Delannay
2013-02-22 09:54:23 +0100
070e5042fd[gen] Bugfixes with IE8 and JS function 'getElementsByName'.
Gaetan Delannay
2013-02-21 19:04:47 +0100
c91f7477d9[gen] Added a link to the home page for anonymous users; resized fields 'login' and 'password'.
Gaetan Delannay
2013-02-19 17:38:15 +0100
34b0b13f84[gen] Bugfix while generating the Translation class (page 'main' was not viewable because of field 'trToTool' for which page.show was False for an unknown reason).
Gaetan Delannay
2013-02-19 16:48:35 +0100
f6b2afc423[gen] Added params Type.swidth and Type.sheight to allow for different sizes for the search widgets.
Gaetan Delannay
2013-02-19 09:57:02 +0100
24089ef674[gen] Improved search abilities. [pod] Bugfix: import several times an image from the same URL.
Gaetan Delannay
2013-02-18 15:03:26 +0100
2307a284cc[gen] Wrapper.reindex: allow to specify attribute 'fields' containing the list of fields that must be reindexed. If not given, all object fields are reindexed. [pod] POD ODS templates: into POD results from ODS templates, Python expressions that produce ints, floats or dates (Zope DateTime only for the moment) produce cells with typed values.
Gaetan Delannay
2013-02-06 17:15:01 +0100
43261fde60[pod+gen] Added POD rendering based on ODS templates. Integrated with gen.
Gaetan Delannay
2013-02-05 08:51:25 +0100
d5d99b67eb[pod] Performance improvement: stop computing tag names, create a dict of precomputed tags before starting parsing.
Gaetan Delannay
2013-01-31 12:50:25 +0100
ad94fee755[gen] First draft of using POD ODS (Calc) templates.
Gaetan Delannay
2013-01-31 00:11:24 +0100
47bcf87a5c[pod] Use, when available, Python's uuid module to generate images and file names to be included in pod results.
Gaetan Delannay
2013-01-23 11:47:50 +0100
5d31bc10db[pod] Changed the way pod results are re-zipped, in order to be compliant with section 17.4 of the OpenDocument format specification (bug https://bugs.launchpad.net/appy/+bug/1101237).
Gaetan Delannay
2013-01-22 16:34:29 +0100
cb77418dda[gen] Stop using param 'cmp' in method [].sort (deprecated in Python3). Used para 'key' instead.
Gaetan Delannay
2013-01-22 09:12:00 +0100
b3ff087e8f[gen] Added, on edit.pt (the unique Appy form) a handler window.onbeforeunload to warn the user that data can be lost or a lock can stay on the object.
Gaetan Delannay
2013-01-18 14:32:29 +0100
bdf41adf36[gen] First draft of a system for locking pages when editing it.
Gaetan Delannay
2013-01-14 16:58:30 +0100
27197f5b9d[gen] Bugfix in generation of back reference for predefined Refs from model.py; bugfix while editing XHTML fields from class model.py::Page; bugfixes in the XhtmlCleaner.
Gaetan Delannay
2013-01-11 17:16:36 +0100
b76af3e0c2[gen] Allow Managers to delete data change events if things go wrong.
Gaetan Delannay
2013-01-11 10:52:54 +0100
90e46f11e7[gen] Bigfixees in cleaning of XHTML fields.
Gaetan Delannay
2013-01-10 15:59:01 +0100
f4e40caf5c[gen] Bugfixes in historization.
Gaetan Delannay
2013-01-10 11:47:39 +0100
c863b47db5[gen] field.history can now be a method. This way, historization can be enabled/disabled, field by field, according to any custom condition.
Gaetan Delannay
2013-01-10 10:56:22 +0100
f091b25c98[gen] One can now specify a different source language for every translation.
Gaetan Delannay
2013-01-09 10:46:14 +0100
ab00917df6[gen] Allow to show the cumulative differences performed on historized String fields with format=String.XHTML.
Gaetan Delannay
2013-01-08 16:58:29 +0100
6caeeb1761[gen] Prepared for showing changes on every field.
Gaetan Delannay
2013-01-08 13:29:21 +0100
7b94bfb85e[gen] Bugfix for result-tied POD templates.
Gaetan Delannay
2013-01-08 13:28:35 +0100
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.
Gaetan Delannay
2013-01-07 15:30:13 +0100
6c832e43bb[shared] utils.py.FileWrapper: added method 'copy' to get a copy of a file.
Gaetan Delannay
2012-12-21 11:38:19 +0100
bba7c589be[shared] Added appy.shared.data.vatEuroCountries, which is the list of countries of the euro zone.
Gaetan Delannay
2012-12-20 16:09:05 +0100
6d0d2ea591[gen] Bugfix: generate i18n label even for transitions for which show is False, because the label will be used within object's history.
Gaetan Delannay
2012-12-19 10:01:31 +0100
70b18f597f[gen] Added config param 'enableSessionTimeout' for enabling/disabling session timeout (disabled by default).
Gaetan Delannay
2012-12-15 23:36:56 +0100
1e3a8ba351[shared] Converted files with country codes to UTF-8.
Gaetan Delannay
2012-12-14 14:50:23 +0100
0dae8b1888[gen] Added the possibility to span widgets on several columns on the search screen (param Field.scolspan).
Gaetan Delannay
2012-12-14 09:23:33 +0100
3f75d14e92[gen] Bugfix: it is now possible to generate indexes on back references.
Gaetan Delannay
2012-12-13 10:45:25 +0100
6061060c49[doc] Updated doc. Ready for publishing a new version of appyframework.org (at least I think :))
Gaetan Delannay
2012-12-03 16:18:24 +0100
ed3a31ff29[gen] Bugfix in the Calendar field.
Gaetan Delannay
2012-12-03 09:33:19 +0100
387fbaea7c[gen] Ergonomic improvements: added a breadcrumb, more compact design.
Gaetan Delannay
2012-11-29 20:45:21 +0100
3ec1270fc2[gen] Added appy.gen.Pod.rLayouts, a default layout for rendering POD templates on query result pages; various security and bugfixes.
Gaetan Delannay
2012-11-26 13:58:27 +0100
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.
Gaetan Delannay
2012-11-23 15:20:12 +0100
5269b278f7[gen] It is now possible to define, via method 'getDynamicSearches', dynamic searches for a class.
Gaetan Delannay
2012-11-14 17:40:52 +0100
4872e5d8b8[gen] Searches can now be grouped into groups of groups of..., creating a tree structure in the portlet.
Gaetan Delannay
2012-11-14 11:36:48 +0100
6cf29778b6[gen] Calendar: added a method for retrieving events from a calendar.
Gaetan Delannay
2012-11-08 22:39:22 +0100
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.
Gaetan Delannay
2012-11-06 11:32:39 +0100
fcb1d36da0[gen] Remove attributes showWorkflowFor...; buttons for triggering workflow transitions are not located besides the standard actions (icons): edit, save, etc.
Gaetan Delannay
2012-11-05 13:12:18 +0100
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.
Gaetan Delannay
2012-11-05 10:21:27 +0100
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').
Gaetan Delannay
2012-11-02 22:27:54 +0100
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).
Gaetan Delannay
2012-10-31 21:17:31 +0100
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.
Gaetan Delannay
2012-10-31 13:20:25 +0100
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).
Gaetan Delannay
2012-10-30 05:53:45 +0100
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.
Gaetan Delannay
2012-10-26 13:09:44 +0200
ba148c51aa[gen] Calendar: display weekend days in a special way.
Gaetan Delannay
2012-10-18 20:57:03 +0200
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.
Gaetan Delannay
2012-10-13 18:09:42 +0200
856cda9031[gen] Calendar field: added the possibility to define eventTypes dynamically: eventTypes can therefore be anything, ie object UIDs.
Gaetan Delannay
2012-10-12 16:36:04 +0200
9954edf71a[gen] Improved performance of the Ref field and added an icon for dissociating referred objects.
Gaetan Delannay
2012-10-08 10:08:54 +0200
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.
Gaetan Delannay
2012-10-07 11:26:55 +0200
82a8ac99b4[gen] Calendar: added the possibility in some calendar to view events from another calendar.
Gaetan Delannay
2012-10-06 07:22:24 +0200
fdd9f4c375[gen] Take into account Calendar.maxEventLength.
Gaetan Delannay
2012-10-06 05:20:35 +0200
64e1ace32c[gen] Bugfixes in the management of indexes.
Gaetan Delannay
2012-10-05 16:38:15 +0200
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.
Gaetan Delannay
2012-09-26 23:13:02 +0200
a2ae839704[gen] Added the possiblity to extract in a clean way text from XHTML field values.
Gaetan Delannay
2012-09-25 21:43:45 +0200
d3e2478d6b[gen] Added some default page and field layouts.
Gaetan Delannay
2012-09-24 16:32:16 +0200
4d9823a59a[gen] Bugfix in the standard banner for RTL languages.
Gaetan Delannay
2012-09-20 15:43:53 +0200
6367924b05[gen] Added a i18n label used for the title of web pages and added a default favicon and the possibility to override it.
Gaetan Delannay
2012-09-20 09:37:33 +0200
9872f8ea66[doc] Continued work on doc, website and look.
Gaetan Delannay
2012-09-13 14:43:40 +0200
dc76ca542a[doc] In the process of updating documentation and website.
Gaetan Delannay
2012-09-12 00:23:34 +0200
6801188496[gen] ckeditor now works with IE.
Gaetan Delannay
2012-09-10 11:44:22 +0200
c2eaab4b44[gen] Cleaner and more robust approach when using Zope database indexes.
Gaetan Delannay
2012-09-04 18:00:22 +0200
5c2d94236f[doc] In the process of refreshing documentation and website.
Gaetan Delannay
2012-08-24 16:39:45 +0200
812bda7452[gen] Added some layouts for Ref fields in Ref.wLayouts and Ref.wdLayouts; added a new, simpler way of defining auto-references (=Ref fields that refer to the class containing the field), via method appy.gen.autoref; stop catching exceptions raised by Actions (so a partial action can't be committed anymore).
Gaetan Delannay
2012-08-21 19:57:23 +0200
61b0ed2fce[gen] Minor updates.
Gaetan Delannay
2012-08-17 17:12:15 +0200
31a0268641[gen] Do not generate base label for a workflow transition if transition.show is False; added an alternative predefined layout for pages (including summary, which is absent by default); [pod] added a default POD style 'podPageBreak' allowing to include page breaks via do... from... statements.
Gaetan Delannay
2012-08-14 16:05:02 +0200
256f6acb55[gen] More accurate error reporting for Action fields.
Gaetan Delannay
2012-08-07 09:46:27 +0200
47cd8ee277[gen] Add param Config.activateForgotPassword to allow to disable this functionality for sites where the email of users may be unknown.
Gaetan Delannay
2012-07-27 11:01:35 +0200