BlogEngine Comment Spam

by Ivan Hamilton 12/23/2009 9:58:00 AM

So BlogEngine must be popular... I'm getting targetted quite heavily for comment spam.

I'm going to moderate comments until I can get around to upgrading the software and tightening up the anti-spam features.

Damn spammers!

Currently rated 1.7 by 129 people

  • Currently 1.673953/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

BlogEngine.NET

BlogEngine.NET 1.5.1.1 r27024 on Mono Patch

by Ivan Hamilton 4/23/2009 4:25:00 PM

I've been seeing an increasing amount of comment spam lately. BlogEngine.NET isn't a large target, but the spammers are starting to find it and I'm getting sick of manually culling the comments.

Before investing more time into my current install, I figured it was worth looking at an upgrade. This isn't something I'll do lightly. In the past, the BlogEngine.NET project hasn't been very responsive to my bug reports & fixes. It has taken about 6 weeks from a bug report (with an attached fix) to being committed to the repository. 6 weeks is a little beyond my attention span.

There's been a fair bit of updating since the 1.3.1.30 release that I'm currently running and the idea of switching to 1.5.1.1 is a little scary. My past experiences with Mono and BE haven't been smooth, and hunting down bugs in both Mono & BE again just to get a minor upgrade, is far too much effort. But since my previous logged issues had been fixed, I felt it was time to give BE another upgrade shot.

With my notes still lying around from last time, I decided to grab the latest BE source (r27024) and see how it went. To my surprise it not just compiled (previous versions would not even compile)... but it also ran.

I headed off to download Justin Etheredge's Akismet Extension for BlogEngine.NET. I wasn't too familiar with Akismet, but it requires you to have a WordPress API key. I headed off to WordPress to create an account and get an API key (just a blog, just an account with an API key).

I wasn't too familar with BlogEngine.NET Extensions, so after setting the Akismet Extension options, I clicked the "View" link for that extension... "Source for [/opt/blog/BlogEngine/BlogEngine.NET/App_Code\Extensions\AkismetExtension.cs] not found" Doh! Clash of the Slash!

It appears that BlogEngine.NET still doesn't have enough of a *nix following to have ironed all the bugs out. But I've reported what I've found, and just put my latest patch for BlogEngine on Mono up. You'll find it on the BlogEngine.NET Mono Patches page.

From your BlogEngine directory:

host:/opt/blog/blogengine-27024.dev# patch -i /tmp/blogengine-27024.patch -p1
patching file 'BlogEngine.NET/admin/Extension Manager/Editor.ascx.cs'
patching file DotNetSlave.BusinessLogic/API/MetaWeblog/XMLRPCRequest.cs
host:/opt/blog/blogengine-27024.dev#

P.S. I haven't actually switched my live blog to the new 1.5.1.1 code... yet. I want to test it in a development environment a little more first.

Currently rated 1.5 by 178 people

  • Currently 1.5287/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

.NET | BlogEngine.NET

BlogEngine.NET r11405 on Mono Patch

by Ivan Hamilton 5/22/2008 5:45:00 PM

I've just put my latest patch for BlogEngine on Mono up.

You'll find it on the newly created BlogEngine.NET Mono Patches page.

From your BlogEngine directory:

host:/opt/BlogEngine# patch -i /tmp/blogengine-11405.patch -p1
patching file BlogEngine.NET/App_Code/Controls/Blogroll.cs
patching file BlogEngine.NET/App_Code/Controls/MonthList.cs
patching file DotNetSlave.BusinessLogic/BlogEngine.Core.csproj
patching file DotNetSlave.BusinessLogic/Web/HttpHandlers/FileHandler.cs
patching file DotNetSlave.BusinessLogic/Web/HttpHandlers/ImageHandler.cs
host:/opt/BlogEngine#

Currently rated 1.5 by 104 people

  • Currently 1.519231/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

.NET | BlogEngine.NET

More Mono & BlogEngine issues

by Ivan Hamilton 5/8/2008 2:34:00 AM

I've recently submitted to the Mono team (and had accepted) a few patches to fix the issues I've found running BlogEngine.Net under Mono on Linux.

At this point, you will need the very latest Mono release (r102737) from SVN to get the fixes. These fixes are for Windows/Linux interoperability, cross directory master page & user controls, and Forms authentication.

With these fixes now applied, I now know of no problems with Mono running BlogEngine.Net on Linux. (I say "know of" because I haven't tested everything yet).

No problems with Mono, but there are problems with BlogEngine.Net.

The BlogEngine.NET code makes a number of assumptions (like a Dictionary will retain the order of items that are inserted) that aren't part of the .Net runtime's specification. I have 3 issued logged in BlogEngine.Net's Issue Tracker on CodePlex. All of the issues I've reported include the code changes required to fix them. Three weeks later, and they still sit there. There are three weeks worth of issues between mine and the latest one resolved. I expect we'll see them applied in about three weeks.

But on my system... all problems appear fixed.

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

.NET | BlogEngine.NET

There was an old lady who swallowed a fly

by Ivan Hamilton 4/21/2008 12:39:00 PM

In my effort to get BlogEngine.NET running under Linux I've been chasing a few issues...

I had Mono 1.2.5.
Had a problem with HTTP file uploads from Windows based browsers.

I upgrade to Mono 1.9.
Fixed the problem with HTTP file uploads from Windows based browsers.
Introduced a problem with URL rewriting.

I upgrade to Mono from SVN r101230.
Fixed the problem with URL rewriting.
Introduced a problem with master pages in a different path from the content page.

I hacked up System.Web.UI.TemplateParser.cs r101177 with an ugly work-around.
Fixed the problem with master pages in a different path from the content page.
Introduced... who knows what else.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

.NET | BlogEngine.NET | Pragmatism

BlogEngine.NET... now with extra arsehole!

by Ivan Hamilton 4/17/2008 1:02:00 AM

I've pointed out before that I'm going to take a crack at this blogengine.net thing. That all started in November. It's now March and I thought I'd update to the latest release. Just before Xmas, 1.3 was released, and included the tagline "Mono is now fully supported out of the box". Woohoo!

But, it's not quite right.

Four months after "Mono is now fully supported out of the box", I went and grabbed the latest released source and did an install. Disappointing. Many bugs and issues are still there. A number of pieces of functionality fail outright. The code is still littered with Windows reference paths and other assumptions. Bugs exists that only surface under a different implementation (like Mono on *nix).

I've started submitting to the Issue Tracker on CodePlex. I'm not hopeful as the issue tracker is full of n00bs screaming about how they couldn't get something to work. Let's see how it goes.

Currently rated 1.5 by 4 people

  • Currently 1.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

.NET | BlogEngine.NET

I'd get it one piece at a time...

by Ivan Hamilton 12/6/2007 11:10:00 AM

My BlogEngine.NET on Mono experience continues. It kind of reminds me of a Johnny Cash song:

"I'm goin' ride around in style. I'm gonna drive everybody wild. 'Cause I'll have the only one there is around."

"Now up to now my plan went alright, 'Til we tried to put it all together one night. And that when we noticed that somethin' was definately wrong."

It could be a recognised design-pattern.

The main issues so far in getting it up and running:

  • Compilation - xbuild doesn't embed file resources. <EmbeddedResource> is ignored in .csproj files. Worked around with a MakeFile.
  • Path Construction - e.g. pathName+"\"+fileName doesn't work on Unix. Change to Path.Combine().
  • Filesystem Case Sensitivity - "App_data" won't find "App_Data". Fix string case in string literals.
  • Issues with Server.Transfer() - error transferring to non-execable path files. Use context.Server.Transfer().

So, far... so good. But I haven't tested all areas of it yet. As I find problems, I'm looking into them. I'd get it one piece at a time...

P.S. Comments & Contact appear to work now. So if you find part of the site that isn't working...  let me know.

Currently rated 1.7 by 32 people

  • Currently 1.749999/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

.NET | BlogEngine.NET

Eating lips and arseholes - BlogEngine.NET on Mono

by Ivan Hamilton 11/29/2007 3:41:00 PM

Ok, I'm a big fan of eating one's own dog food, but sometimes you've got to show commitment to base components, not just the final product.

Anyone who knows me, knows I'm a .NET junkie. But strangely I'm also not complete a Microsoft bigot. I'm, a fan of Mono and if you look hard enough I've even contributed a little. So what happens when I think it's time for a blog software update?

There's not a lot of options in the .NET space for blog software, and even less that don't need a SQL Server. One possible is BlogEngine.NET.

So, this is it. After a pile of installation & upgrades of various packages on my Debian box we have an initial "running" instance. I'm sure there'll be more issues, and I'll tackle them as they come. Who knows, in the future, you may even see contributions of mine in BlogEngine.NET.

P.S. It appears someone else is also trying BlogEngine.NET on Mono.

Currently rated 3.0 by 5 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

.NET | BlogEngine.NET

Powered by BlogEngine.NET 1.3.1.30
Original theme by Mads Kristensen

About the author

Name of author Ivan Hamilton
"My inner nerd can beat up your inner nerd."

E-mail me Send mail

Adsense

Calendar

<<  May 2017  >>
MoTuWeThFrSaSu
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Recent comments

Tags

None

    Entropy

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2017

    Sign in