Commit graph

714 commits

Author SHA1 Message Date
popsch
067df75e98 toggle notes patch from Christian Frank 2011-09-10 05:06:03 +08: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ń
342b8ab4ef Require 'bcrypt' on top of app/models/user.rb 2011-09-07 17:19:04 +02:00
Jan Stępień
ad1f3b5862 Users with SHA-1 hashes can reset their passwords 2011-09-07 16:06:03 +02:00
Jan Stępień
5d3829cfbf Users with SHA-1 hashes are redirected to the password change page 2011-09-07 16:06:03 +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
84ad01a6f6 improve tests for preferences and fix a pending cucumber step 2011-08-19 12:51:06 +02: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
Reinier Balt
367907eab2 enable new password when only 'database' is available as authentication type 2011-08-18 13:00:14 +02:00
Reinier Balt
40a7cc2d3a add cucumber scenarios for new preferences 2011-08-18 12:48:59 +02:00
Reinier Balt
555311b681 updating preferences on user and prefs model work. also add date_format picker 2011-08-17 22:51:02 +02:00
Reinier Balt
89ec9898a3 finish gui changes 2011-08-17 20:23:02 +02:00
Reinier Balt
977b57dbb2 first pass to distribute settings over tabs 2011-08-17 20:23:02 +02:00
Reinier Balt
ac6cd8afbc upgrade jquery to 1.6.2 and jquery-ui to 1.8.13 2011-08-17 10:30:29 +02:00
Reinier Balt
a8f4199adc clean up cucumber scenarios and add a few more 2011-08-15 20:44:59 +02:00
Reinier Balt
ef961188ea add more cucumber scenarios 2011-08-15 17:04:59 +02:00
Reinier Balt
b40998e0bc add a few cucumber scenario's for editing a todo 2011-08-11 20:53:54 +02:00
Reinier Balt
f544c80fbc add some pending cucumber scenarios and fix a small bug it uncovered 2011-08-11 17:13:01 +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
5c015fea16 fix #999 by adding a menu to the mobile interface where you can choose the action you want to take on a todo, including deferring 2011-07-10 21:48:43 +02:00
Reinier Balt
174becee81 fix #1078 and document it on the REST_API page 2011-07-09 18:47:30 +02:00
Reinier Balt
ed2154b94b fix #953 by adding tags to the xml returned by the REST API 2011-07-09 17:46:52 +02:00
Reinier Balt
601736de2d add done view to tag pages and add more tests 2011-07-09 17:21:36 +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
35f947ec57 add done views to projects and recurring todos 2011-07-09 17:21:35 +02:00
Reinier Balt
5496b84642 add cucumber scenarios for the new done pages 2011-07-09 17:21:35 +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
559a02d6f1 start on done overview page 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
de7b8e329d the notes icon of todos was shown even if there was no note. fixed 8c168538b7 2011-06-14 09:01:08 +02:00
Reinier Balt
d1212d6d27 fix aasm error. Fixes #1089 2011-06-12 00:11:29 +02:00
Reinier Balt
626edb478d Merge branches 'aasm_update' and 'master' 2011-06-11 23:36:23 +02:00
Reinier Balt
a797b83f86 fix #1173 and fix #1175 where renaming a project or context to an existing name using REST will fail with status 406 2011-06-10 23:30:51 +02:00
Reinier Balt
8c168538b7 check on notes.nil? instead of notes? 2011-06-10 23:22:32 +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
65e3a8ff30 do not save if previous save had validation problems.
this prevents test failures if you use it on a db that has been used after the aasm upgrade (forward compatible)
2011-06-10 23:13:52 +02:00
Ignacio Huerta
11d1c326ee Add spanish translation ((incomplete) and i18n a couple of string in action editor 2011-05-31 08:59:22 +02:00
Reinier Balt
c5c4c65f3c fix tab index counter. In case of a server restart the global var does not exist anymore causing an error 2011-05-23 14:44:16 +02:00
Reinier Balt
63f389158b update jquery and jquery-ui 2011-05-19 12:20: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