Commit Graph

188 Commits

Author SHA1 Message Date
Robin Malley be259dc9f4 Make makefile more normal 2023-08-16 22:04:50 +00:00
Robin Malley 0a6829ec9f Lots of new documentation
* Add a tool that automatically generates parts of a graphviz input from
an sql file
* Use that tool to generate bits of graphviz input from all the `create_` sql
files in `src/`
* Copy all those bits of graphviz input togeather to generate diagrams
for each table.
2023-08-09 22:28:48 +00:00
Robin Malley 8c7a1927c1 Work 2023-07-11 20:57:08 +00:00
Robin Malley e4f8f0914f Fix a bug from refactoring 2023-07-06 00:42:33 +00:00
Robin Malley 3d06a48939 More documentation 2023-07-06 00:42:23 +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 93cee859ce Fix bug on index page 2023-06-20 00:22:41 +00:00
Robin Malley 665616f1e3 Documentation 2023-06-10 02:06:42 +00:00
Robin Malley 677f05d69c Documentation
Document various methods in db.lua and cache.lua
2023-06-04 21:33:02 +00:00
Robin Malley e430d9b512 Work on ripping out spp 2023-05-17 21:18:24 +00:00
Robin Malley 60213086dc Start work to drop spp
Start refactoring pages, makefile, ect to drop the simple preprocessor
as a dependency.
2023-04-06 21:27:28 +00:00
Robin Malley 68e73aba3e Documentation
Write some more documentation.
2023-04-06 20:22:54 +00:00
Robin Malley fea953fdef Move sql statement reset
In case the decomrpession call causes us to error, we leave a sql
statement in a dirty state. Move the reset earlier so we don't leave
a dirty statement.
2023-04-06 20:21:08 +00:00
Robin Malley fee8997e80 Refactor login code
Error message for the login page is optional now.
2023-04-06 20:20:29 +00:00
Robin Malley 4e3bd03af4 Update caching statement 2023-04-06 05:45:28 +00:00
Robin Malley 1adc547efe hotfix 2023-03-14 00:18:26 +00:00
Robin Malley fb553be69a hotfix makefile 2023-03-13 03:47:04 +00:00
Robin Malley 354c019a2d correct checksum 2023-03-12 19:20:11 +00:00
Robin Malley 50cfdc584c Support more architectures 2023-03-12 19:13:18 +00:00
Robin Malley e63ce61ca4 Update cloc 2023-03-12 16:28:03 +00:00
Robin Malley 3bb9e5e4f3 Have the processes start in their own chroots 2023-03-12 16:24:22 +00:00
Robin Malley 4da25d600c Fix footers not appearing on some pages
Footers were broken on some pages.
2023-03-12 05:50:46 +00:00
Robin Malley 78eb69afd0 Move search into a component
Move the search field, which appears on several pages, into it's own
"part" under the parts folder.
2023-03-12 05:50:09 +00:00
Robin Malley de63a8660c Searchs now appear latest first
When searching, stories now appear latest-first, same as the index and
author index pages.
2023-03-12 05:35:59 +00:00
Robin Malley adda5ab547 Add a title search example
Add an example to show how to searh by title into the search bar's
default text.
2023-03-12 05:30:01 +00:00
Robin Malley f83bf55d3f Fix a bug where the search pages did not show comments
When comments were added, the search page was not modified
appropriately.
2023-03-12 05:29:36 +00:00
Robin Malley 5c5637ff40 Add some better error reporting 2023-03-12 05:13:54 +00:00
Robin Malley 76c462cb60 Allow scrolling on index page 2023-03-12 03:31:08 +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 443a6331e6 Continue expanding addon system 2023-02-20 05:06:36 +00:00
Robin Malley 66b48f06a4 Start using addon api 2023-02-20 04:32:37 +00:00
Robin Malley 87bccb959d Start working on addon api. 2023-02-20 02:39:42 +00:00
Robin Malley 4514a42cfc rename "idp" to "short"
rename a variable with a useless name to something more descriptive
2023-02-20 01:56:09 +00:00
Robin Malley fc7d3f9f79 Updating a story no longer updates the post time. 2023-01-17 23:16:05 +00:00
Robin Malley 39c7f2f638 Start working on documentation 2022-12-23 19:30:52 +00:00
Robin Malley 1930ade3f7 Add a border around author biographies 2022-11-25 04:07:38 +00:00
Robin Malley 8b03c78346 Fix bug where author index cache is not invalidated correctly 2022-11-25 02:25:36 +00:00
Robin Malley afe144d554 Correct wrong formatting string for coroutines. 2022-11-23 22:12:04 +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 411bcb494d Allow users to edit biographies 2022-11-21 00:32:49 +00:00
Robin Malley e25d2fd06a More work on author biographies
Start work on unit tests for author biographies
Fix a bug in the biography get endpoint
Add the biography get page to the page list
2022-11-19 23:59:50 +00:00
Robin Malley 3431daee0b Refactoring 2022-09-19 22:07:35 +00:00
Robin Malley 223cfb9e46 Work on bio editing 2022-09-19 22:03:45 +00:00
Robin Malley 49d0b0a397 Move motd into it's own file. 2022-09-19 21:16:01 +00:00
Robin Malley d5ec6d6864 Get started on author biography.
Get started on implementing author biographies, add endpoints.
2022-09-02 23:32:17 +00:00
Robin Malley f5c729bfde Finish the unit test to check anonymous posting works.
Finish up a unit test that was previously marked TODO, which tests that
a story posted anonymously appears on the home page.
2022-09-02 23:23:19 +00:00
Robin Malley f0c7ae13fe Modifications to allow biography
Start work on allowing users to modify their biography
2022-09-02 23:22:47 +00:00
Robin Malley acebec5d73 Fix code coverage
Actually generate code coverage reports.
2022-09-02 23:22:08 +00:00