Commit Graph

1244 Commits

Author SHA1 Message Date
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
HellPie c62b523152 Update notification fragment logging to simplify null checks 2018-09-04 08:51:17 +02:00
HellPie 40ae45e126 Update UI of statuses to show a taller collapsible button 2018-09-03 20:24:23 +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
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
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
HellPie a0a41ca08f Update Gradle plugin to work with Android Studio 3.3 Canary
Android Studio 3.1.4 Stable doesn't render layout previews in this project
for whatever reason. Switching to the latest 3.3 Canary release fixes the
issue without affecting Gradle scripts but requires the new Android Gradle
plugin to match the new Android Studio release.

This commit will be reverted once development on the feature is done.
2018-08-30 17:25:29 +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
ButterflyOfFire 1f75ef7b2b Fixing typo in arabic. (#802) 2018-08-25 00:01:58 +02:00
Conny Duck a8bd468190 dont load header images in their full size 2018-08-24 23:13:28 +02:00
Conny Duck 4845a54821 Release 48 2018-08-24 20:38:34 +02:00
Conny Duck 1fef8c0c2b fix crash in NotificationsFragment when Preferences are first accessed
fixes #797
2018-08-24 19:47:27 +02:00
Conny Duck d1630d11bd update screenshot 2018-08-24 19:42:48 +02:00
Conny Duck 218dc07b85 Release 47 2018-08-23 21:11:29 +02:00
Conny Duck 8a1ac685c8 fix activity transitions (this time for real) 2018-08-23 21:06:49 +02:00
Levi Bard bfb82bb10c Separate saved draft visibility from default reply visibility: #772 (#787) 2018-08-23 20:50:50 +02:00
Konrad Pozniak e89f8cf3ee
wait for EmojiCompat to be initialized before using it (#791) 2018-08-23 20:44:25 +02:00
Konrad Pozniak 791a87e7a1
fix repeating toots in timelines (#789) 2018-08-22 21:19:56 +02:00
Konrad Pozniak 4653b1e37b
fix notification tab loading (#777)
* fix progressbars of footer and fragment overlapping

* add progressbar to bottom of notification list again

* fix bottom loading getting stuck sometimes
2018-08-22 21:18:56 +02:00
Basix 4d16514851 Added Korean Translation (#783)
* Added Korean Translation

* Edited translation errors discovered by @Kjwon15

https://github.com/tuskyapp/Tusky/pull/782#pullrequestreview-147631374

* Removed a slash at line 43

https://github.com/tuskyapp/Tusky/pull/783#discussion_r211258208
2018-08-20 21:28:20 +02:00
Óliver García Albertos a6ded17e06 values-es: Update translations (#785) 2018-08-20 21:27:27 +02:00
Konrad Pozniak 268ebb55f0 fix bug where addField button was enabled when it should not be
in EditProfileActivity
2018-08-20 14:49:23 +02:00
Konrad Pozniak 440a351e06 fix AccountActivity recreating after rotation 2018-08-20 10:11:36 +02:00
Evgeny Petrov 7369a82b26 [Ru] string hotfix (#775)
Changed the wrong form of "black" theme string
2018-08-19 12:17:09 +02:00
Quentí dbbc1e406f Update Occitan translation (#776) 2018-08-19 12:16:56 +02:00
Konrad Pozniak ca1bbb3112 Release 46 2018-08-18 13:35:20 +02:00