b2e1e8c780[gen] First version of a Ogone Appy plug-in.
Gaetan Delannay
2012-07-26 17:22:22 +0200
178059ba1b[gen]: method Wrapper.do: added param 'noSecurity' allowing to bypass check of roles mentioned as conditions for triggering worfklow actions.
Gaetan Delannay
2012-07-23 15:24:44 +0200
699cc8346b[gen] Field.indexed, instead of being a Boolean, can be a str, to represent the name of a Zope Index. This way, it is possible to bypass the standard Appy choice for index types, ie for Computed fields whose content may produce any type of value; added missing translation labels in the macro displaying object's history; added default fields Tool.dateFormat and Tool.hourFormat that give application-wide default formats for dates with/without hour; added a table in Config->Users that shows the connected users and the date/time of their last access to the app; added the missing search macro for a Computed field.
Gaetan Delannay
2012-07-18 21:58:11 +0200
21ffa7b46d[gen] Added UserWrapper.checkPassword allowing to check if a password is the right one for a user.
Gaetan Delannay
2012-07-12 17:54:14 +0200
a0837a758f[gen] Bugfix in the 'change user id' function. Now, the method browses every object in the database and updates local roles where the old ID was potentially mentioned.
Gaetan Delannay
2012-07-11 17:27:40 +0200
7e31304c30[pod] Repaired some tests in the xhtml2odt test suite.
Gaetan Delannay
2012-07-10 14:53:31 +0200
a7bcd1a098[gen] allow Manager to change the login of a user; bugfix in dumping XHTML tables whose column sizes are automatically computed; bugfix: apply styles mapping to 'p' tags that are added automatically by xhtml2odt (was only implemented for p tags inside li tags).
Gaetan Delannay
2012-07-10 14:21:08 +0200
8a5ca81746[pod] xhtml2odt: generate ODT tables from XHTML tables, taking into account variable column sizes.
Gaetan Delannay
2012-07-06 17:57:25 +0200
bc505b335f[gen] Bugfix in RTL languages support; [pod] xhtml2odt: bugfix in management of styles applied to inner p tags added within li tags.
Gaetan Delannay
2012-07-03 15:00:45 +0200
1b375d387c[gen] Added support for right-to-left (RTL) languages.
Gaetan Delannay
2012-06-27 13:27:24 +0200
b680a5ddcb[gen] When raising Unauthorized, give more explanations.
Gaetan Delannay
2012-06-21 11:31:27 +0200
188fdc9761[gen] More simpler result.pt.
Gaetan Delannay
2012-06-13 09:59:19 +0200
e13575c506Added method Wrapper.isEmpty(name) that checks if the content of some field is empty or not on a given object.
Gaetan Delannay
2012-06-13 09:31:09 +0200
5b255ce55d[gen] Added boolean Tool.loadTranslationsAtStartup that, if False, prevents to overwrite, on a production site, translations edited through-the-web by users. If True, at every Zope startup, Translation objects are overwritten by the content of their corresponding po files on disk.
Gaetan Delannay
2012-06-03 21:55:26 +0200
77331cd216[gen] Possibility to define, programmatically, for a given class, the default view and edit pages, by defining, respectively, methods getDefaultViewPage and getDefaultEditPage; various bugfixes.
Gaetan Delannay
2012-06-02 17:39:05 +0200
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.
Gaetan Delannay
2012-06-02 14:36:49 +0200
0d7afb685f[gen] added obj.mayEdit, an additional condition for editing an object (similar to mayDelete); bugfix: specifying a workflow for a User class crashed because, in installer.py, Appy took into account the standard workflow on this Class instead of the custom one.
Gaetan Delannay
2012-06-01 15:57:19 +0200
e3b7f5364f[gen] CSS improvements; bugfix: parsing now works even if encoding is declared at the beginning of the Python file; a default layout for Boolean fields, including a description, is now available in Boolean.dLayouts.
Gaetan Delannay
2012-05-31 17:29:06 +0200
d16b03e0d6[gen] XhtmlCleaner now only keeps useful CSS attributes within XHTML style attributes.
Gaetan Delannay
2012-05-24 12:54:40 +0200
9477865f44[pod] Bugfix while dumping large size images into pod templates from appy.gen FileWrapper instances.
Gaetan Delannay
2012-05-22 22:23:54 +0200
e66daeb151[gen] More robust XHTML cleaning.
Gaetan Delannay
2012-05-22 16:42:20 +0200
36257b1b3aappy.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.
Gaetan Delannay
2012-05-15 23:13:30 +0200
028040351cappy.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.
Gaetan Delannay
2012-05-14 17:35:34 +0200
6245023365appy.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.
Gaetan Delannay
2012-05-05 17:04:19 +0200
459a714b76appy.bin: adapted job.py for Appy >0.8; appy.gen: improved mail notification mechanism.
Gaetan Delannay
2012-05-03 10:51:54 +0200
9b8064b0cdappy.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).
Gaetan Delannay
2012-04-25 16:21:23 +0200
d52e601ea8ckeditor: removed files that begin with an underscore.
Gaetan Delannay
2012-04-24 16:27:00 +0200
af351f87d3Minor changes and bugfixes.
Gaetan Delannay
2012-04-19 09:20:15 +0200
abdd0ee52dappy.shared.diff: bugfix: work internally on unicode representations of strings to diff: this way, we are sure every char is one char length.
Gaetan Delannay
2012-04-13 18:07:48 +0200
40e8a5f258appy.gen: bugfix while using Zope behind Apache and using the VHM; Ref.view macro is not called via Ajax anymore for single-valued Refs (when displaying lists containing single-valued Ref fields, it produces too many ajax requests, leading to ConflictErrors in the ZODB).
Gaetan Delannay
2012-03-27 15:49:41 +0200
5928996730appy.gen: added Ref.navigable: if True, referenced objects can appear within the portlet.
Gaetan Delannay
2012-03-27 10:37:41 +0200
1e9e4df5a6appy.gen: added the possibility to create and manage web pages into an app; every class can now define a method showPortlet. If the class does not define it or if it returns False, the portlet won't be shown when showing/editing instances of this class.
Gaetan Delannay
2012-03-26 19:09:45 +0200
8aa03a091aappy.gen: minor updates.
Gaetan Delannay
2012-03-23 23:26:35 +0100
f6a828bc13appy.gen: removed fields Tool.showWorkflowCommentFieldForxx (workflow comment may not be entered into the confirm popup); appy.gen: security-related bugfixes.
Gaetan Delannay
2012-03-19 17:00:44 +0100
cbb8d5cd12appy.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).
Gaetan Delannay
2012-03-16 14:59:59 +0100
7b0b7e147dappy.gen: allow to define several layoutTypes (ie: ('edit', 'result')) as a tuple/list in 'show' attributes of fields.
Gaetan Delannay
2012-03-06 17:02:41 +0100
13f3400577appy.pod: bugfix while including a PDF file into a document; ease the inclusion of Plone images from a Plone/Zope DB through 'do text from document' statements; appy.gen: added obj.mayAct method that allows to display conditionnally the column 'Actions' when an object is shown in a list (query or ref); improved navigation from sub-objects to parent objects; improved layout.
Gaetan Delannay
2012-02-23 15:58:06 +0100
9c5f92337bappy.gen: improvements in user management.
Gaetan Delannay
2012-02-21 12:09:42 +0100
9394490d33appy.gen: allow to define a method Tool.getHomePage that returns the URL of the home page for any user (authenticated, anonymous, manager, or any other code-based distinction); allow an app to define a 'ui' folder for storing new UI-related elements (pages, images, etc) or overriding standard Appy UI elements; logo.jog is replaced with banner.jpg (size 900 x 75px).
Gaetan Delannay
2012-02-18 19:48:00 +0100
a80ef513ffappy.gen: added new format 'captcha' for a String.
Gaetan Delannay
2012-02-16 18:13:51 +0100
0d55abb239appy.shared.packaging: added the possibility to sign the generated Debian packages.
Gaetan Delannay
2012-02-15 11:38:13 +0100
69fb172f03appy.shared: added the possibility to generate a Cortex (see www.guardis.com) application definition for an Appy application.
Gaetan Delannay
2012-02-14 12:52:36 +0100
0b6d2d2165appy.gen: added method wrapper.search1 that returns a single result (which is the only difference with wrapper.search); bugfix while getting objects from the catalog (bypass security when called from code).
Gaetan Delannay
2012-02-09 16:36:50 +0100
cb53c6b9b2appy.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.
Gaetan Delannay
2012-02-07 12:17:10 +0100
1275df5753appy.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.
Gaetan Delannay
2012-02-02 17:30:54 +0100
a1b048153fappy.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.
Gaetan Delannay
2012-01-20 16:12:00 +0100
13443ea79eappy.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.
Gaetan Delannay
2012-01-18 14:27:24 +0100
7d844070dfappy.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.
Gaetan Delannay
2012-01-12 21:49:23 +0100
30a51b7c1dappy.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).
Gaetan Delannay
2012-01-09 17:00:47 +0100
2bd3fe1eebappy.pod: xhtml2odt: ability to include images from img tags (anonymously). Non-anonymous solution for a Appy/Zope server only; function 'document': allow to specify size of images in cm or px, or via a 'style' tag; appy.gen: allow to upload images in ckeditor fields; improved error management.
Gaetan Delannay
2012-01-04 18:03:46 +0100
98fafad14aappy.gen: configured ckeditor for Appy; bugfix in jscalendar integration.
Gaetan Delannay
2012-01-02 16:59:11 +0100
0e7dfa3aafappy.gen: replaced tiny_mce with ckeditor.
Gaetan Delannay
2012-01-02 13:54:03 +0100
ba1743b38eappy.shared: bugfixes in XhtmlDiff.
Gaetan Delannay
2011-12-31 14:24:49 +0100
29f92e401eappy.bin: publish.py is now able to generate a Debian package for Appy, working with Python 2.6 and Python 2.7; new.py contains optimized code for generating a non-buildout Zope 2.13/Plone4 instance.
Gaetan Delannay
2011-12-22 16:46:09 +0100
6ece750d9aappy.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.
Gaetan Delannay
2011-12-15 22:56:53 +0100
e78cf62694appy.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.
Gaetan Delannay
2011-12-09 08:56:37 +0100
d0cbe7e573appy.gen: first Ploneless version.
Gaetan Delannay
2011-11-25 18:01:20 +0100
5672c81553More work on appy.shared.diff.
Gaetan Delannay
2011-11-21 17:10:26 +0100
10398e770aappy.shared.diff: more work.
Gaetan Delannay
2011-11-19 23:53:38 +0100
8c6301b901appy.shared.diff: more work.
Gaetan Delannay
2011-11-19 11:48:03 +0100
cf992843ffMore work on appy.shared.diff...
Gaetan Delannay
2011-11-18 01:01:50 +0100
2ec05939feappy.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.
Gaetan Delannay
2011-11-17 12:41:06 +0100
8e1760842eappy.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).
Gaetan Delannay
2011-11-10 21:59:02 +0100
040cdafb8cappy.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.
Gaetan Delannay
2011-11-03 16:14:23 +0100
331db304e7appy.gen: bugfixes in List field and in master-slave relationships.
Gaetan Delannay
2011-10-27 17:55:17 +0200
3ab6cec7d6appy.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.
Gaetan Delannay
2011-10-26 10:21:09 +0200
1ebcbb7b34appy.shared.diff: more flesh on the XhtmlDiff class.
Gaetan Delannay
2011-10-22 19:41:50 +0200
c11378c747appy.gen: added a widget 'List' for rendering grids of data.
Gaetan Delannay
2011-10-19 09:37:44 +0200
38260cc2a5appy.shared: added new class appy.shared.diff.HtmlDiff for computing differences between 2 chunks of HTML code.
Gaetan Delannay
2011-10-10 10:02:16 +0200
f13b7ea307appy.gen: various bugfixes and minor improvements.
Gaetan Delannay
2011-10-06 16:27:58 +0200
4b44f8d565appy.gen: bugfixes in Ref fields, IE CSS and master/slave relationships.
Gaetan Delannay
2011-10-04 20:12:58 +0200