3b47701c18Made some divs consistent, the header was a div type with id='header' and the footer was a footer type with no id, so now they are both both. Also added some margins at the top and bottom of the page in CSSdeadvey2025-10-25 11:31:08 +01:00
ddf9fcae13Added icons for RSS and ATOM to make it look nicer
deadvey
2025-10-24 13:59:41 +01:00
2d33ce79a8Fixed a bug where comments could be submitted without any content and where the hitcount was incremented before the program checked if the post existed
deadvey
2025-10-24 13:05:31 +01:00
4ad7352fccUpdated some EJS and CSS to make it look a bit nicer (I am hopeless at UX)
deadvey
2025-10-24 12:48:54 +01:00
f8f05221b2removed custom.css from tracking
deadvey
2025-10-24 12:29:57 +01:00
35163b5584Fixed an issue with an incomplete example-config.json that made the server not work at all. Also added a default.css file
deadvey
2025-10-24 12:28:22 +01:00
66423cb3c0There is now a Makefile because I learnt make syntaxdeadvey2025-10-19 21:19:13 +01:00
cb7dcde7c5Made tags case insensitivedeadvey2025-10-09 15:13:49 +01:00
553f126f2aChanged how comments are ided and classeddeadvey2025-10-09 14:43:48 +01:00
6f9e7aee13small change in comment idsdeadvey2025-10-09 14:38:37 +01:00
23add8897bdivs to spans because correct htmldeadvey2025-10-09 14:30:48 +01:00
84a34d94f3removed newlines from comments ejsdeadvey2025-10-09 14:28:51 +01:00
2ada1d970fCreated a per-post hitcount as well a writedata() function that can write to a particular index or to a whole data typedeadvey2025-10-02 13:34:55 +01:00
179a4f83bcBug fix, most recent post would not show in the post's permalink due to an indexing bug, pretty simple fix, I'm just a moron.deadvey2025-10-02 10:47:38 +01:00
d9d45ff6eaTracking /webroot, contains custom.css and robots.txt, might have to add favicon.ico too.deadvey2025-10-02 10:43:44 +01:00
87fd97730eEscape potentially dangerous input in the search fielddeadvey2025-10-01 17:45:31 +01:00
788672cbeaBug fix with the search page's EJSdeadvey2025-10-01 10:44:34 +01:00
521dbccc7eBasic search functionality on the frontpage, I want to add support for more advanced searches like using boolean operators, but right now it's pretty basic.deadvey2025-10-01 10:40:36 +01:00
8ad8f01043Added basic search functionality (no frontend for it yet)deadvey2025-09-30 23:15:33 +01:00
d27330a3dbREADME update I removed and added some stuff to the todo listdeadvey2025-09-24 23:41:29 +01:00
bfaf957ae2removed func.get_comment()
max
2025-09-24 17:06:55 +01:00
e6476dcd4eEverything uses data.getdata()
max
2025-09-24 17:06:13 +01:00
93c5f13750Clean up changes
max
2025-09-24 10:02:28 +01:00
0541b704dbExpressJS routes in different files
max
2025-09-23 17:38:20 +01:00
5e4eb38763started implementing data functions for easy requests to data
max
2025-09-23 15:01:28 +01:00
09967a0be9Automatically removes leading and trailing spaces from tags because tags are often entered with a space after each comma. This uses .trim() in func.render_tags() to remove when rendering as well as .map(str => str.trim()) when a post or post edit is submitted so they are also stored without spaces.deadvey2025-09-07 22:11:58 +01:00
e3e5469e1aMade it so if an invalid user or post is loaded, a proper error message is shown instead of just a nodeJS error messagedeadvey2025-09-06 23:54:49 +01:00
c8af978259docs and also I improved the readability/user friendliness of the EJSDeaDvey2025-09-03 22:28:50 +01:00
99e07389d0* more proffesional language in rejecting AI * footer uses localesDeaDvey2025-08-27 19:00:49 +01:00
532010f873bug fix for site_admin config fieldDeaDvey2025-08-27 18:53:29 +01:00
5917789c5badd webadmin as a field in the configDeaDvey2025-08-27 18:51:59 +01:00
4f0941262eWithdraw consent for AI scrapingDeaDvey2025-08-27 18:49:33 +01:00
27b9ee6437* added "quotes" to the locales * made all the ejs pages use "postID" as the variable for post indexes * split up en-GB and en-USDeaDvey2025-08-27 18:30:26 +01:00
cf784a1a99removed webroot dir (in .gitignore)DeaDvey2025-08-27 16:40:53 +01:00
b3ea048244bug fix RSS and ATOM using func.render_md instead of showdowndeadvey2025-08-27 16:36:21 +01:00
9b5d3f3f73Fixed issue relating to showdownjs not escaping html tags by porting to markdown-it, also introduced a new function: func.render_mdDeaDvey2025-08-27 15:09:57 +01:00
f85c4aa893Minor change to /index/pages EJSDeaDvey2025-08-09 16:59:57 +01:00
6fc1f85e18Added locale (english only at the moment) and modifed the EJS so I think every string is customisable (via the /locales/selected locale)DeaDvey2025-08-09 16:57:31 +01:00
8418318d80Added fake form at the top of html in attempt to mitigate spam, probably wont work that well but might as well tryDeaDvey2025-08-09 13:18:44 +01:00
44a060508bHitcount is now created by init.initialise()DeaDvey2025-08-09 13:00:07 +01:00
49c7fc7cdfinit.initialise() checks for correct path of config.json (bug fix)DeaDvey2025-08-09 12:51:43 +01:00
144c276bc9Fixed init.initialise() checking for .js files as opposed to .json filesDeaDvey2025-08-09 12:48:25 +01:00
3e2a63bfd7Export the init.initialise() function (bug fix)DeaDvey2025-08-09 12:42:18 +01:00
bced9c7c0eCONFIG.md documentation and also fixed a bug where when ATOM files are loaded the config.rss boolean is actually checked as opposed to config.atom, fixed by also adding string.atom_disabled to config.json :)DeaDvey2025-08-02 03:00:20 +01:00
8b9ddcf048Added page indexes for comments, posts, users and pages overall, should add one for tags but it might be inefficient as I don't store all tags in an array or anything...DeaDvey2025-08-02 00:51:33 +01:00
5f2aba0c2bSite wide header (currently only used for a link to / but will add index's for stuff later)DeaDvey2025-08-01 23:27:28 +01:00
88b198365duser, post and comment objects contain their ID's now.DeaDvey2025-08-01 12:34:29 +01:00
b683b658f7Comments now have their own pages, at /comment/commentID, these are linked to when someone replies to another comment (>> id), I also fixed a bug in comment submission where the counter was not incrementingDeaDvey2025-07-31 03:58:28 +01:00
0cc319a702Added user specific RSS and ATOM feeds and updated the EJS templates to add them by default to the user's header sectionDeaDvey2025-07-30 01:28:23 +01:00
72316094e4Updated the readme to have a better feature sectionDeaDvey2025-07-30 01:12:29 +01:00
47877e71d4atom functionality is added and I fixed an issue in the RSS that is caused by the deleted posts not having valid data.DeaDvey2025-07-30 01:09:51 +01:00
0c43c7315cediting user redirects to user's page and began to implment ATOMDeaDvey2025-07-30 00:43:21 +01:00
39eba8fcdaposts are marked as deleted to preserve array structureDeaDvey2025-07-28 15:11:26 +01:00