Commit Graph

13 Commits

Author SHA1 Message Date
Robin Malley e5d1904b1f Try to hint reader mode better.
Line breaks in the imageboard parser now use an empty paragraph tag
to try to hint that the page should use reader mode.
2021-04-09 20:03:24 +00:00
Robin Malley 73df8d400e Updates to imageboard parser 2021-04-04 05:13:09 +00:00
Robin Malley 53b1a19c05 Fix hangups in imageboard parser
Fix some hangups in the imageboard parser by allowing multiple
markup characters in a row to immediately close the markup
segment instead of going forward to try to find a non-markup
segment to include.
2021-03-20 06:39:46 +00:00
Robin Malley ac24c97d24 Clean up prints 2021-01-04 03:20:55 +00:00
Robin Malley 663da16a75 Fix the problem that caused the last crash.
In certain cases, the imageboard parser will have exponential time
complexity. While this patch fixes that particular problem, the
correct solution is to implement a timeout for particularly gnarly
parts of the code.
2020-12-29 20:19:05 +00:00
Robin Malley b1b7b45e80 Started testing 2020-12-23 06:02:02 +00:00
Robin Malley e6b1b7a8a1 Various updates
+ Added tags to stories
+ Added a view counter to stories
+ Added a very basic search by tag function
~ Modified imageboard parser so that blank lines are preserved
~ Raised the minimum cache time from 2 seconds to 20 seconds
2020-10-10 23:28:39 +00:00
Robin Malley 55c56969ea Added preview
Added a preview button the the paste page that allows users to
preview their paste before submitting.

Various additions to the imageboard parser to make it more robust
and accept more inputs.
2020-08-24 21:38:24 +00:00
Robin Malley bce0788b62 Add comments
Add comments for each paste,
Also add a "Download TXT" button.
2020-08-13 17:59:33 +00:00
Robin Malley 03d4779129 Enable reader mode
Various fixes to enable reader mode on most platforms. I tested on
firefox, google chrome, and microsoft edge, I don't have an iphone, so
let me know if it's still broken.
2020-05-19 20:13:30 -04:00
Robin Malley 37e1b0a6c0 Minor bugfix 2020-05-17 13:17:15 -04:00
Robin Malley 6c18829de6 Move sql files into their own directory
Moved all the of the sql out of the init file and into it's own
directory.
2020-05-17 12:05:00 -04:00
Linux User 48b4173a7a Inital commit 2020-05-15 19:10:20 -04:00