Commit graph

37 commits

Author SHA1 Message Date
Gaetan Delannay abe56a5add [gen] Ref.linkObject and unlinkObject (and caller methods like wrapper.create) can now be called with attr 'executeMethods' being False: in this case, all methods defined in attrs like 'insert', 'beforelink', 'afterLink' will not be called. Can be useful while migrating data or duplicating objects. 2014-09-29 10:06:40 +02:00
Gaetan Delannay 4947e2956c [gen] Pod field: send pod results by emails. 2014-09-17 18:09:30 +02:00
Gaetan Delannay 400158a0a1 [gen] Users have now a workflow allowing them to deactivated. An inactive user can't log in anymore. This is useful if the User is tied to other objects and cannot be removed without braking the data model, but does not correspond anymore to an active user that is allowed to log in. 2014-09-11 16:41:08 +02:00
Gaetan Delannay 194b455816 [gen] pod field: one of the listed templates in field.template can simply be a pointer to another template from the list. For example, template=('Item.odt', 'Item.odt.variant'). The second file is an empty file and gen will use the first one for the second template. It allows to have similar files for templates that, in the UI, are different, ie, can have different names and appear under different conditions. Note that in the default context of every template, variable 'template' contains the name of the template file. It allows the template to know if he is 'called' under the name 'Item.odt' or 'Item.odt.variant'. 2014-09-10 16:26:19 +02:00
Gaetan Delannay 7889277328 [gen] Adapted all logged messages because thhe logged user is now automatically prepended to any message. 2014-09-01 14:14:32 +02:00
Gaetan Delannay b2a2aa5210 [gen] Ref.select can now hold a Search instance; began implementation of Ref.link == 'popup'. 2014-07-18 16:54:11 +02:00
Gaetan Delannay b3a72ade24 [gen] Bugfixes; for Ref field, replaced render mode 'titles' with 'minimal', allowing to display all fields defined in shownInfo. 2014-05-19 12:12:33 +02:00
Gaetan Delannay c002b5cb59 [gen] Added px.override allowing to modify PX code; bugfixes; added migration code for converting File instances to FileInfo instances. 2014-02-26 23:40:27 +01:00
Gaetan Delannay 1faba191b2 [gen] Allow to edit external users, excepted data like login, name... that come from the external source. 2013-10-18 16:42:52 +02:00
Gaetan Delannay 180b3473e8 [pod,px] Allow to reference an already defined variable instead of defining one in a var statement, via the '@' prefix. For example, in PX: var='@i = i + 1'. [pod] Repaired broken tests [gen] Bugfixes. 2013-09-23 22:36:09 +02:00
Gaetan Delannay bd80d63eda [gen] Bugfixs. 2013-09-22 22:08:48 +02:00
Gaetan Delannay 7f88c7cca8 [gen] Show a special icon for users that are local copies of external sources. 2013-09-10 17:55:10 +02:00
Gaetan Delannay e344ff51e2 [gen] LDAP bugfixes. 2013-09-09 23:14:50 +02:00
Gaetan Delannay e51308b277 [gen] More work on LDAP authentication. 2013-09-09 15:54:06 +02:00
Gaetan Delannay 5223af2a62 [gen] Get rid of some Zope-specific security aspects. This is a preparatory work to extend the Appy authentication system to perform ldap authentication as well. 2013-08-23 18:57:27 +02:00
Gaetan Delannay 34e3a3083e [gen] More work ZPT->PX. 2013-08-21 12:35:30 +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 244826194b [gen] Added a mechanism for caching method calls that are performed several times for displaying a single ui page (ie: field.show methods). 2013-06-10 00:13:29 +02:00
Gaetan Delannay 820d3ef241 [gen] Added Config.discreetLogin allowing to put a discreet link on the main page for logging in, instead of the login form in the central strip, for sites where logged users do not represent the majority of visitors (only some admins). 2013-05-10 12:16:57 +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 61b0ed2fce [gen] Minor updates. 2012-08-17 17:12:15 +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 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 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 ede29fb6c1 [gen] Bugfix while managing languages, ui improvements. 2012-05-29 20:50:18 +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 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 7b0b7e147d appy.gen: allow to define several layoutTypes (ie: ('edit', 'result')) as a tuple/list in 'show' attributes of fields. 2012-03-06 17:02:41 +01:00
Gaetan Delannay 431511026c appy.gen: bugfixes. 2012-03-03 23:29:32 +01:00
Gaetan Delannay 9c5f92337b appy.gen: improvements in user management. 2012-02-21 12:09:42 +01:00
Gaetan Delannay a80ef513ff appy.gen: added new format 'captcha' for a String. 2012-02-16 18:13:51 +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 c1174fac79 appy.gen: solved a tricky encoding problem. 2011-12-08 16:01:57 +01:00
Gaetan Delannay c5a8968bd3 appy.gen: Refactoring due to De-Plonization. 2011-12-05 15:11:29 +01:00
Gaetan Delannay d934f49a99 appy.gen: refactoring due to De-Plonization. 2011-12-05 10:52:18 +01:00
Renamed from gen/plone25/wrappers/UserWrapper.py (Browse further)