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
    laurel (laurel@freespeechextremist.com)'s status on Friday, 08-Sep-2023 14:48:53 JST laurel laurel
    • 
    @mint

    Do you by any chance have a list of interesting/useful pleroma iex commands saved up?
    I'm setting up a development environment and thought that it might help with code exploration.
    In conversation Friday, 08-Sep-2023 14:48:53 JST from freespeechextremist.com permalink
    •  likes this.
    • Embed this notice
       (mint@ryona.agency)'s status on Friday, 08-Sep-2023 14:48:52 JST  
      in reply to
      @laurel Pleroma.Emoji.reload for reloading emojis.
      Pleroma.Object.Fetcher.fetch_object_from_id("https://instance.tld/objects/abcxyz") for force fetching objects.
      Just woke up, can't remember any others yet.
      In conversation Friday, 08-Sep-2023 14:48:52 JST permalink

      Attachments


    • Embed this notice
      laurel (laurel@freespeechextremist.com)'s status on Friday, 08-Sep-2023 18:18:30 JST laurel laurel
      in reply to
      • 
      @mint

      Thanks, the force fetching one was the one I remembered you posted but status search was being difficult.
      In conversation Friday, 08-Sep-2023 18:18:30 JST permalink
    • Embed this notice
       (mint@ryona.agency)'s status on Friday, 08-Sep-2023 18:18:30 JST  
      in reply to
      @laurel Status search is probably better to be done directly through postgres (select * from objects where data->>'content' LIKE '%query%') if pleromer's search fails for whatever reason.
      In conversation Friday, 08-Sep-2023 18:18:30 JST permalink
    • Embed this notice
      laurel (laurel@freespeechextremist.com)'s status on Friday, 08-Sep-2023 18:30:33 JST laurel laurel
      in reply to
      • 
      @mint

      Yeah, that's one of the reasons that got me into hosting an instance in the first place.
      But the instance is not up yet. I'm at the stage of setting up a local environments with some instances that talk to each other.
      Pretty sure you can get more creative with the search starting from the users table, filtering for someone, then joining with objects, etc
      In conversation Friday, 08-Sep-2023 18:30:33 JST permalink
       likes this.
    • Embed this notice
      JAJAX (jajax@clubcyberia.co)'s status on Friday, 08-Sep-2023 18:31:32 JST JAJAX JAJAX
      in reply to
      • 
      @mint @laurel why can't the search routine just do this query on its own?
      In conversation Friday, 08-Sep-2023 18:31:32 JST permalink
    • Embed this notice
       (mint@ryona.agency)'s status on Friday, 08-Sep-2023 18:31:32 JST  
      in reply to
      • JAJAX
      @JAJAX @laurel I'm sure it does (not exactly, it's using GIN/RUM indexes that are faster), but the query times out before you could receive the API response regardless.
      In conversation Friday, 08-Sep-2023 18:31:32 JST 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.