-
-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(greader): support google reader api (#536)
* feat(greader): support google reader api * feat(greader): support groups and feeds * feat(freshrss): support fresh rss api * feat(freshrss): support fresh rss api * feat(greader): support mark as read or starred * feat(greader): support mark as read or starred
- Loading branch information
Showing
31 changed files
with
1,752 additions
and
235 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
app/src/main/java/me/ash/reader/domain/model/account/security/FreshRSSSecurityKey.kt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package me.ash.reader.domain.model.account.security | ||
|
||
class FreshRSSSecurityKey private constructor() : SecurityKey() { | ||
|
||
var serverUrl: String? = null | ||
var username: String? = null | ||
var password: String? = null | ||
|
||
constructor(serverUrl: String?, username: String?, password: String?) : this() { | ||
this.serverUrl = serverUrl | ||
this.username = username | ||
this.password = password | ||
} | ||
|
||
constructor(value: String? = DESUtils.empty) : this() { | ||
decode(value, FreshRSSSecurityKey::class.java).let { | ||
serverUrl = it.serverUrl | ||
username = it.username | ||
password = it.password | ||
} | ||
} | ||
} |
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
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.
fa2787b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
终于要来了吗,啥时候构建呀😉