Uh oh!
There was an error while loading. Please reload this page.
feat(federation): auto-accept shares from trusted servers - #49973
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
ff6f6e6 to
5d4c7b7Comparee29a165 to
c78d1feCompare1d4cadb to
a710e0cCompare0ba688c to
9e36462Compare
provokateurin
left a comment
There was a problem hiding this comment.
Some things that could be improved over the old code, if you're already migrating it anyway 🙈
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…cates` Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
6bf6515 to
968be50CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…dleware Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
968be50 to
669e6caCompare| margin-top: 20px; | ||
| } | ||
| .settings-subsection__name { |
There was a problem hiding this comment.
nit: use scss and move this into .settings-subsection?
| $servers = $this->trustedServers->getServers(); | ||
| // obfuscate the shared secret | ||
| $servers = array_map(function ($server) { |
There was a problem hiding this comment.
nit: introduce a new variable instead of repurposing the old one.
| $servers = array_map(function ($server) { | |
| $redactedServers = array_map(function ($server) { |
| try { | ||
| $this->trustedServers->getServer($id); | ||
| } catch (\Exception $e) { | ||
| throw new OCSNotFoundException($this->l->t('No server found with ID: %s', [$id])); |
There was a problem hiding this comment.
It could be something else as well, other than server not found. Log the exception at debug level.
ChristophWurst
commented
Jan 9, 2025
I did not expect the fast merge :x |
Needs #49974
Fix#34550