Added feature that checks for backwards compatibility issues and fixes
them if present. It checks for a version number in `data/app.json` and
compares it to the current version number.
The amount of logs has been severely reduced to prevent the sheer amount
of clutter being produced.
Message format has been changed so that all text boxes will be the same
width, rather than they change depending on name length.
TL;DR: changed location of name tag
You can now format your messages with cmark flavored markdown. There
still may be rendering bugs, but I will fix them as they come.
Messages are now properly sanitized with the ammonia package.
Messages now have proper timestamps with help from chrono. Right now
previous versions are not compatible with the new timestamp format. A
patch will be introduced in the next couple of updates to remedy that
issue.
Did some housekeeping in `static/index.css`
Fixed some HTML rendering issues, the largest being text overflow with
the `<pre>` elements.
Centered text input box
Made text content background different
When opening a board it will now trim excess whitespace around strings
for storage efficiency and backward compatability.
Now using handlebars instead of format! for page generation. Added
quick and dirty logging with SimpleLogger. `Board` objects now have a
`last_active` field.
Bit of a version gap, but whatever. This is a significant enough update
I think it deserves a change in the major version.
0 Warnings, 0 Errors
Handlebars eliminated the XSS vulnerability because it automatically
escapes text.
Added comments to src/main.rs
Moved some static HTML blobs into static/ rather than baking them into
the binary.
Now licensed under Zlib
libBoarders is now compiled separately as a library. It may have VERY
little application, but whatever.
Made banner 3D, and thus cooler. Replaced "Boarders" with the banner
used in the backend.
Made the error when you try to post without being logged in more
informative. It used to be very vague and confusing.
Added build number to home page and backend banner. It pulls the version
number from cargo at compile time.
I removed some browser dependant CSS that I mistakenly put in.
Everything now renders correctly on FF browsers.
I added the board description to the board view so you can see the board
topic while looking at the board.
Version 1.0 release of Boarders. `overflow.tar.gz` is an archive of the
project where I discovered a stack overflow due to a bug in Actix, or
Rust itself, more investigation is needed.
In the future `src/api/` needs to be rewritten to be more reusable so code
isn't copy/pasted from there to `src/html/` for the frontend.
In v1.1.0 page generation should be handled by a `PageBuilder` that is
instantiated once for each thread. This is to dramatically reduce the
number of HTML blobs scattered around in `src/html/`