Skip to content
Snippets Groups Projects

BBS / SSH

Merged lain requested to merge feature/bbs into develop
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • rinpatch
    rinpatch @rinpatch started a thread on the diff
  • 32 end
    33
    34 defp loop(state) do
    35 self_pid = self()
    36 counter = state.counter
    37 prefix = state.prefix
    38 user = state.user
    39
    40 input = spawn(fn -> io_get(self_pid, prefix, counter, user.nickname) end)
    41 wait_input(state, input)
    42 end
    43
    44 def puts_activity(activity) do
    45 status = Pleroma.Web.MastodonAPI.StatusView.render("status.json", %{activity: activity})
    46 IO.puts("-- #{status.id} by #{status.account.display_name} (#{status.account.acct})")
    47 IO.puts(HtmlSanitizeEx.strip_tags(status.content))
    • I think we should use Pleroma.HTML.get_cached_stripped_html_for_object(status.content, Object.normalize(activity.data["object"]), __MODULE__) to strip tags

    • nvm, the naming confused me. get_cached_stripped_html_for_object is really working with activities so no need to normalize the object

    • Please register or sign in to reply
  • rinpatch
  • Haelwenn mentioned in issue #839 (closed)

    mentioned in issue #839 (closed)

  • lain added 488 commits

    added 488 commits

    Compare with previous version

  • lain added 1 commit

    added 1 commit

    • c9d1cb2d - BBS: Use cached user fetcher.

    Compare with previous version

  • lain added 1 commit

    added 1 commit

    Compare with previous version

  • lain added 1 commit

    added 1 commit

    Compare with previous version

  • lain unmarked as a Work In Progress

    unmarked as a Work In Progress

  • merged

  • lain mentioned in commit aacac9da

    mentioned in commit aacac9da

  • Please register or sign in to reply
    Loading