Commit graph

185 commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 2c6392aa92 appy.gen removed 'print' statement. 2011-02-16 16:10:59 +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 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 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 b48525c5bb Added the possibility to give a custom context to the macro specified for a Computed field; added param 'confirm' to a workflow transition, allowing to show a confirm popup before triggering it; added param 'format' for translate method, allowing to produce strings that conform to HTML or JS. 2011-01-29 02:18:14 +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 e5cef2b8a4 Added a fallback mechanism for Appy translations. Bugfix while reindexing multivalued Strings. 2011-01-17 14:49:56 +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 a30949a621 Improved management of indexes; always provide str and not unicode strings as index values; search screen may now include javascripts and css like those required by the date chooser; removed CSS parser, basic XmlUnmarshaller can do it by itself. 2010-12-17 14:46:55 +01:00
Gaetan Delannay 2124cffa5e Worflow state can not be used in ref fields; mayNavigate is not static anymore, but an instance method. 2010-12-06 11:11:40 +01:00
Gaetan Delannay e62e00d367 SearchableText was broken. 2010-11-30 17:41:18 +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 aea19a819e Finalized implementation of attribute String.transform. 2010-11-23 17:25:00 +01:00
Gaetan Delannay 0e83a6f490 Bugfixes while dumping and converting a file from database to disk; bugfix and minor improvement in layouts. 2010-11-22 15:34:04 +01:00
Gaetan Delannay cccdc12372 Bugfix in the system for refreshing layouts, and removed generation of '_valid' i18n labels, that almost doubled the size of po files and are almost never needed. 2010-11-16 15:32:47 +01:00
Gaetan Delannay 3fd2d62b30 Added the possibility to take into account layout modifications in Python files without needing to restart Zope while in debug mode. 2010-11-13 17:54:08 +01:00
Gaetan Delannay 7dc55f23c2 Several bugfixes for 0.6 series (bugfix while defining pod fields in a custom tool, bugfix in the creation flag, import of objects was broken...) and minor improvements in the layouting system (automatic generation of 'cell' layouts was optimized). 2010-11-10 15:15:00 +01:00
Gaetan Delannay ca6dd26906 Required slaves fields that are not visible due to master/slave relationships are not considered mandatory anymore. 2010-11-05 13:05:10 +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 2aedf8c88a Added a new level of configurability in navigation: allow to hide/show every button on every page + bugfixes in page/phase navigation. 2010-10-19 10:47:42 +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 88cd4f7c46 Optimized performance while rendering references and computed fields and allowed computed fields to be shown asynchronously. 2010-09-17 09:27:14 +02:00
Gaetan Delannay 7d3ac9112b Allow different decimal separators for Floats. 2010-09-15 10:38:35 +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 fa974239f3 Two important bugfixes: one security-related, one linked to Ref fields with link=True. 2010-08-27 08:59:53 +02:00
Gaetan Delannay dbcadc506d new.py now can create instances for Plone 2.5.5, Plone 3.0 to Plone 3.3.5. specificWritePermission and specificReadPermission can hold named (string) permissions instead of simple boolean values (which is still allowed). frontPage can call a custom macro. When launching generate.py with -c option, labels prefixed with custom_ are kept. 2010-08-12 11:56:42 +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 cb216a9e9c Bugfixes in new sorting/filtering features. 2010-04-30 14:43:44 +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 0f2c4a1e34 Added 'confirm' param to Action fields. If True, a confirmation popup will be shown before triggering the action. 2010-03-29 20:44:28 +02:00
Gaetan Delannay 37c252c3fd More search possibilities. 2010-02-22 15:28:20 +01:00
Gaetan Delannay a326f00c2f Improved Pod field with triggerable actions. 2010-02-15 21:44:41 +01:00
Gaetan Delannay 9974769075 Improved pod field with specific, static or dynamic pod context. 2010-02-12 16:35:50 +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 d398d5bcfc Performance improvement in XML marshaller by mimicking StringIO in unicode-friendly buffer UnicodeBuffer and added a class appy.gen.No allowing to explain why some workflow condition cannot be triggered. 2010-02-05 15:39:52 +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 500637eb53 Minor bugfixes. 2010-01-12 08:58:40 +01:00
Gaetan Delannay 24d0370892 Improved advanced search screen. 2010-01-07 20:25:18 +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 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
Gaetan Delannay d320a369c9 Improved SAP interface and added historization of fields. 2009-12-14 20:22:55 +01:00
Gaetan Delannay b541ecb651 Added a Password widget (new String.format) and minor GUI improvements. 2009-11-25 20:37:22 +01:00
Gaetan Delannay cf3748bf77 Added String validators for BIC and IBAN (bank-related ISO numbers) 2009-11-17 15:46:41 +01:00
Gaetan Delannay 7cdc3c1ed6 Various improvements in widgets rendering. 2009-11-13 18:21:03 +01:00
Gaetan Delannay 546caa485d New test system based on doctest and unittest and many more. 2009-11-11 20:22:13 +01:00
Gaetan Delannay 37cf9e7a4f Various improvements in both pod and gen. 2009-11-06 11:33:56 +01:00
Gaetan Delannay 1c0744da85 First version of a searches system, where queries may be defined on every root class. The portlet and query pages have been deeply revised. Ajax is now used for displaying query results and appy-specific ajax-based navigation is used for refs as well as for queries in portal_catalog. 2009-11-03 15:02:18 +01:00
Gaetan Delannay 2b907fee32 Improvement in xhtml->odt conversion (pod) + new search param for appy root classes and param 'indexed' for fields. 2009-10-30 21:31:39 +01:00
Gaetan Delannay cbd6fbbec5 Added in shared/data some copies of external authentic data (iso country codes and belgian cities). 2009-10-27 14:48:04 +01:00
Gaetan Delannay 605c42d94e Added an AJAX framework within appy.gen, and its first use: a pagination mechanism for producing paginated references in the reference widget. 2009-10-25 21:42:08 +01:00
Gaetan Delannay 4c4b2d0f87 Added a new feature allowing to create objects by importing them from external sources instead of from filling a web form. 2009-10-20 16:57:00 +02:00
Gaetan Delannay facbe7fa3d Fixed bug https://bugs.launchpad.net/appy/+bug/408826, implemented blueprints https://blueprints.launchpad.net/appy/+spec/show-or-hide-application-portlet, https://blueprints.launchpad.net/appy/+spec/associate-a-workflow-to-custom-tool-or-flavour and https://blueprints.launchpad.net/appy/+spec/csv-parser 2009-08-04 14:39:43 +02:00
Gaetan Delannay 4043163fc4 Initial import 2009-06-29 14:06:01 +02:00