busky/app/src
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
..
androidTest/java/com/keylesspalace/tusky
debug/res add new debug build so two tusky versions can be run on the same device 2017-12-08 12:15:46 +01:00
main Add regular expression feed filtering (#557) 2018-04-05 22:58:44 +02:00
release/res add new debug build so two tusky versions can be run on the same device 2017-12-08 12:15:46 +01:00
test/java/com/keylesspalace/tusky Add Dagger (#554) 2018-03-27 19:47:00 +02:00