Jyri-Petteri Paloposki
d4c9041ccd
More code style fixes
2021-01-06 03:47:35 +02:00
Jyri-Petteri Paloposki
67a426a2e9
More code climate style fixes
2020-10-10 15:24:01 +03:00
Jyri-Petteri Paloposki
d8acf60049
Code style fixes
2020-10-10 05:14:24 +03:00
Jan-Yves Ruzicka
c66ce02cb6
Refactor todos_controller and todos_helper to use @original_item
...
Project uses properties of @original_item over a number of similar-named
variables (eg. @original_item_description, @original_item_was_pending, etc.)
Have left in @original_item_due_date and @original_completed_period as these
are more complex, and not simply properties of the todo item.
2019-11-17 16:03:40 +13:00
Jyri-Petteri Paloposki
0cfa0e65f2
#2242 : Fix the JS procedure run on add form submission by changing the context ID to the new format.
2019-06-28 13:53:24 +03:00
Jyri-Petteri Paloposki
dad7fdf006
Merge pull request #2055 from scriptythekid/master
...
make drag&drop todos from/to contexts work again - fix #2054
2019-05-22 22:46:51 +03:00
Jyri-Petteri Paloposki
1e0f1bd611
Change context element IDs to use underscore instead of just the c prefix
2019-05-22 01:28:50 +03:00
Matt Rogers
c3a13bca16
Fix the undefined reference to Staleness
...
Not sure what's going on with Rails' autoloading here, so fix it the
ruby way by using plain ol' `require`
2018-11-12 08:55:42 -06:00
scripty
9c28bc737c
make drag&drop todos from/to contexts work again
2017-01-21 00:32:59 +01:00
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