Commit Graph

77 Commits

Author SHA1 Message Date
Robin Malley 45e1ba3fcb Stop using unsafe characters
Several characters used for short path generation are unsafe to
use without escaping. Remove those.
2021-02-03 05:23:28 +00:00
Robin Malley ec00fcaf08 Fix unit tests
Fix sanity unit tests, and do a lot more random testing
2021-02-03 04:30:27 +00:00
Robin Malley 879e89fa8d Do more refactoring
Start merging the error pages into a single standardized error page
Lessen log spew when site is being crawled by robots
2021-02-03 04:09:12 +00:00
Robin Malley 7462b1e7ac Add an archive 2021-02-03 03:41:22 +00:00
Robin Malley c173fae026 Throw a more descriptive error temporarily 2021-01-26 02:12:42 +00:00
Robin Malley 4a99441008 Fix the Unlisted checkbox always being checked
Fixed a bug where the unlisted checkbox was always checked when
ending a post.
2021-01-26 01:20:40 +00:00
Robin Malley 1f5b113daa Remove globals
Clean up a bunch of places where the global namespace was being
polluted by accident.
2021-01-17 05:10:16 +00:00
Robin Malley 6cd786be1a Fix dependencies 2021-01-16 21:02:34 +00:00
Robin Malley 18d1f3ea87 Remove debugging prints 2021-01-16 21:02:20 +00:00
Robin Malley 2c732db22d Fix make test 2021-01-16 21:01:31 +00:00
Robin Malley 861e53cc29 Add a comment 2021-01-16 20:59:56 +00:00
Robin Malley c9ab25f65f Fix +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
63 successes / 0 failures / 0 errors / 0 pending : 0.210397 seconds
2021-01-16 20:59:22 +00:00
Robin Malley ff2e560a2c Remove debug prints from hash function 2021-01-16 20:58:57 +00:00
Robin Malley 02efaf9631 Update tests 2021-01-16 20:58:04 +00:00
Robin Malley d5a7d2be9f Update readme 2021-01-11 03:35:25 +00:00
Robin Malley 1a2244b686 Finished up unlisted posts
Why does anon even want this feature?
2021-01-11 03:34:22 +00:00
Robin Malley 18f47bf708 Merge branch 'hotfix_tag_list' into master 2021-01-10 21:52:24 +00:00
Robin Malley 7001b992d9 fix not showing the correct number of extra tags 2021-01-10 21:42:19 +00:00
Robin Malley 85a730ebcb started working on unlisted posts 2021-01-10 21:34:13 +00:00
Robin Malley 7d71b119c1 Fix plain parser 2021-01-04 03:48:36 +00:00
Robin Malley ac24c97d24 Clean up prints 2021-01-04 03:20:55 +00:00
Robin Malley 01448dbe34 Update readme 2021-01-04 03:05:50 +00:00
Robin Malley 44ad323f31 Refactored pages
Added a dependency on "spp", simple preprocessor to do some
preprocessing around the templates. This will hopefully
allow the changes to be made in one place and propagate to
all the right pages.
2021-01-04 02:48:29 +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 4bcfcc20a0 fix sytleing input elements on dark theme 2020-12-29 19:34:07 +00:00
Robin Malley a50adc83e0 Remove dark style css file from config 2020-12-29 19:18:30 +00:00
Robin Malley cab094058c Update readme roadmap 2020-12-29 19:13:33 +00:00
Robin Malley dae0f7b4bf Add search bar
Add a search bar to the index page.
2020-12-29 19:10:35 +00:00
Robin Malley f58e7b958c Merge branch 'testing' into master
Started working on unit tests,
also cleaned up some of the sql row iteration.
2020-12-28 04:32:23 +00:00
Robin Malley a169c68575 Merge branch 'refactor' into master 2020-12-28 04:28:26 +00:00
Robin Malley 8b0642ae46 clean up comments 2020-12-28 04:28:18 +00:00
Robin Malley 8cbc1497c9 Clean up unused files 2020-12-28 04:26:19 +00:00
Robin Malley 450cc76d13 Spellcheck for faq
Also add a nice serif text font.
2020-12-28 04:23:43 +00:00
Robin Malley 3a22c15dcd Add a search utility
Add a search utility
Implement a dark theme
Add an FAQ page with some info
2020-12-28 04:01:07 +00:00
Robin Malley 8a60675236 Remove extranious prints
Remove extra print statements that were cluttering up stdout
2020-12-27 05:56:03 +00:00
Robin Malley 41aecc8bc1 Approximate tab characters 2020-12-24 18:43:19 +00:00
Robin Malley 68bac839ab Allow more syscalls 2020-12-24 05:02:22 +00:00
Robin Malley fa72d1065a Fix plain parser 2020-12-24 04:36:52 +00:00
Robin Malley 9fb67b2e1e Remove extra prints 2020-12-24 04:11:05 +00:00
Robin Malley d3eb3a7908 Fix some storynames breaking
The kore filter would filter out some story names that had special
characters like ',*, or ), allow them in the regex match.
2020-12-24 04:09:38 +00:00
Robin Malley 0fd5096562 Update readme 2020-12-23 07:14:56 +00:00
Robin Malley a144c25ab8 Major refactor
Moved all code into seperate endpoints folder
Various bugfixes
2020-12-23 06:38:17 +00:00
Robin Malley 1236271834 Remove extra prints
Remove extra prints so the testing branch dosen't have it's test
results cluttered up
2020-12-23 06:07:00 +00:00
Robin Malley b1b7b45e80 Started testing 2020-12-23 06:02:02 +00:00
Robin Malley a45d0787a2 Organize lua endpoints
Move all endpoints under the src/lua/endpoints folder, and
delete the previous location.
2020-12-21 23:32:29 +00:00
Robin Malley a640096bdd More work on refactor 2020-12-21 04:22:22 +00:00
Robin Malley 2cd10b6968 Started work on refactor
Started work on moveing each endpoint into it's own file.
2020-12-20 08:16:23 +00:00
Robin Malley 86a14e9d62 Prevent invalid names from registering
For some reason the kore validators are broken.
It's nice to have proper error messages anyway I guess.
2020-10-17 20:03:40 +00:00
Robin Malley 3742a9d5c4 Throw an error message if the user enters a bad username
For some reason kore isn't checking parameters anymore, so check
them lua-side.
2020-10-13 18:10:55 +00:00
Robin Malley 709a5c9bad Add some hints for mobile users
Added hints to html to prevent mobile browsers from capitalizing
or autocorrecting usersnames on the login page.
2020-10-12 22:44:20 +00:00