m1k1o / blog

Lightweight self-hosted facebook-styled PHP blog.

Home Page:https://blog.m1k1o.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document friends feature

FixFlare opened this issue · comments

I don't understand after reading the readme how it determines who is friend vs who is public.

Please document what you mean by this and how we control who friends are.

In your config.ini you can specify their username and password. In docker environment variables, I think it's not possible (yet).

blog/config.ini

Lines 42 to 44 in 927d769

[visitors]
;visitor[user] = pass
;visitor[user] = pass

e.g. jane with mysecretpass and thomas with anotherpass:

[visitors] 
visitor[jane] = mysecretpass
visitor[thomas] = anotherpass

You are right, they are called visitors not friends, it should be properly named and documented. I'm planning in the future to add encrypted passwords feature.

Thanks for the quick response. Yeah, I'm using docker so it would be nice if variables were supported for that.

Would be good to copy/paste this info into the readme IMO.

Thanks again,

@BenevolentD updated readme with instructions and added docker support for friends.

Thanks for pointing that out!