Commit Graph

1280 Commits

Author SHA1 Message Date
mynameismonkey eca6265c6a Welsh translation of strings.xml (#877)
* Create values-cy/strings.xml

* removed errant comment line
2018-10-08 20:01:36 +02:00
freetux c7fa6034e5 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 8d65650278 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 449c7a3bad 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 d928fe7a1d Add ability to pin/unpin statuses (#872) 2018-10-03 21:27:52 +02:00
Isak Holmström 3e66856337 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 66b94e5397 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 6e75e0bfc5 Add deletion confirmation (#865) 2018-10-01 08:50:48 +02:00
Konrad Pozniak 836b99966f style dark dialogs (#864) 2018-09-29 19:44:50 +02:00
Conny Duck ecc96e8a83 fix actionbar elevation in SearchActivity 2018-09-29 00:14:43 +02:00
Konrad Pozniak 062d54d19e small improvements for viewholders (#860) 2018-09-28 17:15:01 +02:00
Konrad Pozniak 36fdfb3de6 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 eb7459406a Make Tusky a share target for video (#857) 2018-09-28 17:11:32 +02:00
Conny Duck 0db9bcbf51 fix build error because of missing resource 2018-09-25 19:47:19 +02:00
Conny Duck 32e5a9f146 upgrade gradle and build tools 2018-09-25 19:05:37 +02:00
Conny Duck 95e507d489 fix RecentlyNonNull/Nullable warnings 2018-09-22 21:11:18 +02:00
Konrad Pozniak e4a318db12 update support libs to 28.0.0 final 2018-09-22 17:13:22 +02:00
Konrad Pozniak 27171954c2 fix typo in japanese translation 2018-09-22 17:10:09 +02:00
INAGAKI Hiroshi 7e4bdfe65f 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 b1c7fd9e41 fix lists not displaying 2018-09-21 20:18:21 +02:00
Konrad Pozniak f332021568 fix crash when tooting on Android 9 (#856) 2018-09-19 22:36:46 +02:00
HellPie 2730dca3ea 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 d4547a04dc sort custom emojis alphabetically (#853) 2018-09-18 20:46:50 +02:00
Conny Duck ee8dc7831f remove fake shadow view and replace with elevation in AccountActivity 2018-09-16 19:46:06 +02:00
Konrad Pozniak 3e2dc9f79b 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 6a7ec93b98 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 ef9ac3939e fix crash when trying to view account with invalid id
closes #848
2018-09-15 21:51:53 +02:00
Evgeny Petrov cc774ab754 RU: Re-worded "Favourites" string, replaced "NSFW" with "sensitive" (#839) 2018-09-10 19:28:55 +02:00
Conny Duck 4dd70762c2 dont hold whole file content in memory when uploading media 2018-09-10 10:00:06 +02:00
Conny Duck 14ac883496 update media limits for Mastodon 2.5 2018-09-10 10:00:06 +02:00
Conny Duck 67e34a9ee7 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 819a1a65c3 [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 d84ae0b931 Release 49 2018-09-04 19:06:04 +02:00
Conny Duck 5ef50fa3cd fix links with uppercase letters in scheme not being opened
closes #801
2018-09-04 18:43:06 +02:00
qwazix c323c6545f Make page margin to truly black for tablets. (#834) 2018-09-04 18:35:17 +02:00
Conny Duck 711f00ad87 Merge remote-tracking branch 'origin/master' 2018-09-03 21:29:26 +02:00
Conny Duck f61456d8b3 fix crash in notifications fragment, save account only when notificationid changed 2018-09-03 21:23:12 +02:00
Konrad Pozniak 12d76249c4 fix image preview rotation in ComposeActivity (#831) 2018-09-03 20:26:35 +02:00
Konrad Pozniak cbb323a434 fix account switching when offline/error (#830) 2018-09-03 20:16:12 +02:00
Conny Duck 73934e4652 fix empty message view showing/hiding at the wrong times 2018-09-02 13:23:36 +02:00
Konrad Pozniak 2c679a4761 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 241f0ebbbf add missing libraries to libraries screen 2018-08-31 20:40:56 +02:00
Conny Duck dd2be8085d update deps 2018-08-31 20:40:40 +02:00
Conny Duck 91bf170368 remove ACCESS_COARSE_LOCATION for API levels 23+ 2018-08-29 22:20:23 +02:00
Conny Duck 09dd008fed improve wording of "always show sensitive media" setting title 2018-08-29 19:16:41 +02:00
Conny Duck 4cc197ddc5 correctly hide the loading indicator when instance returns an error on login 2018-08-28 18:47:12 +02:00
Konrad Pozniak 1f972debff fix notification tab loading bottom notifications forever (#807) 2018-08-26 21:10:38 +02:00
Conny Duck 937436091b fix crash in EditProfileViewModel 2018-08-26 12:41:26 +02:00
ButterflyOfFire 37da617bdb Fixing typo in arabic. (#802) 2018-08-25 00:01:58 +02:00
Conny Duck deaf35646a dont load header images in their full size 2018-08-24 23:13:28 +02:00
Conny Duck b45dc5f873 Release 48 2018-08-24 20:38:34 +02:00
Conny Duck 62ed1a9d57 fix crash in NotificationsFragment when Preferences are first accessed
fixes #797
2018-08-24 19:47:27 +02:00
Conny Duck c385c92d99 Release 47 2018-08-23 21:11:29 +02:00
Conny Duck 6c68acd551 fix activity transitions (this time for real) 2018-08-23 21:06:49 +02:00
Levi Bard 9b9450736f Separate saved draft visibility from default reply visibility: #772 (#787) 2018-08-23 20:50:50 +02:00
Konrad Pozniak c6acee511e wait for EmojiCompat to be initialized before using it (#791) 2018-08-23 20:44:25 +02:00
Konrad Pozniak f3a3013ffa fix repeating toots in timelines (#789) 2018-08-22 21:19:56 +02:00
Konrad Pozniak 4f8d905e7b 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 5ae53ff546 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 7ee19315a7 values-es: Update translations (#785) 2018-08-20 21:27:27 +02:00
kyori 43269e0c59 Prevent creating new object in setCreatedAt 2018-08-20 22:51:30 +09:00
Konrad Pozniak 336bc4d7ed fix bug where addField button was enabled when it should not be
in EditProfileActivity
2018-08-20 14:49:23 +02:00
kyori 6936346793 Use SimpleDateFormatter repeatedly. 2018-08-20 20:56:22 +09:00
kyori 6c10b6dbe9 Add process for when the createdAt is null. 2018-08-20 19:29:58 +09:00
kyori 6325f159f4 Stop initializing String. 2018-08-20 17:47:19 +09:00
Konrad Pozniak 91cb826adc fix AccountActivity recreating after rotation 2018-08-20 10:11:36 +02:00
Evgeny Petrov 8bfc56c527 [Ru] string hotfix (#775)
Changed the wrong form of "black" theme string
2018-08-19 12:17:09 +02:00
Quentí b708d5dfca Update Occitan translation (#776) 2018-08-19 12:16:56 +02:00
Konrad Pozniak 5237e645eb Release 46 2018-08-18 13:35:20 +02:00
Konrad Pozniak 04b471d100 fix wrong activity transition of LoginActivity 2018-08-18 13:03:30 +02:00
Konrad Pozniak 5118122c4a fix bug where deleting profile field was not possible 2018-08-18 09:12:57 +02:00
Marcin Mikołajczak ad72e63026 Update Polish translation (#768)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-08-17 21:00:03 +02:00
kyori cfdd7ded34 Prevent query SharedPreference in adapters. 2018-08-17 14:42:15 +09:00
kyori 07525abf69 Annotate on same line. 2018-08-17 10:21:55 +09:00
kyori cd7038e46c Do not use absolute time by default. 2018-08-17 10:19:50 +09:00
Anna e só 32a622e49b Updated pt-rBR translation (#765) 2018-08-16 20:38:27 +02:00
jeroenpraat 6e4018a902 Updating Dutch strings for v3 (#761) 2018-08-16 20:37:59 +02:00
Isak Holmström 7e0fa6a469 Updated with new strings, added new translations for mute (#760) 2018-08-16 20:37:44 +02:00
ButterflyOfFire 4ff92193ba 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 1736190fcc [RU] Language update 20180815 (#759)
* Updated Russian language

* Updated RU language according to 8c425c44e5

* [RU] Language update
2018-08-16 20:34:50 +02:00
kyori 3106cfc6b0 Show absolute time in Notifications tab 2018-08-16 23:10:21 +09:00
kyori 040b8be606 Show absolute time 2018-08-16 22:51:23 +09:00
Conny Duck dc72f5ef8e fix splashscreen navigationbar color on Android 27+ 2018-08-15 22:17:26 +02:00
Conny Duck e9702eb264 update translations 2018-08-15 21:23:54 +02:00
Konrad Pozniak dcda04b472 add new elephant friends (#757)
* add new elephant friends

* add art license

* fix typo
2018-08-15 20:51:35 +02:00
Konrad Pozniak c044ed3e07 fix OOM crash when trying to caption large image (#756) 2018-08-15 20:47:36 +02:00
Konrad Pozniak 02ce668c25 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 1d7144f2c7 add more aggressive proguard config (#741)
* add more aggressive proguard config

* even more optimizations
2018-08-15 20:46:37 +02:00
Conny Duck 4b2bd9465a fix crash in ViewThreadFragment 2018-08-15 11:20:57 +02:00
Conny Duck f7b344f84b small improvements for MediaUtils 2018-08-15 11:06:54 +02:00
eleete0712 d64658f1f8 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 46518853ff fix bug where unmuting would unmute wrong account 2018-08-12 20:19:44 +02:00
nailyk 829229a692 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 3e08d439e9 fix the activity transitions (again 🙄) 2018-08-07 23:08:53 +02:00
Conny Duck 162453af6d make small avatars in notifications rounded again 2018-08-07 21:44:25 +02:00
Conny Duck 0d839eb1c6 update dependencies 2018-08-07 21:02:45 +02:00
Conny Duck 721178d2d5 improve Arabic translation (thx to @BoF@mstdn.fr) 2018-07-31 21:30:24 +02:00
Conny Duck 97c590c6d9 improve activity slide in/out handling 2018-07-31 21:25:25 +02:00
Konrad Pozniak 4e2e40602c fix "load more" placeholder changing height after being clicked 2018-07-30 16:28:43 +02:00
Konrad Pozniak 759fd0f11b 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 f44921f739 add possibility to view avatars fullscreen (#724)
* add possibility to view avatars fullscreen

* improve codestyle
2018-07-30 15:42:45 +02:00
Ivan Kupalov c2266804f0 Add RoundedImageView for avatars (#739)
* Add RoundedImageView for avatars

* RoundedImageView: Remove unused things, fix touchable area
2018-07-30 15:36:22 +02:00
qwazix 3b09db6cb4 Add black theme (#726)
* Add black theme

On amoled screens a completely black theme helps save battery,
besides looking awesome!

* Fix first set of merge request issues except the dialog.

* Black theme inherits from dark and only the different values
  are declared
* Make nav bar translucent (for some reason content does not
  go behind it in main activity. Need to investigate)
* Remove nav bar line
* Fix toolbar color

* Fix dialog issue with black theme.

Revert translucent navigation.

* Translations updated, as well as possible from online sources.

* Make login screen respect black theme
2018-07-30 15:31:35 +02:00
Ivan Kupalov c2dc8b0341 Add image descriptions indicator (#697)
* Add image descriptions indicator. Closes #683

* Add bg for description indicator, change symbol

* Use icon for image description indicator
2018-07-30 15:20:53 +02:00
Conny Duck f9af1650a8 Release 45 2018-07-28 19:33:05 +02:00
Isak Holmström fd0878fc66 Improved swedish translation (#735)
* Update strings.xml

* Updated strings.xml

Added the missing string-arrays and fixed some better language.
2018-07-28 16:30:43 +02:00
Sylke Vicious 16ec650f37 Update Italian strings.xml (#733)
added missing strings manually
2018-07-28 12:01:16 +02:00
Konrad Pozniak 6bf0c14a74 work around crash on Android 8 (#731) 2018-07-26 23:31:20 +02:00
Konrad Pozniak 30d9204586 fix bug where home timeline was never showing "load more" button (#729) 2018-07-25 21:50:09 +02:00
jeroenpraat 3f2b49d596 Dutch strings: one extra update (#725) 2018-07-24 19:04:00 +02:00
Konrad Pozniak caa04a2341 improve dependency injection (#723) 2018-07-23 21:59:10 +02:00
Konrad Pozniak 9c7ddc7d32 Improve media resizing (#722)
* improve MediaUtils.getImageThumbnail so it does not load the whole bitmap into memory

* load thumbnails in device specific sizes
2018-07-23 21:55:09 +02:00
Conny Duck de361dcb7a fix some lint warnings, use kotlin view imports in ModalTimeLineActivity 2018-07-23 15:18:33 +02:00
Conny Duck 8fa0b93b3d update dependencies 2018-07-22 14:46:00 +02:00
Conny Duck 20e006f1d1 fix bug where revoking a follow request was not possible 2018-07-22 14:34:55 +02:00
Sylke Vicious db51c551b1 Updated it (Italian) translation (#721)
* increase cache size & dont cache full size media

* Updated it (Italian) translation

Commit made via Stringlate

* remove unnecessary backslash
2018-07-22 13:53:21 +02:00
Isak Holmström e0965f5a20 Update swedish translation (#720) 2018-07-22 13:48:52 +02:00
Conny Duck 6f234af9d0 fix Dutch string (thx to jeroenpraat) 2018-07-17 22:11:47 +02:00
Conny Duck baa8250e70 normalize domains before saving them to database 2018-07-17 22:05:46 +02:00
Conny Duck 240ce1d459 improve Dutch strings (thx to jeroenpraat) 2018-07-16 21:05:07 +02:00
Konrad Pozniak 473497801d improve gradle build to support nightly builds 2018-07-16 19:01:34 +02:00
Konrad Pozniak 9b8a335585 Release 44 2018-07-14 21:37:04 +02:00
Konrad Pozniak 3cb94d6e02 fix crash when opening profiles with default emojis selected 2018-07-14 21:36:47 +02:00
Konrad Pozniak 9791899f1b increase cache size & dont cache full size media (#710) 2018-07-14 17:12:57 +02:00
Conny Duck 549b527a10 fix AccountActivity tabs not stretching on tablets 2018-07-12 22:21:51 +02:00
Conny Duck bda9b3b764 fix crash in TimelineFragment 2018-07-12 21:21:53 +02:00
Conny Duck b0f70a5863 fix Dutch string (thx to jeroenpraat) 2018-07-10 19:56:16 +02:00
Conny Duck eeaf258dbb fix bug where sending toot is not possible despite it being below character limit 2018-07-10 19:48:41 +02:00
Conny Duck 3e4296f269 update Dutch strings (thx to jeroenpraat) 2018-07-09 11:11:48 +02:00
Conny Duck cb75378cef apply font size setting to image alt text 2018-07-09 09:03:24 +02:00
Conny Duck e6270f1a5e fix crash in AccountMediaFragment (again) 2018-07-09 08:59:06 +02:00
Conny Duck f8423aa10b Release 42 2018-07-08 19:21:31 +02:00
Conny Duck 0eebc9842e fix another crash in ViewThreadFragment 2018-07-08 19:21:19 +02:00
Conny Duck 9df99b6a7e updated Dutch strings (thx to jeroenpraat) 2018-07-08 18:26:09 +02:00
Conny Duck 1ee53f6269 fix custom emojis in mention autocomplete 2018-07-08 14:40:56 +02:00
Conny Duck e7a13b3f9e fix crash in AccountMediaFragment 2018-07-08 11:41:08 +02:00
Conny Duck 40a62c12f4 fix crash in TimelineFragment 2018-07-08 10:16:19 +02:00
Conny Duck e473d914f1 fix crash in ViewThreadFragment 2018-07-07 12:09:15 +02:00
Conny Duck e2b66e76e4 fix extra backslash in swedish translation 2018-07-07 09:28:25 +02:00
Conny Duck 945aa5587d Release 41 2018-07-06 20:44:46 +02:00
Conny Duck 45a5acbc15 fix regex filter not affecting spoilertext 2018-07-05 21:59:38 +02:00
Conny Duck 07f53c358d Merge branch 'master' of https://github.com/Vavassor/Tusky 2018-07-05 21:36:16 +02:00
Conny Duck 23afbe721e fix crash in TimelineFragment 2018-07-05 21:32:49 +02:00
Conny Duck 94e2fc8825 update german translation 2018-07-05 21:18:57 +02:00
Conny Duck aadf40bcff enable custom emoji fonts for all api levels again 2018-07-05 21:14:32 +02:00
Ivan Kupalov 48f680ba96 Fix crash on receiving event in timeline (#704) 2018-07-02 22:12:27 +02:00
Conny Duck 3242fbd737 Release 40 2018-07-02 15:07:42 +02:00
Anna e só 57baff5488 🌎: Improved Brazilian Portuguese translations (#701)
* Added exported .xml from Stringlate

* Added missing strings for theme and privacy

* Added more missing strings

* Added strings for pull notification intervals

* Fixed "hora" to "horas"
2018-07-02 14:22:22 +02:00
Conny Duck 007b078c2a revert filemojicompat back to 1.0.5 2018-07-02 14:10:30 +02:00
Conny Duck 5b9ef9b64a improve german translation 2018-07-02 14:07:16 +02:00
Conny Duck 74fe29af4e enable custom emojis in follow notifications 2018-07-01 15:57:26 +02:00
Conny Duck 2e53b34612 fix tests 2018-07-01 14:51:45 +02:00
Conny Duck 990d82b5e9 enable custom emojis in notification messages 2018-07-01 14:44:38 +02:00
Conny Duck cd9061354b only disable emoji fonts on Lollipop and lower 2018-07-01 14:35:11 +02:00
Conny Duck edec387e53 fix crash on old mastodon instances 2018-07-01 13:34:35 +02:00
Conny Duck a03df86c66 Release 39 2018-07-01 12:26:04 +02:00
Konrad Pozniak bb0213f4e9 disable emoji fonts on Android 5 (#698) 2018-07-01 10:18:00 +02:00
Konrad Pozniak 94c37a16c0 use ACTION_GET_CONTENT for media selection again, fix uri permissions (#695) 2018-06-28 22:22:29 +02:00
Anna e só 0ef5a16da2 update Brazilian Portuguese translation (#696) 2018-06-28 22:22:20 +02:00
Evgeny Petrov 14b90a1559 Updated Russian language (#691)
* Updated Russian language

* Updated RU language according to 8c425c44e5
2018-06-27 18:39:33 +02:00
Marcin Mikołajczak 3fb8ab7ab3 i18n: Update Polish translation (#692)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-27 18:38:19 +02:00
Conny Duck a25eefcbeb fix crash on timeline reloading 2018-06-25 18:20:45 +02:00
Conny Duck 51e2ccc5a5 only reload timeline on pref change when necessary 2018-06-25 17:20:41 +02:00
Conny Duck 8c425c44e5 fix the emoji selection dialog 2018-06-25 16:23:43 +02:00
Conny Duck 0a164de95b update german translation 2018-06-25 15:20:54 +02:00
Conny Duck ed74e09936 remove unused strings 2018-06-25 14:55:45 +02:00
Conny Duck 4d9315f6df update deps 2018-06-25 14:49:13 +02:00
Conny Duck 9133a74d37 cleanup code 2018-06-25 14:49:00 +02:00
Conny Duck f4a986a420 fix #650 notifications alerting multiple times 2018-06-25 14:08:36 +02:00
Konrad Pozniak b118669c02 add License activity (#689)
* convert AboutActivity to Kotlin, use BottomSheetActivity for account resolving

* improve AboutActivity

* new License activity

* fix filemojicompat url
2018-06-25 13:02:34 +02:00
Ivan Kupalov 56752dba33 Do not scroll to top on timeline refresh (#681)
* Do not scroll to top on timeline refresh

* Use dp for shifting timeline
2018-06-24 10:53:19 +02:00
Konrad Pozniak 335e9ca390 improve custom emoji support (#687) 2018-06-24 09:53:23 +02:00
Conny Duck 72023ffc58 remove extra translation to fix build 2018-06-18 13:58:14 +02:00
Konrad Pozniak b9b500f457 fix media resizing (#686)
* fix media resizing

* move exception catching out of method
2018-06-18 13:26:31 +02:00
Konrad Pozniak 3b5a7cd916 Account activity redesign (#662)
* Refactor-all-the-things version of the fix for issue #573

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

* Make all mentions in compose activity use the default link color

* new layout for AccountActivity

* fix the light theme

* convert AccountActivity to Kotlin

* introduce AccountViewModel

* Merge branch 'master' into account-activity-redesign

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/AccountActivity.java

* add Bot badge to profile

* parse custom emojis in usernames

* add possibility to cancel follow request

* add third tab on profiles

* add account fields to profile

* add support for moved accounts

* set click listener on account moved view

* fix tests

* use 24dp as statusbar size

* add ability to hide reblogs from followed accounts

* add button to edit own account to AccountActivity

* set toolbar top margin programmatically

* fix crash

* add shadow behind statusbar

* introduce ViewExtensions to clean up code

* move code out of offsetChangedListener for perf reasons

* clean up stuff

* add error handling

* improve type safety

* fix ConstraintLayout warning

* remove unneeded ressources

* fix event dispatching

* fix crash in event handling

* set correct emoji on title

* improve some things

* wrap follower/foillowing/status views
2018-06-18 13:26:18 +02:00
Ivan Kupalov 1b7b0f26d7 Fix account media progress indicator (#684)
* Fix account media progress indicator

* Use Kotlin Android ext in AccountMediaFragment
2018-06-17 21:49:51 +02:00
Paul f00dbe099e Complete french translation (#668) 2018-06-09 21:01:48 +02:00
Quentí 9b238d35fc Latest update for Occitan (#678) 2018-06-09 21:01:32 +02:00
Conny Duck 9cc9384a82 update dependencies 2018-06-07 22:59:03 +02:00
Isak Alexander cda8e1c09f add swedish translation (#674)
* Create string.xml

* Rename string.xml to strings.xml

* Update strings.xml

* 100% done

Swedish translation 100% done.

* Corrected first line with correct path.
2018-06-07 22:30:27 +02:00
Ivan Kupalov 54d00f0ada Add smaller and larger font options (fix #657) (#660)
* Add smaller and larger font options

* Fix test sizes, comment out translations
2018-06-07 22:19:39 +02:00
Conny Duck 9027e997f8 fix layout rotation 2018-06-07 22:11:03 +02:00
Conny Duck 01a06ba047 fix crash on tablets 2018-06-07 22:05:01 +02:00
Paul dcb96597c4 Enable boosting of own private toots, closes #664 (#666) 2018-05-28 21:29:06 +02:00
Ivan Kupalov 0375193029 Add EventHub, add fav, reblog events, improve timelines (#562)
* Add AppStore, add fav, reblog events

* Add events, add handling to Timeline

* Add event handling to Notifications

* Mostly finish events

* Fix unsubscribing

* Cleanup timeline

* Fix newStatusEvent in thread, fix deleteEvent

* Insert new toots only in specific timelines

* Add missing else

* Rename AppStore to EventHub

* Fix tests

* Use DiffUtils for timeline

* Fix empty timeline bug. Improve loading placeholder

* Fix AsyncListDiff, loading indicator, "load more"

* Timeline fixes & improvements.

Fix infinite loading. Remove spinner correctly.
Don't refresh timeline without need.
2018-05-27 11:22:12 +03:00
Levi Bard 2154f6580f fix rtl unicode formatting (#659)
* Isolate usernames when formatting, to improve interaction of RTL usernames with LTR locales (and vice versa)

* Add bidirectionality safeguards in NotificationHelper

* Cache bidirectionality formatter instance in NotificationsAdapter
2018-05-24 19:00:17 +02:00
Quentí 253698b620 [i18n] Update for Occitan (#652)
* First commit update for Occitan

* Update strings.xml

* Update strings.xml
2018-05-21 21:48:38 +02:00
Konrad Pozniak 6584ffc41d some Optimizations for tablets (#647)
* show ComposeActivity as Dialog on tablets

* limit timeline width on large devices

* limit width on large devices for thread view and search

* increase media preview size on large devices
2018-05-16 19:14:53 +02:00
Levi Bard 42b13caffc Behave like Mastodon web ui and only count URLs as 23 characters when composing (#629)
* Refactor-all-the-things version of the fix for issue #573

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

* Make all mentions in compose activity use the default link color
2018-05-16 19:14:26 +02:00
Conny Duck df33d8a999 fix crash in SearchFragment 2018-05-14 18:23:33 +02:00
Ivan Kupalov 942a87b365 Show image descriptions in gallery (#630)
* Add circleci

* Commit to maybe fix ci

* Suppress false positives in lint

* Disable linting for tests in ci

* Add image descriptions to gallery

* Fix test

* [CI] Attempt to fix OOM error

* [CI] Attempt to fix OOM error, 2

* Add option to open status from media

* fix theme issue

* increase linespacing on media description
2018-05-10 20:13:25 +02:00
Constantin A 1762e71218 EmojiCompat support (#600)
* Add EmojiCompat

* EmojiCompat doesn' replace all emojis anymore

* This app should be now capable of loading a EmojiCompat-font located in a file somewhere inside the device's storage

* Should now replace all emojis

* Add EmojiCompat support to EditTextTyped

* Provide EmojiCompat fonts

* The app won't crash anymore when no emoji font is available.
Emoji font should now be located at [Private external app directory]/files/EmojiCompat.ttf

* Removed BundledEmojiCompat dependency

Since this EmojiCompat-implementation does not rely on BundledEmojiCompat, there's no reason to have it enabled.

* Update EditTextTyped.kt

Since connection isn't assigned to (I tried doing so), it can be declared final/val again.

* Update README.md

* Add some non-working emoji preferences

* Add a short font list for testing

* Finished implementation

* Add Twemoji to font list

* Update documentation, more comments

* Delete AssetEmojiCompat which is obsolete now

* Update the font list

* Update the font list

* Fix font list & add Exception handling for malformed JSON files (hopefully)

* More fixes. It should work now...

* Removed AssetEmojiCompat (again)

* Add most of the changes

* Improved the EmojiCompat dialog's style

* The font list is now based on a static layout without external files

* Re-add the real font URL for Twemoji

* Emoji-font captions are now translatable

* Removed one unused String (loading)

* Removed emoji fonts from this repo

* Applied changes from the PR change requests

* The correct emoji font will be selected after cancelling a change

* Add details on the EmojiCompat fonts available (not shown yet)

* Add licensing information on Twemoji and Blobmoji

* Reworked some strings

* Moved FileEmojiCompat to its own library

* Update FileEmojiCompat to the latest version (1.0.3)

* EmojiCompat bug should be fixed

* Better handling of failed downloads

* Removed one TODO

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Update emoji attribution strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Fixed some misspelled strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>
2018-05-10 11:16:56 +02:00
Conny Duck 81fa59515a make debug notifications distinguishable from prod notifications 2018-05-09 23:31:47 +02:00
Levi Bard cc1a19778f When replying, set default post visibility to the most restrictive of: original post visibility, default visibility preference. (#641)
Issue #636
2018-05-09 23:04:00 +02:00
Conny Duck b8d8615ad9 remove unneeded notification channel 2018-05-08 22:36:04 +02:00
Conny Duck 889f9efef2 Release 38 2018-05-08 21:09:02 +02:00
Conny Duck 5aa9ab6118 make notifications open notification tab again 2018-05-08 20:58:06 +02:00
Konrad Pozniak d33345dd5c 1.8 fixes (#637)
* fix lint warnings

* upgrade dependencies

* auto cancel notifications

* improve dependency injection

* fix tests

* remove old comment from BaseActivity

* fix missing injectors
2018-05-08 19:15:10 +02:00
Konrad Pozniak c2c58ed962 update german translation (#638)
* update german translation

* fix capitalization
2018-05-08 11:42:28 +03:00
Evgeny Petrov 7a857bfea3 [RU] New strings for 1.8 (#634)
I'm not sure whether we should use word "статусы" (statuses) or "посты" (posts). Or how to mix them in the right way
Anyway, here are the new strings.
2018-05-07 21:57:05 +03:00