GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 03:19:36 JST marius marius

    I'm thinking in adding #ONI proxyUrl support in the frontend. :goose_hacker:

    Currently if a request to a remote #ActivityPub object fails - either due to CORS, or because of authorized fetch - I just display a fallback link to it.

    I'm wondering if I can do a two step approach, if the request to the resource fails with 401-403 (for secure fetch) or 400 (for CORS failures) I try to redirect the request through the proxyUrl mechanism.

    Only if that fails too, I fallback to something else.

    In conversation about 10 days ago from metalhead.club permalink
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Sunday, 15-Feb-2026 03:19:31 JST silverpill silverpill
      in reply to

      @mariusor No worries, I was deploying an update :]

      In conversation about 10 days ago permalink
    • Embed this notice
      marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 03:19:33 JST marius marius
      in reply to
      • silverpill

      Ooops... mitra.social is down.

      I hope it wasn't me that brought it down with my testing. :(( Sorry @silverpill

      In conversation about 10 days ago permalink
    • Embed this notice
      marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 03:19:35 JST marius marius
      in reply to

      :🎉 ... and done!

      Now I have the actors of remote instances (like mitra.social and mastodonapp.uk) loading properly in the inbox of ONI.

      I'm not proud of the JavaScript that does it, there must be an idiomatic way to chain fetch requests without the Promise in Promise spaghetti I just wrote. :(

      In conversation about 10 days ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: mastodonapp.uk
        Mastodon App UK
        UK Hosted and Managed Mastodon Instance. General communal space for discussion, everyone welcome!
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Sunday, 15-Feb-2026 03:22:29 JST silverpill silverpill
      in reply to

      @mariusor

      Now I have the actors of remote instances (like mitra.social and mastodonapp.uk) loading properly in the inbox of ONI.

      Are mitra.social actors special in some way?

      In conversation about 10 days ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: mastodonapp.uk
        Mastodon App UK
        UK Hosted and Managed Mastodon Instance. General communal space for discussion, everyone welcome!
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Sunday, 15-Feb-2026 04:07:21 JST silverpill silverpill
      in reply to

      @mariusor Yes, mitra's CORS config is a bit weird. I plan to change it to a more permissive one in the future

      In conversation about 10 days ago permalink
    • Embed this notice
      marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 04:07:23 JST marius marius
      in reply to
      • silverpill

      @silverpill when I fetch mitra actors from the browser with JavaScript fetch, it disallows them due to the server not allowing CORS pre-flight requests.

      When I was adding support for Django's C2S client, it became apparent that if we want objects be accessible form in browser clients, the servers need very relaxed CORS policies. I defaulted to accepting all https:// ... but I'm thinking about rules based on the actor's followers perhaps..

      In conversation about 10 days ago permalink
    • Embed this notice
      silverpill (silverpill@mitra.social)'s status on Sunday, 15-Feb-2026 08:31:27 JST silverpill silverpill
      in reply to

      @mariusor I have allowed all origins on mitra.social

      Other instances will continue to use allowlist for the foreseeable future (until the major version bump).

      In conversation about 10 days ago permalink
    • Embed this notice
      marius (mariusor@metalhead.club)'s status on Sunday, 15-Feb-2026 08:31:28 JST marius marius
      in reply to
      • silverpill

      @silverpill can't wait... the good thing about my implementation of using proxyUrl from the frontend is that it only kicks in on failed requests, so it'll be transparent when you switch.

      In conversation about 10 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.