kyori19
004a9b4921
Merge remote-tracking branch 'tuskyapp/develop'
2022-11-12 04:35:49 +09:00
Benjamin Stürmer
a64dee9be0
#2072 : hide add reaction when limit is reached ( #2766 )
...
* #2072 : hide add reaction when limit is reached
* use extensions function for show/hide view
* fix condition :(
2022-11-07 20:10:49 +01:00
kyori19
57aab71b0e
Merge remote-tracking branch 'tuskyapp/develop'
...
# Conflicts:
# app/build.gradle
# app/src/main/java/com/keylesspalace/tusky/SplashActivity.kt
# app/src/main/java/com/keylesspalace/tusky/adapter/StatusDetailedViewHolder.java
# app/src/main/java/com/keylesspalace/tusky/components/compose/ComposeViewModel.kt
# app/src/main/java/com/keylesspalace/tusky/components/compose/MediaUploader.kt
# app/src/main/java/com/keylesspalace/tusky/components/conversation/ConversationViewHolder.java
# app/src/main/java/com/keylesspalace/tusky/components/search/SearchViewModel.kt
# app/src/main/java/com/keylesspalace/tusky/components/timeline/TimelineTypeMappers.kt
# app/src/main/java/com/keylesspalace/tusky/components/timeline/viewmodel/CachedTimelineViewModel.kt
# app/src/main/res/layout/activity_main.xml
# app/src/main/res/values-cs/strings.xml
# app/src/main/res/values-de/strings.xml
# app/src/main/res/values-fa/strings.xml
# app/src/main/res/values-fr/strings.xml
# app/src/main/res/values-hu/strings.xml
# app/src/main/res/values-it/strings.xml
# app/src/main/res/values-no-rNB/strings.xml
# app/src/main/res/values-zh-rCN/strings.xml
2022-07-16 02:51:51 +09:00
Konrad Pozniak
e1c8461423
replace kotlin-result-calladapter with networkresult-calladapter ( #2569 )
...
* replace kotlin-result-calladapter with networkresult-calladapter
* fix tests
2022-05-30 20:03:40 +02:00
kyori19
95a1f5632b
Merge remote-tracking branch 'tuskyapp/develop'
2022-05-01 19:54:22 +09:00
kyori19
6c630e08dd
Merge remote-tracking branch 'tuskyapp/develop'
2022-04-24 16:42:54 +09:00
Konrad Pozniak
adcbe1a831
fix unparsed html in announcements ( #2451 )
2022-04-21 18:47:05 +02:00
Konrad Pozniak
d2bfceae7b
refactor compose & announcements to coroutines ( #2446 )
...
* refactor compose & announcements to coroutines
* fix code formatting
* add javadoc to InstanceInfoRepository
* fix comments in ImageDownsizer
* remove unused Either extensions
* add explicit return type for InstanceInfoRepository.getEmojis
* make ComposeViewModel.pickMedia return Result
* cleanup code in ImageDownsizer
2022-04-21 18:46:21 +02:00
Konrad Pozniak
3e8c6a318a
introduce KotlinResultCallAdapter for nice suspending network calls ( #2415 )
...
* introduce KotlinResultCallAdapter for nice suspending network calls
* fix tests
2022-04-14 19:49:49 +02:00
kyori19
ba005c769b
Merge remote-tracking branch 'tuskyapp/develop'
2022-03-04 17:51:25 +09:00
Levi Bard
7114575497
Instance configuration: the easy parts ( #2341 )
...
* Add data model for instance configuration
* Support instance.configuration.statuses.max_characters
* Support instance.configuration.statuses.characters_reserved_per_url
* Support instance.configuration.polls.max_options and max_characters_per_option
* Pacify ktlint
* Support instance-configured poll durations
* Fixup versions for migration after rebase
2022-03-01 19:43:36 +01:00
Konrad Pozniak
f7dfffa762
merge ModalTimelineActivity & ViewTagActivity into StatusListActivity ( #2332 )
...
* Rename .java to .kt
* merge ModalTimelineActivity & ViewTagActivity into StatusListActivity
* fix crash when opening hashtag
2022-02-25 18:57:31 +01:00
Levi Bard
addce87eb6
Use tags from status when adding handlers to hashtag spans in status content ( #2344 )
...
* Migrate LinkHelper to kotlin
* Support tags field on statuses
* Use embedded tags list in status instead of text scraping to embed tag click handler.
Fixes #2283
* Make mentions and tags lists nonnullable
* Make LinkHelper.openLink a Context extension method
* Use builtin extension for uri conversion
* More cleanup in LinkHelper
* Add tests for LinkHelper.getDomain
* Unbreak tags in places that don't have a tag list (e.g. profiles)
* Fixup javadoc
2022-02-25 18:56:21 +01:00
Konrad Pozniak
db1cc02fb8
Fix announcement reactions ( #2311 )
...
* fix size of announcement reactions
* fix announcement reactions not updating correctly
* remove unused code
* improve code
* remove unused imports
2022-02-05 19:13:05 +01:00
Konrad Pozniak
c3da6f901f
display custom emoji in announcements ( #2310 )
2022-02-02 21:43:16 +01:00
kyori19
2005b32dfa
Merge remote-tracking branch 'tuskyapp/develop'
2021-07-03 23:59:57 +09: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
Konrad Pozniak
e032d38d56
fix LiveData nullability issues ( #2181 )
2021-05-31 15:16:07 +02:00
Konrad Pozniak
40b24cd242
migrate to RxJava3 ( #2146 )
...
* migrate to RxJava3
* remove unused import
2021-05-16 19:53:27 +02:00
kyori19
609dcf46cb
Merge remote-tracking branch 'tuskyapp/develop'
2021-04-28 11:54:29 +09:00
Konrad Pozniak
fc4b47aee4
migrating to ViewBinding part 4: Adapters ( #2095 )
2021-03-07 19:24:01 +01:00
Konrad Pozniak
ff69a2ad0d
migrating to ViewBinding part 2: Activities ( #2093 )
2021-03-07 19:05:51 +01:00
kyori19
a746009f74
Merge remote-tracking branch 'tuskyapp/develop'
2021-03-04 15:08:48 +09:00
Alibek Omarov
9580870445
Animated emoji support ( #2064 )
...
* Animated emoji support
* Try to query preference only once
* Revert to using SpannableStringBuilder
2021-02-06 08:14: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
kyori19
d5f5c0b695
Use Jsoup to hide quote link
2021-01-10 13:40:02 +09:00
kyori19
2ea8ee6bc8
Merge remote-tracking branch 'tuskyapp/develop'
2020-12-31 09:35:22 +09:00
Garrit Franke
0fbb4e9713
Wellbeing mode ( #1992 )
...
* Add wellbeing mode settings toggle
* Translate wellbeing mode string to german
* Disable fav/boost count on toots if wellbeing is enabled
* Hide follow/post stats on profiles
* Reload notifications when wellbeing mode is toggled
* Add wellbeing mode explainer dialog
* Move wellbeing filter timeline into own category
* Add toggles for quantitative stats
* Hide announcement badge counts if wellbeing is enabled
* Move fetching of wellbeing setting to activity
* Add wellbeing option to statusDisplayOptions
* Update post filters for all accounts
* Remove local translations
* Revert "Remove local translations"
This reverts commit e92e636a5c759b09649174ab68ec91bc13680287.
* Remove german translations
2020-12-23 19:13:37 +01:00
kyori19
ea822004dd
Merge remote-tracking branch 'tuskyapp/develop'
2020-12-16 23:47:26 +09:00
Levi Bard
3c93804751
Fix links in announcements. ( #2011 )
...
Fixes #2008
2020-12-04 17:35:51 +01:00
Konrad Pozniak
34fb546200
upgrade dependencies ( #1990 )
...
* upgrade dependencies
* fix tests
2020-11-22 19:02:54 +01:00
kyori19
fef4b8b07f
[needs help] Support announcements ( #1977 )
...
* Implement announcements activity
* Update reactions without api access
* Add badge style
* Use emptyList() as default parameter
* Simplify newIntent
* Use List instead of Array
* Remove unneeded ConstraintLayout
* Add lineSpacingMultiplier
* Fix wording
* Apply material design's default chip style
* Dismiss announcements automatically
2020-11-18 21:12:27 +01:00