deadvey
22a7983737
data.getdata() is fully implemented
...
I think it all works now...
Signed-off-by: deadvey <deadvey@deadvey.com >
2025-09-24 19:31:32 +01:00
deadvey
e597fd78f7
Comment replies on comment page
...
There is now a reply form on the comment pages to reply to that comment
Syntax:
>> postID-commentID
Signed-off-by: deadvey <deadvey@deadvey.com >
2025-09-24 17:33:25 +01:00
max
e6476dcd4e
Everything uses data.getdata()
...
data.getdata() excepts two parameters, if desired, the second will be the index, however if you don't specify anything, the whole array will be returned
Also, comments now have a composite key of postID-commentID, with each post's comments having their own set starting at 0, this makes it easier to index and find a specific comment, and making the getcomment() function unessesary
2025-09-24 17:06:13 +01:00
max
93c5f13750
Clean up changes
...
Seperated all routes into seperate files for neatness, and I've made the comments.json store only the comments, comments_counter is in the new data.json file which also stores the hitcount.
Signed-off-by: max <deadvey@localhost.localdomain >
2025-09-24 10:02:28 +01:00
deadvey
c8af978259
docs and also I improved the readability/user friendliness of the EJS
2025-09-03 22:28:50 +01:00
deadvey
99e07389d0
* more proffesional language in rejecting AI
...
* footer uses locales
2025-08-27 19:00:49 +01:00
deadvey
532010f873
bug fix for site_admin config field
2025-08-27 18:53:29 +01:00
deadvey
5917789c5b
add webadmin as a field in the config
2025-08-27 18:51:59 +01:00
deadvey
4f0941262e
Withdraw consent for AI scraping
2025-08-27 18:49:33 +01:00
deadvey
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
deadvey
c73ce69f93
bug fix: postID -> post_index
2025-08-27 18:19:12 +01:00
deadvey
5bd0429ae2
timeline, userpage and tag page have an edit post option.
2025-08-27 17:58:48 +01:00
deadvey
b3ea048244
bug fix RSS and ATOM using func.render_md instead of showdown
2025-08-27 16:36:21 +01:00
deadvey
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
deadvey
f85c4aa893
Minor change to /index/pages EJS
2025-08-09 16:59:57 +01:00
deadvey
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
deadvey
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
deadvey
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
deadvey
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
deadvey
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
deadvey
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
deadvey
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
deadvey
0c43c7315c
editing user redirects to user's page and began to implment ATOM
2025-07-30 00:43:21 +01:00
deadvey
39eba8fcda
posts are marked as deleted to preserve array structure
2025-07-28 15:11:26 +01:00
deadvey
40e0cc80a3
re-added markdown support under EJS
2025-07-23 02:49:05 +01:00
deadvey
306adf3943
rss in ejs
2025-07-23 02:38:03 +01:00
deadvey
797d894621
lots of fixes and more EJS
2025-07-23 02:20:38 +01:00
deadvey
cc131798a3
ejs stuff
2025-07-22 00:17:00 +01:00