1
0

Add repeat monthly setting for tasks (#834)

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/834
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
This commit is contained in:
konrad
2021-04-14 09:04:58 +00:00
parent ad9749e37d
commit b4d726f5a8
7 changed files with 401 additions and 146 deletions

View File

@ -7362,9 +7362,9 @@ var doc = `{
"description": "An amount in seconds this task repeats itself. If this is set, when marking the task as done, it will mark itself as \"undone\" and then increase all remindes and the due date by its amount.",
"type": "integer"
},
"repeat_from_current_date": {
"description": "If specified, a repeating task will repeat from the current date rather than the last set date.",
"type": "boolean"
"repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer"
},
"start_date": {
"description": "When this task starts.",
@ -7939,9 +7939,9 @@ var doc = `{
"description": "An amount in seconds this task repeats itself. If this is set, when marking the task as done, it will mark itself as \"undone\" and then increase all remindes and the due date by its amount.",
"type": "integer"
},
"repeat_from_current_date": {
"description": "If specified, a repeating task will repeat from the current date rather than the last set date.",
"type": "boolean"
"repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer"
},
"start_date": {
"description": "When this task starts.",

View File

@ -7345,9 +7345,9 @@
"description": "An amount in seconds this task repeats itself. If this is set, when marking the task as done, it will mark itself as \"undone\" and then increase all remindes and the due date by its amount.",
"type": "integer"
},
"repeat_from_current_date": {
"description": "If specified, a repeating task will repeat from the current date rather than the last set date.",
"type": "boolean"
"repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer"
},
"start_date": {
"description": "When this task starts.",
@ -7922,9 +7922,9 @@
"description": "An amount in seconds this task repeats itself. If this is set, when marking the task as done, it will mark itself as \"undone\" and then increase all remindes and the due date by its amount.",
"type": "integer"
},
"repeat_from_current_date": {
"description": "If specified, a repeating task will repeat from the current date rather than the last set date.",
"type": "boolean"
"repeat_mode": {
"description": "Can have three possible values which will trigger when the task is marked as done: 0 = repeats after the amount specified in repeat_after, 1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from the current date rather than the last set date.",
"type": "integer"
},
"start_date": {
"description": "When this task starts.",

View File

@ -222,10 +222,12 @@ definitions:
when marking the task as done, it will mark itself as "undone" and then
increase all remindes and the due date by its amount.
type: integer
repeat_from_current_date:
description: If specified, a repeating task will repeat from the current date
rather than the last set date.
type: boolean
repeat_mode:
description: 'Can have three possible values which will trigger when the task
is marked as done: 0 = repeats after the amount specified in repeat_after,
1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from
the current date rather than the last set date.'
type: integer
start_date:
description: When this task starts.
type: string
@ -703,10 +705,12 @@ definitions:
when marking the task as done, it will mark itself as "undone" and then
increase all remindes and the due date by its amount.
type: integer
repeat_from_current_date:
description: If specified, a repeating task will repeat from the current date
rather than the last set date.
type: boolean
repeat_mode:
description: 'Can have three possible values which will trigger when the task
is marked as done: 0 = repeats after the amount specified in repeat_after,
1 = repeats all dates each months (ignoring repeat_after), 3 = repeats from
the current date rather than the last set date.'
type: integer
start_date:
description: When this task starts.
type: string