WebFund 2015W: Assignment 6
This assignment is not yet finalized.
In this assignment you will be modifying the persistent notes demo from Tutorial 6. There are 10 points in 5 tasks. This assignment is due by 10 AM on Monday, March 9, 2015.
Please submit your answers as a zip file called "<username>-comp2406-assign6.zip", where username is your MyCarletonOne username. This zip file should uncompress to a directory called "<username>-comp2406-assign6" and inside this directory should be two things: a directory "persistent-notes" that contains the application and a text file "comments.txt".
"comments.txt" should:
- list any references you used to complete the assignment (documentation web sites, for example),
- list your collaborators, and
- optionally, should discuss any issues or concerns you had when completing this assignment.
Remember that while you are allowed to collaborate with others, plagiarism is not allowed. In other words you should not" be copying any code or data directly from anywhere, and any assistance or inspiration should be credited. Any significant code similarity (beyond the code already given to you) will be considered plagiarism and will be reported to the Dean.
Tasks
- [1] Make it so the contents of notes escape embedded HTML tags (just as is done in the note title).
- [2] Allow links to be embedded in notes using the syntax of "[<link> <label>]" where link is a URL for an <a> tag and the label (the rest of the text in the square brackets) is the label for the URL. If there is no label then the link itself should be the <a> tag's label.
- [1] Add a Cancel button to the Note editor page. It should be a button (like the other buttons in the application) that takes the user back to the notes listing page.
- [2] (Implement a note delete button on the edit note page.)
- [4] (Add a Change Username button to /notes that allows you to change the username for a user. This username can be any username that is not currently being used. Note that you'll need to change the username in the session and update the owner field in stored notes as appropriate.)