| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
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.
|
|
|
|
| |
To match the Front End's one.
|
|
|
|
|
|
| |
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
|
|
|
|
| |
It now can overwrite existing todos if they share the same ID.
|
|
|
|
| |
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.
|
|
|
|
| |
Class for saving all single to dos.
|
|
Returns a string with a "GET" request and on the page "/greet".
|