Tuesday, 9 May 2006
blojsom 3.0 M2 update
« Sunglasses | Main | blojsom 3.0 M2 available »I should have blojsom 3.0 M2 done and available tonight or tomorrow.
Things that got fixed:
* Search
* Tag cloud generation and tag query
* Calendar filter and populating the calendar for the template
Things that got added:
* Named queries in the mapping files. Thankfully Hibernate's Criteria API does much of the heavy lifting in terms of interacting with the database for me and I only needed to add 3 simple queries. Named queries allow for something like:
List entriesMatchingMetadataKeyValue = session.getNamedQuery("entry.by.metadata.key.value")
.setString("blogId", blog.getBlogId())
.setString("metadataKey", metadataKey)
.setString("metadataValue", valueSearch).list();
For the most part, those named queries should work across databases. In the event that they don't, the query can be edited right in the mapping file. No source code changes at all.
* The database loader bean now handles upgrading the database as well as initial database creation.
May 05 19:52:24 INFO [main] database.DatabaseLoader - About to upgrade blojsom database
May 05 19:52:24 INFO [main] database.DatabaseLoader - Read in sql script
May 05 19:52:24 INFO [main] database.DatabaseLoader - Finised upgrading blojsom database
* Default posting category (finally, I know)
* Ability to search through responses (comments, trackbacks, pingbacks) (finally, I know)
* Added TinyMCE as a rich-text editor. This is also a per-user option so if you've got say 9 users on a given blog, then none, some, or all can choose to use the rich-text editor.
* Information on post status available when editing a post. This will probably be useful for more complex workflows so that you can know what stage an entry is at. So, an entry might be "Awaiting Approval", but still be editable.
Things that'll probably be in blojsom 3.0 final:
* Roles. Think of these as a collection of permissions under a given name like "Contributor", "Administrator", etc.
Let's say you logged into the administration console and you're an "Administrator". You'd see:
Let's say you're a "Contributor". You'd see:
The administration interface changes dynamically adding or removing options based on your "role". Roles are fluid as well meaning that a given user can be in a given "role", but have certain permissions that are added or removed.
Technorati Tags: blojsom
[Trackback URL for this entry]
I assume you've followed the installation notes for blojsom 3.0 M1 (http://wiki.blojsom.com/wiki/display/blojsom3/Installation)? You might want to join the blojsom-users mailing list (https://lists.sourceforge.net/lists/listinfo/blojsom-users) and post more information about the problems you're running into.
Thanks.

I have only just discovered Blojsom and downloaded the latest version blojsom3.0M1. I have tried to get it to work (4th day and night even recompiled) to no avail. The quick start works. Just want to know what i need to add or do to the 3.0M1 o get it working. I have a Linux environment running Jboss 4. I also noticed the 3.0M1 war file lack the property files in quick start and the directory structure is slightly different bootstrap / blogs directory.
Any hint or suggestions will help. thank you.