Carsten Otto
ed3bca22a4
Remove 'project_hidden' state
...
Compute it using project/context state
Notable change:
todo.hidden? now also returns true if the todo is completed
2016-04-16 09:27:33 +02:00
Jan-Yves Ruzicka
ccf13418f4
Extract rendering to helper method. Shift filename sanitization to controller.
2016-02-02 11:08:12 +00:00
Matt Rogers
5342877caf
Merge pull request #1865 from C-Otto/tracks-1840
...
Show links to context/project also for completed actions
2015-08-07 21:06:27 -04:00
Matt Rogers
4c24c4cd18
Merge pull request #1886 from C-Otto/tracks-1878
...
Ignore time, so that one can always defer to the due date
2015-08-07 21:03:45 -04:00
Matt Rogers
50421fc19b
Merge pull request #1825 from C-Otto/sort-containers
...
Sort containers
2015-08-07 20:35:54 -04:00
Matt Rogers
3d77e11a87
Merge pull request #1853 from C-Otto/tracks-1851
...
Do not open 'new note' form when clicking unrelated links
2015-08-07 20:34:08 -04:00
Matt Rogers
f393afb69f
Merge branch '2.3_branch'
...
This brings the master branch up to date with the 2.3 release branch
2015-08-07 20:27:14 -04:00
Matt Rogers
dcc13981cc
Merge pull request #1874 from C-Otto/tracks-1835
...
(2.3) remove all tab indices
2015-08-07 20:03:47 -04:00
Reinier Balt
f2c6c2d3af
show attachment in view and make it downloadable
2015-08-05 16:05:56 +02:00
Dan Rice
8dd4970b0c
Merge branch '2.3_branch'
2015-06-14 18:20:08 -04:00
Carsten Otto
050b3c7ed9
remove all tab indices
...
fixes #1835
2015-05-25 12:08:23 +02:00
Carsten Otto
2630f84bb1
use generic CSS class for links in (div) container headers
...
Fixes #1851
2015-05-24 14:57:48 +02:00
Carsten Otto
0adad47857
re-add action in correct container if context is changed
...
fixes #1804
2015-05-22 23:02:47 +02:00
Carsten Otto
46cb8589f8
Ignore time, so that one can always defer to the due date
...
Fix #1878
2015-05-22 21:07:59 +02:00
Carsten Otto
9137404243
show links to context/project also for completed actions
2015-05-14 00:37:38 +02:00
Carsten Otto
0b00f36c60
sort after creating
2015-04-16 23:10:36 +02:00
Matt Rogers
04e3aebabe
Use rails helpers for the promote to project menu item
2015-02-18 22:07:42 -06:00
Matt Rogers
8bb92833b5
Use rails helpers for the delete dependency menu item
2015-02-18 22:05:05 -06:00
Matt Rogers
6677af6f8f
Use Rails helpers for the delete menu item
...
Instead of creating id and routes manually, use the helpers that Rails
provides in order to do this for us.
2015-02-18 08:24:08 -06:00
Matt Rogers
3bef4daacc
Use Rails helpers for the edit button
...
Instead of creating id and routes manually, use the helpers that Rails
provides in order to do this for us.
2015-02-18 08:22:59 -06:00
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