Commit graph

402 commits

Author SHA1 Message Date
Reinier Balt
a332f8f557 fix #1196. You can now transition from pending to project_hidden
One side effect though: althoug dependencies are still in place, the gui cannot differentiate between pending and hidden todos. The views currently do not show dependencies anymore in hidden projects. Postponing a fix for 2.2

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-14 14:22:30 +02:00
Reinier Balt
4927f39594 fix some regressions caused by the newer acts_as_list gem
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-13 11:15:14 +02:00
Jan Stępień
342b8ab4ef Require 'bcrypt' on top of app/models/user.rb 2011-09-07 17:19:04 +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ń
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
07b05d01f7 fix #922. You can now mark a todo complete from the tickler. Also fixed some small aasm corner cases found by this change 2011-08-18 17:15:00 +02:00
Demian Gemperli
367476bd77 fixed tests for starred todos 2011-08-04 23:14:29 +02:00
Demian Gemperli
c45b11dc70 Have a Star option on task entry screens #928 2011-07-30 18:52:11 +02:00
Reinier Balt
6e97541ab3 make sure toggle_check and deleting of todos, recurring_todos and projects work in the new done views 2011-07-09 17:21:36 +02:00
Reinier Balt
f2d581d5a4 revert refactoring that created a big performance regression 2011-07-09 17:21:35 +02:00
Reinier Balt
a58e832945 get the done view on a context and a project 2011-07-09 17:21:34 +02:00
Reinier Balt
35fe362b93 fix #857 and further refactoring for better done view 2011-07-09 17:21:34 +02:00
Reinier Balt
c61238933c add recurring_todos to done_overview and fix routes 2011-07-09 17:19:13 +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
d1212d6d27 fix aasm error. Fixes #1089 2011-06-12 00:11:29 +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
f05826d07a fix #1169 and also improve i18n on repeating todos 2011-05-08 20:37:47 +02:00
Reinier Balt
7d5ca16044 fix #1164 and fix #1159 whre a localization was wrong and adding brackets at NOT sql statements for older MySQL versions 2011-05-03 11:43:02 +02:00
Reinier Balt
0ccf42d08c fix #1157 and fix #1158 by changing the way empty projects are included in the sorting and by fixing the dutch translation for sorting titles 2011-04-29 23:17:17 +02: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
1643a93311 fix drag and drop for adding deps. after a todo was dragged, the predecessor was not draggable. replace ajax with generic one 2011-02-25 14:51:06 +01:00
Reinier Balt
1f67d2a603 get dependency add/remove from new_action_form running 2011-02-25 14:51:05 +01:00
Reinier Balt
76853cff2c fix for mongrel not getting the cookies right and change templates in the i18n locales 2011-02-04 20:11:42 +01:00
Reinier Balt
a02f1d2584 migrate dependencies
without functional changes
2011-02-03 18:19:29 +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
7a893980c2 cleanup debug messages 2011-02-03 18:18:42 +01:00
Reinier Balt
f923a40a40 get tag view working for updating todos. Refactored update a lot 2011-02-03 18:18:41 +01:00
Reinier Balt
c64e1bcd80 migrate update for context, project, tickler and calendar 2011-02-03 18:18:40 +01:00
Stefan Richter
2c0cf2e457 fix bug with empty identity URL 2011-01-24 16:14:57 +08:00
Stefan Richter
5ac3f242bc fixing bug .. now tests pass 2011-01-24 16:14:56 +08:00
Stefan Richter
1c90b90909 fixing some stuff around OpenID:
- adding missing Javascript includes
	- fixing jquery for showing/hiding indentity url field
	- adding identity url field to signup form
	- fixing bug in signup controller
2011-01-24 16:14:56 +08:00
Marcus Ilgner
338d4bb5a6 Added locale selection to preferences
Mostly completed transition to full i18n
Incorporated german translations by Ulf Klose <ulf.klose@gmail.com>
2011-01-16 18:14:07 +01:00
Reinier Balt
d57bd479f9 fix failing test for some error messages 2010-11-09 15:51:21 +01:00
Reinier Balt
6b36d6eb8f fix failing tests 2010-11-09 10:47:09 +01:00
Marcus Ilgner
fd3f69d927 Changed code to support basic i18n.
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00
Reinier Balt
bf15175c7b fix #895 by clearing the repeat pattern from todos before the pattern is deleted
cherry-picked from 1.7branch
2010-08-19 11:28:34 +02: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
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
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
0a95d430d4 Merge branch 'vacation-work' 2010-05-05 15:27:39 +02:00
Reinier Balt
dc0dab9863 Merge branch '997-stats' into vacation-work 2010-05-02 18:34:10 +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
Reinier Balt
8bc3a484b2 fix 1018. Added validations for the recurring target of recurring todos 2010-05-02 16:41:45 +02:00
Reinier Balt
9d5503a91e fix #997. The chart with the visible actions now excludes pending actions. Also some cleanupt to use named_scope 2010-05-01 17:19:28 +02:00