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
Reinier Balt
e531907521
restore tests for cached not_done counts
2011-07-09 17:21:35 +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
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
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
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
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
6b36d6eb8f
fix failing tests
2010-11-09 10:47:09 +01: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
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
Reinier Balt
022a94f686
fix test where today and show_from did not have the same timezone and add test for OneNote links inspired by the tests for Mail.app links
2010-01-13 21:17:17 +01:00
Patrice Neff
5299490c83
Linkify message:// URLs in notes. Those links are used by Mail.app on
...
Mac OS X to link to a mail message by message id.
2010-01-10 08:34:10 +08:00
Eric Allen
21de49c87a
Show context on un-hidden successor. Fixes #964
...
Added another todo fixture, which broke some assertions that I had to fix
2009-12-16 17:42:42 -05:00
Eric Allen
3e177c7b81
Remove some tests we can no longer run
...
See #965 for rationale and updates
2009-12-08 12:36:00 -05:00
Eric Allen
828201dfe0
Fix some failing tests
2009-12-07 22:43:00 -05: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
Eric Allen
6181d42072
A few tweaks to get tests running
2009-12-07 18:29:57 -05:00
Michaël Witrant
c679593d1e
fixed url parsing when they contain a slash in query string
2009-11-24 19:06:13 +08:00
Eric Allen
00da0b36aa
Fixed a latent time zone bug in tests.
...
I created a new method accessible to all tests for forcing a user to the local time zone. The code was cribbed from Rails's rake tasks time:zones:local.
2009-10-13 23:39:36 -04:00
Eric Allen
fe52c0ab3c
Fixed some failing tests and removed dead ones.
2009-10-13 23:38:25 -04:00
Eric Allen
66de0f9fd8
Don't set time to UTC for midnight in test.
...
This was causing an intermittent test failure in GMT-4.
2009-09-02 09:59:16 -04: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
piglop
4e1e18da0f
fixed #781 :
...
* added a "show always" radio to the recurring todo forms
* added a show_always flag to recurring todos
* created a migration to convert existing recurring todos where show_from_delta==0
* recurring todos where show_from_delta is 0 are now shown the same day they're due
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-06-03 01:36:20 +08:00
Reinier Balt
239b38cb15
fix for the two issues in #852
...
* the end date is prefilled with an incorrect formatted date
* if the radio for ends_on is not selected, but a date is entered, tracks incorrectly behaves as if ends_on was checked
2009-04-01 13:51:36 +02:00
Reinier Balt
6f82dd0fd3
fix failing test.
...
This was not due to a bug in tracks but a bug in the test
2009-03-02 15:01:50 +01:00
Reinier Balt
949c746215
Fixes #835 where the yml_export failed to find the tags of a user. Thanks Peter for this report
2009-02-08 15:25:42 +01:00
Eric Allen
e40b8ecbcf
Need to save todo after updating state from project. Fixes #834 .
2009-02-01 15:25:09 -05:00
piglop
8790a9b06d
Fixed a small error in tests
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2009-01-28 17:03:37 +08:00
Reinier Balt
07426ebe54
a previous commit introduced a bug where hiding a project did not hide the todos in it. Fixes #832
2009-01-24 22:13:19 +01:00
Eric Allen
8076f4fe72
Fixed #814 . We need to include recurring todo fixtures in any test suites that include todo fixtures
2009-01-23 14:20:03 -05:00
Reinier Balt
01a011ee06
improve last path. Thanks Vitaliel!
2009-01-17 14:43:06 +01:00
Reinier Balt
8cdae83014
fix case when there are no tags places on todos, the stats page would fail. Fixes #822 .
...
Thanks Walter for finding this one
2009-01-15 22:13:22 +01:00
Vitalie Lazu
5ee939ac47
Fixed exception in preference model when todo xml api is used with show_from attribute
...
Signed-off-by: bsag <butshesagirl@rousette.org.uk>
2009-01-11 23:37:14 +08:00
Reinier Balt
f79c28231b
remove unused and unneccesary user_id from taggings table.
...
this way we can stay closer to the defaults of has_many_polymorphs thus making upgrading easier
2009-01-08 10:18:03 +01:00
bsag
198db7b0a5
Added a fix for a failing functional test which concerned the javascript popup window to warn when a new context added in new action form.
2008-12-26 19:47:13 +00:00
Reinier Balt
0e68ded56a
fix tags and fix tests
2008-12-22 23:26:38 +01:00
Reinier Balt
f3d7fac2a4
fix test where month+1 resulted in an error for december
2008-12-03 10:22:43 +01:00
Reinier Balt
198f3240b8
fix several deprecation warnings
...
truncate wants explicit :length => number and :omission
calling a partial from a js requires to explicitly pass the variable i.e. :todo => @todo instead of rails doing it implicitly
2008-11-30 20:16:57 +01:00