80 Commits

Author SHA1 Message Date
99e07389d0 * more proffesional language in rejecting AI
* footer uses locales
2025-08-27 19:00:49 +01:00
532010f873 bug fix for site_admin config field 2025-08-27 18:53:29 +01:00
5917789c5b add webadmin as a field in the config 2025-08-27 18:51:59 +01:00
4f0941262e Withdraw consent for AI scraping 2025-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-US
2025-08-27 18:30:26 +01:00
c73ce69f93 bug fix: postID -> post_index 2025-08-27 18:19:12 +01:00
5bd0429ae2 timeline, userpage and tag page have an edit post option. 2025-08-27 17:58:48 +01:00
6e583d1410 removed webroot dir 2025-08-27 16:41:39 +01:00
cf784a1a99 removed webroot dir (in .gitignore) 2025-08-27 16:40:53 +01:00
b3ea048244 bug fix RSS and ATOM using func.render_md instead of showdown 2025-08-27 16:36:21 +01:00
9b5d3f3f73 Fixed issue relating to showdownjs not escaping html tags by porting to
markdown-it, also introduced a new function: func.render_md
2025-08-27 15:09:57 +01:00
5f07db1e15 tables in CONFIG.md 2025-08-09 21:10:23 +01:00
d298717519 Testing markdown tables 2025-08-09 21:05:58 +01:00
0b25fb221b Documentation 2025-08-09 20:53:57 +01:00
f85c4aa893 Minor change to /index/pages EJS 2025-08-09 16:59:57 +01:00
6fc1f85e18 Added locale (english only at the moment) and modifed the EJS so I think
every string is customisable (via the /locales/selected locale)
2025-08-09 16:57:31 +01:00
8418318d80 Added fake form at the top of html in attempt to mitigate spam, probably
wont work that well but might as well try
2025-08-09 13:18:44 +01:00
44a060508b Hitcount is now created by init.initialise() 2025-08-09 13:00:07 +01:00
49c7fc7cdf init.initialise() checks for correct path of config.json (bug fix) 2025-08-09 12:51:43 +01:00
144c276bc9 Fixed init.initialise() checking for .js files as opposed to .json files 2025-08-09 12:48:25 +01:00
df4bc99d9a Initialise() imports fs (bug fix) 2025-08-09 12:44:39 +01:00
3e2a63bfd7 Export the init.initialise() function (bug fix) 2025-08-09 12:42:18 +01:00
bced9c7c0e CONFIG.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 :)
2025-08-02 03:00:20 +01:00
f723e37732 docs and that 2025-08-02 02:48:22 +01:00
8b9ddcf048 Added 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...
2025-08-02 00:51:33 +01:00
5f2aba0c2b Site wide header (currently only used for a link to / but will add
index's for stuff later)
2025-08-01 23:27:28 +01:00
cdfc5f2c30 Post doesn't exist page 2025-08-01 23:21:43 +01:00
88b198365d user, post and comment objects contain their ID's now. 2025-08-01 12:34:29 +01:00
b683b658f7 Comments 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 incrementing
2025-07-31 03:58:28 +01:00
0cc319a702 Added user specific RSS and ATOM feeds and updated the EJS templates to
add them by default to the user's header section
2025-07-30 01:28:23 +01:00
72316094e4 Updated the readme to have a better feature section 2025-07-30 01:12:29 +01:00
47877e71d4 atom functionality is added and I fixed an issue in the RSS that is
caused by the deleted posts not having valid data.
2025-07-30 01:09:51 +01:00
0c43c7315c editing user redirects to user's page and began to implment ATOM 2025-07-30 00:43:21 +01:00
39eba8fcda posts are marked as deleted to preserve array structure 2025-07-28 15:11:26 +01:00
38d82f9e1a Readme formatting stuff 2025-07-23 02:55:08 +01:00
bb62ccf25f Readme 2025-07-23 02:54:24 +01:00
40e0cc80a3 re-added markdown support under EJS 2025-07-23 02:49:05 +01:00
306adf3943 rss in ejs 2025-07-23 02:38:03 +01:00
ff1d34a7ab put package.json in / again 2025-07-23 02:22:13 +01:00
797d894621 lots of fixes and more EJS 2025-07-23 02:20:38 +01:00
929151a16d Update CONFIG.md
removed stuff about format indicators
2025-07-22 23:40:19 +02:00
ce93a1991b nfs removal 2025-07-22 00:18:23 +01:00
cc131798a3 ejs stuff 2025-07-22 00:17:00 +01:00
7eeafddae4 bloody markdown formatting >:( 2025-07-21 00:09:51 +01:00
fc3a68e476 formatting 2025-07-21 00:03:20 +01:00
590d675075 config docs 2025-07-20 23:59:30 +01:00
d54b682267 small readme edit 2025-07-21 00:06:30 +02:00
2dfed40665 CONFIG.md 2025-07-20 23:05:53 +01:00
3e745e6842 json 2025-07-20 22:47:07 +01:00
74f2e4eaec ever growing todo list 2025-07-15 03:14:46 +01:00