Commit graph

99 commits

Author SHA1 Message Date
Gaetan Delannay 446a2d9a16 [gen] Bugfixes. 2012-12-18 22:49:26 +01:00
Gaetan Delannay 1e3a8ba351 [shared] Converted files with country codes to UTF-8. 2012-12-14 14:50:23 +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 1b375d387c [gen] Added support for right-to-left (RTL) languages. 2012-06-27 13:27:24 +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 d3a2b85a10 appy.gen: bugfixes. 2012-05-09 09:45:15 +02:00
Gaetan Delannay 8cc20b0d34 appy.gen: bugfixes. 2012-05-08 14:49:45 +02:00
Gaetan Delannay 6245023365 appy.bin: backup.py: added field 'To' to mails sent by the backup procedure (so it not less directly considered as junk mail); bugfix in job.py used with Appy > 0.8; appy.gen: optimized performance (methods defined in 'show' attrs were called twice on edit.pt and view.pt); appy.gen: added String.richText allowing to have ckeditor with more text-formatting icons; added ckeditor 'show source' button by default (impossible to live without that); appy.gen: solved security-related problems; appy.gen.mail: allowto send mail as authenticated user; appy.gen: bugfixes in pages when rendered by IE. 2012-05-05 17:04:19 +02:00
Gaetan Delannay 9b8064b0cd appy.gen: bugfix while searching the catalog based on object state; added XHTML cleanup code; added String.generatePassword; bugfix: mising HTTP header while sending some responses back to Apache (caused a bug in ckeditor image upload); bugfix while importing images via an image resolver (Zope behind a reverse proxy). 2012-04-25 16:21:23 +02:00
Gaetan Delannay 094e571b74 ckeditor 3.6.3 2012-04-24 16:22:12 +02:00
Gaetan Delannay abdd0ee52d appy.shared.diff: bugfix: work internally on unicode representations of strings to diff: this way, we are sure every char is one char length. 2012-04-13 18:07:48 +02:00
Gaetan Delannay f6a828bc13 appy.gen: removed fields Tool.showWorkflowCommentFieldForxx (workflow comment may not be entered into the confirm popup); appy.gen: security-related bugfixes. 2012-03-19 17:00:44 +01:00
Gaetan Delannay cbb8d5cd12 appy.pod: variable named 'loop' is now available in the POD context of any section within a 'for' statement, with attributes like loop.[iterVariableName].length (=total number of looped elements) and loop.[iterVariableName].nb (=index of currently looped element). 2012-03-16 14:59:59 +01:00
Gaetan Delannay 6d0549e6ce Minor updates. 2012-02-27 14:06:39 +01:00
Gaetan Delannay 9c5f92337b appy.gen: improvements in user management. 2012-02-21 12:09:42 +01:00
Gaetan Delannay 0d55abb239 appy.shared.packaging: added the possibility to sign the generated Debian packages. 2012-02-15 11:38:13 +01:00
Gaetan Delannay 69fb172f03 appy.shared: added the possibility to generate a Cortex (see www.guardis.com) application definition for an Appy application. 2012-02-14 12:52:36 +01:00
Gaetan Delannay 57c481f05e appy.shared: allow to marshall Plone/Zope LazyMap instances. 2012-02-13 20:41:28 +01:00
Gaetan Delannay cb53c6b9b2 appy.shared: improvements in Debianizing an Appy app: the Debian install creates now scripts for starting the Zope/Appy/app instance and OpenOffice in server mode at boot time. 2012-02-07 12:17:10 +01:00
Gaetan Delannay 1275df5753 appy.shared: improved deployment of a Appy app (creation of a Zope instance is no more required; corresponding folders are created in standard unix locations: /etc for the config file, /var/log for logs, /var/lib for the database, /usr/bin for scripts that start and stop the instance). appy.gen: first draft of a migration script that allows to migrate data from Plone-dependent Appy apps (<= 0.7.1) to Ploneless Appy 0.8.0. 2012-02-02 17:30:54 +01:00
Gaetan Delannay 298ed34b5b appy.pod: allow to import SVG files (requires installing imagemagick). 2012-01-24 17:04:40 +01:00
Gaetan Delannay a1b048153f appy.shared: improved Debianizer (launches Zope and OO automatically); appy.bin: new.py is now able to create a pure Zope instance on its own (without mkzopeinstance) from a Zope install made with Debian zope2.12 package. 2012-01-20 16:12:00 +01:00
Gaetan Delannay 97ce11aa49 Bugfixes. 2012-01-18 18:37:38 +01:00
Gaetan Delannay 13443ea79e appy.bin: generate.py: one less arg: outputFolder has been removed (the script now generates the Zope product in <appFolder>/zope); generate.py: new option '-d', for generating a Debian package from the Python (Appy) app. 2012-01-18 14:27:24 +01:00
Gaetan Delannay a89d65afc6 appy.shared.diff: bugfixes. 2012-01-16 15:05:35 +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 30a51b7c1d appy.gen: added params String.allowImageUpload and String.styles for tuning the in-line editor corresponding to a String instance with format=XHTML; managed borders images uploaded in such a field; bugfix for https://bugs.launchpad.net/appy/+bug/913171 (appy.shared.dav). 2012-01-09 17:00:47 +01:00
Gaetan Delannay ba1743b38e appy.shared: bugfixes in XhtmlDiff. 2011-12-31 14:24:49 +01:00
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 d0cbe7e573 appy.gen: first Ploneless version. 2011-11-25 18:01:20 +01:00
Gaetan Delannay 5672c81553 More work on appy.shared.diff. 2011-11-21 17:10:26 +01:00
Gaetan Delannay 10398e770a appy.shared.diff: more work. 2011-11-19 23:53:38 +01:00
Gaetan Delannay 8c6301b901 appy.shared.diff: more work. 2011-11-19 11:48:03 +01:00
Gaetan Delannay cf992843ff More work on appy.shared.diff... 2011-11-18 01:01:50 +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 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 1ebcbb7b34 appy.shared.diff: more flesh on the XhtmlDiff class. 2011-10-22 19:41:50 +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 17f6d15185 appy.shared.diff: bugfixes. 2011-10-10 12:23:58 +02:00