Commit Graph

45 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
Edzel c520deed9c
Update README.md 2021-09-06 02:03:57 +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 f3ea39af16
Update README.md 2021-08-25 17:37:45 +02:00
DerZombiiie 245d82d73d
Update README.md 2021-08-25 17:37:21 +02:00
DerZombiiie 4f36adda76
Create README.md
How 2 setup
2021-08-25 17:37:00 +02:00
DerZombiiie 1fb116e82c
fixed some urls
thats it
2021-08-23 23:06:18 +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 71be53cd5e Fixed search thing when desc field of entry is < 10
made top "search" box do stuff
cleaned up /config.js to be just 1 json string
2021-08-23 12:53:08 +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 30925ee9f3 Some changed passwd
rewrote parst of imressum / pp
2021-08-18 18:46:46 +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 0b84797483 dark mode 2021-08-18 16:55:10 +02:00
derzombiiie da020714e6 Added rating function to /posts?post=x
and display to /posts && /
2021-08-18 14:40:14 +02:00
derzombiiie 95900a1109 idk about the fstream vuln idk how 2 change it in unzip/package.json
should work fine for me though (dont pipe user input to lib at all)
---
Fixed pager "<" button
2021-08-18 11:11:53 +02:00
derzombiiie 3fa37da7ee Cookie pannel is there now.
+ theme toggle (light mode works the rest is "placeholder")
removed some debug stuff

---
TODO:
- rating (idk how mby a copy of commenting func; problem is "user"; you can upvote /downvote only once per IP / user or sth)
- menubar with firefox style
- more themes
- clean up stuff (comments / posts)
- search something
- use other database with like database things and not .json files mby mongodb lol

if * exept search + dbupgrade betterdb is done its getting public / to blog.derzombiiie.com/derzombiiie.com idk jet

---
its ~1:40AM
have a great night! (2myself)
\#fuck€DU/CSU
2021-08-18 01:37:25 +02:00
derzombiiie 70b6ff34c4 added "pager" to /posts 2021-08-17 23:44:13 +02:00
derzombiiie d994480048 Added "pager" to bottom to change between multible sites with x posts each
(on index)
2021-08-17 23:13:07 +02:00
derzombiiie a7a956cde5 added tags to frontend! 2021-08-17 17:45:18 +02:00
derzombiiie e52b3783e8 some stuff to *
- cookie settings pannel front (NOTHING TO SET IN BACKGROUND)
- footbar
  - privacy policy page
  - impressum page
  - cookie setting page

- /posts (?sort=new/hot)
  - different sorting on subsite

---
TODO: (most probably in next commit)
- remove all bad comments / posts
- FINNALY ADD TAGS TO FRONTEND!!!11!!!
- postsites (bootom menu on >10 posts)
  - make api compatible
  - frontend compatible
- make themes be there
- make cookie pannel work
- make menubar look good in firefox
- search
2021-08-17 02:49:57 +02:00
derzombiiie b8e208adfe reverted i think 2021-08-15 23:21:52 +02:00
derzombiiie 95fbd11b32 undefined in commenting area removed
undefined;
2021-08-12 13:21:25 +02:00
derzombiiie 849414e8a5 added titles to share links 2021-08-12 01:38:32 +02:00
derzombiiie c0b20a2be9 added max width for all sites to make it look good on wide / fullscreen windows 2021-08-12 01:34:56 +02:00
derzombiiie 41ad7faf89 fixed comment & post cl 2021-08-12 01:18:41 +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 3f933910bc Admin interface
+ simpleMDE
+ requests
2021-08-11 19:27:45 +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 065fc93298 - Added configs!
- Made configs work!
configs:
- debug
- logging
- logfile
- ipget_endpoint_set
- ipget_endpoint_get
- site_name
- search_enable
- post_ranking_auto
- index_post_sort
- comment_sync_on_write
- comment_auto_sync

- logging framework!
loglevels:
- -1 - none
- 0 - basic
- 10 - datahorder
- 1337 - haxxer

now just logging commands!
2021-08-10 04:25:43 +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 4a02389eba Some commet basics
also fuck apache reverse proxy!
2021-08-09 01:03:36 +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 d189472d9e Merge branch 'master' of https://github.com/Eds-trash-can/derzombiiie.com 2021-08-07 00:28:19 +02:00
derzombiiie d4bc9920b9 Stuff 2021-08-06 15:49:24 +02:00
derzombiiie 70f701a08f Added new social icon
Very importain change!
pls respect
and check out
my tiktiok!
2021-08-06 02:19:41 +02:00
derzombiiie 7c8a9c179f lol its 2:06 2021-08-06 02:06:52 +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
derzombiiie 969b00e0da share msg ü some other stuff ig 2021-08-04 19:58:41 +02:00
DerZombiiie a5b53dec54 light theme (w/ theming engine)
basic-entrys (from json endpoint)
mental map for api-endpoints
2021-08-04 01:41:53 +02:00