Commit Graph

50 Commits

Author SHA1 Message Date
Robin Malley 8c7a1927c1 Work 2023-07-11 20:57:08 +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 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 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 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 1930ade3f7 Add a border around author biographies 2022-11-25 04:07:38 +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 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 68561443a5 Mark unlisted posts
There was a bug where unlisted posts would not have a marker next to
them to show they are unlisted.
2021-10-11 01:01:18 +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 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 eac2a38c6c Add a logout button
Add a button so users know if they're logged in.
2021-08-27 01:08:30 +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 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 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 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 dae0f7b4bf Add search bar
Add a search bar to the index page.
2020-12-29 19:10:35 +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 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 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
Robin Malley 25fa8d9f0c Bold text on sign up page 2020-10-12 15:44:30 +00:00
Robin Malley 5e922719bd Relabed views to hits
Relabled the views so it's more consistent with other websites.
"Views" seems to imply we track unique views, while "hits" confers
that we only track requests.
2020-10-11 23:56:10 +00:00
Robin Malley 81a116d3d5 Added buttons
Added buttons for new paste, login, and register.
2020-10-11 23:55:46 +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 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