Commit Graph

14 Commits (master)

Author SHA1 Message Date
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 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 30925ee9f3 Some changed passwd
rewrote parst of imressum / pp
2021-08-18 18:46:46 +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 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 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