Subtext 1.9 "Daedelus" Released!

Subtext Logo Well my friends, it took a bit longer than expected to get Subtext 1.9 out the door, but we did it.  When we released Subtext 1.5 back in June I said,

The next version of Subtext is code named Daedelus. It will simply be a straight upgrade to ASP.NET 2.0. We hope for a quick turnaround as we don’t plan to add a lot of features in this iteration. We just want to get up and running in ASP.NET 2.0.

Well that was then and this is now and I was wrong about the quick turnaround.

We realized that a straight port to ASP.NET 2.0 wasn’t much fun if we couldn’t take advantage of some of the new goodies that ASP.NET 2.0 has.  So we spent a significant amount of time cleaning up code and refactoring some functionality to take advantage of what ASP.NET 2.0 offers.  A lot of the changes are under the hood, but there are still a few surface level treats for everybody.

Before you upgrade to 1.9, please check out my notes on upgrading.

So what is new in Subtext 1.9 besides that it is now an ASP.NET 2.0 application?

Under The Hood

Let’s not kid ourselves. 99.999% (Five nines baby!) of my readers are geeks and we want to pop open the hood and take a look around.

  1. Subtext Providers have been refactored to use the Microsoft base Provider class, System.Configuration.Provider.ProviderBase.
  2. Used Generics where appropriate.  As you know, there is a lot of temptation when given a new hammer to start looking at everything as a nail.  We tried to avoid that temptation and make judicious use of Generics.  I think we did a bang up job.  Most of our collection classes are now generic collections and there’s that CollectionBook class I wrote about recently.
  3. Improved our Continuous Integration and build process using CruiseControl.NET.  We now have a nice dashboard that provides a lot of visibility into our development progress.
  4. Improved our unit test code coverage to 36.4% and counting. (When I started it was pretty much 0)
  5. Subtext now runs under Medium Trust without problems except for the Trackback/Pingback issue.
  6. Converted the Subtext.Web project into a Web Application Project.
  7. Added a _System folder to the Skins directory. This contains some CSS files that any skin may reference which provide some common CSS layout and styles.  For example, by referencing commonstyle.css, you can use the pullout css class to pullout some text.  Custom skins can reference these files and override specific settings, putting the Cascading back in CSS.
Try out the new “pullout” or “pullout.alt” CSS classes.

New Features

Some new features we added.

  1. Sometimes removing code is as much a feature as adding code.  As I announced earlier, we removed some old skins and added some snazzy new ones.  We also implemented a way for custom skin definitions to not get overwritten when upgrading code.
  2. Improvements to the packaged skins.  We added the Previous/Next control to nearly every skin as well as Gravatar support among other minor improvements.
  3. Comment Moderation!  This high demand feature was fast-tracked when my company was hired to implement it for a client who wished to start a blog. The client agreed to contribute the source back to the project!
  4. Not exactly a new feature, but we changed the default Html Editor to use the FCKEditor.
  5. Implemented RSD (Really Simple Discovery) and the MetaWeblog API’s newMediaObject method so that Subtext works quite well with Windows Live Writer.

Bug Fixes

There are probably too many to list, but I'll point out a few that people may have noticed.

  1. [1524172] The Username is being saved as the title.
  2. [1524371] Non-English comments do not appear correctly in mail message.
  3. [1521317] Installation check code fails in locked down scenarios.
  4. [1519764] Skin selection not retained.

Important Note

Subtext ships with ReverseDOS spam blocker enabled out of the box. Please check the ReverseDOS.config file to make sure that it is not filtering any terms that would be relevant to comments in your blog. You can also disable ReverseDOS by removing any reference to it from Web.config should you so desire.

Plans For The Future

We are now gearing up for Subtext 2.0 “Poseidon”, our next major release, which will feature a plugin framework.  Our hope is to foster a community of plugin contributions.  Other features in the works include a Membership provider which will allow multiple authors for a single blog and a new skinning framework. I will update the Roadmap soon to reflect our current plans for 2.0.

Also, with the recent deluge in comment spam, I am considering having an interim release (1.9.1) that would include Akismet as well as semi-moderation (1.9 does include full moderation now). Ideally we would save these features until we have a plugin framework, as they seem like great candidates for plugins. However the communal benefit of blocking spam may be too great to wait.

Many thanks to the growing numbers of Subtext contributors who helped shape and test this release.  All your efforts, whether it is coding, submitting patches, testing, reporting bugs, requesting features, or just giving us a piece of your mind are appreciated!

And before I forget, as I tend to do, the link to the latest release is here.

What others have said

Requesting Gravatar... Blog di Vito Arconzo Aug 31, 2006 3:20 AM
# Rilasciato Subtext 1.9
Io personalmente lo attendevo e, finalmente, stamattina Simone ha annunciato il rilascio della versione
Requesting Gravatar... Mohamed Rashed Aug 31, 2006 8:05 AM
# re: Subtext 1.9 "Daedelus" Released!
Realy good news,

Just i want to ask , because it's the first version in [ASP.NET 2.0] is it working in medium trust specialy for shared hosting ?

Thank you
Requesting Gravatar... Rydal Williams Aug 31, 2006 11:01 AM
# re: Subtext 1.9 "Daedelus" Released!
This is going to be my favorite release so far, I've been long waiting for comment moderation and metaweblog api. I'll be installing on my staging box this weekend.
Requesting Gravatar... haacked Aug 31, 2006 11:37 AM
# re: Subtext 1.9 "Daedelus" Released!
@Mohamed: Yes, that was point #5 in the section "Under the Hood". Just update your web.config to change the trust level to medium.

However, as I pointed out, Trackbacks and PingBacks don't work under standard medium trust. You'll need to talk to your service provider about allowing web requestes.
Requesting Gravatar... Damien Guard Aug 31, 2006 5:59 PM
# re: Subtext 1.9 "Daedelus" Released!
Great work guys!

I'd suggest that now you're leaving .NET 1.1/VS 2003 behinde you drop the Class Library as Web Site hack and use Web Application Projects and Web Deployment Projects for simply two-click deployment from dev to live.

Instructions are at my blog if you're interested.

[)amien
Requesting Gravatar... haacked Aug 31, 2006 6:02 PM
# re: Subtext 1.9 "Daedelus" Released!
Damien, we dropped that hack ages ago. We're using Web Application Projects.
Requesting Gravatar... Damien Guard Aug 31, 2006 6:05 PM
# re: Subtext 1.9 "Daedelus" Released!
Oh right, you might want to remove those text files about the hack then. There is one in solution items and another in Subtext.Web.

I've just realised VS2005 still puts "Convert to Web Application" even next to web applications! :D

Still, the deployment tip is useful.

[)amien
Requesting Gravatar... haacked Aug 31, 2006 6:09 PM
# re: Subtext 1.9 "Daedelus" Released!
Ah, good point about removing the file about the hack.
Requesting Gravatar... Joshua Sep 02, 2006 3:24 AM
# re: Subtext 1.9 "Daedelus" Released!
Can't wait for the plugin support. Subtext would be wordpress of asp.net. Keep it up.
Requesting Gravatar... Bruno Figueiredo Sep 04, 2006 8:40 PM
# re: Subtext 1.9 "Daedelus" Released!
First off all, good job! Just migrated to 1.9! :)

The only problem I have is that the images libraries stopped working :(

It gives me as File not Found!

any ideias??

thanks
Bruno
Requesting Gravatar... Alan Le Sep 05, 2006 11:36 PM
# From Dasblog to Subtext
From Dasblog to Subtext
Requesting Gravatar... Dave Donaldson's Blog Sep 06, 2006 8:01 PM
# Blog Move Complete
Blog Move Complete
Requesting Gravatar... Coding is for girls... Sep 08, 2006 5:56 AM
# Have installed Subtext 1.9
Have installed Subtext 1.9
Requesting Gravatar... Bruno Figueiredo Sep 08, 2006 7:15 AM
# re: Subtext 1.9 "Daedelus" Released!
Just figure ir out. The skin i have choosed dosent have gallery "support".

:)
Requesting Gravatar... Blog-HowTo.com Sep 09, 2006 12:56 PM
# How to Install Subtext 1.9 at WebHost4Life
How to Install Subtext 1.9 at WebHost4Life
Requesting Gravatar... Michele Sep 11, 2006 6:08 AM
# re: Subtext 1.9 "Daedelus" Released!
I upgraded to Subtext 1.9 everything fine except moderation (object not found error) and some problems in the links section (i've lost some i had configured and it no longer works).
Requesting Gravatar... Dragan Panjkov Sep 15, 2006 4:39 AM
# re: Subtext 1.9 "Daedelus" Released!
Hello,
I have freehosting on panjkov.qsh.eu and I created another for my blog on blogpanjkov.qsh.eu. I installed subtext, but when I try to run it i receive this error:

Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.

Source Error:

Line 334: <system.web>
Line 335: <!-- [Full|High|Medium|Low|Minimal] -->
Line 336: <trust level="Full" originUrl="" />
Line 337:
Line 338: <xhtmlConformance mode="Transitional" />

so it seems that administrator locked access to this section. Is there any workaround for this.


--
Dragan Panjkov

http://panjkov.qsh.eu/
Requesting Gravatar... Insert Catchy Title Here Sep 23, 2006 8:14 AM
# ReverseDOS
Requesting Gravatar... marvz Sep 25, 2006 11:56 PM
# re: Subtext 1.9 "Daedelus" Released!
Hi,

I have problem instaling subtext.. Please help me. I followed the instrucntion and i can go up to step 02. but there is an error that need to register the below.

<add verb="GET" path="WebResource.axd" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />

i did this and add to web.config <httphandlers> but still doesnt work. Please help thanks.

Requesting Gravatar... Haacked Sep 26, 2006 12:01 AM
# re: Subtext 1.9 "Daedelus" Released!
Please send an email to the subtext-devs@lists.sourceforge.net mailing list along with the error message you received.

Subtext 1.9 runs on ASP.NET 2.0. Did you check to make sure your IIS website is configured for ASP.NET 2.0?
Requesting Gravatar... Bordoni Oct 01, 2006 9:46 AM
# Problemi subTEXT 1.9 fissati.
Problemi subTEXT 1.9 fissati.
Requesting Gravatar... Michele Oct 01, 2006 6:58 AM
# re: Subtext 1.9 "Daedelus" Released!
I had sme problems with links section in subTEXT 1.9 and today I fixed them out:
In the admin site I couldn't manage the first 10 links for a mismatch between the paging logic of the admin site and the one used in the stored procedure "subtext_GetPageableLinks".
It's enough to put this line:
SET @PageIndex = @PageIndex -1
just after the delclaration of the SP and the admin site will work fine.
On the other hand there's a bug in the stored procedure "subtext_GetActiveCategoriesWithLinkCollection" used to get the links for the home page; in fact the categoryType used in the WHERE clauses should be equal to 5 not to 0.
Requesting Gravatar... Haacked Oct 01, 2006 11:15 AM
# re: Subtext 1.9 "Daedelus" Released!
Thanks Michelle, that was acknowledged as a problem and the fix will be included in the next release.
Requesting Gravatar... The Rabid Paladin Nov 29, 2006 3:45 PM
# Blogging Software
Blogging Software
Requesting Gravatar... when setup isn't just xcopy Dec 04, 2006 11:12 PM
# Goodbye, MSDN. I'm moving to http://RobMensching.com/blog.
I started blogging three years ago when the MSDN blog site was still hosted on gotdotnet . Back then
Requesting Gravatar... ebony gay personals Jan 20, 2007 6:00 AM
# ebony gay personals
&lt;a href=&quot;http://www.gratis-forum.de/forum/?fnr=77601&quot;&gt;ebony gay personals&lt;/a&gt;
Requesting Gravatar... The Software Pragmatist May 07, 2007 12:43 PM
# Blogging Software
Blogging Software
Requesting Gravatar... Insert Catchy Title Here Jul 13, 2007 3:06 PM
# ReverseDOS
ReverseDOS
Requesting Gravatar... djstampede Jul 21, 2007 5:34 PM
# re: Subtext 1.9 "Daedelus" Released!
I installed the latest subtext but when I get to the configuration section i can't log in as the admin, the password is okay since i dont get any " i dont know you messages" but it still keeps redirecting me to the login page, please help

What do you have to say?

(will show your gravatar)
Please add 5 and 6 and type the answer here: