Release of Kooboo CMS 1.2
Date: 2009-11-04
​Kooboo 1.2 beta have been published to Codeplex.com. We had done very
completely internal testing. However as a nature of software, we can
not guarantee bug free.
We do not expect big bugs, but we are hoping that the community can help us find possible bugs.
Besides
version 1.2, there are several modules and site packages available now,
we will also release them to codeplex and in this forum.
Below is the change log, and the document section have been updated.
New features:
-
Add "Site package" concept. You can easily export your whole site
including content to a package and deploy it at remote servers.
-
Kooboo module development updated. Easier to use now, ASP.NET MVC mini
site concept.Please refer to Kooboo 1.2 document <<module
development guide>> for more information.
-
Url.GetResourceFileUrl(@"examplefolder\photo.jpg") to generate binary
content file url. This will be useful when you export the application.
So that you do not have need to refer to binary file using a fixed URL
like: Template\[yourapplication]\BinaryResource\examplefolder\photo.jpg.
- add "Kooboo_" prefix to kooboo CMS request urls. This is to prevent conflict with front end user created page name.
- add "Static code" function, you can now place global code block to be reused by all templates.
- Add API methods to add modules to layout position by code.
- New selection windows for category/referencing content, supports drag & drop to select categories.
-
Add JavaScript folder to Binary Resource, similiar like Theme, can use
JavaScript from parent, can be combined and compressed before sending
to client browsers.
- Add some regular events code sample in the
new created content template. For example, PreDataRuleExecute event,
when return false, DataRule exection will be ignored.
- Add new API, Url.ResizeImageUrl, this can be used to resize images on runtime.
- Add new controlType: Hidden, as requested by an user at kooboo forum.
-
Partial Trust level supported. Now it can be run on medium trust level
with unlimited reflection permission and ability to create and
manipulate an appdomain. However the schema function (schema menu
extension and content event) will not be available in partial trust
level because Kooboo needs to dynamically compile the function code.
To open reflection permission, go to web_mediumtrust.config at C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG, change line
"<IPermission class="ReflectionPermission" version="1" Flags="RestrictedMemberAccess"/>"
to
"<IPermission class="ReflectionPermission" version="1" Unrestricted="true"/>"
Ability to create and manipulate an AppDomain requires adding a flag to SecurityPermission, change line
"
<IPermission class="SecurityPermission" version="1"
Flags="Assertion, Execution, ControlThread, ControlPrincipal,
RemotingConfiguration"/> "
to
" <IPermission
class="SecurityPermission" version="1" Flags="Assertion, Execution,
ControlThread, ControlPrincipal, RemotingConfiguration,
ControlAppDomain"/> "
Additionally, if you want to run kooboo
on Windows 7 or Windows Server 2008 R2, due to a MS bug, it is required
to add "UnmanagedCode" flag to SecurityPermission for now,
it might
be fixed in the soon future from MS. See:
http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/f31bb0d8-9ba7-411a-8c4a-63c24b866501
change above line to:
"<IPermission
class="SecurityPermission" version="1" Flags="Assertion, Execution,
ControlThread, ControlPrincipal, RemotingConfiguration,
ControlAppDomain, UnmanagedCode"/>"
Optionally, if you want
to get lastest content in the "start page" panel, please change
web_mediumtrust.config allow to connect http://www.kooboo.com. Add
"<URI uri="http://www\.kooboo\.com/.*"/>"
to WebPermission, in result:
<IPermission class="WebPermission" version="1">
<ConnectAccess>
<URI uri="$OriginHost$"/>
<URI uri="http://www\.kooboo\.com/.*"/>
</ConnectAccess>
</IPermission>
If you are runing under a Full Trust level, everything will be working fine without any changes.
Fixed:
-
remove ContentId from dynamic generated schema table. This ContentId is
not used any more, keeping it will cause some unexpect problem when
export & import. For the reason of deployment(import & export),
we need to use GUID instead of INT as a primary key.
- delete dynamic generated tables when removing application.([Cms_DeleteApplication])
- delete Cms_ContentReferencing foreign check constraints for the reason of data import, included in the SQL update script.
- DefaultControllerFactory is now thread-safe, default in ASP.NET MVC 1.0 is NOT thread-safe.
updated:
- Improve code editor and fix some code editor errorrs in IE8.
- ContentService API updated, reorganize and add new API methods.
- input field tooltip location changed, now append to mouse location, previous at the end of input field.
- Change some namespaces, recommend updating the completely web.config.
- change the pre-defined EnumAttribute seperator in content template from "," to "|"
- Lucene.NET updated to 2.4.0.2.