[ANN] LoginEngine 1.0.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’. ([email protected])
  • Fixed new location of engines testing extensions.
    ([email protected])
  • Removed schema.db from Login Engine; migrations should be used
    instead. ([email protected])
  • Updated User Controller tests to parse the user_id and email out of
    the URL in the email body. ([email protected])
  • Ticket #89 ([email protected]) User creation halts the after_save
    callback chain.
  • Ticket #97 ([email protected]) The forgotten_password view
    generates invalid HTML
  • Ticket #112 ([email protected]) Authentication system will break
    even on successful login
  • Added simple email validation to the User model.
    ([email protected])
    This should also take care of the unit test failures detailed in
    Ticket #114 ([email protected])
  • Ticket #118 ([email protected]) SVN source for login_engine not
    found
  • Ticket #119 (Goynang) Unit tests for engines fail after default
    install
  • Ticket #126 ([email protected]) Add install.rb to login engine

Regards,
Jon

On 4/10/06, Jon L. [email protected] wrote:

http://www.rails-engines.org/download
instead. ([email protected])
Ticket #114 ([email protected])

  • Ticket #118 ([email protected]) SVN source for login_engine not found
  • Ticket #119 (Goynang) Unit tests for engines fail after default install
  • Ticket #126 ([email protected]) 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

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

  • james

On 4/10/06, Greg F. [email protected] 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 *
    ~

On 4/10/06, Jon L. [email protected] 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

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

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. [email protected] wrote:

Off to bed now.

Okay, I’m trying this approach.


[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org


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

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. [email protected] 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
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org