This PR adds image uploading capabilities to the front end, as well as some cleanup and bug fixes.
New features:
server.py has a new route /files which goes to a page created with the new files.html template. Here users can view and delete their posts and images.
There is a new template manage-files.html which houses macros related to file management so they can be referenced in additional locations beyond the /files page.
There is a template for the /upload route now, upload.html, which provides an interface for uploading an image.
profile.html and write-post.html now include a button which allows users to reach the /files page to manage their images/posts.
Misc changes:
server.py had a bug which always sent public user data instead of private user data d.t. a casting error, this has been fixed.
AgoraDatabaseManager.py had some cleanup d.t. previous server.py bug.
Minor bug fix in AgoraInterpreterFilter.py.
style.css has been updated and slightly tweaked. Due to these tweaks I also updated browse.html and comment-section.html.
profile.html has had some re-working and cleanup that makes it look like more changes occurred than actually did.
This PR adds image uploading capabilities to the front end, as well as some cleanup and bug fixes.
New features:
server.py
has a new route/files
which goes to a page created with the newfiles.html
template. Here users can view and delete their posts and images.manage-files.html
which houses macros related to file management so they can be referenced in additional locations beyond the/files
page./upload
route now,upload.html
, which provides an interface for uploading an image.profile.html
andwrite-post.html
now include a button which allows users to reach the/files
page to manage their images/posts.Misc changes:
server.py
had a bug which always sent public user data instead of private user data d.t. a casting error, this has been fixed.AgoraDatabaseManager.py
had some cleanup d.t. previousserver.py
bug.AgoraInterpreterFilter.py
.style.css
has been updated and slightly tweaked. Due to these tweaks I also updatedbrowse.html
andcomment-section.html
.profile.html
has had some re-working and cleanup that makes it look like more changes occurred than actually did.