Commit graph

1479 commits

Author SHA1 Message Date
Frieder Bluemle
d45c024143 Fix line endings in spellcheck.xml 2019-02-26 18:34:29 +01:00
INAGAKI Hiroshi
3d021d4e80 l10n: update Japanese translation (#1079)
Synchronized values-ja/strings.xml with values/strings.xml and added
translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-02-26 18:32:46 +01:00
Ivan Kupalov
15b441b180 Fix resizing image uniformly when opening an image (#1076) 2019-02-26 18:32:15 +01:00
Konrad Pozniak
5ee78e68ba
remove unnecessary divider styling (#1057) 2019-02-26 18:28:20 +01:00
Conny Duck
744daa052d Release 55 2019-02-22 17:15:33 +01:00
Conny Duck
72d15f341d fix crash on Android 5 2019-02-22 16:58:13 +01:00
Conny Duck
8e98f872d5 Release 54 2019-02-21 18:46:37 +01:00
Bernd
bbd37c6cd4 Fix Crash (#1066)
* fix possible npe

* Update ConversationViewHolder.java

* revert unneded changes
2019-02-20 18:49:03 +01:00
Konrad Pozniak
1621c1e689
fix crash in AccountListFragment (#1065)
* fix crash in AccountListFragment

* remove unnecessary subscribeOn
2019-02-20 18:42:18 +01:00
Konrad Pozniak
7f99f936d1
New translations strings.xml (Dutch) (#1063)
* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)

* New translations strings.xml (Dutch)
2019-02-19 23:01:20 +01:00
Mihai Boisteanu
d150cebcd0 Fixed sharing files doesn't return control after posting (#1062) 2019-02-19 20:56:13 +01:00
Konrad Pozniak
0bb9c0717f
New Crowdin translations Hungarian and Turkish (#1058)
* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Hungarian)

* New translations strings.xml (Turkish)
2019-02-18 15:40:00 +01:00
Konrad Pozniak
8201f2539d
fix close button behavior in ComposeActivity (#1056) 2019-02-17 20:50:06 +01:00
Konrad Pozniak
fd3226d244
fix crash when opening a thread in the browser (#1053)
* fix crash when opening a Thread in the browser

* avoid redundant actionableStatus.getActionableId()
2019-02-17 19:09:30 +01:00
Konrad Pozniak
2ec17bbb1b
New translations strings.xml (French) (#1054) 2019-02-17 18:35:10 +01:00
tsdgeos
30436872ab ca: Fix typo: multimètida -> multimèdia (#1050)
Fixes #1048
2019-02-17 14:20:06 +01:00
Conny Duck
fc6029da72 Release 53 2019-02-16 16:57:53 +01:00
Conny Duck
88ce1a1d79 fix boost/fav count resetting after boosting a detailed status 2019-02-16 15:53:56 +01:00
Conny Duck
83dc45be35 fix ConcurrentModificationException when sorting accounts 2019-02-16 14:49:17 +01:00
Konrad Pozniak
d371074d2a
fix statuses collapsing when faving/boosting in ViewThreadFragment (#1047) 2019-02-16 14:35:06 +01:00
Ondřej Hruška
fcc67c6918 Fix large image attachments not showing (#1043)
* fix for too large image attachments not fitting into GL texture

* Don't use context!!
2019-02-16 14:31:41 +01:00
Evgeny Petrov
1805caaef7 Fixed typo in SwitchPreference (#1046) 2019-02-15 22:48:27 +01:00
Evgeny Petrov
35255f10c4 Russian language updated: (#1044)
* Russian language updated:

• Added strings for tabs customization.
• Added strings for Likes/Boosts counters.
• Added strings for external open/share.
• Some other fixes and additions.

* Added missing "maximum tabs reached" string.

* Small change to "hide compose button" string
2019-02-15 22:24:44 +01:00
Evgeny Petrov
9af3606daa Change CheckboxPreference to SwitchPreference, so that long lines show properly. (#1045) 2019-02-15 22:18:39 +01:00
Conny Duck
f4ac9b3da6 make max tabs reached message translateable 2019-02-15 21:35:14 +01:00
Konrad Pozniak
27cf5f5380
call db functions on background thread in ConversationsViewModel (#1040)
* call db functions on background thread in ConversationsViewModel

* use stable library versions
2019-02-15 20:41:10 +01:00
Conny Duck
9089a2831c update german translation 2019-02-15 17:45:07 +01:00
aka-rin
e8f1739add Update Chinese translations (#1039)
* Update zh-CN translations for Tusky 5.0.

Can't wait any more!

* Fix a period in zh-CN translations.

* Update zh-SG translations for Tusky 5.0

* Update zh-TW translations for Tusky 5.0

* Update zh-HK translations for Tusky 5.0

* Update zh-MO translations for Tusky 5.0
2019-02-15 17:29:07 +01:00
Konrad Pozniak
fdc66288b1
Fix crash with null lastStatus in Conversations (#1042) 2019-02-13 21:14:12 +01:00
Konrad Pozniak
fe1e9f4100
delete conversation cache on logout (#1037)
* delete conversation cache on logout

* use correct threading method
2019-02-13 19:21:04 +01:00
Konrad Pozniak
fc95903866
call db operation on background thread in TabPreferenceActivity (#1036) 2019-02-13 19:20:43 +01:00
Konrad Pozniak
6c93555ad0
remove unneeded instance id from db cache (#1035)
* remove unneeded instance id from db cache

* fix TimelineDAOTest

* fix TimelineRepositoryTest
2019-02-13 19:20:31 +01:00
Konrad Pozniak
e371fa0e24
Tab customization & direct messages tab (#1012)
* custom tabs

* custom tabs interface

* implement custom tab functionality

* add database migration

* fix bugs, improve ThemeUtils nullability handling

* implement conversationsfragment

* setup ConversationViewHolder

* implement favs

* add button functionality

* revert 10.json

* revert item_status_notification.xml

* implement more menu, replying, fix stuff, clean up

* fix tests

* fix bug with expanding statuses

* min and max number of tabs

* settings support, fix bugs

* database migration

* fix scrolling to top after refresh

* fix                                 bugs

* fix warning in item_conversation
2019-02-12 19:22:37 +01:00
Konrad Pozniak
adf573646e
use the correct settings in SearchFragment (#1034) 2019-02-11 21:24:43 +01:00
Conny Duck
683b06a35d upgrade deps, fix some lint warnings 2019-02-11 16:59:01 +01:00
Conny Duck
eeaadea905 Revert "Generalize url scheme parsing/highlighting (#1008)"
This reverts commit 85610a8311.
2019-02-11 14:43:57 +01:00
Conny Duck
85593b519b fix share chooser dialog design 2019-02-08 17:42:55 +01:00
Levi Bard
d5173c2268 Add support for selecting account when sharing from outside apps (#1011)
* Add direct-share support (API 23+)

* Add account selection dialog for non-direct sharing
2019-02-06 10:23:02 +01:00
marcin mikołajczak
e98c7ac435 i18n: Update Polish translation🇵🇱 (#1029)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2019-02-05 20:13:09 +01:00
lenchan139
5876fbeb29 Attach subject when composing with shared content from other apps (#1020)
* +attach subject when composing with shared content from other apps

* Update strings.xml

* Update preferences.xml

* Update strings.xml

* remove option for add subject of shared to composeActivity

* Update preferences.xml
2019-02-05 20:12:37 +01:00
Ivan Kupalov
63952813c8 Fix incorrectly incrementing IDs before sending to server. (#1026)
* Fix incorrectly incrementing IDs before sending to server.

* Add TimelineRepositoryTest, fix adding placeholder, fix String#dec()

* Add more TimelineRepository tests, fix bugs

* Add tests for adding statuses from DB.
2019-02-05 20:06:00 +01:00
Levi Bard
85610a8311 Generalize url scheme parsing/highlighting (#1008)
* Add support for highlighting dat, ssb, ipfs url schemes. #847

* Generalize scheme parsing for url highlighting. #847

* Migrate LinkHelper to kotlin
2019-02-05 19:55:28 +01:00
Ivan Kupalov
22ee1dc5df Fix IDs (#1016)
* Allow any String IDs as long as they're sortable

* Allow any String IDs as long as they're sortable
2019-01-31 19:03:34 +01:00
Ivan Kupalov
87364edd98 Fix empty state for account media, fix tablets (#1018) 2019-01-31 18:31:15 +01:00
Konrad Pozniak
6b7ca5d184
fix autocomplete of usernames (#1019) 2019-01-30 22:10:05 +01:00
Ivan Kupalov
c0c73f5c06 Error artwork (#1000)
* Add new Elephant Friend images. Use them in ListsActivity.

* Add error images to AccountListFragment

* Add error images to Timeline & Notifications fragment. Needs rework.

* Introduce BackgroundMessageView. Use it in AccountList.

* Use correct button style for BackgroundMessageView

Co-Authored-By: charlag <charlag@tutanota.com>

* Use BackgroundMessageView

* Add BackgroundMessageView docs

* Re-color and document elephants

* Apply feedback, disable refresh when error is shown

* Fix string typo
2019-01-28 19:02:31 +01:00
Sylke Vicious
6e610b1d9d Updated italian translation (#1010)
* Updated italian translation

* Updated italian translation

* Fix for CircleCI failing test

* Updated italian translation
2019-01-28 11:05:42 +01:00
Ivan Kupalov
ce80b0c663 Fix crash in media tab, fix #1005 (#1007) 2019-01-28 11:05:13 +01:00
Ivan Kupalov
a3ee13d767 Add hashtag autocompletion, closes #769 (#1001)
* Add hashtag autocompletion, closes #769

* Apply review feedback
2019-01-28 11:04:05 +01:00
kyori19
96162ab544 Add pinned status tab (#994)
* Add pinned status tab

* Make TabLayout scrollable.
2019-01-21 08:37:25 +01:00
Konrad Pozniak
fe535c2e0c
never use 0 account ids to prevent caching problems (#999) 2019-01-19 21:14:23 +01:00
Levi Bard
8014b1296d Ensure that the right account is shown as selected after performing "Open as". #992 (#996) 2019-01-18 18:08:11 +01:00
Levi Bard
6252204dd5 Add character counter to profile bio field. #881 (#991) 2019-01-17 22:15:06 +01:00
Levi Bard
91fba293f2 Implement "Open status as (another account)" #958 (#988) 2019-01-16 20:50:09 +01:00
Levi Bard
922f165f95 Ensure that query/fragment/etc. don't get embedded into local filenames (#989)
when downloading #886
2019-01-15 20:57:13 +01:00
Conny Duck
71fb4db915 fix proguard issue 2019-01-15 20:53:38 +01:00
Conny Duck
fa0ee82fe4 fix build 2019-01-14 22:29:12 +01:00
Ivan Kupalov
3ab78a19bc Caching toots (#809)
* Initial timeline cache implementation

* Fix build/DI errors for caching

* Rename timeline entities tables. Add migration. Add DB scheme file.

* Fix uniqueness problem, change offline strategy, improve mapping

* Try to merge in new statuses, fix bottom loading, fix saving spans.

* Fix reblogs IDs, fix inserting elements from top

* Send one more request to get latest timeline statuses

* Give Timeline placeholders string id. Rewrite Either in Kotlin

* Initial placeholder implementation for caching

* Fix crash on removing overlap statuses

* Migrate counters to long

* Remove unused counters. Add minimal TimelineDAOTest

* Fix bug with placeholder ID

* Update cache in response to events. Refactor TimelineCases

* Fix crash, reduce number of placeholders

* Fix crash, fix filtering, improve placeholder handling

* Fix migration, add 8-9 migration test

* Fix initial timeline update, remove more placeholders

* Add cleanup for old statuses

* Fix cleanup

* Delete ExampleInstrumentedTest

* Improve timeline UX regarding caching

* Fix typos

* Fix initial timeline update

* Cleanup/fix initial timeline update

* Workaround for weird behavior of first post on initial tl update.

* Change counter types back to int

* Clear timeline cache on logout

* Fix loading when timeline is completely empty

* Fix androidx migration issues

* Fix tests

* Apply caching feedback

* Save account emojis to cache

* Fix warnings and bugs
2019-01-14 22:05:08 +01:00
kyori19
75158a3aa0 Fix typo (#987)
* Optimize imports

* Fix typo in 'replyingStatusAuthor'
2019-01-14 21:57:22 +01:00
Ivan Kupalov
fb83d086d1 Fix unnecessary reloading of notifications (#984)
This removes topId as it is not needed and just plainly uses status id
if needed. During initial loading of notifications topId/bottomId are
not set so we ended up reloading everything.
2019-01-11 22:07:40 +01:00
Konrad Pozniak
15af80c5a0
fix mentions and more menu after a fresh login (#986) 2019-01-11 22:07:25 +01:00
Konrad Pozniak
15ca16e06f
fix long toots not collapsing correctly in timelines (#976) 2019-01-11 20:05:15 +01:00
Ivan Kupalov
20f257c35b Fix layout issue with narrow timelines (#982) 2019-01-11 07:36:14 +01:00
Sylke Vicious
de6246a212 Updated italian translation (#979)
* Updated italian translation

* Updated italian translation

* Fix for CircleCI failing test
2019-01-10 20:42:14 +01:00
Ivan Kupalov
0300a11d1e Fix layout issue with long CWs (#978) 2019-01-10 20:41:39 +01:00
Ivan Kupalov
38c7c8c71a Rework status layouts with ConstraintLayout (#967)
* Migrate item_status_detailed layout, minimum

* Migrate item_status_detailed layout, buttons

* Migrate item_status layout, minimum + buttons

* Migrate status layouts, fix RTL, cleanup

* Fix item_status layout

* Fix item_status name layout, fix CW button

* Simplify item_status, item_status_detailed layouts with chains

* Apply statuses layout feedback
2019-01-06 10:39:42 +01:00
Konrad Pozniak
40346ff304 fix multiline account field alignment 2018-12-29 18:37:12 +01:00
Konrad Pozniak
5e6a4ae93d fix radiobutton size in compose options 2018-12-29 00:02:29 +01:00
jchmrt
30df1cf403 Set image previews correctly according to their focal points (#899)
* Add serialization of the meta-data and focus objects

These objects are added in some attachments. This commit adds data
classes which are able to serialize these (partially) in preparation
for the ability to honour the focal point information in image
previews.

* Implement correctly honouring the focal point meta-data in previews

This commit adds code which ensures that the image previews of media
attachments to toots are correctly cropped to always show the focal
point of the image (if it is specified). It should not in any way
influence how previews of media without a focal point are shown.

To achieve the correct crop on the image a few components were
needed:

First of all we needed a way to influence how the image is cropped
into the ImageView. It turns out that the preferred way to do this is
by setting the ScaleType to MATRIX and adjusting the matrix of the
image as needed. This matrix allows us to scale and transform the
image in the way we need to make sure that the focal point is visible
within the view. For this purpose we have the FocalPointEnforcer which
can calculate and set the appropriate matrix on an ImageView as soon
as the image is loaded.

However a second problem is that we need to make sure that this matrix
is updated whenever the size of the ImageView changes. The size might
change for example because the orientation of the device changed from
portrait to landscape or vice versas, or for a number of other reasons
such as the screen being split vertically or something like that.

To be able to hook onto this event we need to create a new extended
version of the ImageView class, which we call
MediaPreviewImageView. This class behaves exactly the same as a normal
ImageView, however if the focalPointEnforcer of this view is set, then
it will call this enforcer to update the image matrix any time the
size is changed.

So this commit changes all media previews in the item_status.xml and
item_status_detailled.xml layout files to the new
MediaPreviewImageView class. Additionally in the code for loading the
images into the previews a new case is added which tests if there is a
focus attribute in the meta-data. If so it makes sure to create and
set the FocalPointEnforcer.

* Fix typos in documentation comment

"to" -> "too"

* Use static imports to remove clutter in FocalPointEnforcerTest

Instead of duplication Assert. in front of every assertEquals, simply
statically import it.

* Move the MetaData and Focus classes into the Attachment class

Since they are very strongly linked to the attachment class and are
themselves very small.

* Refactor the focal point handling code

- All the code modifying the actual members of the
  MediaPreviewImageView is now in this class itself. This class still
  uses the FocalPointUtil to calculate the new Matrix, but it now
  handles setting this new Matrix itself.

- The FocalPointEnforcer has been renamed to the FocalPointUtil to
  reflect that it only calculates the correct matrix, but doesn't set
  anything on the MediaPreviewImageView.

- The Matrix used to control the cropping of the
  MediaPreviewImageViews is now only allocated a single time per view
  instead of each time the view is resized. This is done by caching
  the Matrix and passing it to the FocalPointUtil to update on each
  resize.

* Only reallocate focalMatrix if it is not yet initialized

This helps prevent unnecessary allocations in the case where
setFocalPoint is called multiple times.

* Change checking of availability of objects to use != null

As pointed out, the 'is' keyword is meant for checking types, not for
checking non-nullness.

* Make updateFocalPointMatrix() return nothing

This makes it clearer that it actually mutates the matrix it is
given.

* Fix bug with transitions crashing the PhotoView

Due to the android transitions for some reason copying the scaletype
from the MediaPreviewImageView to the PhotoView during the transition,
the PhotoView would crash on pictures with a focal point, since
PhotoView doesn't support ScaleType.MATRIX.

This is solved by the workaround of overriding both the getScaleType
and setScaleType methods to ensure that we use the MATRIX type in the
preview and the center_crop type in the PhotoView.

Additionally this commit also makes sure to remove the focal point
when the MediaPreviewImageView is recycled.

* Fix bug in overriden getScaleType

Instead of simply returning the scaleType we need to return the
super.getScaleType() method, to avoid crashing.

* Merge changes from master

Mainly the migration to androidx.
2018-12-28 16:32:07 +01:00
Pellaeon Lin
675e90e508 Update zh-rTW translation (#930)
* Update zh-rTW translation

* Add missing translation

* Copy zh-rTW strings to HK and MO for now, per @connyduck 's request
https://github.com/tuskyapp/Tusky/pull/930#issuecomment-450240996

Note that this should not be the final solution, HK and MO should be
able to understand the TW variant, but they're still different.
2018-12-28 15:39:02 +01:00
Konrad Pozniak
cd6766c261
hide toot content TextView when its empty (#969) 2018-12-27 22:32:14 +01:00
Konrad Pozniak
c04bcc26d5 fix AccountActivity tabs on tablets 2018-12-27 22:31:42 +01:00
Konrad Pozniak
c869886c19
add the ability to see who faved or boosted a toot (#962)
* move reblog/fav count up in detailed status view and make them clickable

* use status object returned by api when reblogging/faving

* Reblogs -> Boosts

* add support for viewing who faved/reblogged a status

* add onShowReblogs/onShowFavs to listener, fix display bug

* remove unneeded icon from previous revision

* small code improvements

* fix liking/boosting toot with card
2018-12-27 09:48:24 +01:00
Mostafa Ahangarha
4864bb79d9 Improved Persian translation (#965)
I have made these two thing:

- Made several modification to make the existing translation improved
- Added missing stings
2018-12-25 20:07:20 +01:00
Mostafa Ahangarha
6cd7a1ab8e Improve RTL support (#964)
By making these changes, texts in relevant pages will appear currectly
in RTL layout.
2018-12-25 20:07:03 +01:00
Ivan Kupalov
bac15c42bd Export Room schemes (#963) 2018-12-25 20:06:28 +01:00
kyori19
c9ce380d7a Fix wrong visibility icon(tuskyapp#901) (#960) 2018-12-20 18:25:36 +01:00
Conny Duck
f26c1718c9 update deps 2018-12-18 22:05:33 +01:00
Conny Duck
e054edc69d remove more Kotlin null check methods from release bytecode 2018-12-17 23:36:59 +01:00
Conny Duck
c7f231419e fix weird resizing of ComposeActivity when emojis are loaded on tablets 2018-12-17 21:58:52 +01:00
Conny Duck
0beeeb0f70 fix inconsistent post_privacy_names strings in translations 2018-12-17 20:54:09 +01:00
Conny Duck
554099f79d improve dialog styling 2018-12-17 20:47:42 +01:00
Conny Duck
b92d66a5e9 exclude unneeded license files from apk 2018-12-17 19:08:32 +01:00
Conny Duck
dd8d2131f7 update proguard rules for okhttp 2018-12-17 16:01:35 +01:00
Konrad Pozniak
a445c12094
Upgrade to AndroidX, move to MaterialComponents theme (#953)
* upgrade to AndroidX, upgrade libraries

* move to MaterialComponents theme

* make sure the compose button looks good everywhere

* fix tollbar title/button alignment on tablet

* move to new material color theming, consolidate colors and themes

* fix build, fix imports

* set error on TextInputLayout instead of EditText

* fix imports, TootButton when

* improve snackbar style

* fix task description color
2018-12-17 15:25:35 +01:00
Mélanie Chauvel (ariasuni)
1c34d21a23 Display mentions toot hidden (#954)
* WIP: still display mentions when toot content is hidden

* WIP: still display mentions when toot content is hidden (2)

* Still display mentions when toot content is hidden (3)

* Factorize code for setting content and spoiler on a toot

* Factorize condition
2018-12-16 10:30:40 +01:00
Conny Duck
eb7b000cc1 fix crash when using quick compose tile 2018-12-13 22:29:12 +01:00
Conny Duck
8b00d421ef Release 52 2018-12-12 20:53:26 +01:00
Mélanie Chauvel (ariasuni)
5230bd29a6 Fix a lot of easy-to-fix warnings (#957) 2018-12-12 20:28:05 +01:00
Conny Duck
c3e5305fa2 fix another crash in ViewImageFragment 2018-12-12 19:37:18 +01:00
Conny Duck
a0c399e2cf fix crash in MediaUtils.getVideoThumbnail 2018-12-12 18:56:42 +01:00
Konrad Pozniak
73670b8576
Improve emoji picker accessibility (#944)
* set emoji shortcode as content description on ImageView

* hide bottom sheets on back press
2018-12-07 17:05:02 +01:00
Conny Duck
073c673e6d fix crash in EditProfileActivity 2018-12-06 22:34:36 +01:00
Conny Duck
f87b87bea3 close drawer when clicking on own profile and adding account
closes #948
2018-12-05 22:37:04 +01:00
Conny Duck
aae72205c3 show correct username of author when sharing toot content
closes #918
2018-12-03 15:22:51 +01:00
Conny Duck
afaaafdace add option to copy link of own toot to "more" menu
closes #928
2018-12-03 12:04:27 +01:00
Konrad Pozniak
1413a1155b
remove unnecessary compat code (#932) 2018-12-03 11:22:57 +01:00
Konrad Pozniak
8d7f879a8f
add checkmark to verified links and better constraints to account fields (#922)
* add checkmark to verified links and better constraints to account fields

* address pr feedback
2018-12-03 11:02:28 +01:00
Ivan Kupalov
19783c5aed Apply suggestions for ProgressImageView (#942) 2018-12-03 11:02:07 +01:00
dadosch
5b196556e1 Fix Typo in german translation (#943) 2018-12-03 10:52:25 +01:00
zital
7787aef6a1 Basque: orro -> tut (#936)
* orro -> tut

* orro -> tut
2018-11-30 21:14:00 +01:00
Billy Brawner
95a656dc0a Add visibility icons to detail statuses (#901)
* Add visibility icons to statuses

* Remove visibility icons from timeline statuses

* Dynamically scale visibility icon according to timestamp font size

* Remove visibility icon selection logic from Status model

* Migrate visibility icon logic to StatusDetailedViewHolder

* Simplify/improve performance of visibility icon layout

* Use text size for visibility icon size (instead of view size)

* Remove unnecessary LayoutListener

* Remove unnecessary visibilityIcon check
2018-11-28 19:46:10 +01:00
Conny Duck
9627d73f68 fix NullPointerException in ViewImageFragment 2018-11-27 21:18:21 +01:00
Conny Duck
f185c9d379 fix crash in ComposeActivity when loading no Emojis 2018-11-27 21:07:15 +01:00
Conny Duck
fed52398a6 Release 51 2018-11-26 18:52:08 +01:00
Isak Holmström
2f4d507b29 [sv] New strings translated. (#931)
* Updated with new strings, added new translations for mute

* Changed from nsfw to sensitive content

* translating new strings ++extra fixes

* Add files via upload

* [sv] New strings translated
2018-11-26 18:31:53 +01:00
Conny Duck
f5ec6b1ef7 fix NullPointerException in ViewImageFragment 2018-11-25 20:16:38 +01:00
Unai Tolosa Pontesta
12ba4747d8 Added Basque translations (#926)
* Added Basque translations

* zital

* zital
2018-11-25 19:42:50 +01:00
INAGAKI Hiroshi
d89f7c66c6 l10n: update Japanese translation (#929)
Updated Japanese translations and removed unnecessary spaces.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-11-25 19:41:45 +01:00
Conny Duck
91fe819688 Release 50 2018-11-19 16:39:49 +01:00
Sylke Vicious
ab7c438286 Updated italian translation (#925) 2018-11-19 15:51:58 +01:00
ButterflyOfFire
e61d27baa0 Update arabic translation (#923)
Update arabic translation.
2018-11-19 10:53:27 +01:00
ButterflyOfFire
ecd954de0d Update french translation (#924)
Update french translation.
2018-11-19 10:53:15 +01:00
Evgeny Petrov
557a0c9d5f RU: Added missing string (#921) 2018-11-18 13:17:24 +01:00
Conny Duck
3b475e8461 fix activity restart after theme switch 2018-11-18 12:29:11 +01:00
Conny Duck
25a73620a9 update german translation 2018-11-18 11:34:06 +01:00
Conny Duck
f880a2eef5 fix crash on unknown media type 2018-11-17 16:17:47 +01:00
Conny Duck
f3fc9830d4 fix untranslateable String in Account preferences 2018-11-17 15:53:46 +01:00
Evgeny Petrov
0acaa61254 Russian translation update (#919)
* Russian translation update

* Removed duplicate string
2018-11-16 18:30:48 +01:00
Conny Duck
81bbac9aa7 remove erroneous strings to prevent crashes 2018-11-16 13:57:35 +01:00
Conny Duck
15d607b799 update deps, fix some lint warnings 2018-11-16 13:31:03 +01:00
kyori19
35f4512e6c Improve japanese translation. (#917) 2018-11-13 20:02:19 +01:00
kyori19
ecd4680696 fix link's too large hitbox (#916)
* fix link's too large hitbox (tuskyapp#846)

* Use zero width space instead of normal space.

* Add comment.

* Remove unnecessary Html.fromHtml
2018-11-12 23:07:47 +01:00
Kévin Commaille
7a06ebffad Update and fix french translation (#914) 2018-11-12 21:42:21 +01:00
Konrad Pozniak
348c20c792
New settings (#891)
* change drawer items

* rename SettingsActivity

* introduce AccountSettings activity

* improve account settings, move notification settings

* sync settings with server

* rename settings back to preferences

* add functionality for settings

* move mediaPreviewEnabled preference to AccountPreferences

* replace shared prefs with accountmanager

* move PreferencesFragment to support library

* split preferences fragment into smaller fragments,
merge AccountPreferencesActivity into PreferencesFragment

* adjust icon size, add icons to general preferences

* change mediaPreviewEnabled and alwaysShowSensitiveMedia pref position

* add database migration

* remove pullNotificationCheckInterval option

* fix  preference in TimelineFragment

* Update Chinese translations. (#915)

* Update zh-CN translations.

* Update zh-SG translations.

* Update zh-TW translations.

* Update zh-MO translations.

* Update zh-HK translations.

* Fix errors in zh-CN translations.

* Fix errors in zh-SG translations.

* Fix errors in zh-TW translations.

* Fix errors in zh-MO translations.

* Fix errors in zh-HK translations.
2018-11-12 21:09:39 +01:00
Levi Bard
690e612f8b Media description improvements (#898)
* Enforce 420-character limit on media descriptions in the UI

* Persist media descriptions with drafts

* Defer media description update until after upload finishes

* Make description field 2 lines for better visibility of hint text

* Reuse Gson instance

* Force retranslation of modified string "hint_describe_for_visually_impaired"

* Add bounds check when reading serialized media descriptions
2018-11-11 19:25:45 +01:00
kyori19
026292122d Do not show "Pin" in "more" menu of direct status. (#909) 2018-11-06 18:10:07 +01:00
kyori19
d8d37bacd9 Fix typo "accountUsename" to "accountUsername" (#908) 2018-11-06 18:03:10 +01:00
Levi Bard
b483a0bf25 Filter emoji where "visible_in_picker" is set to false. (#907)
Addresses #770
2018-11-04 10:51:31 +01:00
Levi Bard
6960d725a3 Add menu item to copy media link (#895) 2018-11-01 15:13:37 +01:00
Levi Bard
4ba6b4adfe Fix media transitions, reduce code duplication between media fragments (#894)
* Fix media transitions, reduce code duplication between media fragments

* Remove redundant helper

* Fix occasional crash when swiping between mixed media

* Hide controls when swiping between media
2018-11-01 14:52:22 +01:00
Manimaran.K
1792a14bb0 Tamil translation (#890)
* Translation for Tamil language is done.

* Update Translation for Tamil
2018-11-01 14:51:59 +01:00
ButterflyOfFire
fd782ff172 Improve french translation 2018-10-31 17:04:49 +01:00
charlag
211326f6bd Formatted translation 2018-10-31 16:19:09 +01:00
charlag
8c154a96be Merge branch 'patch-3' of git://github.com/BoFFire/Tusky into BoFFire-patch-3 2018-10-31 16:17:43 +01:00
charlag
abd1816275 Format translation 2018-10-31 16:10:35 +01:00
Quentí
10cbaec755
[i18n] Occitan update 2018-10-28 00:28:39 +02:00
ButterflyOfFire
9ee0e680da
Update strings.xml 2018-10-27 23:44:25 +02:00
ButterflyOfFire
bd93167b5c
Improving arabic translation
Improving arabic العربية translation and 100% translated. Enjoy !
2018-10-27 23:29:47 +02:00
charlag
9caed9aff8 Reformat translation 2018-10-27 18:50:02 +02:00
Sylke Vicious
ca1c46c567
Fixed the unescaped aphostrope
Sorry, missed this one!
2018-10-26 16:10:01 +02:00
Sylke Vicious
e787deafd5
Updated italian translation 2018-10-26 15:55:32 +02:00
Levi Bard
af298e5281 Account for underscores when tokenizing mentions for autocompletion (#888)
* Account for underscores when tokenizing mentions for autocompletion
Fixes #743

* Migrate MentionTokenizer to kotlin

* Add tests for mention tokenizer
2018-10-19 17:44:46 +02:00
Levi Bard
952d2a6512 Refactor media views (#866)
* Migrate ImagePagerAdapter to kotlin

* Migrate ViewMediaFragment to kotlin

* Make images and videos share the same activity/pager

* Show descriptions above videos

* Cleanup

* Address code review feedback

* Migrate media fragments to constraint layout
2018-10-15 19:56:11 +02:00
kyori19
1556a88d05 Prevent multiple registrations to eventHub on same TimelineFragment (#879) 2018-10-15 19:47:50 +02:00
Levi Bard
25c3defd33 On android 6.0, filter 0x00ad (unicode soft hyphen) from statuses (#884)
Fixes #563
2018-10-15 19:47:10 +02:00
Conny Duck
16b53a5917 update build tools and kotlin 2018-10-14 16:30:12 +02:00
Paul
80f485c367 Improve french translation (#887) 2018-10-14 12:58:48 +02:00
Levi Bard
bc4b77512f Focus content warning field on activation (#883)
Fixes #773
2018-10-12 21:53:04 +02:00
mynameismonkey
6fde2888c9 Welsh translation of strings.xml (#877)
* Create values-cy/strings.xml

* removed errant comment line
2018-10-08 20:01:36 +02:00
freetux
6cad8feea2 fix persian translation (#876)
* Create strings.xml

* Rename strings.xml to stringss.xml

* add persian language

* Delete stringss.xml

* fix lines

* fix lines

* fix line 213

* Update strings.xml

* Update strings.xml

* some minor fixes 

after check nightly version fixed .
2018-10-05 21:07:55 +02:00
freetux
7ec8f06589 Add persian language (#870)
* Create strings.xml

* Rename strings.xml to stringss.xml

* add persian language

* Delete stringss.xml

* fix lines

* fix lines

* fix line 213

* Update strings.xml

* Update strings.xml
2018-10-04 23:15:48 +02:00
Ivan Kupalov
6051ffe0b3 Show "remote profile" message. (#873)
* Show "remote profile" message. Closes #806

* Improve remote message look
2018-10-03 21:53:31 +02:00
Ivan Kupalov
a0988dc6c6 Add ability to pin/unpin statuses (#872) 2018-10-03 21:27:52 +02:00
Isak Holmström
f6934cadd8 update swedish translation (#871)
* Updated with new strings, added new translations for mute

* Changed from nsfw to sensitive content

* translating new strings ++extra fixes
2018-10-03 21:13:30 +02:00
Levi Bard
0bca94b94e Enable sharing media directly from Tusky (#852)
* Extract duplicated code into BaseActivity

* Migrate MediaUtils to kotlin

* Migrate ViewVideoActivity to kotlin

* Migrate ViewMediaActivity to kotlin

* Initial media sharing functionality

* Address code review feedback

* Make share icon match

* Address code review feedback
2018-10-01 11:50:17 +02:00
Prat
ab601c4566 Add deletion confirmation (#865) 2018-10-01 08:50:48 +02:00
Konrad Pozniak
bf00cfcc4d
style dark dialogs (#864) 2018-09-29 19:44:50 +02:00
Conny Duck
323c58a125 fix actionbar elevation in SearchActivity 2018-09-29 00:14:43 +02:00
Konrad Pozniak
7bdc22aa28
small improvements for viewholders (#860) 2018-09-28 17:15:01 +02:00
Konrad Pozniak
c37dbd15af
fix notifications loading (again) (#845)
* fix notifications loading (again)

* Revert "fix notifications loading (again)"

This reverts commit 226710fabf5175d4f6a2103c6896bcfe37e3230e.

* fix notification loading (this time for really real)
2018-09-28 17:14:37 +02:00
Levi Bard
4ded425466 Make Tusky a share target for video (#857) 2018-09-28 17:11:32 +02:00
Conny Duck
a4f9aa3f71 fix build error because of missing resource 2018-09-25 19:47:19 +02:00
Conny Duck
26b0ad521e upgrade gradle and build tools 2018-09-25 19:05:37 +02:00
Conny Duck
a2eb41900f fix RecentlyNonNull/Nullable warnings 2018-09-22 21:11:18 +02:00
Konrad Pozniak
6fe43c842b update support libs to 28.0.0 final 2018-09-22 17:13:22 +02:00
Konrad Pozniak
197badb13b fix typo in japanese translation 2018-09-22 17:10:09 +02:00
INAGAKI Hiroshi
ec60caa452 l10n: update Japanese translation (#858)
Updated Japanese translations for some new functions.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-21 22:11:57 +02:00
Conny Duck
6c06225ae3 fix lists not displaying 2018-09-21 20:18:21 +02:00
Konrad Pozniak
fb4672202d
fix crash when tooting on Android 9 (#856) 2018-09-19 22:36:46 +02:00
HellPie
4759783d10 Add support for collapsible statuses when they exceed 500 characters (#825)
* 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.

* 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.

* 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

* Update status data model to store whether the message has been collapsed

* 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.

* 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.

* 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.

* 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.

* 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.

* Fix search breaking due to newly introduced variables in utils classes

* Fix timeline breaking due to newly introduced variables in utils classes

* Fix item status text for collapsed toggle being shown in the wrong state

* Update timeline fragment to refresh the list when collapsed settings change

* Add support for status content collapse in timeline viewholder

* Fix view holder truncating posts using temporary debug settings at 50 chars

* Add toggle support to notification layout as well

* Add support for collapsed statuses to search results

* Add support for expandable content to notifications too

* Update codebase with some suggested changes by @charlang

* Update more code with more suggestions and move null-safety into view data

* Update even more code with even more suggested code changes

* Revert a0a41ca and 0ee004d (Android Studio 3.1 to Android Studio 3.3 updates)

* Add an input filter utility class to reuse code for trimming statuses

* Update UI of statuses to show a taller collapsible button

* Update notification fragment logging to simplify null checks

* Add smartness to SmartLengthInputFilter such as word trimming and runway

* Fix posts with show more button even if bad ratio didn't collapse

* Fix thread view showing button but not collapsing by implementing the feature

* Fix spannable losing spans when collapsed and restore length to 500 characters

* Remove debug build suffix as per request

* Fix all the merging happened in f66d689, 623cad2 and 7056ba5

* Fix notification button spanning full width rather than content width

* Add a way to access a singleton to smart filter and use clearer code

* Update view holders using smart input filters to use more singletons

* Fix code style lacking spaces before boolean checks in ifs and others

* Remove all code related to collapsibility preferences, strings included

* Update style to match content warning toggle button

* Update strings to give cleaner differentiation between CW and collapse

* Update smart filter code to use fully qualified names to avoid confusion
2018-09-19 19:51:20 +02:00
Gian Sass
bfea5119d5 sort custom emojis alphabetically (#853) 2018-09-18 20:46:50 +02:00
Conny Duck
17189216e3 remove fake shadow view and replace with elevation in AccountActivity 2018-09-16 19:46:06 +02:00
Konrad Pozniak
dbb3f4e826
update targetSdkVersion to 28 (#842)
* update targetSdkVersion to 28

* update robolectric to support api 28
2018-09-16 19:23:32 +02:00
Konrad Pozniak
4402f3d337
update minSdkVersion to 21 (#843)
* set minSdkVersion to 21

* use elevation instead of additional views for shadow

* clean up code occurrences

* remove drawable compat code

* remove no longer needed resources

* remove unneeded android:clipChildren="false"

* Revert "remove no longer needed resources"

This reverts commit 67a4d6f8d87b3f116b95d90dfb48f350d342f503.

* remove no longer needed resources (this time the right ones)
2018-09-16 18:54:12 +02:00
Conny Duck
5621e5d2d4 fix crash when trying to view account with invalid id
closes #848
2018-09-15 21:51:53 +02:00
Evgeny Petrov
16aea96e97 RU: Re-worded "Favourites" string, replaced "NSFW" with "sensitive" (#839) 2018-09-10 19:28:55 +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
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
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
Konrad Pozniak
0b3bee0d15
fix account switching when offline/error (#830) 2018-09-03 20:16:12 +02:00
Conny Duck
5131c44e93 fix empty message view showing/hiding at the wrong times 2018-09-02 13:23:36 +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
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
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
kyori
589188e27d Prevent creating new object in setCreatedAt 2018-08-20 22:51:30 +09: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
kyori
ad888854bc Use SimpleDateFormatter repeatedly. 2018-08-20 20:56:22 +09:00
kyori
4264fc42d6 Add process for when the createdAt is null. 2018-08-20 19:29:58 +09:00
kyori
b4bb80c4d5 Stop initializing String. 2018-08-20 17:47:19 +09: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
Konrad Pozniak
322a567e52 fix wrong activity transition of LoginActivity 2018-08-18 13:03:30 +02:00
Konrad Pozniak
7442f5bca8 fix bug where deleting profile field was not possible 2018-08-18 09:12:57 +02:00
Marcin Mikołajczak
632be33af8 Update Polish translation (#768)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-08-17 21:00:03 +02:00
kyori
219eafe6fc Prevent query SharedPreference in adapters. 2018-08-17 14:42:15 +09:00
kyori
6d1ec78984 Annotate on same line. 2018-08-17 10:21:55 +09:00
kyori
e83dd16942 Do not use absolute time by default. 2018-08-17 10:19:50 +09:00
Anna e só
5d7c2df434 Updated pt-rBR translation (#765) 2018-08-16 20:38:27 +02:00
jeroenpraat
fd378f2e31 Updating Dutch strings for v3 (#761) 2018-08-16 20:37:59 +02:00
Isak Holmström
d0b40dba6d Updated with new strings, added new translations for mute (#760) 2018-08-16 20:37:44 +02:00
ButterflyOfFire
8eef3991ec Updated ar (Arabic) translation (#758)
* add more aggressive proguard config

* even more optimizations

* Updated ar (Arabic) translation

Commit made via Stringlate
2018-08-16 20:37:23 +02:00
Evgeny Petrov
e973a68160 [RU] Language update 20180815 (#759)
* Updated Russian language

* Updated RU language according to 970551adee

* [RU] Language update
2018-08-16 20:34:50 +02:00
kyori
1d657a65a7 Show absolute time in Notifications tab 2018-08-16 23:10:21 +09:00
kyori
ca3a5791e3 Show absolute time 2018-08-16 22:51:23 +09:00
Conny Duck
4b4e58302f fix splashscreen navigationbar color on Android 27+ 2018-08-15 22:17:26 +02:00
Conny Duck
8b04361771 update translations 2018-08-15 21:23:54 +02:00
Konrad Pozniak
8930d277e6
add new elephant friends (#757)
* add new elephant friends

* add art license

* fix typo
2018-08-15 20:51:35 +02:00
Konrad Pozniak
04c842afc4
fix OOM crash when trying to caption large image (#756) 2018-08-15 20:47:36 +02:00
Konrad Pozniak
f022944e90
add possibility to change profile fields, refactor (#751)
* refactor EditProfileActivity, add profile fields

* preserve transparency when cropping profile images

* dont validate profile fields on client side

* revert unintentional change in card_frame_dark.xml

* improve activity_edit_profile layout for tablets

* Revert "improve activity_edit_profile layout for tablets"

This reverts commit 20ff3d167c39b15566e017108b33fe58690a8482.

* improve activity_edit_profile layout for tablets

* fix bug in EditProfileActivity, add snackbar

* improve EditProfileActivity code

* use events instead of shared prefs to communicate profile update
2018-08-15 20:47:09 +02:00
Konrad Pozniak
418c76d677
add more aggressive proguard config (#741)
* add more aggressive proguard config

* even more optimizations
2018-08-15 20:46:37 +02:00
Conny Duck
b9e433c77f fix crash in ViewThreadFragment 2018-08-15 11:20:57 +02:00
Conny Duck
c38d2ad25e small improvements for MediaUtils 2018-08-15 11:06:54 +02:00
eleete0712
ef1fa0ca94 show CW in system notification for CW'd statuses (#754)
* show CW in system notification for CW'd statuses

* show spoiler text instead of generic CW message
2018-08-13 22:59:30 +02:00
Conny Duck
aa64a879f1 fix bug where unmuting would unmute wrong account 2018-08-12 20:19:44 +02:00
nailyk
4f50bb5566 Translates: FR: Add missing translation (#744)
* Add missing `title_statuses_with_replies` french translation.

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
2018-08-08 22:31:43 +02:00
Conny Duck
ce7270cdb2 fix the activity transitions (again 🙄) 2018-08-07 23:08:53 +02:00
Conny Duck
eee48e48d1 make small avatars in notifications rounded again 2018-08-07 21:44:25 +02:00
Conny Duck
cf448cb0bb update dependencies 2018-08-07 21:02:45 +02:00
Conny Duck
e8b1787f9c improve Arabic translation (thx to @BoF@mstdn.fr) 2018-07-31 21:30:24 +02:00
Conny Duck
9a42999451 improve activity slide in/out handling 2018-07-31 21:25:25 +02:00
Konrad Pozniak
2b246fc379 fix "load more" placeholder changing height after being clicked 2018-07-30 16:28:43 +02:00
Konrad Pozniak
9b422a97fe
Custom emojis in drawer (#737)
* upgrade MaterialDrawer

* improve CustomEmojiHelper so now any parent view can be used for invalidation

* cleanup MainActivity a bit

* add emojiList to account database and show compatEmojis and custom emojis in drawer

* improve perf of drawer profile update

* fix account switching

* reuse gson, break after profile item was found
2018-07-30 15:43:27 +02:00
Konrad Pozniak
b5a8915845
add possibility to view avatars fullscreen (#724)
* add possibility to view avatars fullscreen

* improve codestyle
2018-07-30 15:42:45 +02:00