Commit Graph

21 Commits

Author SHA1 Message Date
Robin Malley e4f8f0914f Fix a bug from refactoring 2023-07-06 00:42:33 +00:00
Robin Malley 2680dff0f3 Move some util functions around 2023-06-20 01:31:58 +00:00
Robin Malley 4ff9f5bb07 Clean up dead code
Use luachheck to remove code that is no longer used
2023-06-20 01:11:42 +00:00
Robin Malley e430d9b512 Work on ripping out spp 2023-05-17 21:18:24 +00:00
Robin Malley 652e673d39 Show comments
Show comments on a story's short description, and automatically load
comments when reading a story.
2023-03-01 00:41:51 +00:00
Robin Malley 720e826d4d Remove extranious print 2022-11-23 22:11:40 +00:00
Robin Malley 9daf7e90cd Refactoring and bugfixes
A few bugfixes for author biographies.
Also moved a few functions that used to be in "util" into "db"
2022-11-23 21:44:46 +00:00
Robin Malley ec6aed9866 Add a types module to help refactor type checking
Type checking will be performed in unit tests, but will be an
empty function at runtime.
2022-06-26 23:08:46 +00:00
Robin Malley 138cf12028 Add a type system
Add a check_types method that can check lua types for correctness.
2022-02-20 00:17:36 +00:00
Robin Malley d11695b5eb Remove extra prints 2021-08-27 01:08:51 +00:00
Robin Malley 67de40c02b Actually fix the url generation 2021-02-13 18:40:17 +00:00
Robin Malley 0f17393cd8 Fix id<->url decoding
Some urls should have been url-encoded, fix this issue in a way
that won't break old urls
2021-02-09 02:40:57 +00:00
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 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 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 85a730ebcb started working on unlisted posts 2021-01-10 21:34:13 +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 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 b1b7b45e80 Started testing 2020-12-23 06:02:02 +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