schedule working, clean up

This commit is contained in:
2021-09-24 18:43:51 +00:00
parent 408beadf20
commit 7ea5218b70
2 changed files with 1 additions and 25 deletions

View File

@@ -7,8 +7,7 @@ The personal schedule displays events tied to the currently logged in User and c
## Settings
The settings dialog (access by clicking on gear icon at top) controls what is displayed in the schedule. On most devices saving your settings will refresh the display immediately, however on some devices such as an iPad you will need to manually refresh the page after changing settings by reloading in the browser or any operation that forces a refresh of the underlying data such as changing the month or day.
The settings dialog (access by clicking on gear icon at top) controls what is displayed in the schedule.
Schedule settings are device independant and saved to the server so that any device used will take these same settings.
### First time in day view

View File

@@ -65,29 +65,6 @@ namespace AyaNova.Api.Controllers
return CreatedAtAction(nameof(ReportController.GetReport), new { id = o.Id, version = apiVersion.ToString() }, new ApiCreatedResponse(o));
}
// /// <summary>
// /// Duplicate Report
// /// (Wiki and Attachments are not duplicated)
// /// </summary>
// /// <param name="id">Source object id</param>
// /// <param name="apiVersion">From route path</param>
// /// <returns>Report</returns>
// [HttpPost("duplicate/{id}")]
// public async Task<IActionResult> DuplicateReport([FromRoute] long id, ApiVersion apiVersion)
// {
// if (!serverState.IsOpen)
// return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
// ReportBiz biz = ReportBiz.GetBiz(ct, HttpContext);
// if (!Authorized.HasCreateRole(HttpContext.Items, biz.BizType))
// return StatusCode(403, new ApiNotAuthorizedResponse());
// if (!ModelState.IsValid)
// return BadRequest(new ApiErrorResponse(ModelState));
// Report o = await biz.DuplicateAsync(id);
// if (o == null)
// return BadRequest(new ApiErrorResponse(biz.Errors));
// else
// return CreatedAtAction(nameof(ReportController.GetReport), new { id = o.Id, version = apiVersion.ToString() }, new ApiCreatedResponse(o));
// }
/// <summary>
/// Get Report