Commit graph

87 commits

Author SHA1 Message Date
Reinier Balt
85fc82d494 refactor done todos view and tests 2013-03-18 12:36:40 +01:00
Reinier Balt
f22dfc1f9b initial changes to add an option to select either context or project as grouping of todos on home or tag page
* new menu item in view menu
* js to toggle view
* store setting in cookie to keep de choice of view persistent
* refactor index and tag page of todos to look more alike
* refactor context and project partials to look more alike
2013-03-18 12:32:28 +01:00
Reinier Balt
ef91dd0c64 another set of dynamic finder migrations. All non-cucumber tests pass 2013-02-27 11:50:49 +01:00
Reinier Balt
3482af5072 fix #1393 by calculating todo count for hidden projects too 2013-02-20 20:08:15 +01:00
Matt Rogers
4d2f25ab20 Refactor the fetching of done todos
Move the get_done_today, get_done_this_week, and get_done_this month
methods into their own class in lib/tracks and use the new class in the
context, project, and todo controllers.

This removes the complexity from the application controller, silos it
off, and slightly reduces the complexity of the other controllers so
that they don't have to duplicate as much code.

The tradeoff here is that the code that was moved out into its own class
was also duplicated in the todos controller due to a different use case
that I didn't see before. This is still an improvement however and so
I'm ok with going back and tackling the extra complexity added to
TodoController at a later date.
2012-11-27 23:07:46 -06:00
Reinier Balt
23b92d853a Merge pull request #84 from sukima/fix_projects_api_crash
Fix projects api crash
2012-07-11 06:36:51 -07:00
Reinier Balt
bd8498f39c fix #1287. Fix various small bugs and some small improvements 2012-06-29 16:48:30 +02:00
Reinier Balt
89f96da623 fix #1290. Actionize and alphabetize did not work for hidden projects 2012-06-27 14:40:20 +02:00
Devin Weaver
e71d23555e Fixes a crash when using the XML API
The use of "http://localhost/projects.xml" would crash with missing
method 'all' for object 'Array'

This is because the variable @projects did not need to use all in the
XML formatting since it was already assigned above and is now an array.
2012-06-07 15:55:26 -04:00
Devin Weaver
c2d627bb43 Removes redundent assignment of @new_project 2012-06-07 15:54:58 -04:00
Reinier Balt
436cc862d6 fix text feeds 2012-05-20 05:46:52 +02:00
Reinier Balt
5e477a4d25 first pass of all tests done 2012-05-18 15:33:47 +02:00
Reinier Balt
005723cb4f get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
Reinier Balt
63175c115b all non-cucumber tests are passing 2012-04-30 13:56:41 +02:00
Reinier Balt
13b58f3a10 all unit and functional tests are passing 2012-04-30 13:56:40 +02:00
Reinier Balt
96db48dd86 get project integrations and login controller tests running 2012-04-30 13:56:40 +02:00
Reinier Balt
fd433d76d8 fix all upgrade warnings from the rails_upgrade plugin 2012-04-30 13:56:38 +02:00
Reinier Balt
5d61b9600e fix #1286. The sidebar now updates correctly after update of project settings 2012-04-18 16:50:47 +02:00
Reinier Balt
033afda0e1 fix #1195. Update all autocompleters for more sane order of returned items 2012-04-09 12:48:40 +02:00
Reinier Balt
af10e74017 fix #1242 by fixing all the routing from the review button 2012-03-29 16:05:17 +02:00
Sebastian Fischmeister
0f39034986 removed whitespaces and matched the style with the todo_controller.rb (unless) 2012-02-24 16:46:11 -05:00
Sebastian Fischmeister
725ff5e0fa don't execute a query when limit == 0 2012-02-14 10:16:29 -05:00
Reinier Balt
8b13ee88ab fix #1234 by checking on :review source view 2012-01-23 12:27:49 +01: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
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
858be5d85b added preferences description, added list of up-to-date projects to review view 2011-09-27 19:22:14 -04:00
sf
ad2df4a792 fixed routing problem 2011-09-27 17:33:32 -04:00
sf
9f9ae6f836 use select instead of iterating 2011-09-27 08:25:32 -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
sfischme
01bcc7a48c code cleanup 2011-09-15 21:09:03 -04:00
sfischme
77b6c931ca added separate database field for reviews 2011-09-15 20:52:24 -04:00
sfischme
b320dd60a8 initial version of reviewing 2011-09-15 00:42:34 -04:00
Reinier Balt
601736de2d add done view to tag pages and add more tests 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
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
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
Eric Allen
e5f30a58f8 Fix bug in mobile projects view 2011-03-01 00:15:21 -08:00
Reinier Balt
36f007a087 clean ups 2011-02-26 14:20:51 +01:00
Reinier Balt
1a821a228f let autocomplete fail gracefully when param is not set 2011-02-03 18:19:21 +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
f923a40a40 get tag view working for updating todos. Refactored update a lot 2011-02-03 18:18:41 +01:00
Reinier Balt
484356fe07 small improvements
render :partial => filename, :object => @object can be written shorter since rails 2.0 like
render :partial => @object or render :partial => @collection
Also form_for is smart bout put and post for update and creation.

it helps watching older railcasts episodes :-)
2011-02-03 18:17:28 +01:00
Reinier Balt
ea1ca130f1 refactor sidebar and finish migration of notes 2011-02-03 18:17:22 +01:00
Reinier Balt
0e81706fee fix last functional and integration tests after merge and jquery changes 2011-02-03 18:17:13 +01:00