Commit graph

54 commits

Author SHA1 Message Date
Gaetan Delannay 3621d0da92 [gen] Ref field has now global actions like 'unlink many', 'link many' and 'delete many'. 2014-04-04 16:49:22 +02:00
Gaetan Delannay ff102fbbe8 [pod] Take into account tabs. 'do ... from text' is now obsolete: pod expression now handle correctly tabs and carriage returns. 2014-03-06 11:33:47 +01:00
Gaetan Delannay b8ceb66a49 [gen] Master-slave fields: slave values can now ajax-change when the user modifies master values. 2014-03-03 18:54:21 +01:00
Gaetan Delannay b9dcc94bdb Bugfixes for IE. 2014-01-20 18:43:18 +01:00
Gaetan Delannay 1be7d9f0ab [bin] backup.py: remove Data.fs.old before packing the ZODB to avoid disk space problems; [checkldap] added a param to define the scope of the LDAP query (base, onelevel or subtree); [shared] xml_parser: convert nbsp entity to the equivalent utf-8 char. 2013-09-05 10:42:19 +02:00
Gaetan Delannay d4556306f2 [px] Added boolean param 'unicode' that defines if PX result must be unicode or an encoded str. [shared] dav: improved Resource.soap: better handling of HTTP header SOAPAction. 2013-07-11 16:41:45 +02:00
Gaetan Delannay e4b84be05e [px] Managed special HTML attributes like 'checked' and 'selected'. 2013-06-26 13:44:31 +02:00
Gaetan Delannay 06039b300c [pod] Line breaks which are found within pod expression results are converted to odf line-breaks into the pod result. 2013-06-12 10:30:20 +02:00
Gaetan Delannay 0c50fe188a Updated 'print' statements throughout Appy code, in order to be Python3x as well as Python2x-compliant. 2013-05-30 00:46:11 +02:00
Gaetan Delannay 48c7c50122 [gen] Make ckeditor work with IE. 2013-03-28 21:32:47 +01:00
Gaetan Delannay da1f2699cd [gen] Allow to show transitions on 'view' and/or 'result' layout types. 2013-03-18 13:13:29 +01:00
Gaetan Delannay 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. 2013-01-11 17:16:36 +01:00
Gaetan Delannay 90e46f11e7 [gen] Bigfixees in cleaning of XHTML fields. 2013-01-10 15:59:01 +01:00
Gaetan Delannay d0da6740b1 [pod] Bugfix for https://bugs.launchpad.net/appy/+bug/1083533 (thanks Gauthier). 2012-12-07 12:05:39 +01:00
Gaetan Delannay 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. 2012-11-23 15:20:12 +01:00
Gaetan Delannay 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. 2012-10-26 13:09:44 +02:00
Gaetan Delannay 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. 2012-09-26 23:13:02 +02:00
Gaetan Delannay a2ae839704 [gen] Added the possiblity to extract in a clean way text from XHTML field values. 2012-09-25 21:43:45 +02:00
Gaetan Delannay f843d5b7d6 [gen] Security: added missing checks at the code level, ensuring that a user can create instances of a given class (root classes, or instances created via an initiator field); bugfixes in the test system, which works again (was broken after deplonization); [shared] XmlUnmarshaller can now be ran in 'non utf-8' mode: if enabled, any marshalled string will no be Python unicode, but simple str. 2012-06-02 14:36:49 +02:00
Gaetan Delannay 9368138efd [shared] Improved XhtmlCleaner. 2012-05-24 15:27:24 +02:00
Gaetan Delannay d16b03e0d6 [gen] XhtmlCleaner now only keeps useful CSS attributes within XHTML style attributes. 2012-05-24 12:54:40 +02:00
Gaetan Delannay e66daeb151 [gen] More robust XHTML cleaning. 2012-05-22 16:42:20 +02:00
Gaetan Delannay 36257b1b3a appy.diff: bugfix (avoid infinite loop between m_getHtmlDiff and m_getReplacement) and better recovery when the Merger fails to manage overlaps (thhe whole line is then considered as having been deleted and replaced by something completely different, which is not really the case but at least is shows a simplified diff instead of crashing. appy.shared: bugfix in the XhtmlCleaner that now returns result as a str and not a unicode. 2012-05-15 23:13:30 +02:00
Gaetan Delannay 028040351c appy.gen: improved cleaning and formatting of XHTML content; appy.pod: added some default appy-related table styles for producing cells with text in bold/normal, aligned right/left, etc. 2012-05-14 17:35:34 +02:00
Gaetan Delannay 094e571b74 ckeditor 3.6.3 2012-04-24 16:22:12 +02:00
Gaetan Delannay 57c481f05e appy.shared: allow to marshall Plone/Zope LazyMap instances. 2012-02-13 20:41:28 +01:00
Gaetan Delannay 7d844070df appy.pod: improved styles mapping system: one may now express things like: 'p[text-align=center]':'StandardCentered' (ie, map an HTML tag having some CSS attributes to a specific ODT style). See verbose docstrings in styles_manager.py. 2012-01-12 21:49:23 +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 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 813b47843c appy.shared: dicts can now be marshalled/unmarshalled. 2011-09-06 10:23:56 +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 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 f3604624de Implemented management of HTML entities with expat (no need to get an external validating parser from _xmlplus). Works with Python2.4.4 and 2.4.6, but not from Python2.5. 2010-12-23 10:25:27 +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 3d87036f85 The Resource object in shared/dav.py is now able to send SOAP requests, with marshalled and unmarshalled Python objects. 2010-11-08 11:40:41 +01: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 9cff9df299 Improvements in the XML marshaller. 2010-03-31 15:49:54 +02:00
Gaetan Delannay 97494592d5 XmlMarshaller may be given custom functions for marshalling in a specific way some Python values or instances. 2010-02-24 10:27:41 +01:00
Gaetan Delannay 15ef6f334d Improvements in XmlMarshaller: any Python variable may be the root of a structure to marshall. 2010-02-23 14:55:51 +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 160c4960da Use of a replacement to StringIO for managing encoding problems while marchalling Python objects. 2010-02-02 16:25:10 +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 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 546caa485d New test system based on doctest and unittest and many more. 2009-11-11 20:22:13 +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 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 741f760bb5 Some more improvements in the marshall/unmarshall methods. 2009-09-07 13:56:34 +02:00
Gaetan Delannay 599396a838 Optimized XML marshall/unmarshall process for transferring large binary files. 2009-08-28 15:14:26 +02:00