Coder Social home page Coder Social logo

adamantcheese / kuroba Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chandevel/clover

389.0 389.0 29.0 62.59 MB

Kuroba - imageboard browser for Android

License: GNU General Public License v3.0

Java 28.73% HTML 0.07% Kotlin 1.14% JavaScript 70.06%

kuroba's People

Contributors

49e94b8f256530dc0d41f740dfe8a4c1 avatar adamantcheese avatar andyklimczak avatar astridchan avatar braeden avatar ekisu avatar floens avatar floppyd avatar gergesh avatar hual avatar iamzim101 avatar k1rakishou avatar kosbum avatar lazpeng avatar lolzen avatar mezpahlan avatar nopjmp avatar patxs avatar scypress avatar siema avatar sietsem avatar tacothedank avatar twinov avatar vaguelyasian avatar vjandrea avatar wired-7 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kuroba's Issues

[Feature Request] Fullscreen image viewer

Make it possible to view images (and videos) in fullscreen by hiding the Kuroba UI, status bar and the navigation bar. Fullscreen mode could be toggled by a button in the toolbar (example 1.), or tapping on the image in while the image is opened (example 2.). Since tapping on an opened image currently closes it in Kuroba, this behaviour should be changed so that tapping on the image itself toggles fullscreen mode, whereas tapping outside of the image closes it.

fullscreenmode2

[Feature Request] Ability to view cross-board/thread linked posts without leaving the current thread

On the 4chan desktop website, you can view posts that have been cross-board or cross-thread linked to, without leaving the current thread, by hovering over the link with your cursor:

Capture1111

In Kuroba, when you click on a cross-thread/board link, you only get a prompt to open the thread the linked post is in:

Screenshot_2019-06-08-19-36-21-477_com github adamantcheese chan

It would be convenient if, when you clicked on a cross-board/thread link in Kuroba, it would fetch the content of the linked post and display it as if it was a post in the currently open thread, so that the user could view it and interact with it without having to leave the current thread. Only thing needed to be added would be an "Open" reply button to open the thread the cross-board/thread post is in.

Quick mockup (maybe the background color should be made different to visually distinguish cross-thread/board posts from regular posts):

Screenshot_2019-06-08-19-36-21-477_com github adamantcheese chan

[BUG] Tapping "X" clears all bookmarked threads, not just archived ones

On Floens' build of Clover, when you tap on the "X" next to the Bookmarked threads list, it clears only archived and 404'd threads. When you hold the "X" it clears all bookmarked threads (this behaviour requires that thread watcher is enabled).

On your Clover build, when you tap on the "X", it will clear all bookmarked threads, but give you the message "No bookmarks cleared. Hold to remove all." If someone replies to your post after this, you will still receive a notification, so it would seem the threads aren't actually removed from the watch list, just hidden. If you then hold on the "X", the bookmarks that are now hidden will properly be removed. This video demonstrates the bug in action:
https://streamable.com/sbga8

Another anon pointed this out in a Clover thread on /g/:

if you close and reopen Clover, the active threads show up again. so the button does delete the right rows from the db but also deletes all threads from the bookmarks bar temporarily.

I am submitting this here because Floens' build doesn't seem to have this issue.

Support 4channel links

Support to open 4channel.org links in the app would be a great quality of life improvement. Thanks in advance.

8chan crash issue.

Add 8ch.net
Proceed to add board on 8ch.net.
Application will soon freeze.
High possibility back,home buttons do not work.
Stop application.
Next time you open the application you get a white screen.
Only gets fixed by deleting all application data.

[Feature Request] RAM Cache

Add a setting to store the cache in ram instead of storing it on the disk.
I don't want every picture I scroll by on 4chan on my disk.

Don't format filenames upon saving

When saving a file with a space, dashes or several underscores, the saved file will be renamed like this:

Original: __fancy file with-dashes-in it__.jpg
Saved: _fancy_file_withdashesin_it_.jpg

This is incredibly annoying and can make some filenames unreadable, and create duplicates in a folder with a properly named copy in it.

Simple example with a space
simple example

[BUG] Crash in PageRequestManager

2019-06-02 12:42:07.468 7084-7084/com.github.adamantcheese.chan E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.github.adamantcheese.chan, PID: 7084
    java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
        at com.github.adamantcheese.chan.core.manager.PageRequestManager.shouldUpdate(PageRequestManager.java:96)
        at com.github.adamantcheese.chan.core.manager.PageRequestManager.lambda$forceUpdateForBoard$0$PageRequestManager(PageRequestManager.java:65)
        at com.github.adamantcheese.chan.core.manager.-$$Lambda$PageRequestManager$swRmb8GVMPpwIosV84znCM4GLjQ.run(Unknown Source:4)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6669)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2019-06-02 12:42:07.470 7084-7084/com.github.adamantcheese.chan E/Kuroba | UNCAUGHT: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
        at com.github.adamantcheese.chan.core.manager.PageRequestManager.shouldUpdate(PageRequestManager.java:96)
        at com.github.adamantcheese.chan.core.manager.PageRequestManager.lambda$forceUpdateForBoard$0$PageRequestManager(PageRequestManager.java:65)
        at com.github.adamantcheese.chan.core.manager.-$$Lambda$PageRequestManager$swRmb8GVMPpwIosV84znCM4GLjQ.run(Unknown Source:4)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:193)
        at android.app.ActivityThread.main(ActivityThread.java:6669)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2019-06-02 12:42:07.470 7084-7084/com.github.adamantcheese.chan E/Kuroba | UNCAUGHT: .
    ----------------------------------------
    END OF CURRENT RUNTIME MESSAGES
    ----------------------------------------
    .

Make the countdown dynamic

You could make it always appear instead of just when you press the post button, this way you can also start solving the captcha before it gets to 0.

[Feature Request] New duplicate file saving

Can't you put like a 5 seconds countdown when saving a file (if the filename is the same, so if you press the download button twice it doesn't save two copies of the same file) and some hash checking if you try to save another file with the same filename after the first 5 seconds? And if the hash doesn't match, you can offer us to either rename the file or just add a "(1)" or something like that if possible.

[Feature Request] Thread stickying by user

Allow the user to manually sticky threads so that they appear at the top of the catalog. This feature could be accessible as an "sticky / unsticky" option in a thread's three dot menu in the catalog view. Additionally, a "Sticky post" option could be added to the filter options to automatically sticky threads that match the given string (alternatively, this feature could be combined with the "watch post" action so that watched/bookmarked threads are also automatically stickied to the top of the catalog).

What is a "sticky"?
"Stickied" threads are posts that are stuck (hence "sticky/stickied") to the top of a board's index page. A stickied thread is denoted by a small thumbtack icon placed next to its post number.

Separate cooldown timer for replies and threads

On 4chan, replies and threads have their own separate cooldown timers, so it is possible to post a reply and then post a thread immediately after, or vice versa, without any delay in between. Kuroba does not discriminate between thread posts and reply posts, so it makes you wait the cooldown time even when it's not necessary.

[Feature Request] Option to quickly filter relevant posts in a thread

In longer threads it can be hard to find posts relevant to you (posts you've posted or replied to, or posts replying to you). As a workaround, posts replying to you can be found simply by searching for "(you)", but there is no way to similarly see only the posts you've made. I propose adding a "filter posts" menu option to allow quicky filtering posts in a thread. When selected, it would give the following options (with toggleable checkboxes so you can select more than one option):

  • Only show posts:
    • you replied to
    • you posted
    • replying to you

This would allow you to quickly view your participation in a given thread, and more easily follow the discussions you're having with other users.

This issue is somewhat related to the following issues:
chandevel#607
chandevel#640

Add option to disable local post timer

Would be nice to be able to disable it for situations where the timer is changed or unwanted

Examples:

  • 4chan pass users, cooldown is only 30 seconds
  • Changed IP, cooldown doesn't apply
  • Trying to pre-fill a captcha to post at a precise time for dubs or whatever

[BUG] New captcha requires a lot of attempts before it gets accepted

Help needed. Apparently NID cookie is not enough. On the other hand, when posting from chrome in incognito mode with forced no-js captcha it works normally without any cookies at all.

Get captcha:
234234

Post answer:
67657567

Why it does not work when I do the same from the app I can't figure it out.

[Feature Request] Sticky bookmarks to the top of the catalog, or display thread info in sidebar

Regarding #23:

Bookmarks already cover this. Bookmark the thread you want and turn off the thread watcher for that specific thread. Filter watching acts like permanent stickies if your regex is good. Plus, threads are then stickied even if you're not on the board they're specifically for.

Sorry, I think I didn't explain myself properly. What is meant by "stickying", is that a thread that is stickied will always appear at the top of the board catalog. The browser extension "4chan X" has a feature where threads you have bookmarked are automatically stickied to the top of the catalog (bookmarked threads marked in red):

Capture1111

This allows you to get an overview of each thread you follow on a given board, as you can quickly see the number of replies and page number for each thread, and whether the thread is at bump limit or not.

The bookmarks in Kuroba do not cover this. To view the same thread information, you either have to search through the catalog for each thread, or look through all the bookmarked threads individually, as the bookmarked threads list in the side bar does not display total number of replies, page number or whether a thread is at bump limit or not, only the number of unseen replies.

An alternative solution I thought of would be to have a toggle in the boomarked thread list where you could change the number displayed from unseen replies to total replies and page number. Quick mockup:

Screenshot_2019-06-05-14-47-15-177_com github adamantcheese chan

This could actually be a better way since you see the information for ALL bookmarked threads, regardless of what board they are on.

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.