Skip to content

(feat): Support Querying Elasticsearch for Nostr Posts NIP-01 Filters #2357

Zack Wynne requested to merge feat/nostr-filters-es-2357 into master

Ticket(s) / Related Merge Requests

Issue: #2357 (closed)

Summary of Changes

This MR adds support for querying Minds posts as Nostr events using the NIP-01 filters.

The following filters are supported:

  • authors
  • kinds
  • since
  • until
  • limit

These filters are currently not supported:

  • ids
  • #e
  • #p

Testing Considerations

You should be able to query Minds posts and follow Minds users with a Nostr client.

Deployment Considerations

This is dependent on this MR, as well as the same tables:

!1091 (merged)

Regression Scope

This change affects queries for posts through the Nostr relay.

Platform Affected (web, mobile, etc)

Web

Developer Testing Completed

Test creating a user in sandbox with astral.ninja, following Minds users, and viewing the global feed.

Screenshots / Screen Recording

follows

global

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Zack Wynne

Merge request reports