Commit graph

364 commits

Author SHA1 Message Date
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
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 a18be357f5 appy.gen: when redisplaying the 'edit' view, empty any password field. 2011-02-15 20:15: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 91c657238d appy.pod: solved bug https://bugs.launchpad.net/appy/+bug/719270; appy.gen: bugfix in Date intervals coming from search.pt. 2011-02-15 13:27:36 +01:00
Gaetan Delannay 1bb4dbf20a appy.pod: improved html2odt conversion; appy.gen: added CSS tooltips and bugfix while querying several content type at once. 2011-02-14 16:04:30 +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 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 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 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 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 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 50c8a139fc Updated new.py for installing Plone 4 without buildout and added an alternative way to insert POD expressions in POD templates via fields (track-changed text still works). 2010-10-27 12:06:21 +02:00
Gaetan Delannay feca97bda3 Completed the WebDav library with standard GET and POST HTTP requests. MultiPart not yet implemented. 2010-10-22 16:06:27 +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 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 c2a3551a94 Improved and generalized intra- and inter-objects navigation. 2010-09-17 15:32:48 +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 309ea921fa Bugfixes in appyObj.dump and in master/slave relationships. 2010-05-10 11:04:59 +02:00
Gaetan Delannay cb216a9e9c Bugfixes in new sorting/filtering features. 2010-04-30 14:43:44 +02:00
Gaetan Delannay f5a92b7cb0 New icons and a new pod test. 2010-04-30 12:06:49 +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 46cda3f755 Several bugfixes while handling abstract classes (appy.gen) and added a first code chunk used while installing a gen-application for Plone 3. 2010-04-26 18:19:34 +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 3f08cb989f Forgot to commit the new portlet content macro. 2010-03-29 20:45:25 +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 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 1227f0ed5e Icon alignment in portlet. 2010-03-19 13:24:24 +01:00
Gaetan Delannay f70af04d4c Added possibility to select AND/OR operator for searches in lists. 2010-03-19 13:13:36 +01:00
Gaetan Delannay cbb77e0224 Bugfix while optimizing back references. 2010-03-09 15:22:33 +01:00
Gaetan Delannay a52c6e0ffd More efficient way to manage back references. 2010-03-09 15:10:58 +01:00
Gaetan Delannay 9b01295145 Pod ask action is rendered before icons for generating documents. 2010-03-01 08:50:58 +01:00
Gaetan Delannay 47a95fc6b6 When a computed method raises an exception, full traceback is now logged. 2010-02-24 18:28:37 +01:00
Gaetan Delannay 37c252c3fd More search possibilities. 2010-02-22 15:28:20 +01:00
Gaetan Delannay 36c4ce5f77 Bugfix while installing POD fields. 2010-02-15 22:00: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 0fe011e0aa Performance problem solved when getting appy wrappers. 2010-02-08 08:53:30 +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 36a740ed7e Improved POD generation. 2010-02-01 11:09:26 +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 3bb907ca5d Various minor bugfixes. 2010-01-20 21:51:17 +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 08c5abdd49 Added the possibility to list logged users. 2010-01-17 22:01:14 +01:00
Gaetan Delannay 16a0a90bbf Cnanges. 2010-01-15 13:46:54 +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 500637eb53 Minor bugfixes. 2010-01-12 08:58:40 +01:00
Gaetan Delannay 2ecd2d7ef1 Search screen now supports String fields with Selection instances as validators. 2010-01-09 19:09:13 +01:00
Gaetan Delannay c37fa93858 Improved navigation between pages. 2010-01-08 18:03:59 +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 f8baeee4f7 Ready for an 'advanced search' functionality. 2009-12-30 17:12:18 +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
Gaetan Delannay fff2b6a329 Improvements historization. 2009-12-15 21:30:43 +01:00
Gaetan Delannay d320a369c9 Improved SAP interface and added historization of fields. 2009-12-14 20:22:55 +01:00
Gaetan Delannay b888f8149b Improved XmlMarshaller: strings can be dumped as CDATA. Appy objects are marshalled with their history. 2009-12-07 20:28:41 +01:00
Gaetan Delannay c3f5cfc9cd Finalized integration of coverage.py within the Appy framework. 2009-12-03 16:45:05 +01:00
Gaetan Delannay 01487db688 Added a SAP connector and integrated the test system with coverage.py 2009-12-01 20:36:59 +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 253e61612d Some macros and images were improved, enhanced search capabilities. 2009-11-24 22:41:42 +01:00
Gaetan Delannay 7435ff1601 Bugfix when contacting OO; various bugfixes and improvements. 2009-11-20 20:17:06 +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 d9484b104e Inter-object navigation. 2009-11-17 10:05:19 +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 53a945e78c Additional files. 2009-11-06 11:47:05 +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 cbc7d257d4 Fixed bug #394258 and added a new skin directly within Appy, such that every generated product does not need to include copies of Appy images and web pages. 2009-10-18 14:52:27 +02:00
Gaetan Delannay f9966a9654 Solved minor bug that occurred when generating code specifying default values containg carriage returns. 2009-09-29 14:32:34 +02:00
Gaetan Delannay f7143a2afd Added a CSS parser; corrected bug that prevents Appy to create a root folder in a Plone site; allowed methods from an appy tool or flavour to be available in ZPTs. 2009-09-18 14:42:31 +02:00
Gaetan Delannay b4d2360d6f Declare mixin methods (ClassMixin, ToolMixin...) as 'public' in the Zope sense to avoid security problems and corrected a small bug in the new POD statement for defining variables (regular expression forced the user to put spaces in the variable declaration before and after the '=' sign). 2009-08-11 11:01:17 +02:00
Gaetan Delannay a5707f1fa6 Strange bug fixed when importing appy.pod classes. 2009-08-04 17:37:53 +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 4c29c7c484 Fixed https://bugs.launchpad.net/appy/+bug/403975 and https://bugs.launchpad.net/smetest/+bug/403979 2009-07-28 10:14:40 +02:00
Gaetan Delannay 4aeaf975ab Small regression while generating documents from appy.gen 2009-07-10 16:19:34 +02:00
Gaetan Delannay 10eea7d735 Implemented blueprints https://blueprints.launchpad.net/appy/+spec/gen-create-root-objects, https://blueprints.launchpad.net/appy/+spec/gen-get-flavour and https://blueprints.launchpad.net/appy/+spec/pod-define-variables 2009-07-10 15:01:50 +02:00
Gaetan Delannay 4043163fc4 Initial import 2009-06-29 14:06:01 +02:00