chinwag-android/app
Gareth Murphy 6d6c9575c4 Add regular expression feed filtering (#557)
* Initial implementation of regex feed filtering

Mimics Mastodon web's functionality, but in a simpler form; a single
regular expression is shared across the home, local and federated feeds.

Strings are currently only provided in English and will need to be
translated.

* Fix buggy behaviour on filter regex update

* Validate regex filter input

Fixes buggy behaviour on inputting a regular expression feed filter by
testing the expression continuously as the user types, displaying an
error and disabling the 'OK' button of the dialog at any time it's not a
valid regular expression. Disables spelling suggestions in the input to
make the experience less frustrating and error prone.

Also fixes some generally buggy behaviour upon preference change,
specifically in cases where no Matcher was set prior to a new pattern
being set, which would cause the app to crash.

* Apply regex filter to spoiler text

* Get rid of empty catch block in regex filter code

* Make regex filter error string translatable
2018-04-05 22:58:44 +02:00
..
src Add regular expression feed filtering (#557) 2018-04-05 22:58:44 +02:00
.gitignore Adds a forgotten keystore. 2017-06-02 04:47:22 -04:00
build.gradle upgrade gradle & dependencies 2018-03-27 20:12:43 +02:00
proguard-rules.pro Add Dagger (#554) 2018-03-27 19:47:00 +02:00