Commit graph

3587 commits

Author SHA1 Message Date
Carsten Otto
67ced62096 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-06-16 20:44:26 -04:00
Dan Rice
5bf60bb0e6 Merge pull request #1808 from C-Otto/blocked_projects
Projects with completed actions may be blocked
2015-06-16 20:44:17 -04:00
Carsten Otto
0b6bc291e0 there is no form on the project list page
no need to update anything
2015-06-15 10:31:44 +02:00
Carsten Otto
ff27f769e9 swap expected/actual 2015-06-15 09:47:49 +02:00
Carsten Otto
e5294f070f improve grammar in test 2015-06-15 09:47:49 +02:00
Carsten Otto
2039ae05db document code
This helps solving the TODO mentioned a few lines above
2015-06-15 09:46:47 +02:00
Dan Rice
8dd4970b0c Merge branch '2.3_branch' 2015-06-14 18:20:08 -04:00
Dan Rice
ebec4f089d Merge pull request #1875 from C-Otto/tracks-1836
(2.3) Provide data needed for partial views
2015-06-14 18:15:59 -04:00
Dan Rice
d06b857676 Merge pull request #1884 from C-Otto/circular-dependencies
(2.3) Circular dependencies
2015-06-14 18:13:54 -04:00
Dan Rice
70cd38460b Merge pull request #1890 from graaff/sanitize-version
Provide minimum version for sanitize gem.
2015-06-14 17:17:41 -04:00
Carsten Otto
050b3c7ed9 remove all tab indices
fixes #1835
2015-05-25 12:08:23 +02:00
Carsten Otto
426b0fca20 also update default_context_name
New actions are created with the context as defined in
default_context_name. This value needs to be updated as shown in #1789.
2015-05-25 11:57:10 +02:00
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