5 Jul 2022 |
Hank | I'm using curl | 21:22:54 |
Hank | Redacted or Malformed Event | 21:23:06 |
Hank | In reply to @bkil:grin.hu I think ssl_policy only affects links within the page itself. The base href comes from the header. OK but what is generating it if it isn't being read out of the config file? | 21:23:23 |
Hank | for that setting there doesn't seem to be a comparable one in the DB | 21:24:31 |
bkil | Actually, ssl_policy seems to make complicated interactions with the other variables. https://github.com/friendica/friendica/blob/develop/src/App/BaseURL.php#L291 | 21:27:19 |
bkil | It is not read out from the config file because it is automatically detected upon first installation, then stored in the DB, and then updated on demand. | 21:27:49 |
bkil | Could you perhaps share the config values for hostname urlpath ssl_policy url froce_ssl within the system section? | 21:28:21 |
bkil | As read out from the database. | 21:28:27 |
hans | public function getBasePath()
{
// Don't use the basepath of the config table for basepath (it should always be the config-file one)
return $this->config->getCache()->get('system', 'basepath');
}
| 21:28:34 |
hans | There also is a HTTPSignature namespace | 21:29:23 |
Hank | In reply to @bkil:grin.hu Could you perhaps share the config values for hostname urlpath ssl_policy url froce_ssl within the system section? I do see the url field now in the database | 21:39:30 |
Hank | I don't know why it wasn't in the dump before (i crushed the db and redid the whole setup process again since though) | 21:39:52 |
Hank | let me try editing the field | 21:41:05 |
Hank | yeah editing that field worked | 22:00:06 |
Hank | no wondering why it got set the way it did even with the config having url explicitly set and during the wizard steps I told it to do the self signed cert option | 22:00:31 |
Hank | * now wondering why it got set the way it did even with the config having url explicitly set and during the wizard steps I told it to do the self signed cert option | 22:00:42 |
Hank | OK crush the whole thing start over and see if I can reproduce the config with the documentation I have... | 22:01:34 |
Hank | jump to that if need be | 22:01:42 |
Hank | Yeah that went much smoother | 22:44:58 |
Hank | I did the whole https setup with the directory that would be friendica but with phpinfo.php file first, then did the whole install | 22:45:20 |
Hank | and it all seemed to figure itself out correctly | 22:45:25 |
Hank | Redacted or Malformed Event | 22:45:27 |
6 Jul 2022 |
Hank | I got past this for my testing purposes but for isolated instances (it's a dev instance with a self-cert and /etc/hosts for mapping to domain name) is it a known issue where contacts' posts don't show up on the network tab unless you are referenced in the post? | 02:03:30 |
bkil | Did these posts originate before or after you befriended them? | 10:04:47 |
Hank | After | 11:51:03 |
Hank | At first it was a one | 11:55:11 |
Hank | one-way share (user2 follows user 3, user2 follows user user4), then I did bi-directional (so they shared back) | 11:55:45 |
Hank | All of them show up no the local community posts but on User2's network view only the ones that @ user2 show up | 11:56:56 |
Hank | I was running bleeding edge develop branch for some of that but it worked the same way when I switched to stable | 11:57:12 |
7 Jul 2022 |
| guiro joined the room. | 13:32:01 |