Blog them all

Fabien Penso’s blog

Archive for the ‘rails’ Category

auth_generator 1.5.0 !

leave a comment

Rails users, I finaly released the auth_generator v1.5.0. You can now use your favorite crypting algo (md5, sha, make your own, salted depending of the login) to store passwords.

You now have unit testing for the model. You can disable account creation if you wish, select the size of the buddy icons. And there is a trac too!

Auth_generator is an authentification generator for rails. It gives you a complete administration interface to handle users. You should be able to install it within minutes.

Update, Please use the 1.5.1 version. The 1.5.0 is broken, !$@.

Another update, You should use 1.5.2 in fact, 1.5.1 was still broken!

Written by Fabien Penso

December 6th, 2005 at 12:34 am

Posted in rails

Rails, Apache on front, lighttpd behind

leave a comment

I needed to use Apache on front because its mod_gzip plugin works pretty well and is efficient. Lighttpd doesn’t compress anything that ain’t static pages.

If you use that mode, rails will see requests coming from 127.0.0.1 and will keep displaying Routing error and not 404 pages even in production mode (rails does that for local request by default).

You’ll want to switch that off with the following piece of code. Paste it into the application_controller.rb file :


module ActionController
  module Rescue
    def local_request?
      false
    end
  end
end

And voilà, you have your usual 404 errors :)

Written by Fabien Penso

November 15th, 2005 at 11:48 pm

Posted in rails

rails and the authentification generator

leave a comment

I’ve released a new version of my “auth generator for rails”:http://penso.info/code/auth_generator.

It should now work fine with 0.14.X. Please submit me any ideas, feedbacks, things you’d like to be included in such a generator.

Written by Fabien Penso

November 12th, 2005 at 11:55 am

Posted in rails

Updated my website, new temporary job

leave a comment

h2. Website updated

Yeah, I have finaly done it. I have updated my website and it’s now powered by “rails”:http://www.rubyonrails/. In the same time, I’ve changed the design.

The top picture has been taken during a Tango play. No photoshop at all, I was just too far away with my 35mm lens, but the result isn’t that bad afterall.

h2. Temporary job

I’m now working on a 1 month mission for “pekin”:http://www.pekin.fr/ to fix one of their customer website which use old non-object PHP (uurk). “Pekin”:http://www.pekin.fr/ is a design company on the web, based in Le Marais, Paris. Yes, the url is correct.

h2. Photography

I’m getting convinced I should buy a new film scanner, and the “Nikon 5000”:http://www.nikonusa.com/template.php?cat=1&grp=98&productNr=9238 is the best deal. The price felt down since last year, and it’s now affordable for my wallet. On the photography side I’m looking on the Mamiya 7ii (medium format 6×7). Have you ever worked with it ? Mail me and send me your feedbacks (or you can send me your camera).

h2. Computer project

I’m still working on “uucpssh”:http://www.uucpssh.org/ and the new server now receive emails for few domains. It looks like the spam filtering works much better. Within few weeks I hope to switch to the new website, also powered by “rails”:http://www.rubyonrails.org/ as you might have guessed already.

The “authgenerator”:http://penso.info/rails/authgenerator/ for rails has been updated to v1.3.0. Only bugfixes, thanks HK.

Written by Fabien Penso

October 30th, 2005 at 6:50 pm

Posted in computer,rails

Auth_generator, an authentification module for rails

leave a comment

You want to have an authentification system for rails, but the current ones doesn’t fit your needs ? Well you may want to take a look at the one I just released.

It offers features like being able to display account information even on static pages. It also gives you a complete administration to handle users, a way to put users into groups, etc.

Take a look, it’s here.

Written by Fabien Penso

October 11th, 2005 at 1:24 pm

Posted in computer,rails

Back to Paris

leave a comment

Back to Paris sooner than what I thought. I had so much rain on the Compostella trip, with eyes problems than I had to come back, see the doctor, and dry my clothes and shoes.

I’ve decided to stay around for a while. Here are the projects I currently work on :

  • A rewrite of uucpssh.org (still, yeah).
  • An authentification system for rails which will be used on my rails websites. What’s new compared to the existing one ? Well no database access to get the user informations, being able to deliver static page and still print user informations, some ajax, the possibility to put users into domains so you can have access to pages for only certain users (like admin, moderators, etc), an almost ready apache module, etc. More information soon on that (the gem is ready, the generator works, few things to fix).

    I also look for a job, my resume is here. Please get in touch with me if you think I can be helpfull in yours projects.

    Oh, I’ve finaly upgraded typo.

    On the Photography side, I am looking for a film scanner. Maybe the Nikon 5000 ED?

Written by Fabien Penso

September 29th, 2005 at 1:23 pm

Posted in computer,rails

Typo 2.5 out, I dig into rails

leave a comment

Hey Typo 2.5 is officialy out but I just don’t want to loose time to upgrade. Take a look if you want.

I finaly bought the pragmatic rails book to dig into rails. That’s it, I am already writing a login system for rails, the first thing I need for my next website (which might never be online :) . The login generator isn’t enough, I want my users to subscribe through their email address. Look for something on my blog, I’ll put some code soon.

Are you looking for a newzbin (binaries usenet) website where you can just download nzb files for free ? Send me a mail, I might have something for you. If you are using the free.fr usenet server, or giganews, it will be even better.

I am now certified on cacert. If you need to be certified and are traveling around Paris or France, you can ping me.

Added in the TODO: upgrade Typo later

Written by Fabien Penso

August 10th, 2005 at 7:43 pm

Posted in computer,rails

Move along

leave a comment

I had to do that since a long time, I now have a decent blog (my old website is still online).

Web frameworks are moving quite fast theses days, C#, Java, Mono, Python or Ruby, who’ll win…

I am currently doing my internship at Wengo working on a C# proto of a VoIP phone using SIP with a C coded SIP stack. The main purpose is to do it “the right way” using patterns and writing UML documentation papers.

I am still working on a rewrite of uucpssh, a mail hosting offering UUCP. The new version should focus more on spam protections. I’ll try to put lots of thoses “Ajax” stuff on the new version.

TODO list, I really need to change the stylesheet of this default installation…

Written by Fabien Penso

April 25th, 2005 at 1:43 am

Posted in computer,rails