5 Commits

Author SHA1 Message Date
saw
093b6cd868 v2.2.0 - Pirate Stache - Markdown and Clensing
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`
2021-08-06 01:01:22 -04:00
saw
b92d1e6236 v2.1.0 - Pirate Stache - HTML Rendering
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.
2021-07-15 20:19:29 -04:00
saw
2404b04e76 Borders v2.0.0 - Pirate Stache
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.
2021-07-14 22:30:53 -04:00
saw
38a42fdbe3 Removed browser dependant CSS, board description
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.
2021-06-04 12:21:42 -04:00
saw
e44d120ba7 Initial commit v1.0.0 release of Boarders
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/`
2021-06-04 08:57:14 -04:00