15 May 2019 |
Maximus | kaiyou: no repo, we do not wish to host one at this time. | 09:52:47 |
kaiyou | Okay, thanks :) | 09:59:30 |
@jasonm:matrix.cambsac.org.uk | In reply to @max:kamax.io Jason Morgan: where do you see the replacement happening? in Riot settings? Sorry I quoted wrong bug: https://github.com/matrix-org/synapse/issues/5161 | 09:59:55 |
Maximus | ok, but how do you know it's happening? | 10:01:16 |
@jasonm:matrix.cambsac.org.uk | When the user gets the "you have been invited" email, and click the link, to open riot-web. In R-W the fields are pre-filled with email, that email is wrong. If you have a gmail account I can show you by inviting you. | 10:03:15 |
Maximus | and if you fix the email in the field, does it work? | 10:05:05 |
@jasonm:matrix.cambsac.org.uk | yes, if you manually fix it, it works (well sort of, as it then breaks later - see other issues I'm having) | 10:05:31 |
Maximus | so mxisd does not send a link that would allow auto completion in Riot when registrating. Did you change the template to make it do it? | 10:07:09 |
@jasonm:matrix.cambsac.org.uk | hmm, no idea how it works then.... I changed the intive email template as per your instructions about a year ago. | 10:09:28 |
@jasonm:matrix.cambsac.org.uk | Should I send? | 10:09:38 |
Maximus | The email is not url-encoded so if you changed the template so it appear in the link, it would break yes | 10:10:29 |
@jasonm:matrix.cambsac.org.uk | I don't thinkt the email has and email address in it, I think it uses a session id. | 10:11:40 |
@jasonm:matrix.cambsac.org.uk | and=an | 10:11:46 |
Maximus | there are no session ID for invitation | 10:12:06 |
@jasonm:matrix.cambsac.org.uk | I'll look at the template. | 10:12:18 |
Maximus | what I mean is: Riot having the email auto-filled is via a query parameter in the URL you would receive when invited | 10:12:58 |
Maximus | mxisd never had that in its builtin templates. only the riot.im/matrix.org identity server has it | 10:13:31 |
Maximus | so either you changed the template so it gets added, or the client you used to do the invite is configured to use the central ISes | 10:14:23 |
@jasonm:matrix.cambsac.org.uk | OK, by bad. looking at the template I can see it uses %INVITE_MEDIUM%=%INVITE_ADDRESS% I guess this is the issue, I can fix that. | 10:18:33 |
Maximus | there is no URL encoding so a + will definitely break | 10:19:22 |
Maximus | I can add it as an enhancement for the next release | 10:19:53 |
@jasonm:matrix.cambsac.org.uk | OK, thanks | 10:20:13 |
| @studz:matrix.org left the room. | 21:31:25 |
16 May 2019 |
| @magnus:ctrl-c.liu.se joined the room. | 16:52:48 |
18 May 2019 |
Maximus | Jason Morgan: Added the encoding in last commit. Let me know how you install mxisd and I'll provide you a build to test with | 00:20:24 |
perflyst | I had these both in my apache vhost
<Location /_matrix/client/r0/user_directory/>
ProxyPreserveHost On
ProxyPass http://172.16.x.x:8090/_matrix/client/r0/user_directory/
ProxyPassReverse http://172.16.x.x:8090/_matrix/client/r0/user_directory/
</Location>
<Location /_matrix/identity>
ProxyPreserveHost On
ProxyPass http://172.16.x.x:8090/_matrix/identity
ProxyPassReverse http://172.16.x.x:8090/_matrix/identity
</Location>
Is this the correct translation to nginx?
location /_matrix/client/r0/user_directory {
proxy_pass http://172.16.x.xx:8090/_matrix/client/r0/user_directory/
}
location /_matrix/identity {
proxy_pass http://172.16.x.xx:8090/_matrix/identity
}
| 08:52:05 |
@sorunome:sorunome.de | soru also added
proxy_read_timeout 60s;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
client_max_body_size 10G;
| 08:55:01 |
perflyst | why client_max_body_size 10G; ? | 08:55:15 |
@sorunome:sorunome.de | because soru just copied the same config over that she uses for her media repo xD | 08:55:36 |
@sorunome:sorunome.de | feel free to omit | 08:55:51 |