Coder Social home page Coder Social logo

aid's People

Contributors

seeker avatar

Watchers

 avatar  avatar

aid's Issues

Add user-definable patterns

Patterns used to: load pages, find threads,posts, image links and image names.
This would make the program much more flexible.

Filterlist not updated on load

First load of the filterlist after a program start will show a blank list.
Items will show after a "add" or "remove".

Leave the textfields empty and hit "remove" to show the list.

Better ban detection

the client should only consider itself banned after it gets lots of 503 responses in a very short time, not just one.

extended tests

Add tests for failed DB connections, failed disk writes, disk full, ect.

Tests unfinished

Not all tests are written (marked with "Ignore" annotation). Some tests require a re-write.

Table names

Improve readability by changing table names from 'cache' to 'imagecache' and from 'lastmodified' to 'threadcache'

Automatic folder tagging

Add a another list identical to the one for filters. Any post content / file names that mach will result in the folder getting tagged.

May need some logic to prevent allot of false positives.

Page status indicator

Add a row of colored squares to every board entry, which will indicate if the page was loaded correctly.

Exception in MySQLaid

Exception in thread "pool-1-thread-57" java.lang.NullPointerException at io.MySQL.isCached(MySQL.java:381) at io.MySQL.isCached(MySQL.java:365) at filter.Filter.isCached(Filter.java:301) at io.ImageLoader.beforeFileAdd(ImageLoader.java:32) at net.FileLoader.add(FileLoader.java:66) at board.Page.run(Page.java:172) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "pool-1-thread-58" java.lang.NullPointerException at io.MySQLaid.getFilterState(MySQLaid.java:84) at filter.Filter.getFilterState(Filter.java:184) at board.Page.run(Page.java:140) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

Auto-prune cache

  • prune cache on regular interval.
  • detect when cache is not getting updated and suspend, otherwise the cache will be cleared.

Download Worker throws exception

Exception in thread "Download Worker" java.lang.NumberFormatException: unable to parse http://images.4chan.org/w/src/356719023.jpg at net.GetBinary.getLenght(GetBinary.java:100) at net.GetBinary.getViaHttp(GetBinary.java:207) at net.FileLoader.loadFile(FileLoader.java:109) at net.FileLoader.access$0(FileLoader.java:102) at net.FileLoader$DownloadWorker.run(FileLoader.java:190)

Load FilterItems in GUI on start

Load the Pending FilterItems from the DB into the GUI.
However, do not check URL's to see if they still exists, leave that to the user and updater.

Remove buffering from FileWriter

No point in this any more, files are already buffered when downloading.
Buffering again only adds to complexity and no longer offers a benefit.

Shutdown hangs

This happens if page or file queues still have items left.

Only load indexed file list once

Load the list once and re use it.
With exception for DL_CLIENT, the list should not change very often.
This saves network and database server load.

Make database optional

Make it so the program can be used without an external database.
Either program internal or use an embedded DB.

Save window position

Save the different window locations and restore them on the next program start.

Improve thread processing

The last few post of a thread are visible on the board pages.
Use this to check if the thread has changed, if not, do not load thread.

Connection pool clone

Could not think of a better way to solve this at the moment, so i made a Copy of ConnectionPool.java

Idea: Use an Interface with methods that are needed to create a MySQL connection.

Selectable logs

  • Select what will be logged
  • Select where it will be logged.

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.