Nik Clayton
f796f77f9a
Implement getFilters() without rxjava ( #2990 )
2022-12-07 19:30:53 +01:00
Levi Bard
c47d9ef6ac
Support setting filter expirations ( #2667 )
...
* Show filter expiration in list
* Add support for setting and updating the duration of a filter
* Add tests for duration conversion math
* Refactor network wrapper code
* Mark updated mastodon api functions as suspend
* Avoid creating unnecessary Date objects
* Apply suggestions to filter dialog layout
2022-08-17 17:50:34 +02:00
Levi Bard
b21def5041
Respect filter expiration date when applying filters ( #2661 )
...
* Respect filter expiration date when applying filters. #2578
* Fix typing for filter `expires_in` api points
2022-08-15 11:01:04 +02:00
Konrad Pozniak
16ffcca748
add ktlint plugin to project and apply default code style ( #2209 )
...
* add ktlint plugin to project and apply default code style
* some manual adjustments, fix wildcard imports
* update CONTRIBUTING.md
* fix formatting
2021-06-28 21:13:24 +02:00
Ivan Kupalov
44a5b42cac
Timeline refactor ( #2175 )
...
* Move Timeline files into their own package
* Introduce TimelineViewModel, add coroutines
* Simplify StatusViewData
* Handle timeilne fetch errors
* Rework filters, fix ViewThreadFragment
* Fix NotificationsFragment
* Simplify Notifications and Thread, handle pin
* Redo loading in TimelineViewModel
* Improve error handling in TimelineViewModel
* Rewrite actions in TimelineViewModel
* Apply feedback after timeline factoring review
* Handle initial failure in timeline correctly
2021-06-11 20:15:40 +02:00
Konrad Pozniak
ff69a2ad0d
migrating to ViewBinding part 2: Activities ( #2093 )
2021-03-07 19:05:51 +01:00
Konrad Pozniak
483beaa957
move onOptionsItemSelected to BaseActivity ( #2059 )
...
* move onOptionsItemSelected to BaseActivity
* revert change in ComposeActivity
2021-01-31 20:27:02 +01:00
Konrad Pozniak
54a0d5406a
Remove search v1 ( #1484 )
...
* remove search v1, convert MastodonApi to Kotlin
* format MastodonApi nicely
* use default params in ConversationRepository
* improve code for LoginActivity
2019-09-22 08:18:44 +02:00
Konrad Pozniak
ce84233c4e
fix crash in FiltersActivity ( #1409 )
2019-07-25 12:17:52 +02:00
Konrad Pozniak
707f3e605c
fix build warnings ( #1331 )
2019-06-24 22:15:31 +02:00
Levi Bard
46efdf7830
Add the 'whole word' setting to the filter preferences UI ( #1278 )
2019-06-24 10:11:25 +02:00
Konrad Pozniak
ef66deeae7
fix some lint warnings
2019-04-21 08:24:29 +02:00
Konrad Pozniak
4facdc9b68
error handling in FiltersActivity ( #1180 )
2019-04-07 16:33:08 +02:00
Levi Bard
5135daad2c
Share filters with web client ( #956 )
...
* First step toward synchronized content filters
* Add simple filter management UI
* Remove old regex filter UI
* More cleanup
* Escape filter phrases when applying them via regex
* Apply code review feedback
* Fix live timeline update when filters change
2019-03-20 19:25:26 +01:00