Commit Graph

4 Commits

Author SHA1 Message Date
b84ca6d84f Add Youtube embeds
This will embed a youtube video inline on the page. Hopefully it works!

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-29 19:59:10 -07:00
939227e1f0 Add ReplyBuilder tests
The ReplyBuilder does stuff like parsing >quotes, >>replies, and
[spoiler]spoiler tags[/spoiler]

We mostly want to track consistent behavior with this

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-23 18:12:45 -07:00
d3e1f5a978 Add board locking, update tests, and update clean() methods
* Boards can be locked from allowing posts - this is can be useful for
  things like archived boards or locking down in the event of an
  emergency
* Some validation checks for new posts are from the reply/thread form to
  the Post model's clean() method
* Add some new tests, I've really been falling behind on those

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-12 18:30:16 -07:00
3d0a92253e Add some tests for some of the more complicated behavior in the code
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 16:43:32 -07:00