Commit graph

17 commits

Author SHA1 Message Date
Reinier Balt
0b1d521bbf ugly fix for deprecation warnings fopr mouseover and fix failing tests 2012-06-27 21:40:12 +02:00
Reinier Balt
13b58f3a10 all unit and functional tests are passing 2012-04-30 13:56:40 +02:00
Reinier Balt
96db48dd86 get project integrations and login controller tests running 2012-04-30 13:56:40 +02:00
Reinier Balt
998c14fa71 Fix updating password
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-09 17:49:42 +02:00
Jan Stępień
34e0573fc4 Added to fixtures a user with a SHA-1 password 2011-09-07 16:06:02 +02:00
Jan Stępień
95f0f71441 Hash passwords with BCrypt instead of SHA1
BCrypt is regarded as a more secure alternative to hashing using message
digest algorithms, such as MD5 and SHA families [0, 1, 2]. Apart from
built-in salting it is adaptable to the increasing power of modern
processing units, which makes it more secure against brute-force cracking.

This commit makes all passwords hashed using BCrypt. The session tokens
remain generated using SHA1. Tests were updated, `rake test:units` and
`rake test:functionals` didn't report any regressions.

[0] http://bcrypt.sourceforge.net/
[1] http://en.wikipedia.org/w/index.php?title=Bcrypt&oldid=439692871
[2] eab1c72/README.md
2011-09-07 16:05:52 +02:00
Reinier Balt
91eeb0c6aa update require statements to fix path issue 2011-06-09 14:49:36 +02:00
Reinier Balt
632c0e7255 fix all tests 2011-02-03 19:30:48 +01:00
Reinier Balt
cfc6d117b8 fix #1027. Several tests were broken because of the more strict validations on the recurring_todo model 2010-05-13 18:24:26 +02:00
Eric Allen
a022f449c1 Fixed failing tests
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed

Closes #1019
2010-04-09 09:34:57 -04:00
Eric Allen
0dfb1aafda The syntax of assert_difference has changed
You pass it a string now, instead of an object and a method
2009-12-07 18:41:23 -05:00
Reinier Balt
4ed5567885 get tests running again 2009-08-05 21:00:41 +02:00
Reinier Balt
7a7862221d get tests running again with zentest >= 4.0.0 2009-06-02 21:22:50 +02:00
epall
8783beb280 Added SMS and MMS gateway that can handle a variety of messages formats along with a set of testes for it.
NOTE: this is the first patch submitted on ticket
2008-09-06 18:08:34 -07:00
MHarris
ed76cf55d2 Changed UsersController#index to use will_paginate plugin instead of classic_pagination
Made corresponding change in view.
Added User.per_page method to provide number of users per page to User.paginate button.  I can remove and just pass the param to the method in the controller if that is more desirable.
Added 2 controller tests for pagination.  No view tests have been added.
2008-07-14 13:10:55 -04:00
bsag
1b00a314ae Added patch by Eric to fix users_controller_test. Fixes #735.
<http://dev.rousette.org.uk/ticket/735>
2008-06-15 10:38:58 +01:00
bsag
4cbf5a34d3 Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
2008-05-20 21:28:26 +01:00
Renamed from tracks/test/functional/users_controller_test.rb (Browse further)