Commit graph

54 commits

Author SHA1 Message Date
Gaetan Delannay 6ece750d9a appy.bin: updated publish.py, that is now able to generate a DistUtils tar.gz for Appy; publish.py can now be called with option '-s' (silent): in this mode no question is asked to the user, default values are used; updated new.py that generates a better Plone4-ready simple Zope instance; appy: moved FileWrapper from appy.gen.utils to appy.shared.utils to avoid circular package dependencies; appy.gen: use of .pyt extensions for template Python classes in appy.gen.templates in order to avoid byte-compilation errors when distutils installs the package; appy.pod: when using function 'document' in 'from' statements, first arg can now be a appy.shared.utils.FileWrapper instance. 2011-12-15 22:56:53 +01:00
Gaetan Delannay e78cf62694 appy.gen: bugfix in group widget 'tabs'; improved layout of grid widgets in view mode; appy.pod: class OdtTable allows to generate HTML tables as well. 2011-12-09 08:56:37 +01:00
Gaetan Delannay d0cbe7e573 appy.gen: first Ploneless version. 2011-11-25 18:01:20 +01:00
Gaetan Delannay 2ec05939fe appy.pod: bugfix while generating tracebacks within odt results (unicode-related); appy.shared.diff: first draft of a full-functional version; appy.shared.utils: improved functions normalizeString and formatNumber. 2011-11-17 12:41:06 +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 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 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 377a322faa Added missing encoding declaration. 2011-09-15 15:55:00 +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 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 02fce03143 appy.pod: optimized image importing: when an image is imported several times in a pod template through a call to 'do ... from document(at=path)', pod inserts only one copy of the file into the ODT result. 2011-07-02 11:46:49 +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 344229e3a9 appy.pod: bugfix for https://bugs.launchpad.net/appy/+bug/778728 (function 'text'). 2011-06-17 02:11:34 +02:00
Gaetan Delannay a20af9e28a appy.pod: bugfix for encoding of XML attributes (see https://bugs.launchpad.net/appy/+bug/779448). 2011-06-17 02:00:25 +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 7f02ee3914 appy.bin: improvements in ldapchecker.py; appy.pod: solved bug https://bugs.launchpad.net/appy/+bug/740290 (concurrent work on the same POD template), also tied to question https://answers.launchpad.net/appy/+question/149443. 2011-06-02 12:20:15 +02:00
Gaetan Delannay b9e07f8c1c appy.bin: added a script for checking a LDAP connection; appy.gen: bugfix in xhtml2odt conversion (algorithm for checking ODT-invalid subtag hierarchies); appy.gen: xhtml2odt conversion: force continue-numbering to 'false' for every numbered list. 2011-05-20 16:20:49 +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 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 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 312b1f4cef appy.pod: fixed bug https://bugs.launchpad.net/bugs/720270 (cell repetition). 2011-02-18 15:58:59 +01:00
Gaetan Delannay 48ebbe85b1 Merged with branch lp:~nezza/appy/nezza-_-. Thanks to Thomas Roth :-) 2011-02-15 16:06:12 +01:00
Thomas 'nezza-_-' Roth 2373525fef Pulled from upstream 2011-02-15 14:40:52 +01:00
Thomas 'nezza-_-' Roth 7e9cc1e909 Added overwriteExisting option to Renderer for overwriting the result file if it already exists. 2011-02-15 14:25:37 +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 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 defdc08dce appy.pod: Management of strike and underline in XHTML code. 2011-01-19 10:21:04 +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 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 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 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 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 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 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 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 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 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 b541ecb651 Added a Password widget (new String.format) and minor GUI improvements. 2009-11-25 20:37:22 +01:00
Gaetan Delannay 7435ff1601 Bugfix when contacting OO; various bugfixes and improvements. 2009-11-20 20:17:06 +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 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 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 280c5fe0c0 Bug in file URL when connecting to OO in server mode on some installations. 2009-10-06 14:42:37 +02:00
Gaetan Delannay 741f760bb5 Some more improvements in the marshall/unmarshall methods. 2009-09-07 13:56:34 +02:00