* Fixed security issue caused by sensitive property in req.data
* Fixed issue caused by setting a Metadata property to a Java value, e.g. java.net.URL instance becomes string without quotes. (Could this be a Rhino bug?) * Finalized conversion of AV_USER table to simple naming scheme ("user") * Added global getTitle() method which returns either site.title or root.sys_title * Implemented universal HopObject.value() method * Rededicated User.update() method since its previous functionality is now taken over by User.value() * Restructured login and register functionalities in User and MemberMgr * Replaced first occurrences of Exception with Error * Introduced i18n via gettext in User and MemberMgr * Removed getMessage() and Message in User and MemberMgr * Added first possible implementation of global getPermission() method * Modified code of global evalEmail() and evalURL() methods to work with Helma modules * Simplified global sendMail() method by not throwing any MailException anymore and returning the status code only * sendMail() now is using helma.Mail (so we can debug message output)
This commit is contained in:
parent
7d21e881e3
commit
e9a7800a87
24 changed files with 401 additions and 436 deletions
|
@ -39,7 +39,7 @@ skins = mountpoint(SkinMgr)
|
|||
images = mountpoint(ImageMgr)
|
||||
|
||||
preferences = mountpoint(Metadata)
|
||||
preferences_data = LAYOUT_PREFERENCES_NEW
|
||||
preferences_source = LAYOUT_PREFERENCES_NEW
|
||||
|
||||
site = object(Site)
|
||||
site.local = LAYOUT_F_SITE
|
||||
|
@ -51,11 +51,11 @@ parent.foreign = LAYOUT_ID
|
|||
|
||||
creator = object(User)
|
||||
creator.local = LAYOUT_F_USER_CREATOR
|
||||
creator.foreign = USER_ID
|
||||
creator.foreign = id
|
||||
|
||||
modifier = object(User)
|
||||
modifier.local = LAYOUT_F_USER_MODIFIER
|
||||
modifier.foreign = USER_ID
|
||||
modifier.foreign = id
|
||||
|
||||
sharedBy = collection(Layout)
|
||||
sharedBy.local = LAYOUT_ID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue