[ANN] LoginEngine 1.0.1


#1

Hi,

The LoginEngine has been updated to 1.0.1.

Notable changes:

  • User model now does very basic email validation
  • All tests now pass on both Rails 1.0 and 1.1
  • Many bugs fixed!

Please refer to the Engines documentation for how to update.
http://www.rails-engines.org/download

The subversion URL for the tag is:
http://svn.rails-engines.org/login_engine/tags/rel_1.0.1

= v1.0.1

  • Added CHANGELOG
  • Changed wording for when password forgotten to ‘reset’, rather than
    ‘retrieve’. (removed_email_address@domain.invalid)
  • Fixed new location of engines testing extensions.
    (removed_email_address@domain.invalid)
  • Removed schema.db from Login Engine; migrations should be used
    instead. (removed_email_address@domain.invalid)
  • Updated User Controller tests to parse the user_id and email out of
    the URL in the email body. (removed_email_address@domain.invalid)
  • Ticket #89 (removed_email_address@domain.invalid) User creation halts the after_save
    callback chain.
  • Ticket #97 (removed_email_address@domain.invalid) The forgotten_password view
    generates invalid HTML
  • Ticket #112 (removed_email_address@domain.invalid) Authentication system will break
    even on successful login
  • Added simple email validation to the User model.
    (removed_email_address@domain.invalid)
    This should also take care of the unit test failures detailed in
    Ticket #114 (removed_email_address@domain.invalid)
  • Ticket #118 (removed_email_address@domain.invalid) SVN source for login_engine not
    found
  • Ticket #119 (Goynang) Unit tests for engines fail after default
    install
  • Ticket #126 (removed_email_address@domain.invalid) Add install.rb to login engine

Regards,
Jon

http://www.snowblink.co.uk/


#2

On 4/10/06, Jon L. removed_email_address@domain.invalid wrote:

http://www.rails-engines.org/download
instead. (removed_email_address@domain.invalid)
Ticket #114 (removed_email_address@domain.invalid)

  • Ticket #118 (removed_email_address@domain.invalid) SVN source for login_engine not found
  • Ticket #119 (Goynang) Unit tests for engines fail after default install
  • Ticket #126 (removed_email_address@domain.invalid) Add install.rb to login engine

Regards,
Jon

http://www.snowblink.co.uk/

For those that follow, the upgrade instructions are not the most
obvious.

I did the following which I hope was right.

cd vendor/plugins/
svn co http://svn.rails-engines.org/login_engine/tags/rel_1.0.1
mv login_engine login_engine_1.0 # rename my previous version as
a backup
ln -s rel_1.0.1/ login_engine

The last step created a symbolic link that I will recreate with
subsequent releases. Assuming they are released the same way.

HTH
Greg

Greg F.
The Norcross Group
Forensics for the 21st Century


#3

A better way would be to use svn:externals to automatically do the
updating for you.

  • james

On 4/10/06, Greg F. removed_email_address@domain.invalid wrote:

Please refer to the Engines documentation for how to update.

  • Removed schema.db from Login Engine; migrations should be used
    This should also take care of the unit test failures detailed in
    For those that follow, the upgrade instructions are not the most obvious.

  • J *
    ~

#4

On 4/10/06, Jon L. removed_email_address@domain.invalid wrote:

  1. svn:externals
    $ svn propedit svn:externals vendor/plugins
    login_engine http://svn.rails-engines.org/login_engine/tags/rel_1.0.1

Okay, I’m trying this approach.

I’ve moved all of my old login_engine dirs into an old_stuff directory
so it should not be interfering.

Then from the app directory I try (as a single line command)

svn propedit svn:externals vendor/plugins login_engine
http://svn.rails-engines.org/login_engine/tags/rel_1.0.1

And I get:

svn: ‘vendor/plugins’ is not a working copy

I tried to install the engines plugin itself via svn:externals the
other day and had the same problem. I assume I need to run some sort
of preliminary command to set things up?

Any help would be appreciated.

Thanks
Greg


#5

In future, I will not listen to James and will include upgrade
instructions. :wink:

Depending on how you have installed your engines:

  1. script/plugin install login_engine
    $ script/plugin upgrade

  2. script/plugin install -x login_engine
    $ svn up

  3. svn co http://svn.rails-engines.org/plugins/login_engine
    vendor/plugins
    (which should have the same result as script/plugin install -x
    login_engine)
    $ svn up

  4. svn:externals
    $ svn propedit svn:externals vendor/plugins
    login_engine http://svn.rails-engines.org/login_engine/tags/rel_1.0.1

I would not recommend checking out a tagged release.

Regards,
Jon

http://www.snowblink.co.uk/


#6

Thanks,

It is past time I put this little project in svn, so I will set that
up in a couple days.

Greg

On 4/10/06, Jon L. removed_email_address@domain.invalid wrote:

Off to bed now.

Okay, I’m trying this approach.


removed_email_address@domain.invalid
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org


Greg F.
The Norcross Group
Forensics for the 21st Century


#7

Hi Greg,

Using approaches 2, 3, or 4 assumes that your application is already
subversioned, and you are using a working copy.

Here are some links which may help:
http://svnbook.red-bean.com/
http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion

If you still need help, then post again. :slight_smile:
Off to bed now.

Regards,
Jon

On 10/04/06, Greg F. removed_email_address@domain.invalid wrote:

Then from the app directory I try (as a single line command)
of preliminary command to set things up?

Any help would be appreciated.

Thanks
Greg


engine-users mailing list
removed_email_address@domain.invalid
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org


http://www.snowblink.co.uk/