Commit Graph

137 Commits

Author SHA1 Message Date
9383bd8058 Template .jsonc for locales 2026-01-16 21:25:47 +00:00
d554fce402 Added translated_by key to the locales 2026-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
Reviewed-on: #2
2026-01-16 22:12:25 +01:00
a1fa0e3dbc Merge pull request 'add(locale): es-ES' (#1) from javalsai/blogger-nodejs:locale-es into master
Reviewed-on: #1
2026-01-16 22:12:17 +01:00
f44a15ed41 fix: these don't need to be executable 2026-01-16 21:12:58 +01:00
ab1fa5e69a add(locale): es-ES 2026-01-16 21:10:48 +01:00
be75382ead Add start up checks 2025-12-19 17:31:28 +00: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
2025-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
2025-11-27 11:44:27 +00:00
7d38752f34 Changed how comments are stored and how data is retrieved 2025-11-27 11:34:12 +00:00
ef8711b0e1 Added a pipe | between the edit and RSS/ATOM buttons to make them more
seperated
2025-11-05 10:47:11 +00:00
c3de930b50 Split the page-header and site-header into seperate sections 2025-11-05 10:34:41 +00:00
1d1e4d863e Untracked robots.txt 2025-10-25 11:32:28 +01: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
2025-10-25 11:31:08 +01:00
deadvey
ddf9fcae13 Added icons for RSS and ATOM to make it look nicer 2025-10-24 13:59:41 +01:00
deadvey
9f0eb13bb4 BAD BUG! 2025-10-24 13:10:53 +01:00
deadvey
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
2025-10-24 13:05:31 +01:00
deadvey
4ad7352fcc Updated some EJS and CSS to make it look a bit nicer (I am hopeless at
UX)
2025-10-24 12:48:54 +01:00
deadvey
f8f05221b2 removed custom.css from tracking 2025-10-24 12:29:57 +01: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
66423cb3c0 There is now a Makefile because I learnt make syntax 2025-10-19 21:19:13 +01:00
cb7dcde7c5 Made tags case insensitive 2025-10-09 15:13:49 +01:00
553f126f2a Changed how comments are ided and classed 2025-10-09 14:43:48 +01:00
6f9e7aee13 small change in comment ids 2025-10-09 14:38:37 +01:00
23add8897b divs to spans because correct html 2025-10-09 14:30:48 +01:00
84a34d94f3 removed newlines from comments ejs 2025-10-09 14:28:51 +01:00
783f386dfe tiny fix 2025-10-09 14:19:16 +01:00
e63fb4a27a updated ejs 2025-10-09 14:18:03 +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
2025-10-02 13:34:55 +01:00
17919e3078 README 2025-10-02 11:13:39 +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.
2025-10-02 10:47:38 +01:00
d9d45ff6ea Tracking /webroot, contains custom.css and robots.txt, might have to add
favicon.ico too.
2025-10-02 10:43:44 +01:00
87fd97730e Escape potentially dangerous input in the search field 2025-10-01 17:45:31 +01:00
acca51da20 README 2025-10-01 10:51:07 +01:00
788672cbea Bug fix with the search page's EJS 2025-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.
2025-10-01 10:40:36 +01:00
8ad8f01043 Added basic search functionality (no frontend for it yet) 2025-09-30 23:15:33 +01:00
d27330a3db README update
I removed and added some stuff to the todo list
2025-09-24 23:41:29 +01:00
996bf0018b bug fix
numbers should be parsed

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 21:21:48 +01:00
45af80f747 Updated how comments are searched for
commentID's aren't neccesarily = to the index, so instead of using it as an index,  I just use a for loop to find the matching comment.
I also added another form at the bottom of the timeline to trick bots

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 21:12:21 +01:00
23744f4000 Bug fix and Document fix
Removed the string object from config.json as it's now all in the locale.
and I fixed data.getdata() to return an error code if the index is out of bounds, it now returns a 1.

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 20:57:47 +01:00
9305559660 Documentation fix
String -> Boolean

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 20:39:42 +01:00
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
3f173fc2e3 bug fix
removed data/data.json from tracking

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 20:20:48 +01:00
b44762ba7c bug fix
Hitcount updates visually, previously it just showed 1 on the frontend as the value wasn't actually  being retrieved from the data.getdata()

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 20:18:05 +01:00
1ecc223433 small changes
Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 20:07:49 +01:00
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
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
ef7178cc3f Comment submission works
I fixed the comment submission to use the new way of storing comments and their counter.
I also fixed the AI-consent field in en-US because I accidently had · instead of spaces (from when I copy pasted from vim)

Signed-off-by: deadvey <deadvey@deadvey.com>
2025-09-24 17:20:20 +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