deadvey
b253fac1c4
fixed tag rendering url and static files url
2026-05-30 20:51:19 +01:00
deadvey
3fab094545
Made some small changes
2026-03-03 20:39:40 +00:00
deadvey
7d38752f34
Changed how comments are stored and how data is retrieved
2025-11-27 11:34:12 +00:00
deadvey
35163b5584
Fixed an issue with an incomplete example-config.json that made the
...
server not work at all.
Also added a default.css file
2025-10-24 12:28:22 +01:00
deadvey
2ada1d970f
Created a per-post hitcount as well a writedata() function that can
...
write to a particular index or to a whole data type
2025-10-02 13:34:55 +01:00
deadvey
35e6b94ba1
Support for uncached data loading
...
So you don't have to restart the server, you can add "cache_data": false option to config.json to not cache data.
Documented in CONFIG.md
I added a require_module function that either does or does not cache the data based on this configuration option.
Signed-off-by: deadvey <deadvey@deadvey.com >
2025-09-24 20:37:35 +01:00
deadvey
1ecc223433
small changes
...
Signed-off-by: deadvey <deadvey@deadvey.com >
2025-09-24 20:07:49 +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
bfaf957ae2
removed func.get_comment()
...
It is no longer needed
Signed-off-by: max <deadvey@localhost.localdomain >
2025-09-24 17:06:55 +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
09967a0be9
Automatically 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.
2025-09-07 22:11:58 +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
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
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
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
0c43c7315c
editing user redirects to user's page and began to implment ATOM
2025-07-30 00:43:21 +01:00
deadvey
797d894621
lots of fixes and more EJS
2025-07-23 02:20:38 +01:00