Commit graph

90 commits

Author SHA1 Message Date
Reinier Balt
6aa8b8d2f9 replace new repeating todo form with jquery dialog. And some refactoring 2011-11-17 17:07:55 +01:00
Reinier Balt
4b6aff5502 hopefully fix failing recurring todos test. Timezones are a pain to get right 2011-11-16 22:05:06 +01:00
Reinier Balt
cda75a0cc1 fix regression where viewing a page for a single tag (like starred) did not work
and fix some test warnings/errors
2011-10-31 14:39:52 +01:00
Reinier Balt
58d8bc56d1 fix #827. You can now select todos with tags using OR and AND
/todos/tag/tagA,tagB?and=tagC will select all todos with (tagA or tagB) AND tagC
2011-10-28 19:33:51 +02:00
Reinier Balt
2accbd0a32 start changing param parsing to allow and and or of tags 2011-10-28 11:18:26 +02:00
Matt Rogers
a7ce073351 Fix the functional tests that wouldn't run before
With Ruby 1.8.7, the functional tests were failing due to a recursive
require stack. No longer requiring 'backend_controller' and doesn't seem
to have any bearing on the running of the tests.
2011-10-18 22:25:17 -05:00
Reinier Balt
671652c4c4 Merge pull request #25 from 02strich/cloudmailin_integration
Adding cloudmailin support for adding tasks
2011-10-10 04:52:38 -07:00
Stefan Richter
4b0087ae36 fix path concatenation 2011-10-09 20:30:48 +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
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
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
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