Gaetan Delannay
|
efd918f175
|
[gen] Replaced, in PXs, function 'img' by function 'url', that returns the URL of an external resource to be included in the XHTML, like an image, a Javascript file or a CSS file.
|
2013-07-20 19:56:17 +02:00 |
|
Gaetan Delannay
|
f2b19e4141
|
[gen] Bugfixes.
|
2013-07-15 16:41:45 +02:00 |
|
Gaetan Delannay
|
5d350de491
|
[gen] Optimized PXs.
|
2013-07-15 13:39:05 +02:00 |
|
Gaetan Delannay
|
1810373304
|
[gen] Optimized PXs. [px] added tag 'var2', similar to 'var', but that is executed after tags 'for' and 'if'.
|
2013-07-15 11:23:29 +02:00 |
|
Gaetan Delannay
|
25b4edfc1d
|
[gen] Moved Appy fields into appy/fields together with their PX.
|
2013-07-08 23:39:16 +02:00 |
|
Gaetan Delannay
|
2b5d286668
|
[gen] On Page instances, one may now define a method for conditionnally showing the 'edit' button on 'view' layout. [gen] An app may now, on its Config class, define a method getHomeObject that must return an object that will be the home object for a given (class of) user(s). This object's menu will appear when the user is consulting a page with no tied menu (like a search for example). [gen] More ZPT->PX work.
|
2013-06-28 15:00:02 +02:00 |
|
Gaetan Delannay
|
7fcd2f44d3
|
[gen] More ZPT->PX work.
|
2013-06-27 17:40:01 +02:00 |
|
Gaetan Delannay
|
cb6fea7631
|
[pod,px] 'loop' variable allows to know if we are managing an even or odd elem via loop.<elem>.odd and loop.<elem>.even. [gen] In the process of migrating from ZPT (Zope Page Templates) to appy.px (Python Xml).
|
2013-06-27 11:57:39 +02:00 |
|
Gaetan Delannay
|
e6cacd10dd
|
[px] Better error reporting when encountering a parsing error in a PX.
|
2013-06-26 17:06: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
|
5ece5c9831
|
[px] Added the possibility to have several PX actions in the same XHTML tag. If several PX action are defined, they are evaluated in this order: var, for, if.
|
2013-06-25 23:22:33 +02:00 |
|
Gaetan Delannay
|
1d931cfb96
|
[px] Made PX thread-safe.
|
2013-06-25 12:04:23 +02:00 |
|
Gaetan Delannay
|
0d0d7c1123
|
[gen] Added attributes 'created' and 'modified', now accessible on Appy wrappers; added method AbstractWrapper.countRef that allows to count the number of objects tied to a given object via a Ref field whose name is given as method param.
|
2013-06-07 11:32:23 +02:00 |
|
Gaetan Delannay
|
4c6c72935a
|
[gen] Bugfix in AbstractWrapper.
|
2013-05-17 17:11:22 +02:00 |
|
Gaetan Delannay
|
d45e314ac1
|
[gen] Calendar: bugfix; wrapper.appyUser returns the admin if the user is 'System Processes', the virtual user that runs when Zope is starting.
|
2013-05-17 15:00:31 +02:00 |
|
Gaetan Delannay
|
1c3555fd28
|
[gen] Added the possibility to define dict someClass.styles (with, currently, a single entry 'title'), allowing to specify alternative CSS classes for class-related elements (here, 'title' allows to define an alternative CSS class for the link allowing to click on some instance of the class on a query or ref).
|
2013-04-27 02:15:44 +02:00 |
|
Gaetan Delannay
|
0a8e06f1d9
|
[gen] Various bugfixes.
|
2013-04-16 19:56:47 +02:00 |
|
Gaetan Delannay
|
5cc7884c03
|
[gen] Bugfix: sort references.
|
2013-03-10 16:31:49 +01:00 |
|
Gaetan Delannay
|
2307a284cc
|
[gen] Wrapper.reindex: allow to specify attribute 'fields' containing the list of fields that must be reindexed. If not given, all object fields are reindexed. [pod] POD ODS templates: into POD results from ODS templates, Python expressions that produce ints, floats or dates (Zope DateTime only for the moment) produce cells with typed values.
|
2013-02-06 17:15:01 +01:00 |
|
Gaetan Delannay
|
cb77418dda
|
[gen] Stop using param 'cmp' in method [].sort (deprecated in Python3). Used para 'key' instead.
|
2013-01-22 09:12:00 +01:00 |
|
Gaetan Delannay
|
ba148c51aa
|
[gen] Calendar: display weekend days in a special way.
|
2012-10-18 20:57:03 +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
|
5f530d9f9e
|
[gen] Now it is possible to index and search Ref fields.
|
2012-09-17 21:11:54 +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
|
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
|
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
|
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
|
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
|
459a714b76
|
appy.bin: adapted job.py for Appy >0.8; appy.gen: improved mail notification mechanism.
|
2012-05-03 10:51:54 +02:00 |
|
Gaetan Delannay
|
a80ef513ff
|
appy.gen: added new format 'captcha' for a String.
|
2012-02-16 18:13:51 +01:00 |
|
Gaetan Delannay
|
0b6d2d2165
|
appy.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).
|
2012-02-09 16:36:50 +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
|
d934f49a99
|
appy.gen: refactoring due to De-Plonization.
|
2011-12-05 10:52:18 +01:00 |
|