Commit graph

160 commits

Author SHA1 Message Date
Gaetan Delannay c1174fac79 appy.gen: solved a tricky encoding problem. 2011-12-08 16:01:57 +01:00
Gaetan Delannay d5f26dd1df appy.gen: bugfixes. 2011-12-05 18:15:45 +01:00
Gaetan Delannay c5a8968bd3 appy.gen: Refactoring due to De-Plonization. 2011-12-05 15:11:29 +01:00
Gaetan Delannay d934f49a99 appy.gen: refactoring due to De-Plonization. 2011-12-05 10:52:18 +01:00
Gaetan Delannay 6733f4c7dc appy.gen: various bugfixes (creation of ZCTextIndexes and of the associated lexicon...). 2011-12-01 20:53:13 +01:00
Gaetan Delannay a321257e55 appy.gen: Ploneless version. 2011-11-28 22:50:01 +01:00
Gaetan Delannay d0cbe7e573 appy.gen: first Ploneless version. 2011-11-25 18:01:20 +01:00
Gaetan Delannay 8e1760842e appy.gen: Type 'float': added the possibility to define a separator for thousands; bugfixes in master/slave relationships; permission-related bugfix while creating objects through AbstractWrapper.create; appy.shared.diff: more improvements (still ongoing work). 2011-11-10 21:59:02 +01:00
Gaetan Delannay 040cdafb8c appy.gen: use appy.shared.utils.formatNumber function; visual bugfix while displaying boolean fields; appy.shared.dav: error bugfix in error handling; appy.shared.utils: added french-accents-aware functions lower and upper; appy.shared.xml_parser: bugfix while managing 'any' tags. 2011-11-03 16:14:23 +01:00
Gaetan Delannay 331db304e7 appy.gen: bugfixes in List field and in master-slave relationships. 2011-10-27 17:55:17 +02:00
Gaetan Delannay 3ab6cec7d6 appy.gen: generalized use of appy.Object; existence of a field value (that triggers search for a default value) is now based on Type.isEmptyValue, and not '==None'; bugfix with default values for List fields; prevent search icon to be shown for a Ref when there is no linked object; appy.pod: added class appy.pod.parts.OdtTable that allows to create a complex (ie, with a dynamic number of columns) table programmatically (to be imported with a statement 'do ... from'); appy.shared.diff: improvements in the multiple XHTML diff; appy.shared.xml_parser.XmlMarshaller: support for default namespaces and 'any' tags. 2011-10-26 10:21:09 +02:00
Gaetan Delannay c11378c747 appy.gen: added a widget 'List' for rendering grids of data. 2011-10-19 09:37:44 +02:00
Gaetan Delannay f1136eb786 appy.gen: ugly Zope acquisition-related bugfix; bugfix while rendering file widgets. 2011-10-11 17:32:23 +02:00
Gaetan Delannay f13b7ea307 appy.gen: various bugfixes and minor improvements. 2011-10-06 16:27:58 +02:00
Gaetan Delannay 4b44f8d565 appy.gen: bugfixes in Ref fields, IE CSS and master/slave relationships. 2011-10-04 20:12:58 +02:00
Gaetan Delannay e821307b4c appy.gen: reimplemented master/slave-related Javascript code without Plone queryCss. 2011-10-01 22:40:13 +02:00
Gaetan Delannay c9353b46db appy.gen: integrated tinyMCE; appy.gen: Ref.shownInfo can now specify column widths (ie, 'title*70%'); appy.gen: updated default page and field layouts; appy.gen: stop generating label for back references it not needed. 2011-09-28 21:17:15 +02:00
Gaetan Delannay 93619dafe1 appy.gen: reworked management of Ref fields, that do not use Archetypes and reference catalog anymore. appy.gen: added a mechanism for migrating from one Appy version to another, automatically, when reinstalling an Appy application. 2011-09-26 21:19:34 +02:00
Gaetan Delannay eceb9175fd appy.bin: backup.py: added the possibility to define login and password for SMTP authentication (the script allows to send mail); appy.pod: added the possibility to specify size of images to import (see https://answers.launchpad.net/appy/+question/171846). 2011-09-24 12:53:33 +02:00
Gaetan Delannay 96a592f125 appy.pod: bugfix when importing images under Windows (https://answers.launchpad.net/appy/+question/171611); appy.gen: bugfix while validating file fields which are mandatory; stopped using uid_catalog and added index 'UID' in portal_catalog; bugfix while searching objects in the limits of a Ref field; display user info in the main template (name, id, roles); when creating an object from a reference, after creation, appy brings the user back to the view page where the Ref field was. 2011-09-20 19:21:48 +02:00
Gaetan Delannay 7ff56a6520 Continued work on new Appy GUI. 2011-09-18 15:00:05 +02:00
Gaetan Delannay 48acf65bdc appy.gen: continued work on Appy-specific template. 2011-09-15 15:52:21 +02:00
Gaetan Delannay b6dcc42038 appy.gen: use new index 'getState' for indexing object states; reduced size of generated file config.py; optimized debug mode: class reload is not done automatically: a 'refresh' icon is available on view and edit views. 2011-09-14 21:01:58 +02:00
Gaetan Delannay 9258b76bdf appy.gen: do not generate _action_ok and action_ko i18n messages anymore; added param Group.label, similar to Type.label; allowed to specify in param Group.wide any table width. 2011-09-11 01:59:22 +02:00
Gaetan Delannay 5be03c2ed4 appy.gen: bugfixes in the new workflow engine and in macro 'history'. 2011-09-09 17:39:58 +02:00
Gaetan Delannay 1cd9aaaf69 appy.gen: implemented a variant of Zope's 'has_permission' in method called 'mixin.allows', which does not make some assumptions, like the fact that an admin is Owner of any object or the fact that an Authenticated user has also role Anonymous; added button 'refresh security' for refreshing security information on every database object (it is needed because Zope requires us to duplicate security info on every object). 2011-09-08 16:33:16 +02:00
Gaetan Delannay d2d3f9a745 appy.gen: removed from some pages superfluous translations of inexistent labels. 2011-09-07 09:56:53 +02:00
Gaetan Delannay b9c6283d9e appy.gen: stopped generating properties on wrapppers by setting AbstractWrapper as new-style class and using __getattribute__. 2011-09-07 01:33:09 +02:00
Gaetan Delannay 3c95ac083d appy.gen: added, for every Type, param 'label' allowing to specify an existing i18n label (the one from another field for instance), thus avoiding to generate i18n labels for this Type; optimized generation of appyWrappers.py (more than twice less code). 2011-09-06 21:46:57 +02:00
Gaetan Delannay 7514eb31a9 appy.pod: bugfix in html2odt: in some situations, while using stylesMappings, some empty tags were present in the result, producing a superflous empty paragraph; bugfix while importing PNG files under Windows; appy.gen: began to implement a new global Appy-specific page template and styles. 2011-09-02 09:59:49 +02:00
Gaetan Delannay ddec7cd62c appy.gen: workflows are now implemented as full Appy worlflows. Plone (DC) workflow are not generated anymore. From the Appy user point of view (=developer), no change has occurred: it is a pure implementation concern. This is one more step towards Appy independence from Plone. 2011-07-26 22:15:04 +02:00
Gaetan Delannay 93eb16670b appy.gen: in the default context of any pod field, added function '_' corresponding to obj.translate; appy.gen: xhtml2odt bugfix: when a <div> was contained in <ol><li> or <ul><li>, the whole function ouput was an empty string. 2011-07-07 09:43:16 +02:00
Gaetan Delannay e38b78d10c appy.bin: job.py: allow to specify several commands to execute (to separate with semicolons); appy.gen: translate: added the possibility to escape XML special chars in translations; appy.pod: bugfix in buffers.write: if content is already utf-8-encoded it does not crash anymore. 2011-06-28 09:12:20 +02:00
Gaetan Delannay de8df53f42 appy.gen: xhtml2odt: better management of 'div' tag (considered exactly like a 'p' tag). 2011-06-17 01:44:42 +02:00
Gaetan Delannay 791ee42164 appy.gen: added a session invalidation mechanism: authenticated users will be automatically logged out when their Zope session will expire; improvements in the CodeAnalysis system: more Zope-related extensions are recognized: .vpy, .cpy for Python files, .cpt for Zope Page Templates. 2011-06-10 17:20:09 +02:00
Gaetan Delannay bce384e2da appy.gen: added param 'maxChars' for any Type, allowing to limit the amount of data in user input fields. Wherever possible, it is implemented using HTML attribute 'maxlength'; on server-side, content that is bigger than specified by maxChars is truncated (ie, it is not possible to force a maxlength for html textareas); implemented a first protection against XSS attacks (Javasscript detection in user input). 2011-05-05 16:44:06 +02:00
Gaetan Delannay 9e7ddcc771 appy.shared: added support for country codes (iso-3166-1) - appy.gen: non-string variables are now allowed in i18n variable replacements; bugfix while browsing translation pages with the 'next' arrows in 'edit' mode. 2011-04-26 20:49:33 +02:00
Gaetan Delannay 4e848ce0a8 appy.pod: added param 'stylesMapping' for the 'text' function (which calls 'xhtml' internally); appy.gen: bufgix in the translation system (translation of group-related labels); appy.shared.dav: bugfix while getting the 'content-type' HTTP header key; appy.shared.dav: smart error handling when parsing wrong XML content. 2011-04-15 11:26:20 +02:00
Gaetan Delannay 36237c3ee5 appy.gen: bugfix with the master/slave mechanism while launching Zope in debug mode; added boolean attribute Date.reverseYears allowing to display years in reverse order in the widgets for choosing the year; bugfix in Javascript code for hiding slave widgets with Google Chrome. 2011-03-25 18:03:45 +01:00
Gaetan Delannay a608a9b43f appy.gen: minor improvements and IE fixes in the GUI. 2011-03-24 16:21:57 +01:00
Gaetan Delannay e87547b789 appy.gen: bugfix while comparing values for historization purposes. 2011-03-22 16:45:46 +01:00
Gaetan Delannay 4fe5c5e164 appy.gen: bugfix in the validator for the default field 'UNO-enabled Python interpreter'; appy.pod: added default function 'text' that allows to dump a string containing carriage returns into the ODT, with statements like 'do... from text(someString)'; appy.pod: bugfix in the management of conflictual inner-tags in the odt2html conversion: in some cases (when style mappings are applied), empty tags that needed to be removed were not removed because of the presence of tag attributes. 2011-03-18 16:52:15 +01:00
Gaetan Delannay 66a02c453e appy.gen: every field can now define a dict of i18n mappings that will be used for translating their label and/or description and/or help message(s). 2011-03-04 10:30:45 +01:00
Gaetan Delannay fd9dd569db Registration of the default Zope profile does not seem to work anymore. It is probably due to Plone hot fix from 2011-02-08. Here we have implemented an alternative way to register the profile, which works even with the hotfix. 2011-03-03 09:55:20 +01:00
Gaetan Delannay 7294cc0c4d appy.gen: stop storing workflow task attribute '_v_appy_do' as a volatile attr in ZODB (renamed it '_appy_do'). It seems to be removed by a sub-transaction during a long transition. 2011-03-02 09:37:03 +01:00
Gaetan Delannay c7633ecc8b Bugfixes. 2011-02-28 19:30:17 +01:00
Gaetan Delannay 39321b2d38 Bugfix while displaying content of textarea-entered text (Strings with format=String.TEXT): for displaying again textarea content, I replaced 'backslash n' with html br tags, but in some cases carriage returns are stored as a sequence of 'backslah r' and 'backslah n' chars. In this case, 'backslash r' chars were left alone in the HTML page, producing sometimes strange behaviour within the browser. 2011-02-23 11:30:44 +01:00
Gaetan Delannay 3fc5bc8418 appy.gen: bugfix while indexing empty string values: bugfix while accessing object from a query without security enabled. 2011-02-22 14:16:42 +01:00
Gaetan Delannay a8366379dd Minor changes in the test system; XmlUnmarshaller can unmarshall XML content from a string, file handler of file path; any Appy object now has a method 'getField(name)' that returns a given field (=Appy type); bugfix while counting number of tests found in a gen-application. 2011-02-17 18:13:42 +01:00
Gaetan Delannay 2c6392aa92 appy.gen removed 'print' statement. 2011-02-16 16:10:59 +01:00