-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add nostr library dependency. * Add a Nostr URI parsing function. * Add a function for getting author profile information. Rename nreq() to nreqProfile() to match function's use. Add default relays, and Nostr Client. * Use a hack for being able to use Nostr URIs while keeping the URL dependency intact. * Merge nreqProfile into getProfileMetadata. Use default relays if user does not have one. * Complete the compatibility 'hack' for Nostr URIs, by stripping the bolted-on URL. * Add function for finding where the author publishes to(the Nostr publish relays). * Introduce fetchArticlesForAuthor(). Only use getUserPublishRelays() if relays are not found from parsing the Nostr URI. * Introduce fetchArticlesForAuthor() and AuthorNostrData. Only use getUserPublishRelays() if relays are not found from parsing the Nostr URI. * Add function to fetch Nostr feed and convert it to Feeder internal models. Actually use AuthorNostrData. * Wire up everything in the SearchFeedViewModel. Adapt it to take into account the input being handled. * Check for a Nostr URI first(so as to make the integration work correctly). Fix the if-else in searchForFeeds(). * Add Nostr URI checks when creating/editing the feed, to make sure a Nostr feed can be saved. * Add Nostr URI checks when creating/editing the feed, to make sure a Nostr feed can be saved, pt. 2. * Re-use code for checking adapted Nostr URIs. * Make sure RssLocalSync looks for Nostr feeds when using Nostr-based input. * Reduce timeouts for fetching from relays. * Fix incorrect article timestamp issue. * Retry with default relays if the ones found don't work. Save only the working relays as well. * Add guardrails so as not to use too many relays when fetching for articles. Add a default set of relays for articles. * Improve search times by just using the Nostr profile found(may be changed). * OPML support for Nostr(file imports). * Update Nostr feed URL by default if it conflicts with one already present in the app. * Use default relays when guardrails fail, or when user doesn't have them. Clear all relays for user after fetch. * Adjust Nostr URI validity checks, and improve Nostr support for singular links. * Add support for parsing and displaying Markdown content. * Make linter happy. * Make linter happy, part 2. * Gradle catalog for rust-nostr dependency. * Try PR CI again. * Revert 'Try PR CI again.' * Try CI again. * Modify ProGuard rules. * Disable dependency metadata when building APK/AAB. * Revert 'Disable dependency metadata when building APK/AAB.' * Remove relays for which we could not find articles from, before using the default article fetch relays. * Add release variant as fallback for resolving library variant matching issues. Fix proguard. * Disable FullTextByDefault option for Nostr feeds, as the full article is fetched anyways. * Try to fix and optimize the fetching code. * Try to fix and optimize the fetching code, part 2. * Revert 'Try to fix and optimize the fetching code, part 2.' * Make linter happy(again). * Move markdown dependency to Version catalog. * Rename some strings in string resources. * Apply suggested fixes. * Revert string resource renaming. * Use getApplication() instead of using DI, to avoid compiler conflicts. * Bump minimum relays up by 1. Try to make sure we find the author metadata if we dont succeed with the tried relays. * Apply other suggestions.
- Loading branch information
1 parent
49a559d
commit 7fae5a3
Showing
55 changed files
with
529 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.