Commit graph

478 commits

Author SHA1 Message Date
Stefan Richter
71643bb1b0 fix bug #858 by adding information on todos to project xml and providing a test for it 2011-10-06 17:32:39 +02:00
Stefan Richter
0d4116cc93 Removing signatures from output and adding two test cases: invalid signature and unknown sender 2011-10-06 16:41:46 +02:00
Stefan Richter
17bb939e9e adding test for cloudmailin and fixing some bugs found with it 2011-10-05 23:53:49 +02:00
Reinier Balt
9eca1557fb add tests for adding multiple todos and multiple sequential todos
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-14 16:29:30 +02:00
Reinier Balt
d9db33bc0d fix #990 by moving rsel scripts to cucumber and removing selenium-on-rails plugin
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-14 11:29:50 +02:00
Reinier Balt
92c8cfe61a fix another regression by the previous two commits :-(
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-13 07:11:33 +02:00
Reinier Balt
8fe5552d64 fix regression by last commit
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-12 22:58:39 +02:00
Reinier Balt
f5cabbf74d fix #1194 by checking the project_id and context_id 2011-09-10 02:31:53 +02:00
Reinier Balt
998c14fa71 Fix updating password
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-09 17:49:42 +02:00
Reinier Balt
50875cfa40 Merge pull request #16 from jstepien/bcrypt-v2
Hash passwords with BCrypt instead of SHA1
2011-09-08 08:08:33 -07:00
Reinier Balt
7d9f241a12 delete selenium scripts that have cucumber equivalents
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-07 22:54:22 +02:00
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