Commit graph

156 commits

Author SHA1 Message Date
Gaetan Delannay ab147ce99d [pod] xhtml2odt: take into account widths of td and th tags, from 'width' attributes or from the corresponding CSS property within 'style' attributes. 2015-03-26 10:53:04 +01:00
Gaetan Delannay 5beb60f145 [pod,px] Complete tracebacks when errors occurs within for loops. [pod] xhtml2odt: removal of unnecessary spaces. [pod] xhtml2odt: bugfix in the automatic computation of table column widths. 2015-03-13 17:38:05 +01:00
Gaetan Delannay 8168306b57 [gen] [pod] converter.py: added param '-t' allowing to specify a LibreOffice file whose styles will be imported in the pod result (works only for odt files). Thanks to IMIO. [pod] Pod expressions can now be defined in fields of type 'text-input' (in addition to existing fields 'conditional-text' and track-changed text). Thanks to IMIO. [gen] Added parameter 'stylesTemplate' to the Renderer, allowing to specify a LibreOffice file whose styles will be imported in the pod result. Thanks to IMIO. [bin] Added script odfwalk.py allowing to modify or consult the content of odf files in a folder hierarchy (the script manages the unzip and re-zip of odf files and let a caller script access the unzipped content). [pod] Take into account tag 's'. Thanks to IMIO. 2015-03-13 08:59:32 +01:00
Gaetan Delannay 6e03682b99 [pod,px] Bugifx:complete tracebacks when errors within Python expressions. 2015-02-26 09:53:53 +01:00
Gaetan Delannay dd7e2000a1 [gen] Bugfixes. 2015-02-23 12:38:49 +01:00
Gaetan Delannay 1bd6cf29a3 [gen] Modified Ajax system to be able to ajax-refresh a single row within query results or ref tied object (ongoing work). 2015-02-03 10:56:15 +01:00
Gaetan Delannay 9566a7d788 [gen] Bugfixes in mail and ldap configs. 2015-01-27 15:45:15 +01:00
Gaetan Delannay cd29eccd41 [gen] Bugfix: remove carriage returns when normalizing strings intended to be used as filenames. 2015-01-27 09:36:46 +01:00
Gaetan Delannay a905aaa139 [shared] Added utils::flipDict allowing to flip keys<->values of a dict. [gen] file.py: added missing i18n labels. [gen] Added css style for rendering nice tables within the message popup. 2015-01-16 20:22:29 +01:00
Gaetan Delannay 225ea927a4 [gen] Bugfixes in the search machinery. 2015-01-02 16:16:48 +01:00
Gaetan Delannay 8591611aac [gen] Added param Field.mustIndex, that, for indexed fields, defines (via a method) when indexation must occur or not. Indeed, in some cases, an index is required on some field but we don't want all objects to have an index value for this field at any time. 2014-12-26 17:29:14 +01:00
Gaetan Delannay fd5e88928d [gen] Indexer: textual content of indexes now keep only words of more than 2 chars and other improvements. 2014-12-26 12:24:38 +01:00
Gaetan Delannay 982ae08997 [gen] Added method UserWrapper.addRole (add a role programmatically). Added to the LDAP config, a user map allowing to automatically assign roles and groups to ldap-imported users. 2014-12-18 13:54:12 +01:00
Gaetan Delannay 865e6bf08e [gen] Added the possiblity to synchronize external users from a LDAP. 2014-12-17 16:19:45 +01:00
Gaetan Delannay 897b183b01 [shared] LinesCounter now counts lines of XML code. 2014-12-10 12:32:09 +01:00
Gaetan Delannay b39c5553ea [shared] Improvements to the XmlMarshaller and bugfix: Mixin.xml returns appy.Object instances correctly marshalled. 2014-12-09 11:40:30 +01:00
Gaetan Delannay 12836a40dc [gen] Ref field: param 'shownInfo' can now be a method. 2014-12-09 09:27:40 +01:00
Gaetan Delannay c53654a1a1 [gen] Added attribute 'xml' on every field allowing to customize the XML marshalling process. [gen] Added new layout 'xml', now different from the 'view' layout, allowing to define which fields are to be dumped in the XML version of some object. [gen] Security fix in ToolMixin::getUser. [gen] Bugfix in Mixin::getUrl. [shared] dav.py: method 'get' can now accept parameters. [shared] xml_parser: changes to the XmlMarshaller (due to XML-related changes). 2014-12-08 14:52:04 +01:00
Gaetan Delannay 2ef3cdb006 [shared] List of MIME types completed. 2014-12-02 00:19:01 +01:00
Gaetan Delannay c2676c9cf8 [gen] pod field: bugfix with attr 'formats' without method 'showTemplate'; [shared] bugfix: renamed module ldap to ldap_connector. 2014-10-07 13:14:16 +02:00
Gaetan Delannay 1455a74056 [shared] xml_parser::XmlUnmarshaller: bugfix: in non-utf8 mode. 2014-10-03 19:56:34 +02:00
Gaetan Delannay a671094167 [gen] When duplicating a file via appy.fields.file::FileInfo.replicateFile, the source file can be binary data in a str instead of an opened file handler. 2014-10-01 16:21:12 +02:00
Gaetan Delannay ae69509354 [shared] xml_parser: added parser XthmlToText that produces the pure textual version of a XHTML content. 2014-09-29 16:03:26 +02:00
Gaetan Delannay ecc3f07a09 [gen] SMTP and LDAP configuration updated. Module appy.gen.mail can now be used independently of a gen-application. 2014-09-18 11:08:29 +02:00
Gaetan Delannay f8a7103c7a [gen] Changes in parameters of some basic field methods to enable field.languages to be defined dymanically via a method. 2014-09-05 17:13:23 +02:00
Gaetan Delannay ac1d710288 [shared] utils.py::normalizeString bugfix: when a string was not utf-8-encoded but latin-1-encoded, the method raised an exception. 2014-08-27 09:53:45 +02:00
Gaetan Delannay 3b18619624 [gen] Better rendering of buttons; added a new utility function for formatting elements like phone numbers. 2014-05-16 12:58:53 +02:00
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 90af2e5698 [gen] More compact code. 2014-03-05 17:04:43 +01:00
Gaetan Delannay 5bea4e728b [gen] Allow for ajax-based master-slave relationships within the search screen for String fields. 2014-03-05 15:47:12 +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 be145be254 [gen] Binary files stored in fields appy.fields.File are now stored outside the ZODB, on the filesystem; Ref fields can now also be rendered as dropdown menus: every menu represents a coherent group of link
ed objects. The main menu entry can be textual or an icon; computed fields are by default rendered in view and cell layouts.
2014-02-26 10:40:27 +01:00
Gaetan Delannay b9dcc94bdb Bugfixes for IE. 2014-01-20 18:43:18 +01:00
Gaetan Delannay e1d0597694 [gen] list field now takes into account 'show' attribute of sub-fields. 2014-01-14 09:07:42 +01:00
Gaetan Delannay 14f4848348 [gen] Added base Appy i18n files containing standard Appy labels. 2013-10-20 18:12:39 +02:00
Gaetan Delannay e344ff51e2 [gen] LDAP bugfixes. 2013-09-09 23:14:50 +02:00
Gaetan Delannay 79d89aca2b [gen, shared] More work on LDAP. 2013-09-06 16:19:56 +02: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 04852360fa [gen] Goodbye Zope Page Templates. 2013-08-21 22:25:27 +02:00
Gaetan Delannay 88bd5e5bce [gen] Created param config.groupsForGlobalRoles that disabled by default creation of a group for every global role. On a appy class it is now possible to define a static method 'generateUid' that generates a UID for every instance of this class, instead of using the standard Appy way to produce such UIDs. [shared] dav.Resource: allow to retrieve the result encoded or not in utf8. 2013-07-23 17:07:27 +02:00
Gaetan Delannay 73c3cfb2c7 [shared] Upgraded dav.py to use httplib.HTTPConnection instead of httplib.HTTP. 2013-07-11 23:40:01 +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 05292356e7 [gen] Added a validator for String fields, for validating Belgian NISS numbers. 2013-07-10 18:05:06 +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 eaf7156b47 [pod] Added the possibility, for function 'document', to import, into an ODT result, external documents of various formats: doc, xls, ppt, etc. This new 'ConvertImporter' uses LibreOffice to first convert the doc into PDF, and then uses the PdfImporter to split the PDF into images (one image per page) and include in in the pod result. 2013-04-19 15:30:18 +02:00
Gaetan Delannay 0a8e06f1d9 [gen] Various bugfixes. 2013-04-16 19:56:47 +02:00
Gaetan Delannay 48c7c50122 [gen] Make ckeditor work with IE. 2013-03-28 21:32:47 +01:00