Commit graph

1689 commits

Author SHA1 Message Date
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
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
1fef8c0c2b fix crash in NotificationsFragment when Preferences are first accessed
fixes #797
2018-08-24 19:47:27 +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
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
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
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
Ivan Kupalov
133808891d 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
562beacfc1 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
6fcb3cb495 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
Isak Holmström
80bf2f361c 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
ab3e68cd48 Update Italian strings.xml (#733)
added missing strings manually
2018-07-28 12:01:16 +02:00
Konrad Pozniak
2a6f6c4092
work around crash on Android 8 (#731) 2018-07-26 23:31:20 +02:00
Konrad Pozniak
dbdc597207
fix bug where home timeline was never showing "load more" button (#729) 2018-07-25 21:50:09 +02:00
jeroenpraat
21ce92f8da Dutch strings: one extra update (#725) 2018-07-24 19:04:00 +02:00
Konrad Pozniak
7f648b1acd
improve dependency injection (#723) 2018-07-23 21:59:10 +02:00
Konrad Pozniak
61f3f6c928
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
67f4479e86 fix some lint warnings, use kotlin view imports in ModalTimeLineActivity 2018-07-23 15:18:33 +02:00
Conny Duck
0102a4bd60 fix bug where revoking a follow request was not possible 2018-07-22 14:34:55 +02:00
Sylke Vicious
5538c8c5e7 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
80fae95f41 Update swedish translation (#720) 2018-07-22 13:48:52 +02:00
Conny Duck
4d3a6a6226 fix Dutch string (thx to jeroenpraat) 2018-07-17 22:11:47 +02:00
Conny Duck
e67261f80d normalize domains before saving them to database 2018-07-17 22:05:46 +02:00
Conny Duck
ee812e3130 improve Dutch strings (thx to jeroenpraat) 2018-07-16 21:05:07 +02:00
Konrad Pozniak
4d1fc5ecb0 improve gradle build to support nightly builds 2018-07-16 19:01:34 +02:00
Konrad Pozniak
b887196c31 fix crash when opening profiles with default emojis selected 2018-07-14 21:36:47 +02:00
Konrad Pozniak
aa5eb9f99a
increase cache size & dont cache full size media (#710) 2018-07-14 17:12:57 +02:00
Conny Duck
f50cac4b0c fix AccountActivity tabs not stretching on tablets 2018-07-12 22:21:51 +02:00
Conny Duck
6f179fccaa fix crash in TimelineFragment 2018-07-12 21:21:53 +02:00
Conny Duck
145e30870d fix Dutch string (thx to jeroenpraat) 2018-07-10 19:56:16 +02:00
Conny Duck
e56386ea84 fix bug where sending toot is not possible despite it being below character limit 2018-07-10 19:48:41 +02:00
Conny Duck
7739af2109 update Dutch strings (thx to jeroenpraat) 2018-07-09 11:11:48 +02:00
Conny Duck
699049f930 apply font size setting to image alt text 2018-07-09 09:03:24 +02:00
Conny Duck
4df93c49cb fix crash in AccountMediaFragment (again) 2018-07-09 08:59:06 +02:00
Conny Duck
b7da5f7a29 fix another crash in ViewThreadFragment 2018-07-08 19:21:19 +02:00
Conny Duck
884f889737 updated Dutch strings (thx to jeroenpraat) 2018-07-08 18:26:09 +02:00
Conny Duck
b82ab6bb4f fix custom emojis in mention autocomplete 2018-07-08 14:40:56 +02:00
Conny Duck
26529b19d5 fix crash in AccountMediaFragment 2018-07-08 11:41:08 +02:00
Conny Duck
67f90d050c fix crash in TimelineFragment 2018-07-08 10:16:19 +02:00
Conny Duck
b2c0ed69f6 fix crash in ViewThreadFragment 2018-07-07 12:09:15 +02:00
Conny Duck
a65ee0a7bb fix extra backslash in swedish translation 2018-07-07 09:28:25 +02:00
Conny Duck
ef9e931428 fix regex filter not affecting spoilertext 2018-07-05 21:59:38 +02:00
Conny Duck
c452b8f281 Merge branch 'master' of https://github.com/Vavassor/Tusky 2018-07-05 21:36:16 +02:00
Conny Duck
d900e1d8cd fix crash in TimelineFragment 2018-07-05 21:32:49 +02:00
Conny Duck
0c1893ff6e update german translation 2018-07-05 21:18:57 +02:00
Conny Duck
28940169c6 enable custom emoji fonts for all api levels again 2018-07-05 21:14:32 +02:00
Ivan Kupalov
8c20d5dd93 Fix crash on receiving event in timeline (#704) 2018-07-02 22:12:27 +02:00
Anna e só
3a0f86ebde 🌎: 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
b02a8f2c7e improve german translation 2018-07-02 14:07:16 +02:00
Conny Duck
c10cc59a8a enable custom emojis in follow notifications 2018-07-01 15:57:26 +02:00
Conny Duck
e63dd50682 fix tests 2018-07-01 14:51:45 +02:00
Conny Duck
1d8d1efb5b enable custom emojis in notification messages 2018-07-01 14:44:38 +02:00
Conny Duck
3410fad62c only disable emoji fonts on Lollipop and lower 2018-07-01 14:35:11 +02:00
Conny Duck
0930fab72b fix crash on old mastodon instances 2018-07-01 13:34:35 +02:00
Konrad Pozniak
030a201da6
disable emoji fonts on Android 5 (#698) 2018-07-01 10:18:00 +02:00
Konrad Pozniak
1c5df27f91
use ACTION_GET_CONTENT for media selection again, fix uri permissions (#695) 2018-06-28 22:22:29 +02:00
Anna e só
c7c2b5feb9 update Brazilian Portuguese translation (#696) 2018-06-28 22:22:20 +02:00
Evgeny Petrov
8509aab303 Updated Russian language (#691)
* Updated Russian language

* Updated RU language according to 970551adee
2018-06-27 18:39:33 +02:00
Marcin Mikołajczak
2887fa0cd8 i18n: Update Polish translation (#692)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-27 18:38:19 +02:00
Conny Duck
77617ba9bf fix crash on timeline reloading 2018-06-25 18:20:45 +02:00
Conny Duck
b655985997 only reload timeline on pref change when necessary 2018-06-25 17:20:41 +02:00
Conny Duck
970551adee fix the emoji selection dialog 2018-06-25 16:23:43 +02:00
Conny Duck
9bda0c6c5d update german translation 2018-06-25 15:20:54 +02:00
Conny Duck
bfa1929365 remove unused strings 2018-06-25 14:55:45 +02:00
Conny Duck
50b0d1fb8d cleanup code 2018-06-25 14:49:00 +02:00
Conny Duck
3c685800d8 fix #650 notifications alerting multiple times 2018-06-25 14:08:36 +02:00
Konrad Pozniak
3c569c6ac9
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
570d7e3597 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
e8d1b16b39
improve custom emoji support (#687) 2018-06-24 09:53:23 +02:00
Conny Duck
6e43d3fbe8 remove extra translation to fix build 2018-06-18 13:58:14 +02:00
Konrad Pozniak
a42ce9b793
fix media resizing (#686)
* fix media resizing

* move exception catching out of method
2018-06-18 13:26:31 +02:00
Konrad Pozniak
63f9d99390
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
c450af7b0d 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
87f007086f Complete french translation (#668) 2018-06-09 21:01:48 +02:00
Quentí
689d743559 Latest update for Occitan (#678) 2018-06-09 21:01:32 +02:00
Isak Alexander
c58608de43 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
7254a5d7d6 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
e63efdde5d fix layout rotation 2018-06-07 22:11:03 +02:00
Conny Duck
6f34b9adab fix crash on tablets 2018-06-07 22:05:01 +02:00
Paul
30856a2f82 Enable boosting of own private toots, closes #664 (#666) 2018-05-28 21:29:06 +02:00
Ivan Kupalov
3756a1fd20
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
3a8d96346b 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í
e79b47552e [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
d4572a9d0e
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
7e1f5edeca 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
41743b0dca fix crash in SearchFragment 2018-05-14 18:23:33 +02:00
Ivan Kupalov
23d84dfa66 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
1108652823 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
d9c481cf1c make debug notifications distinguishable from prod notifications 2018-05-09 23:31:47 +02:00
Levi Bard
30fffcd9ca 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
33c59cf578 remove unneeded notification channel 2018-05-08 22:36:04 +02:00
Conny Duck
e58fabbcc0 make notifications open notification tab again 2018-05-08 20:58:06 +02:00
Konrad Pozniak
27b4cf8739
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
26fb180d1a update german translation (#638)
* update german translation

* fix capitalization
2018-05-08 11:42:28 +03:00
Evgeny Petrov
57e8a61cf0 [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
Konrad Pozniak
a2bfef3101
move bottom sheet from fragments to activities (#628)
* move bottom sheet from fragments to activities

* move BottomSheetLogic to dedicated abstract Activity

* change tests

* improve code
2018-05-06 22:05:54 +02:00
nailyk
1c711eca22 Translates: FR: Remove unused strings (#632)
* Some strings are gone. Lets remove them.
2018-05-06 20:42:50 +02:00
Conny Duck
36a90d0856 fix crash when cancelling notifications 2018-05-06 13:17:17 +02:00
Conny Duck
67cf199b03 fix bug where media is not uploaded after ComposeActivity recreation 2018-05-06 13:02:02 +02:00
remi6397
e8c79cce65 Notification tweaks: Grouping and Quick Reply button (#587)
* Added notification grouping and Quick Reply button

* Legal stuff

* Coding style

* Check whether account still exists when sending a quick reply

* Add "compose" button

* Polish translation

* Improve strings

* Code style

* Cancel notification when user hits "compose" button

* Notification counter

* Make sure to open ComposeActivity for notification recipient account

* Add ability to request account switch when starting an activity
2018-05-06 11:07:10 +02:00
Quim Gil
aa48acdbec Missing "custom" equivalent in translation (#626)
Original English string is about "custom emojis" and therefore a better translation is "emojis personalizados". Note that "emoji" is a neologism accepted and understood in Spanish (see e.g. Spanish Wikipedia).
2018-05-03 22:19:50 +02:00
Ivan Kupalov
5f0641eb3e
[CI] Add CircleCI config (#621)
* Add circleci

* Commit to maybe fix ci

* Suppress false positives in lint

* Disable linting for tests in ci

* Remove unused comment
2018-05-02 23:50:19 +03:00
Levi Bard
0aeab2a983 Add tests for search functionality in SFragment (#617)
* Add tests for search functionality in SFragment

* Parameterize url matching tests

* Clean up / compartmentalize search tests

* Make SFragmentTest filesystem location match package name
2018-05-02 23:43:12 +03:00
Konrad Pozniak
5cfe6f8fa5
make search find statuses (#613) 2018-04-30 11:30:10 +02:00
nailyk
c72619b838 Translates: FR: Update strings (#616)
* Update needed strings.
 * Thanks to @treyssatvincent for the update in #560 !

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2018-04-30 10:36:54 +02:00
Conny Duck
d90a011561 fix proxy settings 2018-04-30 10:34:38 +02:00
Levi Bard
ff7c54e739 Add tests for the custom toot character limit functionality (#599)
* Query instance for toot character limit
Fixes #393

* Move maximumTootCharacters to instance field

* Add caching for maximum toot characters, expanding on the emoji list storage

* Update formatting per review feedback

* Fix compose activity tests

* Rename mastodon api point for nicer interaction with kotlin

* Default emoji list to empty list instead of null, to appease json converters in failure cases

* Add test coverage for custom toot character limit setting

* Fix compiler warnings
2018-04-29 10:08:25 +02:00
Conny Duck
d4425c619a improve item_status_detailed layout for all font sizes 2018-04-29 09:06:26 +02:00
Konrad Pozniak
89f93eab85
Fix SparkButtons (#608)
* fix the SparkButtons

* dont notify adapter after boost/fav
2018-04-28 22:59:46 +02:00
Conny Duck
48c239338d set allowBackup to false 2018-04-28 21:19:38 +02:00
Ivan Kupalov
f3c6abdd4d Add expand/collapse button for threads (#609) 2018-04-28 16:17:01 +02:00
Ivan Kupalov
3dfe43dfb2 Open links in new tabs (#603) 2018-04-26 22:52:45 +02:00
Conny Duck
aecdbda375 fix crash when de/serializing InstanceEntity 2018-04-25 20:26:00 +02:00
Levi Bard
76eae44324 View links to statuses inside Tusky (#568)
* View links to statuses inside Tusky

* Only attempt to open links that look like mastodon statuses

* Add support for pleroma statuses

* Move "smells like mastodon" url check to click handler

* Add bottom sheet to notify users of post query status

* Improve architecture for managing search status

* Push everything into SFragment

* Add external lookup for non-locally-resolved account links

* Clean up copypasta from LinkHelper.setClickableText

* Apply PR feedback

* Migrate bottom sheet wrappers to CoordinatorLayout
2018-04-25 20:04:55 +02:00
Conny Duck
3f71c5495f Release 37 2018-04-23 19:28:11 +02:00
Konrad Pozniak
20033f844a fix emoji & toot size limit caching 2018-04-23 09:26:03 +02:00
Konrad Pozniak
23f7f04aa8 improve "save draft" dialog show condition 2018-04-22 21:04:19 +02:00
Konrad Pozniak
d9e29e2cb6 fix crash in MainActivity when clicking notification 2018-04-22 20:40:52 +02:00
Konrad Pozniak
b4ba457d89
Dependency injection improvement (#596)
* inject MastodonApi into LoginActivity

* inject AccountManager into MainActivity

* inject AccountManager into SplashActivity, convert to Kotlin

* inject AccountManager into AccountActivity

* inject AccountManager into LoginActivity

* inject AccountManager into NotificationsFragment and NotificationClearBroadcastReceiver, fix MainActivity

* ooops

* use same OkHttpClient for Retrofit & Picasso

* fix ordering of okhttp interceptors

* remove dependencies on TuskyApplication

* bugfix
2018-04-22 17:20:01 +02:00
Konrad Pozniak
d17ff3eb0f fix problems with selectable text in detailed status 2018-04-22 16:34:02 +02:00
Konrad Pozniak
787cfbc82a fix Kotlin compiler warning 2018-04-22 14:11:41 +02:00
Quentí
7dcd5aa21e new Occitan translation (#597)
* [OC] first version of the translation

I'll make more changes soon, so it matches the same wording as in the Mastodon UI.

* Update strings.xml

* Update strings.xml

* Update strings.xml

* Update strings.xml
2018-04-22 12:56:12 +02:00
Konrad Pozniak
79f7f884d9
fix sending notifications (this time for reals) (#594) 2018-04-22 10:37:09 +02:00
Levi Bard
e2adddf7b8 Query instance for toot character limit (#571)
* Query instance for toot character limit
Fixes #393

* Move maximumTootCharacters to instance field

* Add caching for maximum toot characters, expanding on the emoji list storage

* Update formatting per review feedback

* Fix compose activity tests

* Rename mastodon api point for nicer interaction with kotlin

* Default emoji list to empty list instead of null, to appease json converters in failure cases

* Use empty list helper

* Fix database migration
2018-04-22 10:35:46 +02:00
littlebelgianwriter
797132a643 New Dutch Translation (#593)
* New Dutch Translation

* Update strings.xml

* fix unescaped character
2018-04-22 09:57:36 +02:00
Óliver García Albertos
d99a18dc56 strings: Add spanish translations (#590)
* strings: Add spanish translations

I kept more or less the same length as the original english translations so everything should fit, although I'm unable to test them at the moment.
For every string I wasn't sure how to translate I checked it against the web interface equivalent from mastodon.social
For every alert or information provided by the app I used a polite verb form, while keeping casual ones for interactions between users.

* strings: Add missing spanish translation
2018-04-20 17:26:47 +02:00
Levi Bard
f66b2baf25 Fix unhandled exception when opening report activity (#592) 2018-04-20 17:22:40 +02:00
remi6397
1fdb624b4b Define "free software" (#591) 2018-04-20 17:21:52 +02:00
Conny Duck
7f5f0e8dd8 show error message when instance has no custom emojis 2018-04-17 22:39:55 +02:00
Conny Duck
145c6a8acb strip slashes from instance domain to avoid crash 2018-04-17 20:51:33 +02:00
Conny Duck
4bdcc9667e fix problem where send notification would stay on forever 2018-04-17 20:07:47 +02:00
Konrad Pozniak
63ab0ef839
Fix crash in EditProfileActivity on Android 8 (#585)
* fix bug where sometimes mentions where duplicated when replying

* fix for crash on Android 8
2018-04-17 19:25:56 +02:00
Conny Duck
b621f8f78d fix bug where sometimes mentions where duplicated when replying 2018-04-17 19:06:28 +02:00
Conny Duck
df5e3a1621 fix crash when loading timelines 2018-04-17 18:37:01 +02:00
remi6397
6ba5017341 Improved consistency of Polish translation. (#578) 2018-04-15 09:38:59 +02:00
Conny Duck
ae02fba437 remove unneeded takePersistableUriPermission
was a mistake to add this in the first place
2018-04-14 18:17:29 +02:00
aka-rin
cf5b810cc5 Update zh-XX Translations (#575)
* i18n: update zh-cn translations.

* i18n: update zh-sg translations.

* i18n: update zh-HK translations.

* i18n: update zh-MO translations.

* i18n: update zh-TW translations.
2018-04-14 16:55:05 +02:00
ButterflyOfFire
6fd27e20ec update arabic translation (#576)
* Add files via upload

* Updating arabic translation

* fix build error
2018-04-14 16:54:31 +02:00
Evgeny Petrov
80e8d8b014 Russian language updated (#574)
* Russian language updated

Please note that I made the translation with [Stringlate](https://github.com/LonamiWebs/Stringlate) so there might be some issues with formatting. Please let me know if any.

* Fixed quotes in <a href> tags
2018-04-14 14:34:01 +02:00
Conny Duck
d5e535fe1c update German translation 2018-04-14 14:33:45 +02:00
Conny Duck
28a85639ed upgrade minSdkVersion to 19 2018-04-14 13:56:48 +02:00
Marcin Mikołajczak
8b93b4379e i18n: Update Polish translation (#572)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-04-14 08:57:58 +02:00
Konrad Pozniak
27eefbf65a
ComposeActivity improvements (#548)
* do not add media urls to status text

* add scrolling to content

* add arrow icon and animation to replying-to toggle

* remove unnecessary compose_button_colors.xml

* improve toot button

* improve bottom bar, add bottom sheet for compose options, dedicated cw button

* fix crash on Android < API 21

* move media picking from dialog to bottom sheet

* add small style tootbutton

* fix colors/button background for light theme

* add icons to media chose bottom sheet

* improve hide media button, delete unused styles

* fix crash on dev build when taking photo

* consolidate drawables

* consolidate strings and ids, add tooltips to buttons

* allow media only toots

* change error message to show max size of upload correctly

* fix button color

* add emoji

* code cleanup

* Merge branch 'master' into compose_activity_refactoring

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

* fix hidden snackbar

* improve hint text color

* add SendTootService

* fix timeline refreshing

* toot saving and error handling for sendtootservice

* restructure some code

* convert EditTextTyped to Kotlin

* fixed pick media button disabled color

* force sensitive media when content warning is shown

* add db cache for emojis & fix tests

* reorder buttons to match mastodon web

* add possibility to cancel sending of toot

* correctly delete sent toots

* refresh SavedTootActivity after toot was sent

* remove unused resources

* correct params for toot saving in SendTootService

* consolidate strings

* bugfix

* remove unused resources

* fix notifications on old android for SendTootService

* fix crash
2018-04-13 22:37:21 +02:00
Conny Duck
8a23f034f0 prevent soft keyboard from opening automatically in EditProfileActivity 2018-04-11 19:15:22 +02:00
Conny Duck
066c46b2e4 fix tamil string 2018-04-11 19:07:31 +02:00
Manimaran.K
c5f6c070dc Translation for Tamil language (#569) 2018-04-10 22:47:06 +02:00
Conny Duck
54d45585e6 improve spoiler warning button & detailed status text size 2018-04-09 16:44:57 +02:00
Christian Paul
289954e7d4 Make German translation more consistent (#567)
* German translation: der Toot becomes der Beitrag

* German translation: Toot! becomes Teilen!

* German translation: berichtet becomes gemeldet

* German translation: NSFW-Inhalte become Heikle Inhalte

* German translation: Followers become Folgende

* German translation: Followanfrage becomes Folgeanfrage
2018-04-09 12:40:12 +02:00
Conny Duck
e8ec2bc274 fixed avatar_default not displaying correctly on the light theme 2018-04-07 16:09:07 +02:00
Conny Duck
6120072730 add disk cache for images 2018-04-06 22:04:14 +02:00
Gareth Murphy
6d6c9575c4 Add regular expression feed filtering (#557)
* Initial implementation of regex feed filtering

Mimics Mastodon web's functionality, but in a simpler form; a single
regular expression is shared across the home, local and federated feeds.

Strings are currently only provided in English and will need to be
translated.

* Fix buggy behaviour on filter regex update

* Validate regex filter input

Fixes buggy behaviour on inputting a regular expression feed filter by
testing the expression continuously as the user types, displaying an
error and disabling the 'OK' button of the dialog at any time it's not a
valid regular expression. Disables spelling suggestions in the input to
make the experience less frustrating and error prone.

Also fixes some generally buggy behaviour upon preference change,
specifically in cases where no Matcher was set prior to a new pattern
being set, which would cause the app to crash.

* Apply regex filter to spoiler text

* Get rid of empty catch block in regex filter code

* Make regex filter error string translatable
2018-04-05 22:58:44 +02:00
Conny Duck
21344866d3 fix note not displaying correctly in EditProfileActivity 2018-04-05 21:46:34 +02:00
Konrad Pozniak
8bca651f53 make text in detailed toots selectable 2018-04-01 15:45:08 +02:00
Konrad Pozniak
3708421362 add new avatar placeholder 2018-03-30 19:46:36 +02:00
Konrad Pozniak
2851e4d38b make avatar rounding independent of image size 2018-03-30 19:08:24 +02:00
Konrad Pozniak
1af0b6fd48 fixes a bug where the ProgressBar in NotificationsFragment would not show up 2018-03-30 09:56:09 +02:00
Conny Duck
3628b8431d add possibility to un/lock accounts 2018-03-27 20:46:53 +02:00
Conny Duck
361352c2e1 upgrade avatar size for Mastodon 2.3 2018-03-27 20:13:24 +02:00
Ivan Kupalov
a5cffe0fea Add Dagger (#554)
* Add Dagger DI

* Preemptively fix tests

* Add missing licenses

* DI fixes

* ci fixes
2018-03-27 19:47:00 +02:00
Conny Duck
720f7c6a0c fix issue where scrolling wont stop after jumping to top 2018-03-17 19:46:01 +01:00
Conny Duck
98b652b7a1 fix crash in StatusBaseViewHolder 2018-03-15 22:08:12 +01:00
Levi Bard
043ac58254 improve content warning button
* Use the entire content warning text + button as the hitbox for the "Show more/less" toggle

* Move the content warning toggle button to its own line and give it a little more space

* Move content warning elements into parent layout, remove now-superfluous FlowLayout

* Use marginTop/Bottom instead of Vertical, which is only in sdk 26+

* Update minimum width for content warning toggle button
2018-03-15 19:15:12 +01:00
aka-rin
c50d0319f3 Fix zh-xx translations (#551)
* Update strings.xml

* Update strings.xml

* Fix zh-cn, zh-sg, zh-hk translations.

* Update strings.xml

* Fix zh-mo, zh-tw translations.
2018-03-12 21:31:33 +01:00
INAGAKI Hiroshi
82021939b4 l10n: update Japanese translation (#549)
Update japanese translations for some new functions.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-11 09:42:21 +01:00
Ivan Kupalov
28e46c9cc0 Add ComposeActivity tests. Add ServiceLocator (#542) 2018-03-09 22:02:32 +01:00
Conny Duck
4e617dccc7 change the color of all SwipeRefreshLayouts to match the Tusky theme 2018-03-09 20:39:08 +01:00
Conny Duck
9e64bd1307 fix crash in LoginActivity 2018-03-09 19:54:24 +01:00
Conny Duck
44b79e31d4 fail silently when status card cannot be loaded for compatibility with Pleroma 2018-03-09 18:56:05 +01:00
Ivan Kupalov
e82c9dcd2a Compose close dialog + focus fix (#539) 2018-03-05 22:43:13 +01:00
Conny Duck
49e61bab83 fix strings 2018-03-05 15:02:26 +01:00
Conny Duck
37c5fe150e remove unused view from activities 2018-03-05 14:53:33 +01:00
Conny Duck
6e3faa8957 update dependencies, use new scheduleAsync of job library 2018-03-03 13:54:58 +01:00
Konrad Pozniak
71954a277e
convert entity classes to Kotlin data classes (#526)
* convert entity classes to Kotlin data classes

* more data classes, code style
2018-03-03 13:24:03 +01:00
ButterflyOfFire
2f7014e05a Improving arabic translation (#523)
Improving arabic translation
2018-03-03 10:33:26 +01:00
Conny Duck
59d254455d prevent saving of incomplete account information to database 2018-03-02 21:25:58 +01:00
Conny Duck
fec1dbc470 fix link header handling in AccountActivityFragment
- fixes douplication of users after undoing unblocks/unmutes
- removes unnecessary loading when scrolled to end of list
2018-03-02 20:56:09 +01:00
nailyk
a81f691689 Translates: FR: Do not use plural for follows_you (#537) 2018-03-02 20:53:01 +01:00
Conny Duck
ed60cc3a78 gracefully handle null statuses in notifications 2018-03-01 21:10:10 +01:00
Conny Duck
550235d40b only alert once on multiple notifications, fix order of notifications 2018-03-01 19:05:47 +01:00
Conny Duck
254be4b21c make it possible to switch accounts when active account fails to load 2018-02-27 19:38:32 +01:00
Conny Duck
d5ed2f9a40 fix a crash in MediaUtils 2018-02-25 15:46:32 +01:00
Conny Duck
49a74f57a5 fix a crash in ComposeActivity when trying to share images while logged out 2018-02-25 15:41:45 +01:00
Conny Duck
1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
nailyk
da54ab5890 Update FR translations (#533)
* Translation: FR: Correct media upload sentences

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>

* Translation: FR: Make follow request sentence innumerable

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
2018-02-21 22:45:22 +01:00
Marcin Mikołajczak
eb15631c10 Update Polish translation (#532) 2018-02-19 17:43:25 +01:00
Conny Duck
14439c016c increase text size of detailed toot 2018-02-17 13:54:27 +01:00
Conny Duck
c766a203bf fix bug in rtl layout, remove unneeded xml attributes & dimen resources 2018-02-16 22:14:25 +01:00
Conny Duck
1e7725a4a0 fix rare crash when resizing image in EditProfileActivity & prevent upscaling of image 2018-02-15 19:29:03 +01:00
aka-rin
5ebb057828 Add Chinese Translations (#528)
* Add zh-CN translations (first version).

满眼生机转化钧, 天工人巧日争新。

* Add zh-TW translations (converted by OpenCC).

幹,我到底寫了三小……

* Add zh-HK translations (converted by OpenCC).

呢個翻譯真喺 On9!

* Fix some translations in zh-CN.

点一下,玩一年,装备不花一分钱~

* Fix some translations in zh-TW, too.

油條要超越板凳當凶器之首了嗎?

* Fix some translations in zh-HK, too...

大家小心流感

* Minor fixes in zh-CN translations.

翻譯比想象中要難啊……

* Add zh-SG translations (the same as zh-CN).

* Update zh-TW translations.

* Update zh-HK translations, too.

Still needs to be improved...

* Add zh-MO translations (the same as zh-HK).

Now it's all set!

* Fix a character in zh-CN translations...

Don't mind, don't mind...

* Fix the same character in zh-SG translations...

It's all my fault. 😂
2018-02-14 22:29:38 +01:00
Konrad Pozniak
17a122b293
Rewrite EditProfileActivity in Kotlin (#525)
* rewrite EditProfileActivity in Kotlin

* fix bug in MainActivity where profiles would duplicate

* fix code style
2018-02-12 22:04:18 +01:00
Konrad Pozniak
0b59b8d0ac
notification improvements (#522)
* correctly filter notifications on Api >= 26, other fixes and refactoring

* use correct areNotificationsEnabled method in MainActivity

* change notification led color
2018-02-12 22:03:08 +01:00
nailyk
c502e001d7 Translates: FR: Improve translations (#524)
* Add new translate related to multi account,
 * Adjust some translates notification related.

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2018-02-10 21:13:54 +01:00
Conny Duck
e6d1e3278d fix wrong navbar color in ViewMediaActivity & ViewVideoActivity on Android 8.1+ 2018-02-09 23:25:48 +01:00
Conny Duck
1de45e7dd7 hide follow button on own profile correctly, code optimizations 2018-02-09 22:49:20 +01:00
Conny Duck
1a3907936d fix crash in ComposeActivity when account has no profile picture set 2018-02-08 19:17:08 +01:00
Conny Duck
5dbe3c927e fix timeline filtering not working after app restart 2018-02-08 19:12:02 +01:00
Conny Duck
274343a064 set the correct default theme in preferences 2018-02-05 11:29:08 +01:00
Conny Duck
6dd8c7a3ec fixes a crash when trying to share via Tusky while not logged in 2018-02-05 11:27:32 +01:00
Evgeny Petrov
ba46e90140 Russian translation for Tusky 1.5 (#513)
* Russian translation for Tusky 1.5
* Added multiaccount strings
* Added licence strings
* Added media caption strings
* Added lists strings
* Added HTTP proxy strings
* Added theme strings
* Some small fixes

* Tusky-RU: A small fix for "visually_impaired" strings

* Tusky-RU: Some fixes for "Proxy" strings.
"Blind" translating is bad :(
2018-02-04 15:16:01 +01:00
Conny Duck
5b8cbeb7e9 Release 32 2018-02-04 10:31:50 +01:00
Conny Duck
b5baaa89cf add database migration 2018-02-04 10:12:01 +01:00
Conny Duck
f76d90affd set proxy setting to default off 2018-02-04 09:32:05 +01:00
Conny Duck
305d67fd2c improve german translation 2018-02-04 09:30:29 +01:00
Conny Duck
9b6ca7ff42 remove unused resources 2018-02-03 23:43:06 +01:00
Conny Duck
f08efec0b6 simplify theme handling 2018-02-03 23:26:53 +01:00
Konrad Pozniak
92ae463b38
Multi account feature (#490)
* basic implementation

* improve LoginActivity

* darken drawer background image

* add current avatar in ComposeActivity

* add account name to logout dialog

* multi account support for notifications

* multi account support for notifications

* bugfixes & cleanup

* fix bug where somethings notifications would open with the wrong user

* correctly set active account in SFragment

* small improvements
2018-02-03 22:45:14 +01:00
Conny Duck
c9004f1d54 adjust follow button font size 2018-02-03 13:34:40 +01:00
Conny Duck
3524a67a7f simplify list_item layout 2018-02-03 13:24:12 +01:00
Conny Duck
adc91235ee reorganize manifest permissions 2018-01-31 22:24:08 +01:00
Conny Duck
3c795c6eef upgrade to minSdkVersion 18, fix some lint warnings 2018-01-31 21:57:50 +01:00
nailyk
2eaf727a1d Translate: Polish: Correct typo (#511)
* Add missing '!'. Should unbreak the build.
2018-01-30 18:24:08 +01:00
Conny Duck
6305f19f0c fix bug where sometimes a mention would be underlined 2018-01-29 22:11:32 +01:00
Marcin Mikołajczak
f18f759c10 Update Polish translation (#510)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-01-27 22:25:28 +01:00
remi6397
11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
Conny Duck
8fa1320afe prevent crash in NotificationsAdapter when avatar url is not set 2018-01-15 17:06:21 +01:00
Ivan Kupalov
0426e8725a Set caption for media (#500) 2018-01-08 23:16:21 +01:00
Ivan Kupalov
6152043df3 Add basic lists support (#501) 2018-01-06 19:01:37 +01:00
ButterflyOfFire
dd9bba94bb Update Arabic translation #499) 2018-01-04 16:46:56 +03:00
Sergio López
7c83e0f87d implement support for HTTP proxy (#489)
This change allows the user to manually enter an unauthenticated proxy
configuration to be used for all API connections. This is mainly
intended for using Tusky with Tor (via Orbot or a local proxy).
2017-12-26 21:45:08 +01:00
Conny Duck
73342d38cf update arabic translations 2017-12-16 11:06:26 +01:00
Conny Duck
2e4fef69a1 add navigation bar color for API >= 27 2017-12-13 19:35:12 +01:00
Conny Duck
3bd855d4c4 set tab indicator height to 3dp 2017-12-09 21:34:04 +01:00
Conny Duck
2899114f66 add new debug build so two tusky versions can be run on the same device 2017-12-08 12:15:46 +01:00
Conny Duck
2b477f4eea new icon & improved functionality for quick settings tile 2017-12-07 20:21:02 +01:00
Joan Montané
9602888ad3 Update Catalan strings (#480) 2017-12-05 21:59:58 +01:00
Conny Duck
fbf64fa1e9 fix NPE in MediaUtils.getMediaSize 2017-12-05 21:48:17 +01:00
Conny Duck
e5516749ed stop cursor from jumping when upload finishes while composing toot 2017-12-05 20:56:42 +01:00
Conny Duck
13ed5da741 fix error in german strings 2017-12-05 20:36:08 +01:00
Koyu Berteon
c2bf0ffbda Updated German translation (#478)
* Updated German translation
2017-12-04 10:51:22 +01:00
Conny Duck
91c73a0b74 fix crash in SavedTootActivity when deleting drafts rapidly 2017-12-03 21:56:47 +01:00
Conny Duck
ab4525ac38 fix ConcurrentModificationException when notification arrives 2017-12-02 14:34:47 +01:00
Evgeny Petrov
c7ecf352cf Russian language updated (#475)
• Added new strings for status text sizes.
• Added new strings for status privacy values.
• Added new string about hidden media.
2017-12-02 13:14:57 +01:00
Konrad Pozniak
4743c85d82 fix crash on Android 4 2017-12-02 12:22:52 +01:00
Conny Duck
03f866f8c2 fix toot button and characters left text size 2017-12-01 22:44:18 +01:00
Conny Duck
b2f9f87fc8 make medium the default font size on startup 2017-12-01 22:43:48 +01:00
Conny Duck
7abd8c8d70 fix some lint warnings 2017-12-01 22:31:34 +01:00
Conny Duck
c20ee1d593 make content warning button smaller 2017-12-01 22:15:26 +01:00
Conny Duck
7cc1ed9844 fix problem with spark buttons behaving weirdly 2017-12-01 22:13:47 +01:00
Conny Duck
bf4d0bb722 change handling of font size, introduce font size setting 2017-12-01 21:52:10 +01:00
Conny Duck
b33740d74e fix IndexOutOfBoundsException in ViewThreadFragment 2017-11-30 21:04:47 +01:00
Conny Duck
08d01e6046 improve german translation, strings 2017-11-30 20:58:56 +01:00
Konrad Pozniak
41233a837b
UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +01:00
nailyk
0077388c65 Correct array translations (#470) 2017-11-29 07:26:17 +01:00
Conny Duck
1c2a647569 improve default post privacy to work like web mastodon, add default post privacy option 2017-11-27 20:11:31 +01:00
Conny Duck
1351c8b885 move string arrays into string.xml files so they do not get forgotten by translators 2017-11-27 19:47:31 +01:00
Joan Montané
ce90862041 Add Catalan translation (#464)
* Create strings.xml

* Create array.xml
2017-11-22 22:00:55 +01:00
Ivan Kupalov
2575b16dad Save reply info in draft, refactor (#449)
* Save reply info in draft, refactor

* Handle replying to deleted status
2017-11-16 19:18:11 +01:00
Evgeny Petrov
a859ef0432 Tweaks to Russian translation (#454)
• Added missing translations to timestamps (1s, 2m, 3h etc);
• Renamed "bio" section (now it's translated as "about me" since "biography" means something large and detailed);
• Renamed "thread" sections (now it uses more native word "Discussion", rather than transliterated "Thread" word);
• Changed notification string about new notifications. This change may look a bit ugly, but it solves a problem with declension of numeric values.
2017-11-16 01:01:07 +03:00
Conny Duck
3055e6176e upgrade libraries, fix DrawerImagerLoader deprecated warning 2017-11-15 21:50:15 +01:00
Konrad Pozniak
3204223af7
fix clear notifications crash (#458) 2017-11-15 21:18:35 +01:00
Konrad Pozniak
ed22d65c68 simplify MainActivity back press handling (#456) 2017-11-13 22:43:16 +03:00
Ivan Kupalov
ddc4954f8a Cancel notifications on opening notifications tab (#450) 2017-11-13 19:05:23 +01:00
ButterflyOfFire
b13a27a777
Update strings.xml 2017-11-11 13:55:26 +01:00
Conny Duck
8e59d2d524 fix a crash on application start when no domain was saved in "domain" shared pref 2017-11-10 09:26:25 +01:00
Conny Duck
dec7da9655 upgrade to API Level 27, fix nullability problems with new support library 2017-11-09 14:35:52 +01:00
Conny Duck
97546e79d9 fix a bug where a thread was not shown completely 2017-11-09 10:08:52 +01:00
Conny Duck
f35ff105e9 fix crash when AccountMediaFragment was recreated 2017-11-07 23:33:17 +01:00
Conny Duck
59bcb6f0bf fix bug where account timeline showed only media toots 2017-11-07 23:06:06 +01:00
Ivan Kupalov
2816d9f929
Merge pull request #439 from charlag/status-notifications-behavior
Status notifications behavior (closes #322, partly #292)
2017-11-07 23:12:37 +02:00
charlag
76c7a7e462 Display CWs in notifications correctly 2017-11-08 00:09:44 +03:00
Anna e só
53de82bced pt-rBR translation updated (#438) 2017-11-07 21:37:11 +01:00
Ivan Kupalov
b11e88cf46
Merge pull request #437 from MasterGroosha/patch-1
Russian language updated
2017-11-07 21:41:26 +02:00
Evgeny Petrov
424f38a5fa Russian language: translated numeric values for notification check timeout, some other small improvements. 2017-11-07 22:39:35 +03:00
charlag
92fb55cb3a Open status from notifications 2017-11-07 22:36:19 +03:00
Conny Duck
305d28a5c1 fix some lint warnings, remove unused code 2017-11-07 15:31:44 +01:00
Conny Duck
a2c361914b fix a crash in ComposeActivity where a dialog was canceled that was already removed from the window 2017-11-07 15:01:20 +01:00
Conny Duck
26834b36ed update german translation 2017-11-07 14:52:43 +01:00
Evgeny Petrov
d0bd68f3e2
Russian language updated 2017-11-07 15:56:04 +03:00
Conny Duck
5fff9e2bdc increase okhttp timeouts so posting large images works 2017-11-07 13:27:35 +01:00
Conny Duck
3053e097a7 upgrade room library to 1 (fix merge problem) 2017-11-07 13:12:57 +01:00
Konrad Pozniak
21de60f739
Merge branch 'master' into timeline-improvement 2017-11-07 13:03:49 +01:00
Conny Duck
52dd9559d6 fix placeholder not resetting itself after a load failed 2017-11-07 12:59:46 +01:00
charlag
74d6736afc Make status placeholder abstraction cleaner 2017-11-07 12:44:19 +01:00
charlag
0dede1ba7d Make more clear representation of placeholder in notifications 2017-11-07 12:44:19 +01:00
Ivan Kupalov
dc1a60cc12 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Conny Duck
80a10c1ac1 implement "load more" placeholder 2017-11-04 21:57:30 +01:00
Kazuki KANDA
a934582025 Improves and adds Japanese translations. (#434) 2017-11-04 17:56:19 +01:00
Conny Duck
51c547ffb0 fix an error where opening notifications would lead to the wrong status 2017-11-04 13:25:37 +01:00
Conny Duck
fcb8a23343 fix an issue with avatars in notifications loading on the wrong thread 2017-11-03 10:09:09 +01:00
Conny Duck
9df3836665 prevent a crash in ComposeActivity when ContentResolver raises a SecurityException 2017-11-02 21:18:39 +01:00
Conny Duck
2dfd83ef97 adding image keyboard support (and some cleanup) 2017-11-01 21:56:38 +01:00
Ivan Kupalov
018be25137 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov
62f4837135 Reply improvements (#432)
* Refactor ComposeActivity intent. Fix bug with URLs

When user saved toot link was removed from the text field itself,
not only from the text to be saved.

* Show what you reply to

Closes #119
2017-11-01 20:59:29 +01:00
Conny Duck
2d390f6603 change default of chrome custom tabs setting to false 2017-10-30 10:48:27 +01:00
Conny Duck
93fcd33c48 add actionbar to PreferencesActivity 2017-10-30 10:41:59 +01:00
Ivan Kupalov
15e37576e5 Add media upload progress. Closes #412 (#426) 2017-10-29 22:18:45 +01:00
Tibike Miklós
d2a5dcc144 Hungarian translation (#428)
* - Added a few lines of hungarian into resources

* - Added another round of commits

* - Added the rest of the Hungarian translations
2017-10-29 22:17:51 +01:00
Ivan Kupalov
bc59d4d938 Fix issues with media uploads restoring. Fixes #419. Fixes #308. (#425) 2017-10-28 22:24:26 +02:00
Conny Duck
671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Conny Duck
4807493850 update AboutActivity to show License, remove ic_logo.png 2017-10-28 13:39:32 +02:00
Conny Duck
9dd09d0522 fix a bug where favs & reblogs where not shown correctly in NotificationsFragment 2017-10-27 23:39:36 +02:00
Konrad Pozniak
5cbc7217ff Link previews for detail statuses (#424)
* implement link preview cards on detail statuses

* cleanup code
2017-10-27 13:20:17 +02:00
Ivan Kupalov
df4dfa7766 Stop adding link info when composing toot (#418) 2017-10-27 13:19:12 +02:00
Conny Duck
0fd25ff124 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
Jeroen
8e92a32c01 Update of Dutch strings (#416) 2017-10-26 18:00:17 +02:00
Conny Duck
9dc9ee2ef0 upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
Anna e só
86f03d2603 i18n: PT-BR translation added (#415) 2017-10-25 19:34:08 +02:00
Conny Duck
256a11aa07 Release 27 2017-10-25 11:13:33 +02:00
Conny Duck
d21bd0e1dd remove some unneeded strings 2017-10-25 10:57:40 +02:00
Conny Duck
00c5a975d6 close ViewThreadActivity if the main status got removed to avoid crashes on subsequent refreshes 2017-10-24 23:33:05 +02:00
Conny Duck
b213941c5b improve custom emoji size/padding/alignment, fix jumping of text when emojis are loaded 2017-10-24 23:10:15 +02:00
Ivan Kupalov
4736462911 Fix sending wrong requests for autocompletion (#414)
The problem was that Tusky kept sending requests for autocompletion
while writing toots even when the user wasn't typing a username
anymore. As it happened very often we would exceed the API request
limit and user wouldn't be able to send the toot.

This happened because Tokenizer is not used as expected. In fact,
during testing, findTokenEnd() and terminateToken() were never called.
I've tried setting a Validator but it wasn't used either. I'm not
sure what is the reason.

I am afraid it still may work incorrectly for the full nicknames
(ones with the instance name, like @name@isntance) because
the search may happen for the instance name but it's not as
critical.
2017-10-24 23:02:38 +02:00
Ivan Kupalov
3054980d74 Fix deprecated BitmapDrawable constructor (#413) 2017-10-24 22:57:44 +02:00
nailyk
3f07e8a9b7 Update FR translate (#408)
* Strings: FR: Update translation

 * Follow is not a good term, replace it by something more relevant.

* Strings: FR: Add missing translates

 * Code string 'saved' is translated 'Drafts' in English.
   Use 'saved' based words in FR however.
2017-10-24 13:09:22 +02:00
Ivan Kupalov
938229d7d4 Fix custom emoji size (#407)
Now custom emoji images adapt to the font size.
2017-10-23 23:04:53 +02:00
Conny Duck
d9bbb1be71 should fix a problem with autocomplete and some keyboards 2017-10-23 22:55:43 +02:00
Conny Duck
87b34df892 fixes a crash within TootDao that is caused by an change in the room library 2017-10-23 21:52:46 +02:00
Evgeny Petrov
ba7e1a77a1 Russian language updated (#406) 2017-10-23 09:38:59 +02:00
Conny Duck
8e44348f46 create notification channels ahead of time so users can edit the settings before a notification was issued 2017-10-21 21:28:05 +02:00
Conny Duck
8b13ce4806 update german strings 2017-10-20 16:39:34 +02:00
Conny Duck
942f26c632 remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
Conny Duck
2666f81b96 remove old emoji shortcodes 2017-10-19 15:54:08 +02:00
Ivan Kupalov
3adef27bbb Load custom emoji in statuses (#400) 2017-10-19 15:25:04 +02:00
Conny Duck
2859a5075c completely remove firebase, mqtt and google services from build 2017-10-19 14:39:56 +02:00
Conny Duck
b7f3a90f92 new launcher icon, new adaptive icon 2017-10-19 14:06:52 +02:00
Conny Duck
0789f048e6 fix typo in preference key 2017-10-18 22:18:44 +02:00
Conny Duck
30312e0e55 implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
Conny Duck
7d7aeadd41 improve content warning background 2017-10-18 11:08:49 +02:00
Conny Duck
3a7a663824 change background color of detailed status for better legibility, especially with light theme 2017-10-18 10:12:53 +02:00
Conny Duck
f2f3be37b3 cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
lindwurm
81bb7997ce Update Japanese Translations
add japanese strings for #386 #389 #391

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-10-17 17:02:10 +09:00
Konrad Pozniak
25a489fe03 Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak
1297a35e9b Merge pull request #386 from lenchan139/master
add option: always show all sensitive content without warning
2017-10-17 09:44:19 +02:00
Conny Duck
c3ffed56da fix a bug where saving a toot with attached media would crash the app 2017-10-17 09:38:36 +02:00
Konrad Pozniak
5176fc104d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
Konrad Pozniak
34918884b5 Merge pull request #391 from flyingrub/copy
Add a menu entry to copy the link of a toot
2017-10-16 23:30:36 +02:00
Konrad Pozniak
840efd1916 Merge pull request #372 from connyduck/avatar-placeholder-improvement
rounded corners for avatar placeholder
2017-10-16 17:18:09 +02:00
flyingrub
4fb9ee99f6 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub
402f696c10 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Len Chan
c0a5e55f47 add option: always show all sensitive content without warning 2017-09-19 23:19:18 +08:00
torrentcome
87de285fe8 (#377) hide sensitive images after showing them
-The web client overlays a small eye button over sensitive images after they've been shown that re-hides them
2017-08-30 14:22:12 +02:00
Conny Duck
71743890b0 rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
Vavassor
67f3ce6e4e Changes content warning show more/less button to use a drawable with built-in shadow for compatibility with API levels below 21. 2017-08-11 16:34:43 -04:00
lindwurm
7c90cd76e3 l10n: Update Japanese translations
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-08-10 10:24:02 +09:00
Vavassor
f8c75c8c90 Merge branch 'master' of https://github.com/dimqua/Tusky into dimqua-master 2017-08-09 17:24:13 -04:00
Vavassor
973c6168f8 Adds a confirmation dialog for unfollowing a user using the account header button. 2017-08-09 01:16:00 -04:00
Vavassor
b7dcd31470 Merge branch 'button-improvements' of https://github.com/connyduck/Tusky into connyduck-button-improvements 2017-08-08 23:55:32 -04:00
Vavassor
ad399eedf1 Merge branch 'account-activity-improvements' of https://github.com/connyduck/Tusky into connyduck-account-activity-improvements 2017-08-08 21:23:16 -04:00
Vavassor
b1b6e1c21a Merge pull request #360 from torrentcome/#20_duplicated_interface
(fragment) quick changed
2017-08-08 19:30:04 -04:00
Conny Duck
2c1bae80b7 rename setting "follow button" -> "compose button" 2017-08-05 12:04:58 +02:00
Conny Duck
f696b6e8d3 bugfix, layout improvements 2017-08-05 12:04:40 +02:00
Conny Duck
17876008cf improve buttons in follow request/muted users/saved toots/blocked users 2017-08-05 10:52:58 +02:00
Conny Duck
2f66de9797 code cleanup, simplify AccountActivityLayout 2017-08-05 10:29:04 +02:00
Conny Duck
848189d670 show if an account follows you back in AccountActivity 2017-08-05 10:09:17 +02:00
Conny Duck
099d76d919 make FAB hide on scroll in AccountActivity as well 2017-08-04 11:44:10 +02:00
Conny Duck
e4c9b229d7 change floating action button to "mention", create new follow button in AccountActivity 2017-08-04 10:53:38 +02:00
Vavassor
af1d92c965 Actually form thread lines properly in the thread view. Closes #57 2017-08-03 22:30:37 -04:00
Vavassor
df07ab2600 Adjusts background colours and button colours on the dark theme. Also, adds a background to the main status in a thread. 2017-08-03 19:13:26 -04:00
Vavassor
cb1e8eaea7 Cleans up the distinction between detailed and normal status view holders. 2017-08-03 17:26:26 -04:00
Conny Duck
42734c4f57 improve layout of AccountActivity tabs 2017-08-03 16:24:14 +02:00
Vavassor
309c89eefc Makes the main status of a thread appear as a more detailed view. 2017-08-03 00:29:31 -04:00
Vavassor
6b3dd30527 Fixes URLs being deleted erroneously when multiple images are added in the composer. 2017-07-30 17:16:32 -04:00
Vavassor
4f96d850cc Fixes a crash when autocompleting a mention, second try. (previous fix was commit ab537ef3cb) 2017-07-28 12:36:54 -04:00
Vavassor
9381f21e16 Fixes links in statuses not using custom tabs even when the option is enabled (typo). 2017-07-28 11:59:32 -04:00
Vavassor
fb173c42b6 Fixes a incompatibility-related crash when the hiding media previews option is selected and the device is API level 19 or under. 2017-07-28 11:54:57 -04:00
torrentcome
8441c52b4e (fragment) quick changed
The duplicated interface will no appeared anymore. The problem is with the "stack memory" who do weird thing with his fragments.

no more duplicated stuff after that ;)
2017-07-28 16:11:01 +02:00
Vavassor
239ebaf9b2 Consolidate the two media buttons in the composer. 2017-07-27 22:40:58 -04:00
Vavassor
368d8e5901 Documents some utilities 2017-07-27 22:03:45 -04:00
Vavassor
bfdd0cb3a2 Release 1.1.4
Release 1.1.4
2017-07-27 22:01:17 -04:00
Koyu Berteon
e6b67498b5 Translating array.xml file 2017-07-27 22:01:17 -04:00
Koyu Berteon
47b12b456d Translated more untranslated strings 2017-07-27 22:01:17 -04:00
Vavassor
2cfb92013e Adjusts padding of the composer buttons. 2017-07-27 01:13:33 -04:00
Vavassor
f3b5087c52 Adds save draft button to composer. 2017-07-27 00:56:53 -04:00
Vavassor
42a49fbd4e Updates the upload size limit and correct it to power of two numbers of bytes as it actually always was. 2017-07-26 00:12:02 -04:00
Vavassor
2ed979d7fd Fixes a crash and errors associated with a URL pasted into the composer being edited before its metadata is loaded. 2017-07-25 19:23:37 -04:00
Vavassor
e5deac0fa9 Addendum to commit 30d7f269de to cancel the callbacks so they're not called after the fragment is detached. Closes #357 2017-07-25 17:35:36 -04:00
m4sk1n
95053e4cc3 i18n: Updated Polish translation 2017-07-22 09:35:02 +02:00
Vavassor
6e366a1b84 Give up 2017-07-20 22:29:29 -04:00
Vavassor
3f8378ae3a Fixes a crash when a timeline or thread is backgrounded and brought back with an uninitialized notification or status list. 2017-07-20 21:17:36 -04:00
Vavassor
ab537ef3cb Fixes a crash while autocompleting a mention. Also, a small bit of refactoring. 2017-07-20 17:54:41 -04:00
Vavassor
f6c309e7db Fixes a crash when a thumbnail for an image attachment fails to load. 2017-07-19 00:28:36 -04:00
Vavassor
1d10a7f6e8 The unloaded drawer header was sometimes returning zero dimensions and crashing. It's just easier to let it handle resizing and cropping. 2017-07-19 00:15:53 -04:00
Vavassor
30d7f269de Fixes an intermittent null pointer exception caused by getActivity() returning null in callbacks. 2017-07-18 23:34:07 -04:00
Vavassor
51e2b7c949 Fixes a few content descriptions and re-titles the Drafts page. 2017-07-18 22:32:13 -04:00
Vavassor
e42811a1ba Merge pull request #350 from connyduck/translation-6
update german translation for version 1.1.4
2017-07-18 20:22:44 -04:00
Vavassor
25b680c401 Merge pull request #351 from connyduck/bugfix-search
fix bug where "no result" message was not shown in SearchActivity
2017-07-18 20:20:41 -04:00
Vavassor
b708f8ecc5 Merge pull request #353 from connyduck/permission-fix
fix permission problem when downloading image
2017-07-18 20:19:51 -04:00
Conny Duck
aa0206000b fix permission problem when downloading image 2017-07-18 21:32:43 +02:00
Conny Duck
8c1130ef66 show currently selected check interval in settings 2017-07-18 20:33:46 +02:00
Conny Duck
27f614d7c3 fix bug where "no result" message was not shown in SearchActivity 2017-07-18 20:05:41 +02:00
Conny Duck
33810f6e61 update german translation for version 1.1.4 2017-07-18 19:44:33 +02:00
Vavassor
bb0ea876fa Okay, toss BouncyCastleProvider so we can release a beta. 2017-07-18 00:30:24 -04:00
Vavassor
857f39b480 Widens proguard to just keep everything under org.bouncycastle when minifying. Also fixes a bug where the composer's content warning is hidden after changing orientation. 2017-07-17 00:06:48 -04:00
Vavassor
408d38102d Fixes the search page not working on Android Kitkat (searching applications instead of accounts and tags). 2017-07-16 22:31:40 -04:00
Vavassor
f7d4d20984 Merge branch 'media-preview' of https://github.com/charlag/Tusky into charlag-media-preview 2017-07-16 19:59:17 -04:00
Vavassor
5257ecbfe2 Fixes notifications not setting their visibility. 2017-07-16 19:56:26 -04:00
Vavassor
b8fb2c903c Merge branch 'fix-boosts' of https://github.com/charlag/Tusky into charlag-fix-boosts 2017-07-16 19:33:57 -04:00
Vavassor
f4d627e815 Release 1.1.4-beta.6 2017-07-16 18:26:56 -04:00
dimqua
48b8056664 Russian translation 2017-07-15 21:32:47 +03:00
Ivan Kupalov
08f928a2b2 Improve media browser and video viewer
* show/hide status bar by tapping a photo
* dim and color status bar in video/media viewers
* show/hide status bar in video viewer
* use shared element transition when opening a photo is possible
* center video in VideoView
2017-07-15 18:37:53 +03:00
Ivan Kupalov
b51f15ac18 Fix bug where there were no media in the boosted toot and avatar opened wrong profile. 2017-07-15 14:57:51 +03:00
Vavassor
6e67db7631 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor
f37bb694f1 Makes the toolbar shadow visible for pre-Lollipop android versions and fixes a crash when deleting a draft with no media attached. 2017-07-15 03:10:55 -04:00
Vavassor
87600b016f Removes unused icons and does bits of cleanup. 2017-07-14 23:23:14 -04:00
Vavassor
ec57f28d16 Re-includes Firebase Crash Reporting in the google play build flavour. 2017-07-14 20:58:31 -04:00
Vavassor
d55181ccd0 Adds ability to localize timestamps. 2017-07-14 19:45:26 -04:00
Vavassor
8559a6d75c Corrects number localization and adjusts the padding of the reblog avatars in right-to-left layout direction. 2017-07-14 18:18:29 -04:00
Vavassor
68e3ec67c5 Merge branch 'charlag-boost-avatars' 2017-07-14 17:10:41 -04:00
Vavassor
96cba0cc2b Fixes timelines and notifications tabs fetching progressively further down when they are restarted. 2017-07-14 17:09:44 -04:00
Vavassor
40467fd355 Merge branch 'boost-avatars' of https://github.com/charlag/Tusky into charlag-boost-avatars 2017-07-14 16:54:26 -04:00
Vavassor
be5af7e1df Merge pull request #337 from jeroenpraat/patch-3
Update Dutch strings for 1.4
2017-07-14 16:04:25 -04:00
Vavassor
80c95839b7 Merge pull request #338 from jeroenpraat/patch-4
Updating instances website and project website
2017-07-14 16:03:51 -04:00
Vavassor
f56d16c8fd Merge pull request #334 from charlag/paired-list-fix
Fix bug with paired list incorrectly adding to the specified position.
2017-07-14 16:03:36 -04:00
Jeroen
16736e38ba Updating instances website and project website 2017-07-14 19:11:47 +02:00
Jeroen
35e5a9788a Adding this to Dutch strings too 2017-07-14 19:03:46 +02:00
Jeroen
37f2529fa2 Updating Dutch strings for 1.4 2017-07-14 18:59:00 +02:00
Henri Gourvest
0945b881f5 avoid crash when new notification list is empty 2017-07-14 11:11:38 +02:00
Ivan Kupalov
240fb372ba Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00
Ivan Kupalov
c6aad085a9 Fix bug with paired list incorrectly adding to the specified position.
This bug led to incorrect refreshing of the timeline
2017-07-14 06:51:03 +03:00
Vavassor
38db48c7cb Merge pull request #331 from m4sk1n/master
i18n: Updated Polish translation
2017-07-13 22:01:01 -04:00
Vavassor
e6bc28c831 Fixes a small error in pull request #332 where reblog and favourite notifications show your display name for the "reblogged by/favourited by" message instead of whomever did so. 2017-07-13 21:57:15 -04:00
Vavassor
a23cca7047 Re-does commit 5754a3a177 because those changes were stomped by merging in commit fc1a24be11. 2017-07-13 21:39:17 -04:00
Vavassor
fc1a24be11 Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover 2017-07-13 21:31:31 -04:00
Vavassor
5754a3a177 Fixes bug where the order of notifications could be jumbled when removing duplicates using a HashSet. 2017-07-13 20:17:50 -04:00
Ivan Kupalov
90c1a83ba4 Preserve status states on updates. UI layer refactoring.
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
2017-07-13 22:18:08 +03:00
Vavassor
b77d9934ab Fixes some odd spacing in right-to-left direction and sets some icons to auto-mirror. 2017-07-12 17:03:32 -04:00
Marcin Mikołajczak
bd8ff45983 i18n: @f68f6d7 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 17:01:59 +02:00
Marcin Mikołajczak
9eb1106ea6 i18n: @76fca00 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:58:59 +02:00
Marcin Mikołajczak
3b77660efb i18n: @7a7bca5 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:55:13 +02:00
Marcin Mikołajczak
542980f13f i18n: 946f584 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:51:26 +02:00
Vavassor
e4dff388d2 Improves right-to-left layouts in the most basic fashion. 2017-07-12 02:09:07 -04:00
Vavassor
a1e007eb2a Adds saving media to drafts. 2017-07-11 21:49:46 -04:00
Vavassor
f68f6d7473 Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
Vavassor
14d02e72b7 Adds envelope icon indicator to direct messages on timelines, so they can be differentiated from private statuses. 2017-07-08 15:44:08 -04:00
Vavassor
125c0e7e6c Saves content warnings in drafts. 2017-07-07 22:56:07 -04:00
Vavassor
74549f4de7 resolves merge conflict 2017-07-07 18:57:36 -04:00
torrentcome
b6d4b388a5 Merge branch 'master' into #142/SaveToots
# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java
2017-07-07 13:28:31 +02:00
torrentcome
47dccd81e7 (db) add the Update feature for each Draft we already have 2017-07-07 12:32:47 +02:00
torrentcome
42d94633cf (ui) fix bug that when we comeback from the Composer , there is no update of the view 2017-07-07 12:32:04 +02:00
Vavassor
63bf832ffd resolves merge conflict 2017-07-06 22:15:44 -04:00
Vavassor
643206c20b Merge pull request #329 from KrzysiekJ/patch-1
Fix a typo in Polish translation
2017-07-06 21:57:14 -04:00
Vavassor
76a31602ed fixes two log messages 2017-07-06 18:35:39 -04:00
Vavassor
74e395834d Adds or updates Bouncy Castle as a security provider. A possible fix for alleviating issues with connections (issue #46 in particular). 2017-07-06 18:27:51 -04:00
torrentcome
0ce5c49655 (db) version = 1 2017-07-06 12:31:59 +02:00
torrentcome
76fca004ee (correction) fix some forgot code to present the pull request :D 2017-07-06 12:20:54 +02:00
torrentcome
87c1edb3d4 (medias) try to add medias 2017-07-05 16:36:14 +02:00
torrentcome
7a7bca565e (string) add string 2017-07-05 16:35:41 +02:00
torrentcome
1e597fb7b1 (ui) more ui with list saved toot 2017-07-05 16:35:33 +02:00
torrentcome
03769f0644 (crud) change delete stuff 2017-07-05 16:35:15 +02:00
torrentcome
451229779f (room) add room gradle file 2017-07-05 16:34:59 +02:00
Krzysztof Jurewicz
fe2242a298 Fix a typo in Polish translation 2017-07-05 15:55:19 +02:00
Vavassor
b07151b707 Merge branch 'charlag-boost-actions' 2017-07-04 17:44:29 -04:00
Vavassor
b52bf2d158 Merge branch 'boost-actions' of https://github.com/charlag/Tusky into charlag-boost-actions 2017-07-04 17:31:49 -04:00
Vavassor
4259b54394 Merge pull request #328 from m4sk1n/patch-4
i18n: @275cd51 @3955649 (pl)
2017-07-04 17:28:01 -04:00
Vavassor
9b63eaaa68 Merge pull request #320 from m4sk1n/patch-3
i18n: Updated Polish translation
2017-07-04 17:27:47 -04:00
m4sk1n
4de590e717 i18n: @275cd51 @3955649 (pl) 2017-07-03 14:25:05 +02:00
Vavassor
932a990fe4 Fixes bug where "The upload failed." error message shows up when media upload is canceled intentionally. 2017-07-02 17:55:18 -04:00
Vavassor
b06dda47c1 Fixes a crash where photoUploadUri can be nullified if the activity is evicted from memory while taking a picture, so when it resumes and recreates it no longer has a valid URI. Closes #326 2017-07-02 17:45:13 -04:00
Vavassor
17df70d166 Possible fix for unnecessary thread post reloading (issue #327). 2017-07-02 16:41:33 -04:00
Vavassor
9e07c59565 Adjusts composer imports. 2017-07-02 16:34:10 -04:00
Ivan Kupalov
0f15509345 Add boost click handling 2017-07-02 09:55:20 +03:00
Vavassor
afa21f5a5c Makes end of list footers have zero height. 2017-07-01 23:23:42 -04:00
Vavassor
5d621cecda Changes mention and tag highlighting in the composer to use Mastodon's regex. Closes #145 Also, does some haphazard cleanup. 2017-07-01 20:32:35 -04:00
Vavassor
6b0ae5be95 Fixes the same typo in 3 places. 2017-06-30 19:49:10 -04:00
Vavassor
275cd51a6d Adds correct footer behaviour to account lists and unifies it with how timelines use them. 2017-06-30 18:30:25 -04:00
Vavassor
3955649b9c Moves loading of accounts, notifications, and statuses to use link headers. Also remedies an issue where duplicate calls for the same chunk of items in a list can occur. 2017-06-30 02:31:58 -04:00
torrentcome
6ce3b98615 (rm) tootaction ...for keep easier action , we will distribute every result inside the activity 2017-06-29 17:58:01 +02:00
torrentcome
b0f848b0f7 (db) insert toot with long click 2017-06-29 17:56:58 +02:00
torrentcome
2022705282 (menu) change menu array to list
laster we will put some logic for show or not the savedToot part
2017-06-29 17:56:36 +02:00
torrentcome
946f58439c (saved_toot) add part of saved toot activity 2017-06-29 17:55:39 +02:00
torrentcome
f79445f50a (clean) keep it simple , don't polluted ComposeActivity, commented and moving the code 2017-06-29 12:03:44 +02:00
torrentcome
9d21c36758 (dao) crud interface 2017-06-29 12:01:14 +02:00
torrentcome
fec8e5c47c (db) insert + read 2017-06-28 19:33:54 +02:00
torrentcome
2642c4432c (db) create CRUD model 2017-06-28 19:33:20 +02:00
m4sk1n
9aad5ddb13 i18n: Updated Polish translation 2017-06-27 23:11:47 +02:00
Vavassor
3f3ccfca55 Adds an icon to video and gifv media previews to indicate they can be played. The icon is a circled triangle (play button). Closes #319 2017-06-26 19:04:05 -04:00
Vavassor
0a7eaadda1 Adds the mention to whom is being replied first, before other mentions in a thread, rather than after them. 2017-06-26 18:10:01 -04:00
Vavassor
514cea68cc Take it down a notch, there, buddy. 2017-06-26 17:54:00 -04:00
Vavassor
1dc9c87c2e Fixes public visibility being disabled when replying, and changes the default to public like non-reply posts. 2017-06-26 15:46:03 -04:00
Vavassor
c5c6e8205a Fixes autocomplete list getting cut off in the composer if the user is using an app or launcher that hides the status bar. 2017-06-26 15:38:04 -04:00
Vavassor
7d7d5864d4 Adjusts the media label alignment in statuses. 2017-06-26 14:51:39 -04:00
Vavassor
3f54ead962 Adds option to hide media previews if reduced data usage is desired Closes #56. 2017-06-26 05:15:47 -04:00
Vavassor
3a4ef00dab Release 1.1.4-beta.4 2017-06-25 17:14:39 -04:00
Vavassor
e3745ebd6b Adds ability to page between multiple images in a status by swiping from left to right. Closes #66 2017-06-25 01:07:41 -04:00
Vavassor
b9d6f489d1 Adds side drawer opening/closing by pressing the physical menu button, if present. Closes #178 2017-06-24 21:21:57 -04:00
Vavassor
ef60701627 Fixes a small issue introduced in commit 1935253c18 where pasting in the composer crashes when it doesn't contain a URL (so any other textual paste will crash). The code was intended only for "share" actions, hence why it was expecting a URL enclosed. 2017-06-23 01:22:18 -04:00
Vavassor
b1aa05694e Removes ButterKnife annotations. 2017-06-22 14:59:12 -04:00
Vavassor
18ebfa212e Minor writing style changes. 2017-06-22 14:01:25 -04:00
Vavassor
100b9f0a47 Extends the width of the search view. 2017-06-22 02:00:03 -04:00
Vavassor
65e9d8c4fd Merge pull request #314 from m4sk1n/patch-2
Minor fix in Polish translation
2017-06-21 15:27:10 -04:00
Vavassor
da3bc754ed Merge pull request #315 from m4sk1n/master
l10n: Updated Polish translation
2017-06-21 15:27:02 -04:00
Vavassor
8b4e377d34 Fixes a bug where mentioning users of the same username links them all to the same profile. Closes #312
Also, removes the title on the search page and fixes an intermittent crash on thread pages when elements load in a paritcular order.
2017-06-20 18:41:57 -04:00
Vavassor
2e29088d65 Fixes cursor being placed after a media link when it is added in the composer. Also, adjusts a tinting error in the composer buttons. 2017-06-20 16:57:04 -04:00
Vavassor
b9b5e58b50 Changes the NSFW button to a "hide media" icon in the composer. This is inspired in part by the upstream change tootsuite/mastodon#2696. But also NSFW was never a good description of this function. 2017-06-20 14:16:03 -04:00
Vavassor
53e6769d55 Consolidates the main header and removes the now-unneeded FloatingSearchView library. Closes #67 2017-06-19 20:50:40 -04:00
Vavassor
401dd62af7 Search page fully functional for accounts and hashtags. Closes #44 2017-06-19 15:47:53 -04:00
Marcin Mikołajczak
32030881c0 l10n: Updated Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-06-19 15:15:28 +02:00
m4sk1n
ee5eff2c51 Minor fix in Polish translation 2017-06-19 14:40:19 +02:00
Vavassor
289e2fbbe1 Adds a prototype search page. The previous search bar is not yet removed. 2017-06-19 04:18:39 -04:00
Vavassor
fcdb507ef0 Changes the autocomplete list to show the username, display name, and avatar of each suggestion for @ mentions. 2017-06-18 23:34:48 -04:00
Vavassor
74aa866647 Autocomplete @ mentions in the composer. Closes #103 2017-06-18 22:10:50 -04:00
Vavassor
8994d81c66 Potential simple fix for images failing to load #198. 2017-06-18 17:20:54 -04:00
Vavassor
93f5e416c0 Fixes follow requests button in the main menu acting as though it were the log out button. Closes #307 2017-06-08 19:47:33 -04:00
Vavassor
a4ee128e26 Broadcasts now cause a refresh on timelines after a post is composed instead of listeners.
As a side effect, pagers don't have to keep track of "registered fragments", which was a bad idea and caused crashes.
2017-06-06 18:20:55 -04:00
Vavassor
9c56f0e7bc Broadcasts now used everywhere for signalling to remove accounts' posts instead of listeners. 2017-06-06 17:15:29 -04:00
Vavassor
19f140f9c6 Fixes a subscription duplicating bug in the notification client. 2017-06-05 18:40:56 -04:00
torrentcome
2b9f19805f Merge branch 'master' into #136 2017-06-02 23:15:21 +02:00
Vavassor
9e7229bfcc Adds a forgotten keystore. 2017-06-02 04:47:22 -04:00
Vavassor
94639eeb69 Fixes long content warnings in posts wasting space. Closes #173 2017-06-02 03:12:02 -04:00
Vavassor
85f7b16736 Removes "fillable loader" library, since it's no longer used for the splash screen. 2017-05-31 20:50:11 -04:00
Vavassor
09e11fdff7 Merge branch 'add_japanese_new_translation' of https://github.com/FlameArche/Tusky into FlameArche-add_japanese_new_translation 2017-05-30 20:42:52 -04:00
Vavassor
09e8c9c811 Merge branch 'master' of https://github.com/m4sk1n/Tusky-l10n 2017-05-30 20:15:43 -04:00
Vavassor
35ee60f601 Merge branch 'fix-collapsing-toolbar-bug' of https://github.com/connyduck/Tusky into connyduck-fix-collapsing-toolbar-bug 2017-05-30 19:36:19 -04:00
Vavassor
20410024f4 Fixes a mistake made while merging #294. 2017-05-30 19:35:04 -04:00
Vavassor
fe7771b813 Merge branch 'log-improvement' of https://github.com/connyduck/Tusky into connyduck-log-improvement 2017-05-30 19:21:11 -04:00
Vavassor
ad49c258b3 Merge pull request #289 from Pangoraw/translation
Improve french translation.
2017-05-30 19:20:19 -04:00
Vavassor
da596a4f5c Merge branch 'design' of https://github.com/Pangoraw/Tusky into Pangoraw-design 2017-05-30 19:12:21 -04:00
Vavassor
a8e8732979 Fixes a validation error on login when instance names are entered with multiple @ symbols like @username@example.com. 2017-05-30 16:57:30 -04:00
FlameArche
7cf72be4b1 Adds Japanese translations. 2017-05-28 02:59:29 +09:00
Marcin Mikołajczak
4784fa72f6 updated Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-05-26 15:04:06 +02:00
Konrad Pozniak
7501fcaeaa Merge branch 'master' into log-improvement 2017-05-25 19:17:20 +02:00
Conny Duck
a2c019e8f1 fix bug in CollapsingToolbarLayout 2017-05-25 19:10:49 +02:00
Conny Duck
2eaff99b29 log some more exceptions 2017-05-25 17:21:11 +02:00
Vavassor
52aa32061a release 1.1.4-beta.1 2017-05-23 21:03:18 -04:00
Vavassor
036a305782 pretty much finishes the prototype 2017-05-23 19:48:54 -04:00
Conny Duck
1a39e58d3c remove unnecessary Log utility class, replace Exception.printStackTrace with logging 2017-05-23 21:34:31 +02:00
Vavassor
6ee6157b7f Adds TLS to the push notification client (keystore_tusky_api is omitted). 2017-05-22 02:05:37 -04:00
Vavassor
b396f2afc8 First notification received successfully from the wryk/tusky-api prototype! 2017-05-21 22:21:23 -04:00
Vavassor
c90c909ca6 Integrates with wryk/tusky-api, but only partially working.
Registers to the web-service fine but loses connection when subscribing with the broker.
2017-05-20 02:39:29 -04:00
Vavassor
e282f13fdc Setup client-side for integration with the wryk/tusky-api prototype. 2017-05-19 21:28:12 -04:00
Vavassor
73a5144741 Adds notification clearing and makes the client a little more stable. 2017-05-19 20:00:57 -04:00
Vavassor
388ecfcf2e Removes the product flavor split. 2017-05-18 18:10:46 -04:00
torrentcome
b9d460e712 (bug of picasso) the Target wasn't load at the first time forget to read the documentation so , record the target in field change the way that works.
Now work fine.
2017-05-17 16:08:43 +02:00
torrentcome
7cc06d3ad0 (bug fixing) When we share by an app : the text shared is not just an URL but a small text with the URL inside.
So we parse the text until find an url.
Take the first one and send it to the parse
2017-05-17 16:06:37 +02:00
Vavassor
6752d45d4b Initial client working for MQTT push notifications. 2017-05-16 22:19:34 -04:00
torrentcome
418fbd3b5c (share) add share functionality
- get the text shared and put it on the Clipboard
- pass by the same way that past for Download the information
2017-05-16 17:56:35 +02:00
torrentcome
b1bbcb39d5 (ComposeActivity) clean up, automatique format and implementation of
- Share a link and extract the title, images, author's name #136
2017-05-16 10:43:32 +02:00
torrentcome
6dd2aba3c6 (parser utils) class who will get header information of an given Url
- will redistribute that to the activity by listener
2017-05-16 10:42:31 +02:00
torrentcome
27db497ff2 (media utils) create media utils for start to group all function linked to the media there too 2017-05-16 10:41:14 +02:00
torrentcome
583983e58f (string utils) create string utils for start to group all function there 2017-05-16 10:40:12 +02:00
torrentcome
1f62c34a13 (edit text typed) add onPast listener on the view 2017-05-16 10:10:37 +02:00
torrentcome
0a6a2e44c2 (view) create package view 2017-05-15 12:07:01 +02:00
torrentcome
ed5564d4d5 (receiver) create package for receiver 2017-05-15 12:05:10 +02:00
Pangoraw
881a1380b5 Improve french translation. 2017-05-14 11:40:00 +00:00
Pangoraw
ac7428ec57 Use softer color for light theme. 2017-05-14 11:02:12 +00:00
Vavassor
1815d574c8 Makes the view media toolbar transparent. 2017-05-11 21:31:29 -04:00
Vavassor
fa0641bfd9 changes terminology 2017-05-11 19:02:43 -04:00
Vavassor
66bac21236 fixes merge conflicts 2017-05-11 18:58:38 -04:00
Vavassor
68eaa742ee Merge branch 'Pangoraw-master' 2017-05-11 18:34:45 -04:00
Vavassor
12571a7556 Merge branch 'issue#228' of https://github.com/torrentcome/Tusky into torrentcome-issue#228 2017-05-11 18:08:01 -04:00
Conny Duck
082e038688 sharing of own toots now possible 2017-05-11 18:29:16 +02:00
Pangoraw
72ac4e5581 Allow broadcasting event across activities. 2017-05-11 09:11:15 +00:00
torrentcome
a015637785 (media) add toolbar and download button 2017-05-10 15:24:45 +02:00
torrentcome
b5c2b62d7a (icon) add icon download 2017-05-10 15:24:03 +02:00
Vavassor
3c20f7a0c4 Adds a splash screen replacement. 2017-05-09 22:36:05 -04:00
Vavassor
1dc32323d5 Adds a higher-resolution elephant friend to the login page. Closes #99 2017-05-08 16:30:25 -04:00
Vavassor
88e2b7b382 Merge branch 'master' of https://github.com/Pangoraw/Tusky into Pangoraw-master 2017-05-08 15:40:08 -04:00
Vavassor
a2a600a9de Adds back button to the about page and for the Tusky's Profile button it searches for the account first and saves the ID for subsequent presses. Closes #279 2017-05-08 15:00:33 -04:00
Paul
17f347cab5 Add loading on login activity while fetching tokens 2017-05-08 11:24:30 +00:00
Vavassor
551d73baee Makes about page work with light theme and landscape orientation. 2017-05-07 22:00:29 -04:00
Vavassor
daf0ec8e49 resolves merge conflict 2017-05-07 20:20:59 -04:00
Vavassor
b8cca0851f Merge pull request #262 from m4sk1n/patch-1
i18n: fixed some things in Polish translation
2017-05-07 20:14:07 -04:00
Vavassor
67db47abdf Merge pull request #263 from alerque/touchup-turkish
Fix spelling and translate new strings for Turkish
2017-05-07 20:13:57 -04:00
Vavassor
ac6327907c Merge pull request #271 from BoFFire/patch-2
i18n - Updating Arabic strings translation
2017-05-07 20:13:46 -04:00
Vavassor
eb13817bce Merge branch 'bugfix-4' of https://github.com/connyduck/Tusky into connyduck-bugfix-4 2017-05-07 18:03:34 -04:00
Vavassor
7f934e4f26 Resolves merge conflicts 2017-05-07 17:58:56 -04:00
Vavassor
c3f4473508 Merge pull request #268 from connyduck/textinputedittext
use TextInputEditText instead of EditText inside TextInputLayout
2017-05-07 17:44:42 -04:00
Vavassor
d658e6e7a3 Merge pull request #270 from connyduck/profile-header
remove account_header_default.png
2017-05-07 17:44:26 -04:00
Vavassor
e134e35a14 Merge branch 'light-header-background' of https://github.com/connyduck/Tusky into connyduck-light-header-background 2017-05-07 17:29:55 -04:00
Vavassor
e094765734 Merge branch 'logout-confirm-dialogue' of https://github.com/tryton-vanmeer/Tusky into tryton-vanmeer-logout-confirm-dialogue 2017-05-07 17:03:37 -04:00
Vavassor
bc7ac41a28 Merge pull request #275 from Pangoraw/master
Add loader when waiting to display a media, closes #196
2017-05-07 16:47:19 -04:00
Vavassor
8787cf6beb Moves out-of-place Firebase InstanceId call to the google build flavor. Closes #274 2017-05-07 16:14:28 -04:00
Paul
fc2d039d63 Add loader when waiting to display a media 2017-05-06 11:30:52 +00:00
Tryton Van Meer
08cd604e66 Added string 'action_logout_confirm' 2017-05-05 12:19:34 -04:00
Tryton Van Meer
a5e43446b5 logout() now creates a dialog asking the user if they wish to logout. 2017-05-05 12:19:11 -04:00
Conny Duck
d34f4429cd fixed light theme header background when no header image was set 2017-05-05 17:21:20 +02:00
Vavassor
31fff630f3 Fixes "google" build flavor, which was messed up by the repacking process. 2017-05-04 19:02:18 -04:00
Vavassor
aa2394748c Reorganizes the whole codebase. 2017-05-04 18:55:35 -04:00
ButterflyOfFire
189cff6a47 i18n - Updating Arabic strings translation
i18n - Updating Arabic strings translation
2017-05-04 20:32:35 +02:00
Conny Duck
b97c4e24ed remove redundant account_header background, fix weird flicker in header when opening AccountActivity 2017-05-04 18:07:59 +02:00
Conny Duck
310d9a3c91 use TextInputEditText instead of EditText inside TextInputLayout 2017-05-04 16:32:21 +02:00
Conny Duck
4e4c39e58e added missing quotation marks in MediaTypeDeserializer 2017-05-04 16:25:04 +02:00
Conny Duck
2898baf18d updated dependencies 2017-05-04 16:16:24 +02:00
Conny Duck
d5b4b0fe54 fixed crash when media type is unknown 2017-05-04 14:58:45 +02:00
Caleb Maclennan
f93638e58d Fix spelling and translate new strings for Turkish 2017-05-04 10:54:38 +03:00
m4sk1n
ff073a6abf i18n: fixed some things in Polish translation 2017-05-04 07:14:44 +02:00
Vavassor
f313884f7d Adds a link to the text of a post when media is attached. 2017-05-03 20:27:59 -04:00
Vavassor
bd687fb45d Fixes crash on android version Lollipop and earlier due to an unsupported way vector drawable icons were assigned to radio buttons. 2017-05-03 18:33:15 -04:00
Vavassor
24b7e4db4c Fixes reorienting creating a visual duplicate of the thread. Closes #237 2017-05-03 16:28:46 -04:00
Vavassor
986e012dcf fixes merge conflicts 2017-05-03 15:16:45 -04:00
Vavassor
4e475b2a17 Merge branch 'patch-1' of https://github.com/BoFFire/Tusky into BoFFire-patch-1 2017-05-03 14:59:55 -04:00
Vavassor
b9a6ed00d1 Merge branch 'master' of https://github.com/m4sk1n/Tusky-i18n into m4sk1n-master 2017-05-03 14:56:41 -04:00
Vavassor
4e88d5ecc4 Merge branch 'translation-2' of https://github.com/connyduck/Tusky into connyduck-translation-2 2017-05-03 14:51:42 -04:00
Vavassor
5c4456b164 Merge branch 'french-tl-fixes' of https://github.com/Poulpette/Tusky into Poulpette-french-tl-fixes 2017-05-03 14:41:48 -04:00
Vavassor
b047204577 fixes line endings back to LF 2017-05-03 14:29:33 -04:00
PhotonQyv
89c984fe84 Add files via upload
Added fix for issues #190 & #259 both rotation/orientation related
2017-05-03 17:03:29 +01:00
PhotonQyv
7993fbc5b5 Add files via upload
Added fix for issues #190 & #259 both rotation/orientation related
2017-05-03 17:02:22 +01:00
Marcin Mikołajczak
ee8ad60d8c i18n: added Polish translation
Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
2017-05-03 17:14:36 +02:00
Vavassor
f7915d614d Fixes a crash when reorienting and downsizing an image for upload. Closes #247 2017-05-02 20:06:48 -04:00
Vavassor
ab76121692 Change locked accounts to default visibility to "followers-only", and reorganizes the composer because it was getting cluttered. 2017-05-02 18:17:54 -04:00
Vavassor
b6cf99602b Switches back a foolish last second change that ruined the light theme toolbar text fix. 2017-05-01 23:39:06 -04:00
Vavassor
ba0ad09f19 Merge branch 'raphaelm-account_activity_title' 2017-05-01 23:31:59 -04:00
Vavassor
07f22b2560 Fixes the text colour in the light theme for the collapsed toolbar in the account page. 2017-05-01 23:31:31 -04:00
Vavassor
800ab8001e Adds content descriptions to header and avatar buttons in the profile editor and puts the page in a scroll view so it's navigable in landscape mode. 2017-05-01 22:30:49 -04:00
Vavassor
34873423c7 Merge branch 'master' of http://github.com/Vavassor/Tusky 2017-05-01 22:07:31 -04:00
Vavassor
cfb0219536 Merge branch 'profile-edition-design' of https://github.com/daycode/Tusky into daycode-profile-edition-design 2017-05-01 21:52:11 -04:00
Vavassor
9bb8c96f00 Merge branch 'issue_133' of https://github.com/raphaelm/Tusky into raphaelm-issue_133 2017-05-01 21:50:24 -04:00
Conny Duck
b7a98ad228 updated german translation 2017-05-01 16:18:01 +02:00
daycode
c7e4d17aaf Add gestion of avatar and header 2017-05-01 15:23:34 +02:00
nore715
5fb5efe6e9 Update strings.xml
Fix a few grammatical issues to comply with existing rules :
- space before "!" in fr str for "error_compose_character_limit" as in fr str for "footer_empty"
- second part of negation added in fr str for "error_media_upload_opening", "error_media_upload_sending", "error_failed_app_registration" (ne ... pas) as in fr str for "error_empty" and others
- added a period in fr str for "dialog_whats_an_instance"
2017-05-01 12:10:19 +02:00
Peter Cai
a498292c64
TuskyApplication: call super.onCreate()
Although for now it makes no difference calling super.onCreate or not
(the method Application.onCreate() is empty), it is denoted with
@CallSuper and might cause errors in some IDE if it is not called.
2017-05-01 14:02:32 +08:00
Vavassor
ad30c78faf Account page interactions with locked users are made much clearer. 2017-04-30 21:55:33 -04:00
serage.betelmal
df7e077029 Adding more content to the About activity 2017-04-30 21:53:32 +01:00
serage.betelmal
9b86c93e76 Merge branch 'master' into feature/about-page 2017-04-30 21:09:09 +01:00
daycode
b82d75a6c4 design the edit profile view 2017-04-30 21:57:15 +02:00
ButterflyOfFire
646827d522 Update strings.xml 2017-04-30 16:44:53 +02:00
Raphael Michel
ddf654f777 Merge branch 'master' into issue_133 2017-04-30 16:13:16 +02:00
Vavassor
251090df18 Adds forgotten and required interface to FavouritesActivity (SFragment.OnUserRemovedListener). Closes #245 2017-04-30 02:30:45 -04:00
Poulpette
689c29dbaf Improve French translation
Some typos have been fixed and terminology changes have been suggested.
Also the gender-inclusive marks have been removed: independently
of our personal opinions regarding which sociological features
a written language should or shouldn’t take into account,
the fact remains that interpunct, hyphen, slash and apostrophe
are not admitted characters to highlight the feminine gender
due to the reading issues that would come out of those
graphical modifications. Moreover, those marks do not take into account
accessibility problems either (screen readers, etc.).
Therefore French grammatical rules should logically prevail.
2017-04-30 01:01:27 +02:00
Vavassor
7d83a9aaba Follow requests list is available. Closes #222 2017-04-28 23:52:14 -04:00
Vavassor
41088de6be Organizes libraries and removes a flavor-specific import (possibly unnecessary?). 2017-04-28 16:41:44 -04:00
Vavassor
2f27f8efdd Raises the check interval to a more reasonable level. 2017-04-27 23:33:43 -04:00
Vavassor
5f6fab2b70 Moves Firebase notifications to a "google" build flavor and adds an "fdroid" flavor that uses polling for notifications.
Also, adds a few missing license notices.
2017-04-27 23:29:42 -04:00
Vavassor
cc8d8f716a Merge pull request #239 from connyduck/tablayout-spacing
make tabs fill whole space in landscape mode
2017-04-27 15:01:03 -04:00
jeroenpraat
4445251562 Very small fix Dutch strings 2017-04-27 16:48:16 +02:00
Conny Duck
1aa870b069 make tabs fill whole space in landscape mode 2017-04-27 14:47:56 +02:00
Vavassor
d55b3ebcd7 Emojione shortcodes now converted to unicode in display names. closes #82, closes #129 2017-04-25 18:31:27 -04:00
Vavassor
70a8338695 Merge branch 'master' of https://github.com/Elarcis/Tusky into Elarcis-master 2017-04-25 07:45:29 -04:00
Vavassor
b6e72a94be Custom tabs are now used for login and links on account pages, with a fallback to the default browser if not supported.
Also, fixes crashes when entering tag and threads due to me forgetting to implement the interfaces required by the code that removes posts from timelines when blocking/muting.

Also fixes a small bug where for mentions of users from other instances, clicking on the mention would open the profile in the browser instead of in-app.
2017-04-25 07:30:57 -04:00
Elarcis
6723bd82fe (untested) Fixed grammatical errors in the french translation
I don't have the necessary SDK for Android apps, however I was able to fix some awful grammatical errors in the french locales. Nuff said.
2017-04-24 19:07:23 +02:00
Vavassor
1ca5923ea9 Merge branch 'bugfix-3' of https://github.com/connyduck/Tusky into connyduck-bugfix-3 2017-04-23 19:07:06 -04:00
Vavassor
ff56a6ca62 Merge branch 'normalize-strings' of https://github.com/alerque/Tusky into alerque-normalize-strings
Conflicts:
	app/src/main/res/values-ja/strings.xml
2017-04-23 17:42:34 -04:00
Vavassor
322f89863d Merge pull request #218 from FlameArche/add_japanese_translation
Adds Japanese new translations
2017-04-23 17:39:06 -04:00
Vavassor
74d1870a95 fixes typo in merged fix 2017-04-23 17:37:59 -04:00
Vavassor
5b1facbc2c Merge branch 'patch-1' of https://github.com/jeroenpraat/Tusky into jeroenpraat-patch-1 2017-04-23 17:36:17 -04:00
Vavassor
dd8963a9fb Merge branch 'patch-fix-media' of https://github.com/Petercxy/Tusky into PeterCxy-patch-fix-media 2017-04-23 17:19:36 -04:00
jeroenpraat
d7f6525386 Small fix: Improved instances example 2017-04-22 15:41:23 +02:00
FlameArche
bb2c0f83b3 Adds Japanese new translations 2017-04-22 22:08:21 +09:00
Caleb Maclennan
61d79ff28e
Correct French spelling per @SkyzohKey's comment in PR review 2017-04-22 15:33:07 +03:00
BOSCH, Cedric
e150e14c1c
Traduction vers le français 2017-04-22 15:33:06 +03:00
Caleb Maclennan
1a94e5337f
Update TR translation with recently added and edited strings 2017-04-22 15:33:06 +03:00
Caleb Maclennan
e433118372
Copy new untranslated strings from EN → DE and re-order to match 2017-04-22 15:33:06 +03:00
Caleb Maclennan
f673e81495
Copy new untranslated strings from EN → AR 2017-04-22 15:33:06 +03:00
Caleb Maclennan
d24774fa17
Copy new untranslated strings from EN → JA 2017-04-22 15:30:12 +03:00
Caleb Maclennan
bc085f292f
Copy new untranslated strings from EN → NL 2017-04-22 15:30:12 +03:00
Konrad Pozniak
32a397904b use material design icon for local timeline tab 2017-04-22 11:32:55 +02:00
Konrad Pozniak
7c3feb7136 fix bugs with fab showing/hiding on scroll 2017-04-22 10:41:49 +02:00
Vavassor
01997012de Block and mute lists now remove the entries when you unmute/unblock a user, with a short popup to undo if it's unintentional. Just for clearer feedback. 2017-04-22 02:06:19 -04:00