* 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
* Use the entire content warning text + button as the hitbox for the "Show more/less" toggle
* Move the content warning toggle button to its own line and give it a little more space
* Move content warning elements into parent layout, remove now-superfluous FlowLayout
* Use marginTop/Bottom instead of Vertical, which is only in sdk 26+
* Update minimum width for content warning toggle button
* Add zh-CN translations (first version).
满眼生机转化钧, 天工人巧日争新。
* Add zh-TW translations (converted by OpenCC).
幹,我到底寫了三小……
* Add zh-HK translations (converted by OpenCC).
呢個翻譯真喺 On9!
* Fix some translations in zh-CN.
点一下,玩一年,装备不花一分钱~
* Fix some translations in zh-TW, too.
油條要超越板凳當凶器之首了嗎?
* Fix some translations in zh-HK, too...
大家小心流感
* Minor fixes in zh-CN translations.
翻譯比想象中要難啊……
* Add zh-SG translations (the same as zh-CN).
* Update zh-TW translations.
* Update zh-HK translations, too.
Still needs to be improved...
* Add zh-MO translations (the same as zh-HK).
Now it's all set!
* Fix a character in zh-CN translations...
Don't mind, don't mind...
* Fix the same character in zh-SG translations...
It's all my fault. 😂
* correctly filter notifications on Api >= 26, other fixes and refactoring
* use correct areNotificationsEnabled method in MainActivity
* change notification led color