Coder Social home page Coder Social logo

39aldo39 / sparss-decsync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etuldan/sparss

51.0 51.0 4.0 22.01 MB

Android application to sync RSS without a server using DecSync

License: Other

HTML 2.85% Java 83.05% CSS 1.56% Kotlin 12.54%

sparss-decsync's People

Contributors

39aldo39 avatar alexaraujo avatar alpha-and-omega avatar awandepan avatar beriain avatar blindbox avatar canerbasaran avatar equeim avatar etuldan avatar fredjul avatar greenlunar avatar jozefjarosciak avatar khairou avatar lucnsy avatar madill avatar madx666 avatar mhuhtala avatar naofum avatar pdziewa avatar pelya avatar raalraan avatar rolfpancake avatar sebras avatar slackingveteran avatar survietamine avatar svetlemodry avatar urban82 avatar weblate avatar xbarbie avatar zhaofengli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sparss-decsync's Issues

Proxy settings unselectable.

With version 1.15.0 and later, the Proxy setting under Network in the main settings menu is not selectable. When I select it, it highlights briefly but never goes into the proxy settings. If the proxy settings are set before upgrading to 1.15.0 or later, the proxy continues working, you just can't change the settings.

I'm using the F-Droid versions on LineageOS 17.1.

Error on load/refresh rss feed with ssl.

Hello!

I'm trying to import https://wowlol.ru/rss - SSL cert is valid, but when I add it to spaRSS client (or any fork of spaRSS), i got error message:

Error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.

I use latest version from F-Droid

Could you fix that, please?
PS: other RSS clients (eg: Feeder) works with that url without issues
PPS: I got the same issue with some other feeds, but didn't save urls to attach here

Crash "Mark as unread"

On Android 10, when I try to Mark as unread a article with swipe or click on mark as unread, spaRSS crash every time.

Feature Request: Encrypt DecSync Feed File(s)

DecSync is what I love about this app. It allows me to use Syncthing to sync my feeds between devices and not rely on any server.

To enhance user security and privacy please add an option encrypt the DecSync file(s) so when the file(s) are stored on the users device and when it is in transit it will be encrypted even if the user uses an non-encrypted syncing tool or if the users device is compromised.

Feature Request: Add Facebook/Twitter Feeds

I understand this is an RSS app, but I don't have facebook or a twitter account. But I like to "follow" certain pages since many businesses have a facebook page or a twitter page which is public and can be viewed without an account. These social media pages do not support RSS (Apparently they did back then but removed RSS functionality).

With this feature people can get updates on tweets and facebook posts without using facebook or twitter.

[Discussion] Ways to use SpaRSS DecSync data on desktop

I'm looking for any ideas of using spaRSS DecSync data on desktop, in a similar fashion to how Evolution can be used with DecSync calendar and contacts. I understand that a ready to use solution probably does not exist, so I wold be glad to hear any thougts about what desktop software is the best candidate for modification for this purpose, either by forking or creating a plugin.

A web client would be acceptable as well, as long as I can run it on my computer. My main goal is not having the need to host it on a server.

Crash at Startup

The app worked just fine for a while. Now I still get notifications but as soon as I open the app it crashes. I tried restarting the phone, forcing the app to quit and cleaning the cache without any effect.

Logcat:

FATAL EXCEPTION: main
Process: org.decsync.sparss.floss, PID: 5931
java.lang.IllegalStateException: Couldn't read row 0, col 2 from CursorWindow.  Make sure the Cursor is initialized correctly before accessing data from it.
	at android.database.CursorWindow.nativeGetString(Native Method)
	at android.database.CursorWindow.getString(CursorWindow.java:438)
	at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:51)
	at android.database.CursorWrapper.getString(CursorWrapper.java:137)
	at org.decsync.sparss.adapter.EntriesCursorAdapter.bindView(SourceFile:106)
	at android.widget.CursorAdapter.getView(CursorAdapter.java:289)
	at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)
	at android.widget.AbsListView.obtainView(AbsListView.java:2378)
	at android.widget.ListView.makeAndAddView(ListView.java:1970)
	at android.widget.ListView.fillDown(ListView.java:704)
	at android.widget.ListView.fillFromTop(ListView.java:765)
	at android.widget.ListView.layoutChildren(ListView.java:1716)
	at android.widget.AbsListView.onLayout(AbsListView.java:2170)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at org.decsync.sparss.view.SwipeRefreshLayout.onLayout(SourceFile:320)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.support.v4.widget.DrawerLayout.onLayout(SourceFile:1231)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
	at com.android.internal.policy.DecorView.onLayout(DecorView.java:727)
	at android.view.View.layout(View.java:17641)
	at android.view.ViewGroup.layout(ViewGroup.java:5575)
	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2361)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2083)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1269)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6375)

Mark Read

I just stumbled onto this project and it looks great! I'm wondering if "mark read on scroll" or "mark above read" might be implemented?

On scroll marks articles read as you scroll past them. Mark above read usually requires a long press followed by tapping "Mark Above Read."

Automatic refesh does not work

Version 1.13.4
on LineageOS 15.1

The setting "Enable automatic refresh" is checked. I expect the app to automatically refresh the feeds at the refresh interval specified. Instead, the device only refreshes when I hit the button to reload feeds.

Thanks.

Feature Request: Add DuckDuckGo Newsfeed And/Or Startpage Newsfeed

Google newsfeed is good but Google is not a good privacy tool, also Google is known to censor certain search results and could censor certain newsfeeds.

Please add alternatives such as DuckDuckGo, Startpage and others that have good privacy reputation and do not censor feeds.

Revoking permission at HomeActivity crashes app

Hi, there, I've found a crash in spaRSS DecSync_v1.15.2, which is downloaded from F-Droid.

Reproduce crash

  1. install spaRSS DecSync_v1.15.2
  2. enter the app from the home screen and change DecSync directory
  3. allow the storage permission request
  4. go to system setting and revoke the storage permission
  5. back to app and click "next" button , then the app crashes

Here is the video about how I found this crash.

spaRSS.DecSync_v1.15.2.mp4

@39aldo39
Could you help me review this issue? Very thanks!!!

toggle full content default

by default "toggle full content" is on, and i have to disable it every time since the images don't load otherwise . if i could just set it to be off by default would be ideal

Crash while loading Decsync state

I installed version 1.13.10 from F-Droid. My phone is an old Nexus 6 running Android 7.1.1, if that matters.

I successfully ran the app once, added some feeds, and closed it. Then I set up SyncThing to sync the Decsync directory with FeedReader on my Linux laptop. Since then, every attempt to start this app has crashed, and I also periodically get messages popping up that the background service has crashed.

In both cases the Decsync library is at the top of the stack trace, but I don't understand what's going on well enough to tell whether the bug belongs there or here, so I thought I'd try here first.

Here's the logcat output I got from attempting to launch the app:

11-03 18:18:22.714   862 16870 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.decsync.sparss.floss cmp=org.decsync.sparss.floss/org.decsync.sparss.activity.HomeActivity bnds=[70,1002][238,1170]} from uid 1000 on display 0
11-03 18:18:22.806   862 25192 I ActivityManager: Start proc 19685:org.decsync.sparss.floss/u0a76 for activity org.decsync.sparss.floss/org.decsync.sparss.activity.HomeActivity
11-03 18:18:22.885 19685 19685 I art     : Starting a blocking GC AddRemoveAppImageSpace
11-03 18:18:22.887 19685 19685 W System  : ClassLoader referenced unknown path: /data/app/org.decsync.sparss.floss-1/lib/arm
11-03 18:18:23.013 19685 19685 I AppCompatViewInflater: app:theme is now deprecated. Please move to using android:theme instead.
11-03 18:18:23.071 19685 19685 I ViewConfigCompat: Could not find method getScaledScrollFactor() on ViewConfiguration
11-03 18:18:23.088 19685 19685 I FloatingActionButton: Setting a custom background is not supported.
11-03 18:18:23.129 19685 19685 I FloatingActionButton: Setting a custom background is not supported.
11-03 18:18:23.169 19685 19685 D DecSync : Execute all new entries in /storage/emulated/0/DecSync/rss
11-03 18:18:25.019 19685 19685 D DecSync : Execute entries of [articles, read, 2019, 10, 03]
11-03 18:18:25.021 19685 19685 D AndroidRuntime: Shutting down VM
11-03 18:18:25.031 19685 19685 E AndroidRuntime: FATAL EXCEPTION: main
11-03 18:18:25.031 19685 19685 E AndroidRuntime: Process: org.decsync.sparss.floss, PID: 19685
11-03 18:18:25.031 19685 19685 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.decsync.sparss.floss/org.decsync.sparss.activity.HomeActivity}: java.lang.ArrayIndexOutOfBoundsException: length=116; regionStart=533; regionLength=116
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.ActivityThread.-wrap12(ActivityThread.java)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:102)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:154)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6119)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
11-03 18:18:25.031 19685 19685 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=116; regionStart=533; regionLength=116
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at java.util.Arrays.checkOffsetAndCount(Arrays.java:4857)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at libcore.io.IoBridge.read(IoBridge.java:466)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at java.io.FileInputStream.read(FileInputStream.java:252)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at org.decsync.library.NativeFile.a(SourceFile:6)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at org.decsync.library.DecsyncFile.a(SourceFile:11)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at org.decsync.library.Decsync.a(SourceFile:41)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at org.decsync.library.Decsync.a(SourceFile:35)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at org.decsync.library.Decsync.a(SourceFile:34)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at org.decsync.sparss.activity.HomeActivity.onCreate(SourceFile:39)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.Activity.performCreate(Activity.java:6679)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
11-03 18:18:25.031 19685 19685 E AndroidRuntime:        ... 9 more

And here's logcat output from the FetcherService crashing:

11-03 18:35:46.123 20133 20149 D DecSync : Execute entries of [articles, read, 2019, 10, 21]
11-03 18:35:46.124 20133 20149 E AndroidRuntime: FATAL EXCEPTION: IntentService[FetcherService]
11-03 18:35:46.124 20133 20149 E AndroidRuntime: Process: org.decsync.sparss.floss, PID: 20133
11-03 18:35:46.124 20133 20149 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=507; regionStart=468; regionLength=507
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at java.util.Arrays.checkOffsetAndCount(Arrays.java:4857)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at libcore.io.IoBridge.read(IoBridge.java:466)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at java.io.FileInputStream.read(FileInputStream.java:252)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at org.decsync.library.NativeFile.a(SourceFile:6)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at org.decsync.library.DecsyncFile.a(SourceFile:11)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at org.decsync.library.Decsync.a(SourceFile:41)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at org.decsync.library.Decsync.a(SourceFile:35)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at org.decsync.library.Decsync.a(SourceFile:34)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at org.decsync.sparss.service.FetcherService.onHandleIntent(SourceFile:57)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:68)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
11-03 18:35:46.124 20133 20149 E AndroidRuntime: 	at android.os.HandlerThread.run(HandlerThread.java:61)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.