Commit graph

722 commits

Author SHA1 Message Date
Andreas Brandl
f15017c972 Decode HTML entities when displaying todos formatted as TXT.
When rendering the text-feed for todos (_text_todo.rhtml) this
uses localized string 'as-is'. Those are html-encoded which
is not appropriate for TXT feeds (e.g. 'todos.due' is 'Fällig'
in German locale).
2011-09-27 01:07:02 +02:00
Reinier Balt
2563532022 implement new scenarios that were pending from the selenium-on-rails removal and fix a bug it uncovered 2011-09-14 20:50:21 +02:00
Reinier Balt
2f42fad7c9 add checkbox to multiple action form to make all actions dependent on each other (sequential)
for people wanting sequential projects

Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2011-09-14 15:25:15 +02: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
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
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