Commit graph

450 commits

Author SHA1 Message Date
Reinier Balt
78a2bd7f49 further refactoring of stats controller and views 2012-01-20 23:35:00 +01:00
Reinier Balt
b948cc48b2 further refactoring and more tests 2012-01-20 23:35:00 +01:00
Reinier Balt
2349bee535 further refactorings and tests
one test is failing, will fix that next time
2012-01-20 23:34:59 +01:00
Reinier Balt
80d8d2b67a add tests 2012-01-20 23:34:59 +01:00
Reinier Balt
f74370aab5 first refactoring of stats controller 2012-01-20 23:34:58 +01:00
Reinier Balt
50bc2623d9 fix #1224. Allow existing and non-existing project/context names in REST API 2011-11-21 15:24:29 +01:00
Reinier Balt
960326efb4 Fix #1223 for the single tag and single dependency case in the REST API 2011-11-20 14:48:49 +01:00
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
906ff11633 fix failing test and make sure that you can supply 'starred' tag. Refactor todo model 2011-11-16 16:37:04 +01:00
Stefan Richter
081a55d6ac Fixup tests 2011-11-13 21:39:04 +01:00
Stefan Richter
9eae8a7068 improving todo creation tests and implement context, project and tag setting/creation 2011-11-13 21:12:51 +01:00
Stefan Richter
3180164ed0 indentation fix 2011-11-13 21:12:21 +01:00
Stefan Richter
5ff315dac6 adding tests for creating todos via REST 2011-11-13 21:12:21 +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
Reinier Balt
0b3ff41f02 Merge pull request #32 from 02strich/fixing_965
fixing #965 - re-adding removed tests - all green
2011-10-10 04:45:20 -07:00
Stefan Richter
4b0087ae36 fix path concatenation 2011-10-09 20:30:48 +02:00
Stefan Richter
b27b817ec5 re-adding removed tests - all green 2011-10-06 21:13:31 +02:00
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