Commit graph

166 commits

Author SHA1 Message Date
Matt Rogers
aa41e20e46 Remove trailing whitespace and tabs 2014-08-14 21:05:05 -05:00
Reinier Balt
4cdbd9a451 move js genreated for ajax calls into their own object to prevent name clashes
I only modified the js that is most likely to be used in cocurrent calls. This because we
start the development of Tracks 3 that will change all js.
2014-08-13 15:33:32 +02:00
Reinier Balt
f0871738e9 put the javascript to handle marking todos complete in its own object with unique name
this should prevent concurrent running ajax calls to mess up the ui
2014-08-13 15:33:32 +02:00
Reinier Balt
2305a91324 rename module to reflect its generic use 2014-07-17 15:19:17 +02:00
Reinier Balt
e0aec34df0 use helper class for both due date and show from date 2014-07-17 15:14:12 +02:00
Reinier Balt
8ea417c792 fix test regression 2014-07-17 14:06:22 +02:00
Dan Rice
50b09811fc Fix check for whether todo changed containers 2014-06-10 12:07:30 -04:00
Reinier Balt
8194ab9d7f fix #1432. 2014-05-16 16:35:05 +02:00
Reinier Balt
49a09f36e8 activerecord associations do not act like a collection anymore, so convert to array first
before using map, collect, etc.
2014-05-16 14:33:18 +02:00
Reinier Balt
3b673f0838 fix some failing cucumber tests 2014-01-09 11:18:33 +01:00
Reinier Balt
bbf6cdf702 fix failing cucumber scenario's and update gems 2013-09-18 10:38:20 +02:00
Mindaugas Mozūras
25e764b21a Refactor "unless blank?" into "if present?" 2013-09-13 15:40:09 +03:00
Stacy Vlasits
9896705bf2 fixed next month label for calendar view 2013-07-18 16:43:05 -05:00
Reinier Balt
7084c11263 fix failing tests 2013-06-11 15:36:27 +02:00
Reinier Balt
0a57a68a87 Project and context view can now be grouped by context and project (using view menu) 2013-06-11 11:12:21 +02:00
Reinier Balt
ee9951403e fix #1419 for master too: do not show new todo that was added with show_from set 2013-06-04 10:31:29 +02:00
Reinier Balt
5cfa115cdc small refactorings
fix passing params in use of _collection
2013-05-03 21:54:03 +02:00
Reinier Balt
0607096e7c add cucumber tests for tickler with group by project 2013-04-24 23:30:58 +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
5f8f2eefa9 fix failing calendar scenarios 2013-04-16 10:20:44 +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
Dan Rice
e6dceb5058 Fix contexts not being viewable if collapsed
Contexts collapsed on the homepage were also being collapsed on the
context detail page, but without the option to expand them.
This change stops collapsing them on the detail page regardless of the
setting on the homepage.
2013-03-20 18:56:40 +02:00
Reinier Balt
85fc82d494 refactor done todos view and tests 2013-03-18 12:36:40 +01:00
Reinier Balt
0a9755c8a3 get all scenario's running again, first pass. 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
Matt Rogers
63fc460c00 Refactor the empty message criteria into its own method.
Removes plenty of duplication in the code
2013-03-12 14:21:12 -05:00
Matt Rogers
d699359648 Move the view logic back into the helper
Staleness#days_stale only gives us the number of days that a Todo has
been stale. Add the logic for choosing the CSS class to use back to the
view helper.
2013-03-10 22:18:59 -05:00
Matt Rogers
8dfbac0fe8 Use the newly extracted method object for getting todo staleness 2013-03-09 22:38:38 -06:00
Katrina Owen
0b733b6183 Override #to_s on Tag for simplified joining 2013-02-19 08:47:47 -07:00
Katrina Owen
95a4ed6e4a Add Tag#label method 2013-02-18 15:12:53 -07:00
tim madden
f7f8b79f5b Eliminating unneeded blank space character from show_date_tag
The space character causes the 'Show in x period' background color to
run into the todo description.

Closes #1368
2012-11-30 16:08:25 -06:00
Dan Rice
9a1faa9701 convert rollovers to pure CSS with sprites 2012-09-29 09:56:51 -04:00
Reinier Balt
e8c3ba2e28 fix #1313 by checking on NullProject too 2012-07-18 10:39:15 +02:00
Reinier Balt
d6e66fa517 fix failing cucumber tests
fix data export view
fix mentions of tag on tag page 
fix autocomplete for tags
2012-07-11 15:35:21 +02:00
Reinier Balt
0b1d521bbf ugly fix for deprecation warnings fopr mouseover and fix failing tests 2012-06-27 21:40:12 +02:00
Reinier Balt
ecb0ff5bf7 get features of recurring_todos to pass 2012-05-12 15:37:13 +02:00
Reinier Balt
005723cb4f get login, mobile and notes features passing 2012-05-12 13:37:36 +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
76340b780c Getting functional tests running. 2012-04-30 13:56:38 +02:00
Reinier Balt
fd433d76d8 fix all upgrade warnings from the rails_upgrade plugin 2012-04-30 13:56:38 +02:00
Reinier Balt
e964769553 home page is restored, so is context view 2012-04-30 13:56:37 +02:00
Reinier Balt
bb8b5a4c72 store rendered notes of todos in database to avoid costly rendering when you load a page 2012-04-12 11:34:08 +02:00
Reinier Balt
b2e6253b4c restore all associations for tags. All tests are passing 2012-04-11 11:37:22 +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
dd957f0feb fix #1255. Context view now has seperate container for pending and deferred todos 2012-03-23 14:04:55 +01:00
Reinier Balt
1236b5985c migrate search and add new todo scenario's 2012-03-19 14:06:34 +01:00