forked from grumpydevelop/federator
small bug fixes
This commit is contained in:
parent
da18d37a79
commit
49a4bee76a
7 changed files with 10 additions and 10 deletions
|
@ -35,7 +35,7 @@ If the include redis cache is enabled,
|
|||
- install redis
|
||||
- create a users.acl for redis with the content:
|
||||
|
||||
user federator on ~u_* +get +set ~s_* +get +setex ~m_* +get +setex >redis*change*password
|
||||
user federator on ~u_* +get +set ~s_* +get +setex ~m_* +get +setex ~publickey_* +get +setex >redis*change*password
|
||||
|
||||
- change password in the rediscache.ini to match your given password.
|
||||
- install the redis plugin from pecl if not provided via your distro
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[generic]
|
||||
externaldomain = 'your.fqdn'
|
||||
externaldomain = 'contentnation.net'
|
||||
|
||||
[database]
|
||||
host = '127.0.0.1'
|
||||
|
|
|
@ -43,7 +43,6 @@ class Outbox implements \Federator\Api\FedUsers\FedUsersInterface
|
|||
$dbh = $this->main->getDatabase();
|
||||
$cache = $this->main->getCache();
|
||||
$connector = $this->main->getConnector();
|
||||
|
||||
// get user
|
||||
$user = \Federator\DIO\User::getUserByName(
|
||||
$dbh,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
host = localhost
|
||||
port = 6379
|
||||
username = federator
|
||||
password = redis*change*password
|
||||
userttl = 10
|
||||
publickeypemttl = 3600
|
||||
statsttl = 60
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
|
||||
<Link rel="lrdd" template="https://{$fqdn}/.well-known/webfinger?resource={ldelim}uri{rdelim}"/>
|
||||
</XRD>
|
||||
|
|
|
@ -60,12 +60,12 @@
|
|||
],
|
||||
"id":"https://{$fqdn}/{$username}",
|
||||
"type":"{$type}",
|
||||
"following":"https://{$fqdn}/users/{$username}/following",
|
||||
"followers":"https://{$fqdn}/users/{$username}/followers",
|
||||
"inbox":"https://{$fqdn}/users/{$username}/inbox",
|
||||
"outbox":"https://{$fqdn}/users/{$username}/outbox",
|
||||
"featured":"https://{$fqdn}/users/{$username}/collections/featured",
|
||||
"featuredTags":"https://{$fqdn}/users/{$username}/collections/tags",
|
||||
"following":"https://{$fqdn}/{$username}/following",
|
||||
"followers":"https://{$fqdn}/{$username}/followers",
|
||||
"inbox":"https://{$fqdn}/{$username}/inbox",
|
||||
"outbox":"https://{$fqdn}/{$username}/outbox",
|
||||
"featured":"https://{$fqdn}/{$username}/collections/featured",
|
||||
"featuredTags":"https://{$fqdn}/{$username}/collections/tags",
|
||||
"preferredUsername":"{$username}",
|
||||
"name":"{$name}",
|
||||
"summary":"{$summary}",
|
||||
|
|
Loading…
Add table
Reference in a new issue