Commit Graph

17 Commits (master)

Author SHA1 Message Date
Edzel b5c0fe32d5
Update comments.json 2021-09-06 02:04:44 +02:00
Edzel 573045a802
Update posts.json 2021-09-06 02:04:32 +02:00
root 4cb8a681c1 g 2021-09-06 02:00:41 +02:00
root 54d846c0f8 fixed some stuff with special chars in admin.js 2021-09-06 01:04:30 +02:00
derzombiiie 5749c553c2 general clean up
logs + posts + config + comments etc
2021-08-23 23:02:02 +02:00
derzombiiie 1e96a62fc9 did some stuff
idk all of it though lol

 + made search function disablable
 + disableing of it disables "search" command / "/search" handler (NOT posts.search() func)
 + fixed enubar styling in firefox
 + added "FE!" force exit commend to console.js
 + made "exit" cmd behave like "stop"
 - some other stuff i forgot cuz i got distracted

---
this is done ~90% safe about that, lol
2021-08-23 22:40:24 +02:00
derzombiiie dd473f495a almost done with /search
+ search by tags
 + fixed "$$" beeing replaced with "$" in filestuff.js
 - added some testing posts

admin.js
 + added "." password as "nologin" ( if password is "." you cant login ( its going to be replaced with actual setting in config/config.yaml ) )

TODO:
 - search bar in menubar
 - make "search_enable" setting affect /search & tag links
 - remove "search_only_tags" as im not implementing full body search anytime soon
2021-08-23 00:37:50 +02:00
derzombiiie 601a161099 Search by tags ( multible tags supported )
/search?tag=tag1+tag2+etc // for searching
/search?api // for api searching uses all other args
/search?sort=sortingmethod // not implemented yet ( future supported "hot" / "new" / "rit"
/search?pi // sends postdata instead of just postids
2021-08-22 01:13:01 +02:00
derzombiiie 3b9a0ed447 removed debugger statement from node/comments.js
stop commend / shutdown() now with:
 - sync commentDB
 - sync postsDB
2021-08-18 19:02:19 +02:00
derzombiiie 5335e99c8d Cleaned up posts + comments
fixed some stuff about node/comments.js

---
ME DONE!!!!!

Only thing left is implementing search sometime
and switch to mongodb / sqlite or sth ( with integrated server no dedicated one ( atm ) )
2021-08-18 18:24:43 +02:00
derzombiiie b7cd6cfee5 Added passwd protection to /admin/
+ post creator
   + preview
   + posting
   + save local
   + load local
 + fixed commenting from browser
   + deleted old testing comments
   + report page
---
 + admin config (the pass)
 + "passwd <pass>" in cl to change pass
---
TODO:
 /posts?new /posts?hot /posts?rit /posts?featured
 fix cl comment command help
2021-08-12 01:10:02 +02:00
derzombiiie 117f85caec Finished comments (w/ "deletion")
Logging
most other "WIP" suff

also its 4:20AM!
Good night!
2021-08-11 04:18:16 +02:00
derzombiiie 92b5eeb2ef Comment system added
comment author = ip
comment author info = origin of ip
ip addr is jank ( uses php public server for ip get)
fuck apache reverse proxy ip change thigy thing

comment command

started config stuff
started planning logging system
2021-08-10 02:00:03 +02:00
derzombiiie 606b7f7b5b MD + commenting started
markdown body in "content" field of article (no DOM.purify cuz only admin write blog)
started commenting function:
TODO in node/comments.js
2021-08-07 11:43:12 +02:00
derzombiiie d4bc9920b9 Stuff 2021-08-06 15:49:24 +02:00
derzombiiie a5f385971f Ranking for posts in Newness + voted
shell thing now kinda ok
"post" command implemented
appeval implemented (eval in app.js context "global" or sth)
made posts be served 2 api
/posts?api&featured&len=NUM is implemented (only call)
thats it
noone is going to read this anyway
lol
sos
if you acctually read this:
1. lol y?
2. pls send me email derz@elidragon.com
i want 2 know if anyone acctually read this!
thx!
2021-08-06 02:06:41 +02:00
derzombiiie 25fc801fd3 node! 2021-08-05 20:13:12 +02:00