Commit graph

447 commits

Author SHA1 Message Date
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
d3e2478d6b [gen] Added some default page and field layouts. 2012-09-24 16:32:16 +02:00
Gaetan Delannay
4d9823a59a [gen] Bugfix in the standard banner for RTL languages. 2012-09-20 15:43:53 +02:00
Gaetan Delannay
6367924b05 [gen] Added a i18n label used for the title of web pages and added a default favicon and the possibility to override it. 2012-09-20 09:37:33 +02:00
Gaetan Delannay
d799398de1 [gen] Graphical improvements. 2012-09-19 17:48:49 +02:00
Gaetan Delannay
b985b5998d Various bugfixes. 2012-09-19 11:29:29 +02:00
Gaetan Delannay
5f530d9f9e [gen] Now it is possible to index and search Ref fields. 2012-09-17 21:11:54 +02:00
Gaetan Delannay
bdaf1b4bbd [doc] Updates to the Appy manifesto. 2012-09-16 09:08:09 +02:00
Gaetan Delannay
693c11658f [doc] Doc, again. 2012-09-13 19:26:05 +02:00
Gaetan Delannay
9872f8ea66 [doc] Continued work on doc, website and look. 2012-09-13 14:43:40 +02:00
Gaetan Delannay
dc76ca542a [doc] In the process of updating documentation and website. 2012-09-12 00:23:34 +02:00
Gaetan Delannay
6801188496 [gen] ckeditor now works with IE. 2012-09-10 11:44:22 +02:00
Gaetan Delannay
c2eaab4b44 [gen] Cleaner and more robust approach when using Zope database indexes. 2012-09-04 18:00:22 +02:00
Gaetan Delannay
5c2d94236f [doc] In the process of refreshing documentation and website. 2012-08-24 16:39:45 +02:00
Gaetan Delannay
812bda7452 [gen] Added some layouts for Ref fields in Ref.wLayouts and Ref.wdLayouts; added a new, simpler way of defining auto-references (=Ref fields that refer to the class containing the field), via method appy.gen.autoref; stop catching exceptions raised by Actions (so a partial action can't be committed anymore). 2012-08-21 19:57:23 +02:00
Gaetan Delannay
61b0ed2fce [gen] Minor updates. 2012-08-17 17:12:15 +02:00
Gaetan Delannay
31a0268641 [gen] Do not generate base label for a workflow transition if transition.show is False; added an alternative predefined layout for pages (including summary, which is absent by default); [pod] added a default POD style 'podPageBreak' allowing to include page breaks via do... from... statements. 2012-08-14 16:05:02 +02:00
Gaetan Delannay
625c8b079b [gen] Bugfix in computhin SHA1 keys. 2012-08-10 16:00:41 +02:00
Gaetan Delannay
3393effd7b [gen] Ogone field: bugfixes. 2012-08-07 17:38:54 +02:00
Gaetan Delannay
256f6acb55 [gen] More accurate error reporting for Action fields. 2012-08-07 09:46:27 +02:00
Gaetan Delannay
47cd8ee277 [gen] Add param Config.activateForgotPassword to allow to disable this functionality for sites where the email of users may be unknown. 2012-07-27 11:01:35 +02:00
Gaetan Delannay
b2e1e8c780 [gen] First version of a Ogone Appy plug-in. 2012-07-26 17:22:22 +02:00
Gaetan Delannay
178059ba1b [gen]: method Wrapper.do: added param 'noSecurity' allowing to bypass check of roles mentioned as conditions for triggering worfklow actions. 2012-07-23 15:24:44 +02:00
Gaetan Delannay
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. 2012-07-18 21:58:11 +02:00
Gaetan Delannay
21ffa7b46d [gen] Added UserWrapper.checkPassword allowing to check if a password is the right one for a user. 2012-07-12 17:54:14 +02:00
Gaetan Delannay
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. 2012-07-11 17:27:40 +02:00
Gaetan Delannay
7e31304c30 [pod] Repaired some tests in the xhtml2odt test suite. 2012-07-10 14:53:31 +02:00
Gaetan Delannay
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). 2012-07-10 14:21:08 +02:00
Gaetan Delannay
ad14c1258c [gen] Implemented a mechanism 'forgot password?'. 2012-07-09 15:47:38 +02:00
Gaetan Delannay
8a5ca81746 [pod] xhtml2odt: generate ODT tables from XHTML tables, taking into account variable column sizes. 2012-07-06 17:57:25 +02:00
Gaetan Delannay
bc505b335f [gen] Bugfix in RTL languages support; [pod] xhtml2odt: bugfix in management of styles applied to inner p tags added within li tags. 2012-07-03 15:00: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
b680a5ddcb [gen] When raising Unauthorized, give more explanations. 2012-06-21 11:31:27 +02:00
Gaetan Delannay
188fdc9761 [gen] More simpler result.pt. 2012-06-13 09:59:19 +02:00
Gaetan Delannay
e13575c506 Added method Wrapper.isEmpty(name) that checks if the content of some field is empty or not on a given object. 2012-06-13 09:31:09 +02:00
Gaetan Delannay
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. 2012-06-03 21:55:26 +02:00
Gaetan Delannay
8f57163c2a [gen] Finalized pending i18n. 2012-06-03 18:34:56 +02:00
Gaetan Delannay
2710fb6c39 [gen] Bugfix: attribute Field.focus and UserWrapper password management. 2012-06-02 20:55:25 +02:00
Gaetan Delannay
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. 2012-06-02 17:39:05 +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
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. 2012-06-01 15:57:19 +02:00
Gaetan Delannay
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. 2012-05-31 17:29:06 +02:00
Gaetan Delannay
ede29fb6c1 [gen] Bugfix while managing languages, ui improvements. 2012-05-29 20:50:18 +02:00
Gaetan Delannay
aaaccb0669 [gen] added the possibility to define a sortOrder of a Search class. 2012-05-25 14:27:53 +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
9477865f44 [pod] Bugfix while dumping large size images into pod templates from appy.gen FileWrapper instances. 2012-05-22 22:23:54 +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