Commit graph

4775 commits

Author SHA1 Message Date
Hans de Graaff
2d4be328c3 Provide minimum version for sanitize gem.
The sanitize code in Tracks uses merge to copy Sanitize configurations,
but this was only introduced in version 3.0.0.
2015-05-25 11:10:58 +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
65a2a727fb navigate back to note's project after deletion
fixes #1882
2015-05-23 22:39:32 +02:00
Carsten Otto
6014ce7a6f create projects as reviewed at creation time
Fixes #1788
2015-05-22 23:12:45 +02:00
Carsten Otto
04fdf8c620 add test for #1804 and #1836 2015-05-22 23:03:12 +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
4ce7c6bcd4 Provide data needed for partial views
The partials for context and project need to compute the
context's/project's id, which is done based on @context/@project.
Provide this data.

Fixes #1836
2015-05-22 23:02:41 +02:00
Carsten Otto
e7495e32b7 remove redundant code 2015-05-22 23:02:32 +02:00
Carsten Otto
131053fc1f cleanup test 2015-05-22 23:02:32 +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
f8f7762b94 also update default_project_name
New actions are created with the project as defined in
default_project_name. This value needs to be updated as shown in #1789.
2015-05-22 20:55:34 +02:00
Carsten Otto
ae4ce272ff update form with new context name 2015-05-22 20:55:34 +02:00
Carsten Otto
bba13194fd show dependency validation errors in action edit form 2015-05-22 20:51:27 +02:00
Carsten Otto
fd8f4e2b32 Fix syntax 2015-05-22 20:51:27 +02:00
Carsten Otto
73bb53e1e5 Still show action if it could not be added as predecessor
If it is added as a predecessor, other code takes care to hide the action.
For a very short time, barely noticeable, the action is shown moving back
to its original position.

See pull request #1777
2015-05-22 20:51:27 +02:00
Dan Rice
7781281243 Merge pull request #1801 from C-Otto/tracks-440
replace 'None' project by empty string
2015-05-14 21:25:28 -04:00
Dan Rice
6f03b2256b Merge pull request #1864 from C-Otto/tracks-1841
replaceWith instead of html
2015-05-14 21:23:21 -04:00
Dan Rice
3227d17b8e Merge pull request #1858 from C-Otto/tracks-1856
Add missing translation
2015-05-14 20:50:53 -04:00
Carsten Otto
82ac4e22b0 fix syntax 2015-05-14 15:51:49 +02:00
Carsten Otto
dd21e7466c in tag view, do not use more-or-less random context for the form
See #1834 for a discussion
2015-05-14 15:38:37 +02:00
Carsten Otto
be8be4c558 replaceWith instead of html 2015-05-14 14:02:35 +02:00
Carsten Otto
ea3e1cafe8 no space after "TRACKS::" (cf. en.yml) 2015-05-14 12:54:11 +02:00
Carsten Otto
5ffaf98c7b show 0-0 instead of 1-0 if no project/action exists
limit maximum to actual number of projects/actions
2015-05-14 12:53:24 +02:00
Carsten Otto
9137404243 show links to context/project also for completed actions 2015-05-14 00:37:38 +02:00
Carsten Otto
5c07585ad4 add missing translation for en+de 2015-05-13 23:54:49 +02:00
Carsten Otto
296b8135a1 make code of completed projects and completed recurring actions more similar 2015-05-13 23:46:35 +02:00
Carsten Otto
dffb156227 add quotes 2015-05-13 22:56:39 +02:00
Carsten Otto
47d0364dbd fix test
every_other3 encodes 1:first to 4:fourth and 5:last weekday of month
every_other2 encodes every nth month
2015-05-10 14:11:08 +02:00
Carsten Otto
5c3c2f80b7 sort when deleting a dependency in the tree 2015-05-10 14:09:06 +02:00
Carsten Otto
a29009d3da replace 'None' project by empty string, fix #440 2015-05-10 14:08:20 +02:00
Carsten Otto
72f7513650 fix #1847 2015-05-09 19:21:01 +02:00
Carsten Otto
e66f1a156a refactor 2015-05-09 19:06:08 +02:00
Dan Rice
660238d2cf Merge pull request #1807 from dnrce/border-radius
Use standard CSS for rounded corners
2015-05-03 12:39:17 -04:00
Dan Rice
e6761731d1 Use standard CSS for rounded corners
Remove Nifty Corners and prefixed CSS rules.
Browser support of CSS3 border-radius is excellent by now.
2015-05-02 23:56:15 -04:00
Carsten Otto
d5b695d733 replace instead of nesting div inside div 2015-04-16 23:10:49 +02:00
Carsten Otto
32a573d60b add in list instead of below 2015-04-16 23:10:49 +02:00
Carsten Otto
164cee695c sort after deleting recurring action 2015-04-16 23:10:49 +02:00
Carsten Otto
e451e2ed5e sort after adding to existing container 2015-04-16 23:10:49 +02:00
Carsten Otto
0469a990c5 sort when activating pending successors of deleted action 2015-04-16 23:10:49 +02:00
Carsten Otto
8fd8158840 sort when a pending successor is activated 2015-04-16 23:10:49 +02:00
Carsten Otto
00bd19b4ff sort when the next instance of a recurring todo is added 2015-04-16 23:10:49 +02:00
Carsten Otto
021d53f359 sort when a pending todo is activated 2015-04-16 23:10:49 +02:00
Carsten Otto
eb7b1e9ab6 sort after editing an action 2015-04-16 23:10:45 +02:00
Carsten Otto
0b00f36c60 sort after creating 2015-04-16 23:10:36 +02:00
Carsten Otto
cc88d24d79 Projects with completed actions may be blocked
Currently, a project cannot be blocked if at least one completed
action exists. This was introduced in
acab98d4c7,
and I assume this change was not intended
2015-04-15 20:46:53 +02:00
Carsten Otto
ead021b789 replace element instead nesting another div inside existing div 2015-04-15 20:40:55 +02:00
Dan Rice
d7944c2464 Merge pull request #1824 from dnrce/remove-should
Convert a .should expectation to expect()
2015-04-15 14:07:22 -04:00
Dan Rice
7d7c3550f8 Convert a .should expectation to expect() 2015-04-15 09:58:30 -04:00
Dan Rice
be18133e08 Merge branch '2.3_branch' 2015-04-14 23:29:30 -04:00
Dan Rice
1dbef179a7 Revert breaking commits
This reverts the following commits:
319d4b00cd
403cc1015e
37485013a0
d08ffb3806
2015-04-14 23:28:18 -04:00