Commit graph

186 commits

Author SHA1 Message Date
Reinier Balt
dcb155d90d fix #1271. Don't block an already blocked todo. Create tests for this case 2012-04-08 15:19:42 +02:00
Reinier Balt
c7e68aa8b6 fix #1229. Thanks popsch for the testscript and the initial pull request 2012-03-19 20:04:56 +01:00
Matt Rogers
e7268fbaa2 Remove the double-quote custom validation
Rails has had SQL injection prevention since at least 2009 so we don't
need our version of it anymore.

Fixes ticket #1237
2012-02-02 22:28:26 -06:00
Reinier Balt
78a2bd7f49 further refactoring of stats controller and views 2012-01-20 23:35:00 +01:00
Reinier Balt
f74370aab5 first refactoring of stats controller 2012-01-20 23:34:58 +01:00
Matt Rogers
beb18ac1f4 Hidden projects are not stalled. Update the comment. 2011-12-19 12:30:51 -06:00
Craig Maloney
48de4b1b00 Keep hidden projects from showing up as stalled, since they're likely hidden for a reason. 2011-12-19 12:28:57 -06: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
833297b355 fix regression and further cleanups of todo model 2011-11-16 19:36:09 +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
c5dd35de80 remove alias_method for tags= ... tags now broken again, but no longer the whole todo model 2011-11-13 21:12:51 +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
f08e73c819 fixing todo creation when supplying dependencies 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
Reinier Balt
0fc4318163 Merge pull request #36 from 02strich/896e496f83c92fb0326dceb56a0fcf007e7327da
Fixing failing cucumber test
2011-10-15 04:45:09 -07:00
Craig Maloney
09e0f64de7 Changing the default sort order so that the context view matches the home screen view.
This appears to override the todos_controller.rb order.
2011-10-12 23:22:44 -03:00
Stefan Richter
d03928ef4c making cryptography stuff in user public 2011-10-10 22:31:51 +02:00
sf
90f9e41671 changed the condition to increase readability 2011-10-10 05:36:56 -04:00
sf
3d3646a137 completed reviews no longer show up that they need a review 2011-10-08 00:23:31 -04:00
Stefan Richter
08fb85ef0d fixing issues with user creation 2011-10-05 16:25:30 +02:00
Reinier Balt
fde151123c refactor tag helpers 2011-09-30 19:49:44 +02:00
Reinier Balt
eb26f4f7b9 fix error on end of each request at cleanup_application
declaring self.method caused rails to error

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-30 19:49:18 +02:00
Reinier Balt
2f0bfbbf47 some smallfurther adjustments 2011-09-28 15:34:15 +02:00
Reinier Balt
3a07010338 first cleanups of review feature 2011-09-28 13:58:46 +02:00
sf
227e0052b3 fixed always true line 2011-09-27 09:42:30 -04:00
sfischme
6f8d9ec2ae exclude completed projects from blocked list 2011-09-17 13:15:30 -04:00
sfischme
7873d2cff8 explude completed projects from review 2011-09-17 13:13:45 -04:00
sfischme
ac98737176 first version of review view 2011-09-16 23:34:09 -04:00
sfischme
5f0bcebca9 first steps towards review view 2011-09-16 15:07:58 -04:00
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