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
e430d9b512
Work on ripping out spp
2023-05-17 21:18:24 +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
fb553be69a
hotfix makefile
2023-03-13 03:47:04 +00:00
Robin Malley
3bb9e5e4f3
Have the processes start in their own chroots
2023-03-12 16:24:22 +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
8b03c78346
Fix bug where author index cache is not invalidated correctly
2022-11-25 02:25:36 +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
d5ec6d6864
Get started on author biography.
...
Get started on implementing author biographies, add endpoints.
2022-09-02 23:32:17 +00:00
Robin Malley
a0c8907f71
Fix minor bug in paste_post method
...
Make a variable that was global local when an error
is thrown.
2022-06-26 22:52:58 +00:00
Robin Malley
9667aa1c3e
Pretty error message when post does not have an author
...
Replace the basic error message when a post does not have an author
with a nice looking error message page.
2022-01-23 18:19:20 +00:00
Robin Malley
069c75b72e
Add a delete button.
...
Add a delete button to posts that will show up if the user is logged in
and is the owner of a post. If javascript is enabled, the user will be
prompted for conformation before deleting a post.
2021-10-11 00:59:50 +00:00
Robin Malley
c00903505b
Remove debugging statement
2021-09-12 01:53:34 +00:00
Robin Malley
6398e97498
Add a logout button
...
Add a button that only shows when users are logged in, allowing
them to log out.
2021-09-12 01:47:40 +00:00
Robin Malley
4913e7765e
Extra cache dirtying
...
Some pages weren't getting dirtied appropriately on change.
2021-08-27 01:08:02 +00:00
Robin Malley
3db891800b
Improve cacheing
...
Caches domain/a and author.domain/a as the same page.
2021-07-28 00:39:04 +00:00
Robin Malley
3b6a631dc4
hotfix
2021-04-09 20:15:01 +00:00
Robin Malley
7cc5e8d0ef
Add information to failed api requests
...
Add addition information when requests for tag suggestions fail.
2021-04-09 19:17:22 +00:00
Robin Malley
9e51de6c8e
Fix CSRF
...
Domain name was hardcoded, use the config file instead.
2021-04-09 19:16:36 +00:00
Robin Malley
fd87cf95ee
Add bookmark script.
...
Add a script that saves the position on read pages to localstorage, and
restores the page position when the page is reloaded.
2021-04-04 06:11:55 +00:00
Robin Malley
fdf0b67f3a
Remove prints.
...
Remove some extranious prints.
2021-04-04 06:11:14 +00:00
Robin Malley
33a23ef20c
Set samesite on cookies.
...
Set the SameSite attribute on all cookies issed to Lax.
2021-04-04 06:03:03 +00:00
Robin Malley
701800cfe2
Finish adding tag suggestions
...
Lots of changes, did an inital wack at adding tag suggestions.
2021-02-22 06:59:51 +00:00
Robin Malley
896f452fa6
Start work on tag suggestions
...
Start working on getting tag suggestions for pasteing and editing pages.
2021-02-14 07:30:20 +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
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
1a2244b686
Finished up unlisted posts
...
Why does anon even want this feature?
2021-01-11 03:34:22 +00:00
Robin Malley
85a730ebcb
started working on unlisted posts
2021-01-10 21:34:13 +00:00
Robin Malley
ac24c97d24
Clean up prints
2021-01-04 03:20:55 +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