| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
| |
Not as good as expected. But I don't have time anymore. :'(
It appears as if the milliseconds are not converted into seconds and
minutes properly. Will have to see this in depth.
|
|
|
|
|
| |
Get function for filtered to dos. Sorting can now compare null objects.
Reordered sorting because of a Concurrent Modification Exception.
|
|
|
|
| |
Forgot to remove RequestBody from GetMapping.
|
|
|
|
|
| |
Setting filters and sorters and saving them on a list. Then the list can
be paginated and returned.
|
| |
|
|
|
|
|
| |
If the date is the timestamp 0 (i.e. 1970/01/01), the due date will be
set as null.
|
|
|
|
| |
Instead of setting all origins as valid, set only our origin as valid.
|
|
|
|
|
|
| |
It now accepts requests from outside the URL. See
https://stackoverflow.com/a/64137023 and
https://stackoverflow.com/a/46065200.
|
|
|
|
|
|
|
| |
Path is "/todos/filter". You have to pass as a body the arguments "name"
for searching inside the to do's name, "priority" for specifying a
priority level (or "All") and/or "done" for specifying if the to do is
"Done" or "Undone" (or "All").
|
|
|
|
| |
Path is "/todos/{id}" to delete a to do with id {id}.
|
| |
|
|
|
|
|
|
|
| |
GET request with path "/todos/{field}/{order}", where {field} can be
"Id", "Priority" or "DueDate" for sorting the corresponding fields, and
{order} can be "ASC" or "DESC" for ascending or descending order,
respectively.
|
|
|
|
|
| |
Using PUT request on path /todos/{id}, the to do with id {id} will be
updated with the new information parsed as body.
|
|
|
|
|
| |
PUT request on path /todos/{id}/undone sets the to do with id {id} to
undone. It also resets the 'doneDate' variable.
|
|
|
|
| |
POST on /todos/{id}/done to set the to do with {id} done. :3
|
|
|
|
| |
Now it uses the page /todos.
|
| |
|
|
|
|
|
| |
HTTP responses to each action. Raising an error when "text" has
surpassed the 120 character limit.
|
|
|
|
|
| |
Submit a JSON formatted body with the values "text", "dueDate" and
"priority" to submit a new to do.
|
|
|
|
|
| |
Currently the directory is /v1/todos. It'll retrieve a list of all
to dos.
|
|
Returns a string with a "GET" request and on the page "/greet".
|