8 Commits

Author SHA1 Message Date
KotlinGeekDev
ec05bddba8
Nostr feed support. (#945)
* Add rust nostr library.

* Build FetchedFeed abstractions to be used for representing fetched feeds.

* Replace some occurrences of SyndFeed with FetchedFeed where needed.

* Add a function for checking a Nostr URI. Modify other occurrences in AbstractRssRepository.

* Add validation for Nostr URIs.

* Actually take Nostr URIs into account when searching for feeds.

* Move fetchFeedFrom() to a companion object instead.

* Update Nostr-sdk library and add Proguard rules for the Nostr sdk library.

* Create a singleton DI module for the Nostr Client.

* Add some fixes for summary, and others.

* Include Jetbrains Markdown library.

* Introduce htmlFromMarkdown(), and use it where needed.

* Revert to using the Nostr URI for the article link, for full content support.

* Implement full content support for Nostr articles, by reusing the content, since it's all the same anyway.

* Switch to throwing an exception when no Nostr feed info is found.

* Add feed syncing for Nostr feeds.

* Use a new Nostr client instance for each syncing feed, to avoid race conditions when using the client.

* Change syncNostrFeed return signature. Improve Nostr feed syncing. Use randomUuid for Nostr article Ids.

* Add OPML feed support for Nostr feeds. Try getting metadata first before saving the feed(else it won't modify it later.)

* Just use the author's profile name as feed title when fetching feed.

* Fix RssHelperTest.

* Fix bug caused by non-differentiation between outlines and sub-outlines when handling sub-outlines.

* Re-use original code for importing feeds from OPML(for GH runner happiness, maybe).

* Revert previous change(just uncommenting code).

* Just return feed with empty article list if nothing is found.

* Manage Nostr Client lifecycle when using it during OPML import.

* Undo changes of previous commit.
2025-01-24 10:41:44 +08:00
junkfood
e0cd9acb03
fix: user agent in build config (#914) 2024-12-01 21:01:24 +08:00
junkfood
99eca4b109
chore: release v0.11.1 (27) 2024-11-24 17:55:32 +08:00
junkfood
ea0c627215
chore: release v0.11.0 (26) 2024-11-12 20:42:24 +08:00
junkfood
ed7c272193
fix(ui): RTL in swipe actions 2024-11-08 00:51:12 +08:00
junkfood
5eb0edcc78
Migrate to Compose 1.7 (#845)
* refactor: migrate to compose 1.7 (wip)

* feat(ui): migrate to swipe
2024-09-30 00:02:41 +08:00
aualbert
81dbe094f9
Fix several deprecation notices (#758)
* migrate to Gradle Kotlin DSL, version catalog and ksp

* replace buildDir with layout.buildDirectory

* declare plugins in version catalogs

* add room plugin

* specify type of keyPropsFile

* added missing version number in [versions]

* use alias instead of id whenever possible

* finishes replacing id with alias

* migrate pager

* Migrate to androidx.compose.foundation FlowLayouts

* add optin to avoid warning during build

* use nonFinalResIds for faster compilation

* use nonTransitiveRclass for faster compilation

* migrate smallTopAppBarColors to topAppBarColors

* migrate 'with(ExitTransition): ContentTransform' to togetherWith

* migrate fromHtml

* migrate TextFieldDefaults.textFieldColors to TextFieldDefaults.colors

* migrate get(...).toString() to getString(...)

* add optin

* rename Divider to HorizontalDivider
2024-06-19 17:09:00 +08:00
aualbert
573fead2da
Migrate to Gradle Kotlin DSL, version catalog and ksp (#744) 2024-06-15 23:12:15 +08:00