9383bd8058
Template .jsonc for locales
deadvey2026-01-16 21:25:47 +00:00
d554fce402
Added translated_by key to the locales
deadvey2026-01-16 21:15:11 +00:00
d17fcf2dd2
Merge pull request 'fix: these don't need to be executable' (#2) from javalsai/blogger-nodejs:fix-permissions into master
deadvey2026-01-16 22:12:25 +01:00
a1fa0e3dbc
Merge pull request 'add(locale): es-ES' (#1) from javalsai/blogger-nodejs:locale-es into master
deadvey2026-01-16 22:12:17 +01:00
f44a15ed41
fix: these don't need to be executable
javalsai2026-01-16 21:12:58 +01:00
3d58c5b244
Some minor changes to data handling error messages and fixed a issue occuring in the forms routs that used the old parameters for data.getdata
deadvey2025-11-30 17:04:15 +00:00
54b6f018cf
Updated the data reading to have a data request limit, also updated docs on new configuration options
deadvey2025-11-27 11:44:27 +00:00
7d38752f34
Changed how comments are stored and how data is retrieved
deadvey2025-11-27 11:34:12 +00:00
ef8711b0e1
Added a pipe | between the edit and RSS/ATOM buttons to make them more seperated
deadvey2025-11-05 10:47:11 +00:00
c3de930b50
Split the page-header and site-header into seperate sections
deadvey2025-11-05 10:34:41 +00:00
3b47701c18
Made 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 CSS
deadvey2025-10-25 11:31:08 +01:00
ddf9fcae13
Added icons for RSS and ATOM to make it look nicer
deadvey
2025-10-24 13:59:41 +01:00
9f0eb13bb4
BAD BUG!
deadvey
2025-10-24 13:10:53 +01:00
2d33ce79a8
Fixed 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
4ad7352fcc
Updated 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
f8f05221b2
removed custom.css from tracking
deadvey
2025-10-24 12:29:57 +01:00
35163b5584
Fixed 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
66423cb3c0
There is now a Makefile because I learnt make syntax
deadvey2025-10-19 21:19:13 +01:00
cb7dcde7c5
Made tags case insensitive
deadvey2025-10-09 15:13:49 +01:00
553f126f2a
Changed how comments are ided and classed
deadvey2025-10-09 14:43:48 +01:00
6f9e7aee13
small change in comment ids
deadvey2025-10-09 14:38:37 +01:00
23add8897b
divs to spans because correct html
deadvey2025-10-09 14:30:48 +01:00
84a34d94f3
removed newlines from comments ejs
deadvey2025-10-09 14:28:51 +01:00
2ada1d970f
Created a per-post hitcount as well a writedata() function that can write to a particular index or to a whole data type
deadvey2025-10-02 13:34:55 +01:00
179a4f83bc
Bug 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
d9d45ff6ea
Tracking /webroot, contains custom.css and robots.txt, might have to add favicon.ico too.
deadvey2025-10-02 10:43:44 +01:00
87fd97730e
Escape potentially dangerous input in the search field
deadvey2025-10-01 17:45:31 +01:00
788672cbea
Bug fix with the search page's EJS
deadvey2025-10-01 10:44:34 +01:00
521dbccc7e
Basic 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
8ad8f01043
Added basic search functionality (no frontend for it yet)
deadvey2025-09-30 23:15:33 +01:00
d27330a3db
README update I removed and added some stuff to the todo list
deadvey2025-09-24 23:41:29 +01:00
22a7983737
data.getdata() is fully implemented
deadvey2025-09-24 19:31:32 +01:00
e597fd78f7
Comment replies on comment page
deadvey2025-09-24 17:33:25 +01:00
ef7178cc3f
Comment submission works
deadvey2025-09-24 17:20:01 +01:00
bfaf957ae2
removed func.get_comment()
max
2025-09-24 17:06:55 +01:00
e6476dcd4e
Everything uses data.getdata()
max
2025-09-24 17:06:13 +01:00
93c5f13750
Clean up changes
max
2025-09-24 10:02:28 +01:00
0541b704db
ExpressJS routes in different files
max
2025-09-23 17:38:20 +01:00
5e4eb38763
started implementing data functions for easy requests to data
max
2025-09-23 15:01:28 +01:00
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.
deadvey2025-09-07 22:11:58 +01:00
e3e5469e1a
Made it so if an invalid user or post is loaded, a proper error message is shown instead of just a nodeJS error message
deadvey2025-09-06 23:54:49 +01:00
c8af978259
docs and also I improved the readability/user friendliness of the EJS
DeaDvey2025-09-03 22:28:50 +01:00
99e07389d0
* more proffesional language in rejecting AI * footer uses locales
DeaDvey2025-08-27 19:00:49 +01:00
532010f873
bug fix for site_admin config field
DeaDvey2025-08-27 18:53:29 +01:00
5917789c5b
add webadmin as a field in the config
DeaDvey2025-08-27 18:51:59 +01:00
4f0941262e
Withdraw consent for AI scraping
DeaDvey2025-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
DeaDvey2025-08-27 18:30:26 +01:00
cf784a1a99
removed webroot dir (in .gitignore)
DeaDvey2025-08-27 16:40:53 +01:00
b3ea048244
bug fix RSS and ATOM using func.render_md instead of showdown
deadvey2025-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
DeaDvey2025-08-27 15:09:57 +01:00
f85c4aa893
Minor change to /index/pages EJS
DeaDvey2025-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)
DeaDvey2025-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
DeaDvey2025-08-09 13:18:44 +01:00
44a060508b
Hitcount is now created by init.initialise()
DeaDvey2025-08-09 13:00:07 +01:00
49c7fc7cdf
init.initialise() checks for correct path of config.json (bug fix)
DeaDvey2025-08-09 12:51:43 +01:00
144c276bc9
Fixed init.initialise() checking for .js files as opposed to .json files
DeaDvey2025-08-09 12:48:25 +01:00
3e2a63bfd7
Export the init.initialise() function (bug fix)
DeaDvey2025-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 :)
DeaDvey2025-08-02 03:00:20 +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...
DeaDvey2025-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)
DeaDvey2025-08-01 23:27:28 +01:00
cdfc5f2c30
Post doesn't exist page
DeaDvey2025-08-01 23:21:43 +01:00
88b198365d
user, post and comment objects contain their ID's now.
DeaDvey2025-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
DeaDvey2025-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
DeaDvey2025-07-30 01:28:23 +01:00
72316094e4
Updated the readme to have a better feature section
DeaDvey2025-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.
DeaDvey2025-07-30 01:09:51 +01:00
0c43c7315c
editing user redirects to user's page and began to implment ATOM
DeaDvey2025-07-30 00:43:21 +01:00
39eba8fcda
posts are marked as deleted to preserve array structure
DeaDvey2025-07-28 15:11:26 +01:00