Jan Stępień
e5708f5ce7
Authenticate users with deprecated SHA-1 passwords
2011-09-07 16:06:02 +02:00
Jan Stępień
8e23d11054
Added User.uses_deprecated_password? method
2011-09-07 16:06:02 +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ń
e7301608a6
Salting is unnecessary, BCrypt takes care of it
...
Source: http://en.wikipedia.org/w/index.php?title=Bcrypt&oldid=439692871
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
Matt Rogers
55bf457740
Allow projects to have commas in their name.
...
This removes the validation that checks to make sure there is no comma
in the name, and updates the tests to match.
2011-09-01 23:12:26 -05:00
Reinier Balt
84ad01a6f6
improve tests for preferences and fix a pending cucumber step
2011-08-19 12:51:06 +02:00
Reinier Balt
c6c51ee83c
fix failing specs
2011-08-16 11:49:04 +02:00
Demian Gemperli
367476bd77
fixed tests for starred todos
2011-08-04 23:14:29 +02:00
Reinier Balt
e531907521
restore tests for cached not_done counts
2011-07-09 17:21:35 +02:00
Reinier Balt
35fe362b93
fix #857 and further refactoring for better done view
2011-07-09 17:21:34 +02:00
Reinier Balt
8546ae5dfa
fix test failures after the changes and refactorings
2011-07-09 17:19:12 +02:00
Reinier Balt
01057af684
start modifying done view and do some refactoring
2011-07-09 17:19:11 +02:00
Reinier Balt
056dbf08a7
remove vendored gem and fix state model. Some old hacks did not work anymore on the newer aasm. reverted the hacks and fixed some tests
2011-06-10 23:17:22 +02:00
Stefan Richter
00819ce27b
migrating to aasm - code part
2011-06-10 23:17:19 +02:00
Reinier Balt
91eeb0c6aa
update require statements to fix path issue
2011-06-09 14:49:36 +02:00
Reinier Balt
3faac2514d
fix failing test and finish all wip scenarios
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-05-08 22:09:27 +02:00
Reinier Balt
b8484e48fe
migrate mobile selenium scripts to cucumber
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-02-27 00:04:04 +01:00
Eric Allen
a1aedfb172
Fixing broken selenium-on-rails tests
2011-03-01 00:15:13 -08:00
Reinier Balt
f018607049
fix tests
...
will fix cucumber tests after 2.0rc since it probably needs some magic to get them running using the jquery stuff
2011-02-25 15:24:43 +01:00
Reinier Balt
564f209800
fix #1062 . I did not test is, so please reopen ticket if it does not work :-)
2011-02-08 23:03:05 +01:00
Reinier Balt
52a50b7463
bring back our changes to tagging_extensions to handle empty tags and handle numbers as tags
2011-02-08 22:24:06 +01:00
Reinier Balt
6744a22633
add test for #1068
2011-02-04 23:04:56 +01:00
Reinier Balt
72b2d4dfc9
remove selenium scripts that are covered by cucumber scenarios
2011-02-04 20:34:32 +01:00
Reinier Balt
6443adac78
fix stories_test to run again. Using ActiveRecordStore for session aparently did not work here
2011-02-04 16:23:47 +01:00
Reinier Balt
632c0e7255
fix all tests
2011-02-03 19:30:48 +01:00
Reinier Balt
97e8602ef9
rebase to master to include i18n changes and fix merge conflicts
2011-02-03 18:19:26 +01:00
Reinier Balt
ab2e51a51a
get selenium scenarios running again and add some scenarios for adding todos started
2011-02-03 18:19:19 +01:00
Reinier Balt
a832417c59
migrate toggle_check and destroy and defer and get the functional tests running again
2011-02-03 18:19:17 +01:00
Reinier Balt
ffd4ae1fcd
get features running for recurring todos
2011-02-03 18:18:36 +01:00
Reinier Balt
cafa774b4c
refactor application.rb further and migrate recurring todos
...
next: get tests for recurring todos
2011-02-03 18:17:29 +01:00
Reinier Balt
0e81706fee
fix last functional and integration tests after merge and jquery changes
2011-02-03 18:17:13 +01:00
Reinier Balt
f2d977e12a
fix merge errors and some tests
2011-02-03 18:17:11 +01:00
Reinier Balt
0f525436ff
support rake cucumber:selenium_wip to run wip for selenium. rake cucumber:wip will only ron non-selnium wip stories. Furthermore some selenium script migration to cucumber
2011-02-03 18:17:10 +01:00
Reinier Balt
6b36d6eb8f
fix failing tests
2010-11-09 10:47:09 +01:00
Eric Allen
39f12574a3
Fixing some failing tests
2010-08-25 23:57:52 -07:00
Reinier Balt
87bb15460e
Added tests for #975 . This helped to narrow the real cause of #975 but doest not solve it.
2010-08-12 14:39:58 +02:00
Reinier Balt
932be0829b
close #1035 and add a test for it
2010-08-06 16:48:21 +02:00
Reinier Balt
3d75cd2457
Fix #1045 . The tests broke because of this fix cfc6d117b8. This exposed a new corner case that I fixed and created a test for. Also a small refactoring.
2010-07-29 16:37:22 +02:00
Eric Allen
b50a1ce26f
Fix a couple of test definitions to avoid false test failures
...
State should be unspecified to default to active
Fixes #977 (again)
2010-05-17 11:02:23 -04:00
Reinier Balt
51a8e98752
Merge branch 'master' of github.com:bsag/tracks
2010-05-13 18:37:47 +02: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
Reinier Balt
d6e20a76c2
migrate selenium script for integrations page and enhance the story
2010-05-05 19:09:51 +02:00
Reinier Balt
a26142e336
Merge branch 'selenium-migrations' into vacation-work
2010-05-05 15:27:19 +02:00
Reinier Balt
eef1b6b7a9
remove selenium scripts that were already converted to cucumber
2010-05-05 13:19:26 +02:00
Reinier Balt
73631e6083
Merge branch 'selenium-migrations' into vacation-work
2010-05-05 13:02:27 +02:00
Reinier Balt
e1b52aeb13
replace selenium script with cucumber story for switching recurrence option
2010-05-05 13:00:44 +02:00
Reinier Balt
0d7980e87b
migrate selenium for users to cucumber
2010-05-03 21:26:48 +02:00
Reinier Balt
5c25e4569e
fix #1002 . every nth week was off by one week for recurring weekly todos. Thanks Thomas for spotting this.
...
Updated the wrong test too.
2010-05-02 18:16:29 +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