Commit graph

64 commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 fd896aebdc appy.gen: added the possibility to freeze, within Pod fields, documents that are normally generated with appy.pod. 2011-02-16 13:43:58 +01:00
Gaetan Delannay 6473ca8ef0 appy.gen: implemented ToolMixin.performLogin (inspired from Plone authentication), minor bugfix while redirecting user to a page that must display a global status message; logged every translation deletion. 2011-02-15 15:59:55 +01:00
Gaetan Delannay 39d68f6490 appy.gen: added default validation for wrong dates; for Action fields, added value 'filetmp' for param 'result' for removing temp files that are returned as the result of an action; values entered by the user in the search screens are not stripped; wrapper method 'export' can now export an object in a CSV file; appy.pod: bullets for default list styles in any ODT file generated through pod are now smaller. 2011-02-12 17:09:11 +01:00
Gaetan Delannay 9f418439aa Added the possibility to customize the global message when validation fails. 2011-02-06 17:39:36 +01:00
Gaetan Delannay 77112c45be Added the concept of 'fake' workflow transitions: when a user can't trigger a transition but needs an explanation about why he can't, a fake button is shown, with a explanation. 2011-02-01 11:09:54 +01:00
Gaetan Delannay 90553381a3 Added the possibility to define POD templates for any search result (Pod field with param view='search'), bugfix while getting default value for a Ref field, added Computed fields that computes a ZPT macro given as a string to param 'method', added the possibility to define a global style mapping for every Pod field, stopped to generate a field-specific set of i18n labels for pod output formats, carry portal_status_message even through page redirections, added 'deprecatedAddRemove' tags in generated configure.zcml, onEdit can now return a customized message, added possibility to normalize strings for other usages than 'fileName', in appy.shared.utils.normalizeString (for alpha and alphanum usages) 2011-01-28 14:36:30 +01:00
Gaetan Delannay 38f71be89a Added method 'unlink' on any appy class, for unlinking objects from references. Bugfixes in display of workflow state in columns. 2011-01-19 20:51:43 +01:00
Gaetan Delannay 41fbedd279 appy.pod: added .docx and .xlsx as conversion formats for converter.py. appy.gen: translation system: if not message is present, the label itself is used for the message. 2011-01-18 15:48:55 +01:00
Gaetan Delannay ead9f7c2de New translation system, that generates screens for updating translations through the web, within the configuration. 2011-01-14 09:06:25 +01:00
Gaetan Delannay 52816ec343 Added script eggify.py for wrapping a Python module into an egg, and plenty of minor improvements and refactorings. 2010-11-26 17:30:46 +01:00
Gaetan Delannay 502c86dab8 Custom messages can now be returned as result of triggering transitions; added a mechanism for asking a confirmation to the user before saving it; bugfix in navigation (navigation info disappeared when firing workflow actions. 2010-11-22 09:36:14 +01:00
Gaetan Delannay 30768655f6 Bugfixes in master/slave relationships for groups; small bugfix in the way to express layouts; bugfixes while generating optional fields in the tool; obj.link can now links several objects at once; bugfix in page navigation. 2010-10-29 14:36:36 +02:00
Gaetan Delannay 990e16c6e7 Eradicated Flavour and PodTemplate classes (for the latter, use Pod fields instead); Added a code analyser; Groups can now be slaves in master/slaves relationships; Refs have more params (show a confirmation popup before adding an object, add an object without creation form); Code for Refs has been refactored to comply with the new way to organize Types; Added a WebDAV client library. 2010-10-14 14:43:56 +02:00
Gaetan Delannay 9f4db88bdf Wrong index type for selection strings that are not multivalued. 2010-09-20 11:33:54 +02:00
Gaetan Delannay 7c2b8fed11 Used 'nav' request param instead of session for storing info about the initiator of an object creation. 2010-09-19 15:04:44 +02:00
Gaetan Delannay 0b4f6e1f79 Allowed to express layouts in a more concise manner and various graphical improvements. 2010-09-13 21:04:10 +02:00
Gaetan Delannay eb52c1bb7d Bugfix in new.py; added new user management. 2010-09-02 16:16:08 +02:00
Gaetan Delannay bfd2357f69 Added a new system for layouting production-ready forms without any HTML coding, many performance improvements and more independence towards Archetypes. 2010-08-05 18:23:17 +02:00
Gaetan Delannay 309ea921fa Bugfixes in appyObj.dump and in master/slave relationships. 2010-05-10 11:04:59 +02:00
Gaetan Delannay fd775e17a2 Reworked AJAX framework with a lot of new sorting and filtering possibilities. 2010-04-30 12:05:29 +02:00
Gaetan Delannay ca7b688c00 Small bugfix while searching string fields and added the possibility to define a text-transform on String fields. 2010-04-16 17:07:34 +02:00
Gaetan Delannay 9cff9df299 Improvements in the XML marshaller. 2010-03-31 15:49:54 +02:00
Gaetan Delannay 3a7b5be03b Applied patch from Frederic Peters for bug https://bugs.launchpad.net/appy/+bug/485815 and another bugfix. 2010-03-25 16:34:37 +01:00
Gaetan Delannay 37c252c3fd More search possibilities. 2010-02-22 15:28:20 +01:00
Gaetan Delannay ecd9c66ca1 Implemented Pod field. 2010-02-12 10:59:42 +01:00
Gaetan Delannay fc75a42264 Added the possibility to log OO errors in appy.gen method File.dump and changed some code for avoiding silly Plone warnings on every user click. 2010-02-09 15:59:03 +01:00
Gaetan Delannay 0fe011e0aa Performance problem solved when getting appy wrappers. 2010-02-08 08:53:30 +01:00
Gaetan Delannay 2e1c6a6999 Management of floats with a given precision; XmlMarshaller can dump unicode or str result. 2010-01-29 11:28:39 +01:00
Gaetan Delannay 24c0dee96c Added a method for computing things on large sets of objects and added the possibility to edit through-the-web in the flavour the import path for classes whose instances can be imported from a file system. 2010-01-18 15:12:22 +01:00
Gaetan Delannay bdc7baf25a Bugfix in the search engine, implemented float fields in the advanced search, execute batchjobs as Zope admin. 2010-01-14 17:54:18 +01:00
Gaetan Delannay d192496c88 Allows to manually add data changes into an object's history. 2010-01-14 08:56:04 +01:00
Gaetan Delannay db8ad18c5f Added backup/restore scripts (wrappers around repozo). The backup script has the possibility to execute a tool method on a Appy application. 2010-01-12 21:15:14 +01:00
Gaetan Delannay d6607d7815 Improved advanced search functionality + completed String fields with Selection instance as validator. 2010-01-06 18:36:16 +01:00
Gaetan Delannay 2ff08258bc SAP interface: easy access to SAP results. Bugfix in search method. 2009-12-21 20:45:29 +01:00
Gaetan Delannay e89eda4838 More input and output formats for OO conversion in converter.py and bugfix in skyn edit. 2009-12-17 21:14:52 +01:00