Commit graph

314 commits

Author SHA1 Message Date
Reinier Balt
0607096e7c add cucumber tests for tickler with group by project 2013-04-24 23:30:58 +02:00
Reinier Balt
caec4f214a enable group by project for tickler 2013-04-20 20:20:57 +02:00
Reinier Balt
9172d5e001 fix failing scenario 2013-04-17 23:26:46 +02:00
Reinier Balt
8641ecfc4e add some project grouping scenarios to edit_a_todo and fix failures
also refactor step definitions
2013-04-17 22:11:24 +02:00
Reinier Balt
67247980ad fix failing tests 2013-04-11 11:04:07 +02:00
Reinier Balt
9c0445fcb7 make adding of todos from sidebar work in context and project grouping 2013-04-11 10:53:35 +02:00
Reinier Balt
42566b6fee add test for collapsing project containers 2013-04-06 12:57:53 +02:00
Reinier Balt
85fc82d494 refactor done todos view and tests 2013-03-18 12:36:40 +01:00
Reinier Balt
ede898120c remove option to show empty containers and start fixing failing cucumber scenarios 2013-03-18 12:36:40 +01:00
Reinier Balt
22b371ef8c do a big refactor of rendering collections of todos for home page, tag page, project page, context page 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
1e84adc91b get tests running and fix editing context state 2013-03-01 16:22:29 +01:00
Reinier Balt
48e47fc009 remove dynamic finders from cucumber scenarios 2013-02-27 20:02:01 +01:00
Reinier Balt
583664be36 remove some dynamic finders (they are deprecated for rails4) and add test for untested method of context.rb 2013-02-25 10:21:04 +01:00
Reinier Balt
6fa70db39e fix updating dependency trees when changin a name. Including invalidating cache when
necessary
2013-02-17 17:37:44 +01:00
Reinier Balt
4b7bd1c414 include predecessors and successors in xml export of todos. Fixes #1377 2013-01-01 23:08:47 +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
Matt Rogers
306d501e20 remove duplication in mobile cookie handling 2012-08-15 22:14:00 -05:00
Matt Rogers
b01c7878d1 Push conversion of a todo to a project down.
Refactor the conversion of a todo to a project and move it from the
TodosController to the Project model.
2012-08-14 19:33:54 -05:00
Reinier Balt
a37d10f57a fix #1314. Fixed security issue too 2012-07-18 12:26:46 +02:00
Reinier Balt
4e29bf69f7 fix failing tests and small refactorings 2012-07-18 11:42:26 +02:00
Reinier Balt
7c1cd2a144 fix #1310. Add test for this
Found that I had a lot of tests commented out. They have some regressions I will fix later
2012-07-15 21:28:42 +02:00
Reinier Balt
bd8498f39c fix #1287. Fix various small bugs and some small improvements 2012-06-29 16:48:30 +02:00
tim madden
51da342cdc harmonizing todo_tag_list and tag_list, using just the shorter tag_list 2012-06-27 13:56:56 -05:00
Reinier Balt
436cc862d6 fix text feeds 2012-05-20 05:46:52 +02:00
Reinier Balt
fc69c6cfbf get shared_add_new_todo feature to pass 2012-05-12 18:04:56 +02:00
Reinier Balt
005723cb4f get login, mobile and notes features passing 2012-05-12 13:37:36 +02:00
Reinier Balt
28b7df87a8 get edit a todo to pass 2012-05-01 17:25:45 +02:00
Reinier Balt
d7aebf03a0 get context, dependencies and admin scenarios running 2012-05-01 15:45:58 +02:00
Reinier Balt
c9d64e6f4b get the first cucumber feature running: calendar 2012-04-30 13:56:42 +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
fd433d76d8 fix all upgrade warnings from the rails_upgrade plugin 2012-04-30 13:56:38 +02:00
tim madden
b932ac210f fix for mobile new todo tags no being saved
the mobile interface shares the form for creating and updating todos.
the todo controller was using different names for them. this change
aligns them.
2012-04-28 22:44:35 -05:00
Reinier Balt
12d8915eda Get all non-cucumber tests passing 2012-04-12 12:47:25 +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
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
8d6b9b5dbd fix regressions 2012-04-04 20:04:08 +02:00
Reinier Balt
c7637053e1 fix #1268. The default context in the new todo form on the home page is now the first active context
Instead of the first context that could be hidden and thus appear random. Also fix setting the default context based on the project you select.
2012-04-03 20:32:15 +02:00
Reinier Balt
0012a56ecb fix #1266. Please test and reopen if necessary. I think I prefixed all queries with the right table 2012-03-29 21:51:33 +02:00
Reinier Balt
bb998ba3fa fix #1265. The validations were not checked when making a project out of a todo. Thanks popsch for spotting this one! 2012-03-29 21:48:34 +02:00
Reinier Balt
7435b1ba93 Update and add scenario's for testing interaction with new deferred container on context page and fix regressions 2012-03-23 20:39:04 +01:00
Reinier Balt
dd957f0feb fix #1255. Context view now has seperate container for pending and deferred todos 2012-03-23 14:04:55 +01:00
Reinier Balt
e1c0ff0683 fix timing issue in cucumber step and fix regression in adding multiple todos 2012-03-22 16:10:37 +01:00
Reinier Balt
b90e34bd53 Fix #1258 and fix #1259 2012-03-19 14:40:08 +01:00
Reinier Balt
1236b5985c migrate search and add new todo scenario's 2012-03-19 14:06:34 +01:00
tim madden
250e1d8fcc folding mobile_done method into original toggle_check method
the mobile_done method was created to test out a checkbox submit
the mobile interface. In the interests of DRY, this brings the new
mobile code into the original method,
2012-01-16 11:37:29 -06:00
tim madden
d0e7264661 changes for done checkbox on mobile page
adding recent completed todos in case you accidentally tick one by mistake
2011-12-19 21:10:19 -06: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
833297b355 fix regression and further cleanups of todo model 2011-11-16 19:36:09 +01:00