HellPie
f66d689c57
Merge branch 'master' into feature_collapse_status
2018-09-10 12:33:45 +02:00
Conny Duck
669153089a
dont hold whole file content in memory when uploading media
2018-09-10 10:00:06 +02:00
Conny Duck
90ef078dd0
update media limits for Mastodon 2.5
2018-09-10 10:00:06 +02:00
Conny Duck
51d231834c
Merge branch 'AbsoluteTime' of https://github.com/kyori19/Tusky into kyori19-AbsoluteTime
...
# Conflicts:
# app/src/main/java/com/keylesspalace/tusky/adapter/NotificationsAdapter.java
2018-09-09 21:48:01 +02:00
HellPie
16ceb60a28
Remove debug build suffix as per request
2018-09-06 00:05:05 +02:00
HellPie
7cddab41d9
Fix spannable losing spans when collapsed and restore length to 500 characters
2018-09-05 23:59:13 +02:00
HellPie
ba7ccf97de
Fix thread view showing button but not collapsing by implementing the feature
2018-09-05 23:05:23 +02:00
HellPie
b2dbd16678
Fix posts with show more button even if bad ratio didn't collapse
2018-09-05 22:47:31 +02:00
HellPie
0d83ff9c5e
Add smartness to SmartLengthInputFilter such as word trimming and runway
2018-09-05 22:38:36 +02:00
Isak Holmström
7134423a05
[SV] Translation: Removed nsfw and replaced it with "sensitive content" ( #836 )
...
* Updated with new strings, added new translations for mute
* Changed from nsfw to sensitive content
2018-09-05 21:29:39 +02:00
Conny Duck
e86689013d
Release 49
2018-09-04 19:06:04 +02:00
Conny Duck
2436099d35
fix links with uppercase letters in scheme not being opened
...
closes #801
2018-09-04 18:43:06 +02:00
qwazix
d49502f798
Make page margin to truly black for tablets. ( #834 )
2018-09-04 18:35:17 +02:00
HellPie
c62b523152
Update notification fragment logging to simplify null checks
2018-09-04 08:51:17 +02:00
Conny Duck
a57b354247
Merge remote-tracking branch 'origin/master'
2018-09-03 21:29:26 +02:00
Conny Duck
f72e08cae4
fix crash in notifications fragment, save account only when notificationid changed
2018-09-03 21:23:12 +02:00
Konrad Pozniak
aac63441d7
fix image preview rotation in ComposeActivity ( #831 )
2018-09-03 20:26:35 +02:00
HellPie
40ae45e126
Update UI of statuses to show a taller collapsible button
2018-09-03 20:24:23 +02:00
Konrad Pozniak
0b3bee0d15
fix account switching when offline/error ( #830 )
2018-09-03 20:16:12 +02:00
HellPie
3c6648b12f
Add an input filter utility class to reuse code for trimming statuses
2018-09-03 16:08:23 +02:00
HellPie
6891e55b60
Revert a0a41ca
and 0ee004d
(Android Studio 3.1 to Android Studio 3.3 updates)
2018-09-03 13:36:02 +02:00
Conny Duck
5131c44e93
fix empty message view showing/hiding at the wrong times
2018-09-02 13:23:36 +02:00
HellPie
d3d72f2e50
Update even more code with even more suggested code changes
2018-08-31 22:36:27 +02:00
HellPie
07dce8c4d1
Update more code with more suggestions and move null-safety into view data
2018-08-31 22:20:48 +02:00
HellPie
d5d57aae04
Update codebase with some suggested changes by @charlang
2018-08-31 22:06:58 +02:00
Konrad Pozniak
28c1c90a98
fix account list loading and clean up a lot of code ( #823 )
...
* fix account list loading and clean up a lot of code
* remove ACCESS_COARSE_LOCATION for API levels 23+
* small improvements
2018-08-31 21:52:09 +02:00
Conny Duck
ca881af7c5
add missing libraries to libraries screen
2018-08-31 20:40:56 +02:00
Conny Duck
ff4a8ff4b8
update deps
2018-08-31 20:40:40 +02:00
HellPie
f1c71de19a
Add support for expandable content to notifications too
2018-08-31 05:20:35 +02:00
HellPie
d64573de8c
Add support for collapsed statuses to search results
2018-08-31 05:19:56 +02:00
HellPie
4dbed269f3
Add toggle support to notification layout as well
2018-08-31 05:10:43 +02:00
HellPie
ff659f1ee8
Fix view holder truncating posts using temporary debug settings at 50 chars
2018-08-31 04:52:04 +02:00
HellPie
215b47809c
Add support for status content collapse in timeline viewholder
2018-08-31 04:47:50 +02:00
HellPie
2889797d8c
Update timeline fragment to refresh the list when collapsed settings change
2018-08-31 04:47:15 +02:00
HellPie
6e2de07845
Fix item status text for collapsed toggle being shown in the wrong state
2018-08-31 04:45:09 +02:00
HellPie
95976d6869
Fix timeline breaking due to newly introduced variables in utils classes
2018-08-31 02:17:56 +02:00
HellPie
73dc85a115
Fix search breaking due to newly introduced variables in utils classes
2018-08-31 02:16:31 +02:00
HellPie
472effd4a0
Update data models and utils for statuses to better handle collapsing
...
I forgot that data isn't available from the API and can't really be built
from scratch using existing data due to preferences.
A new, extra boolean should fix the issue.
2018-08-31 02:13:31 +02:00
HellPie
0ee004d78d
Update Gradle plugin to work with latest Android Studio 3.3 Canary 8
...
Just like the other commit, this will be reverted once the feature is working.
I simply don't want to deal with what changes in my installation of Android
Studio 3.1.4 Stable which breaks the layout preview rendering.
2018-08-31 00:46:54 +02:00
HellPie
f66664a8a2
Add preferences so that users can toggle the collapsing of long posts
...
This is currently limited to a simple toggle, it would be nice to implement
a more advanced UI to offer the user more control over the feature.
2018-08-30 22:44:51 +02:00
HellPie
b41599e6d5
Add implementation code to handle status collapse/expand in timeline
...
Code has not been added elsewhere to simplify testing.
Once the code will be considered stable it will be also included in other
status action listener implementers.
2018-08-30 21:32:27 +02:00
HellPie
3930555800
Update status action listener to notify of collapsed state changing
...
Provide stubs in all implementing classes and mark as TODO the stubs that
require a proper implementation for the feature to work.
2018-08-30 21:21:13 +02:00
HellPie
bdf0264c56
Update status data model to store whether the message has been collapsed
2018-08-30 21:11:13 +02:00
HellPie
6b1ec083b7
Add UI changes to support collapsing statuses
...
The button uses subtle styling to not be distracting like the CW button on the timeline
The button is toggleable, full width to match the status textbox hitbox width and also
is shorter to not be too intrusive between the status text and images, or the post below
2018-08-30 17:55:23 +02:00
HellPie
8f6c327cc7
Update gradle build script to allow installing debug builds alongside store version
...
This will allow developers, testers, etc to work on Tusky will not having to worry
about overwriting, uninstalling, fiddling with a preinstalled application which would
mean having to login again every time the development cycle starts/finishes and
manually reinstalling the app.
2018-08-30 17:39:50 +02:00
Conny Duck
a0b626bff0
remove ACCESS_COARSE_LOCATION for API levels 23+
2018-08-29 22:20:23 +02:00
Conny Duck
90c6eb1f3c
improve wording of "always show sensitive media" setting title
2018-08-29 19:16:41 +02:00
Conny Duck
cef4c6053d
correctly hide the loading indicator when instance returns an error on login
2018-08-28 18:47:12 +02:00
Konrad Pozniak
b579a9baea
fix notification tab loading bottom notifications forever ( #807 )
2018-08-26 21:10:38 +02:00
Conny Duck
1d28f4728f
fix crash in EditProfileViewModel
2018-08-26 12:41:26 +02:00