5 Commits

Author SHA1 Message Date
David Langley
845ede4989 Add commercial license to source headers 2025-01-17 11:44:49 +00:00
renovate[bot]
cecea312c6
Update electron (major) (#1968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-30 18:06:03 +00:00
R Midhun Suresh
2d6e087fb0
Merge commit from fork
* Check url with homeserver

* Move check to where access-token is added

* Do IPC comm sparingly

Before, the code would fetch the hs for every request.
Since this needs the whole event-handler dance, it's best we do it only
for the requests that match the media endpoints.

Also added some try..catch since we create URL objects that could
potentially throw

* Check origin instead of just hostname
2024-10-15 12:51:06 +01:00
David Langley
c15014e7a8 Updated Copyright headers 2024-09-06 17:56:18 +01:00
Michael Telatynski
6fca680085
Refactor media auth redirects to not kick in if the user is not logged in (#1817) 2024-08-07 09:44:18 +01:00