Commit Graph

1067 Commits

Author SHA1 Message Date
Conny Duck
8c425c44e5 fix the emoji selection dialog 2018-06-25 16:23:43 +02:00
Conny Duck
0a164de95b update german translation 2018-06-25 15:20:54 +02:00
Conny Duck
ed74e09936 remove unused strings 2018-06-25 14:55:45 +02:00
Conny Duck
4d9315f6df update deps 2018-06-25 14:49:13 +02:00
Conny Duck
9133a74d37 cleanup code 2018-06-25 14:49:00 +02:00
Conny Duck
f4a986a420 fix #650 notifications alerting multiple times 2018-06-25 14:08:36 +02:00
Konrad Pozniak
b118669c02 add License activity (#689)
* convert AboutActivity to Kotlin, use BottomSheetActivity for account resolving

* improve AboutActivity

* new License activity

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

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

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

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

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

* new layout for AccountActivity

* fix the light theme

* convert AccountActivity to Kotlin

* introduce AccountViewModel

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

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

* add Bot badge to profile

* parse custom emojis in usernames

* add possibility to cancel follow request

* add third tab on profiles

* add account fields to profile

* add support for moved accounts

* set click listener on account moved view

* fix tests

* use 24dp as statusbar size

* add ability to hide reblogs from followed accounts

* add button to edit own account to AccountActivity

* set toolbar top margin programmatically

* fix crash

* add shadow behind statusbar

* introduce ViewExtensions to clean up code

* move code out of offsetChangedListener for perf reasons

* clean up stuff

* add error handling

* improve type safety

* fix ConstraintLayout warning

* remove unneeded ressources

* fix event dispatching

* fix crash in event handling

* set correct emoji on title

* improve some things

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

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

* Rename string.xml to strings.xml

* Update strings.xml

* 100% done

Swedish translation 100% done.

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

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

* Add events, add handling to Timeline

* Add event handling to Notifications

* Mostly finish events

* Fix unsubscribing

* Cleanup timeline

* Fix newStatusEvent in thread, fix deleteEvent

* Insert new toots only in specific timelines

* Add missing else

* Rename AppStore to EventHub

* Fix tests

* Use DiffUtils for timeline

* Fix empty timeline bug. Improve loading placeholder

* Fix AsyncListDiff, loading indicator, "load more"

* Timeline fixes & improvements.

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

* Add bidirectionality safeguards in NotificationHelper

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

* Update strings.xml

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

* limit timeline width on large devices

* limit width on large devices for thread view and search

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

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

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

* Commit to maybe fix ci

* Suppress false positives in lint

* Disable linting for tests in ci

* Add image descriptions to gallery

* Fix test

* [CI] Attempt to fix OOM error

* [CI] Attempt to fix OOM error, 2

* Add option to open status from media

* fix theme issue

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

* EmojiCompat doesn' replace all emojis anymore

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

* Should now replace all emojis

* Add EmojiCompat support to EditTextTyped

* Provide EmojiCompat fonts

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

* Removed BundledEmojiCompat dependency

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

* Update EditTextTyped.kt

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

* Update README.md

* Add some non-working emoji preferences

* Add a short font list for testing

* Finished implementation

* Add Twemoji to font list

* Update documentation, more comments

* Delete AssetEmojiCompat which is obsolete now

* Update the font list

* Update the font list

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

* More fixes. It should work now...

* Removed AssetEmojiCompat (again)

* Add most of the changes

* Improved the EmojiCompat dialog's style

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

* Re-add the real font URL for Twemoji

* Emoji-font captions are now translatable

* Removed one unused String (loading)

* Removed emoji fonts from this repo

* Applied changes from the PR change requests

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

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

* Add licensing information on Twemoji and Blobmoji

* Reworked some strings

* Moved FileEmojiCompat to its own library

* Update FileEmojiCompat to the latest version (1.0.3)

* EmojiCompat bug should be fixed

* Better handling of failed downloads

* Removed one TODO

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

* Update emoji attribution strings

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

* Fixed some misspelled strings

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

* upgrade dependencies

* auto cancel notifications

* improve dependency injection

* fix tests

* remove old comment from BaseActivity

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

* fix capitalization
2018-05-08 11:42:28 +03:00
Evgeny Petrov
7a857bfea3 [RU] New strings for 1.8 (#634)
I'm not sure whether we should use word "статусы" (statuses) or "посты" (posts). Or how to mix them in the right way
Anyway, here are the new strings.
2018-05-07 21:57:05 +03:00
Konrad Pozniak
8db482bb46 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
bf91d050d2 Translates: FR: Remove unused strings (#632)
* Some strings are gone. Lets remove them.
2018-05-06 20:42:50 +02:00
Conny Duck
3ec559c9f9 fix crash when cancelling notifications 2018-05-06 13:17:17 +02:00
Conny Duck
9d4f9086e0 fix bug where media is not uploaded after ComposeActivity recreation 2018-05-06 13:02:02 +02:00
remi6397
90335f4b20 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
9fe81f48ae 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
73dcb68303 [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
be819cc05b 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
c85f7a5cd2 make search find statuses (#613) 2018-04-30 11:30:10 +02:00
nailyk
de209e0652 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
f7751f1923 fix proxy settings 2018-04-30 10:34:38 +02:00
Levi Bard
d748061e09 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
8277570034 improve item_status_detailed layout for all font sizes 2018-04-29 09:06:26 +02:00
Konrad Pozniak
ae41bdc75b Fix SparkButtons (#608)
* fix the SparkButtons

* dont notify adapter after boost/fav
2018-04-28 22:59:46 +02:00
Conny Duck
ae6c0f291a set allowBackup to false 2018-04-28 21:19:38 +02:00
Ivan Kupalov
f57ca29a1e Add expand/collapse button for threads (#609) 2018-04-28 16:17:01 +02:00
Ivan Kupalov
75a25f02ac Open links in new tabs (#603) 2018-04-26 22:52:45 +02:00
Conny Duck
04d97acf44 fix crash when de/serializing InstanceEntity 2018-04-25 20:26:00 +02:00
Levi Bard
51b94b876f 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
9ae7c385ca Release 37 2018-04-23 19:28:11 +02:00
Konrad Pozniak
1dc901e972 fix emoji & toot size limit caching 2018-04-23 09:26:03 +02:00
Konrad Pozniak
7fd04b965a improve "save draft" dialog show condition 2018-04-22 21:04:19 +02:00
Konrad Pozniak
5a2b1c8a97 fix crash in MainActivity when clicking notification 2018-04-22 20:40:52 +02:00
Konrad Pozniak
3a873df06f 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
8894908a9d fix problems with selectable text in detailed status 2018-04-22 16:34:02 +02:00
Konrad Pozniak
fd5190af30 fix Kotlin compiler warning 2018-04-22 14:11:41 +02:00
Konrad Pozniak
7de8d5e8e4 update dependencies 2018-04-22 14:11:41 +02:00
Quentí
500a6aec22 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
90249d6ccf fix sending notifications (this time for reals) (#594) 2018-04-22 10:37:09 +02:00
Levi Bard
a1eba23229 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
4e350b4f87 New Dutch Translation (#593)
* New Dutch Translation

* Update strings.xml

* fix unescaped character
2018-04-22 09:57:36 +02:00
Conny Duck
80905dfddf update Kotlin 2018-04-20 23:18:37 +02:00
Óliver García Albertos
56d0d092c2 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
361adee933 Fix unhandled exception when opening report activity (#592) 2018-04-20 17:22:40 +02:00
remi6397
4b4f600e6e Define "free software" (#591) 2018-04-20 17:21:52 +02:00
Conny Duck
3177572d76 Release 36 2018-04-17 22:55:56 +02:00
Conny Duck
f60aa7656e show error message when instance has no custom emojis 2018-04-17 22:39:55 +02:00
Conny Duck
98488093a7 strip slashes from instance domain to avoid crash 2018-04-17 20:51:33 +02:00
Conny Duck
911bffea32 fix problem where send notification would stay on forever 2018-04-17 20:07:47 +02:00
Konrad Pozniak
8543df733c 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
5c91f3b993 fix bug where sometimes mentions where duplicated when replying 2018-04-17 19:06:28 +02:00
Conny Duck
1f47b65a59 fix crash when loading timelines 2018-04-17 18:37:01 +02:00
Conny Duck
ccc1069075 Release 35 2018-04-15 09:53:25 +02:00
remi6397
19fa387100 Improved consistency of Polish translation. (#578) 2018-04-15 09:38:59 +02:00
Conny Duck
8579412277 remove unneeded takePersistableUriPermission
was a mistake to add this in the first place
2018-04-14 18:17:29 +02:00
aka-rin
188cee72c2 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
a82d41ab41 update arabic translation (#576)
* Add files via upload

* Updating arabic translation

* fix build error
2018-04-14 16:54:31 +02:00
Evgeny Petrov
77df08ce11 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
6a09315a39 update German translation 2018-04-14 14:33:45 +02:00
Conny Duck
f5eb8038d9 upgrade minSdkVersion to 19 2018-04-14 13:56:48 +02:00
Marcin Mikołajczak
4185e72dd6 i18n: Update Polish translation (#572)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-04-14 08:57:58 +02:00
Konrad Pozniak
31ca403a6c 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
11ccd93612 prevent soft keyboard from opening automatically in EditProfileActivity 2018-04-11 19:15:22 +02:00
Conny Duck
34318f929f fix tamil string 2018-04-11 19:07:31 +02:00
Manimaran.K
d2eef52409 Translation for Tamil language (#569) 2018-04-10 22:47:06 +02:00
Conny Duck
1fec3e6fa9 update support lib 2018-04-09 16:44:58 +02:00
Conny Duck
7fa8bd7113 improve spoiler warning button & detailed status text size 2018-04-09 16:44:57 +02:00
Christian Paul
1d2df3adfe 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
5763225ee5 fixed avatar_default not displaying correctly on the light theme 2018-04-07 16:09:07 +02:00
Conny Duck
c2382e7d3b add disk cache for images 2018-04-06 22:04:14 +02:00
Gareth Murphy
645e849a22 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
1cf6850752 fix note not displaying correctly in EditProfileActivity 2018-04-05 21:46:34 +02:00
Konrad Pozniak
ae5229a9e2 make text in detailed toots selectable 2018-04-01 15:45:08 +02:00
Konrad Pozniak
eee3548201 add new avatar placeholder 2018-03-30 19:46:36 +02:00
Konrad Pozniak
45b18ac7a4 make avatar rounding independent of image size 2018-03-30 19:08:24 +02:00
Konrad Pozniak
714cb4e5bd fixes a bug where the ProgressBar in NotificationsFragment would not show up 2018-03-30 09:56:09 +02:00
Conny Duck
06d44c949e add possibility to un/lock accounts 2018-03-27 20:46:53 +02:00
Conny Duck
ee65dbeff0 upgrade avatar size for Mastodon 2.3 2018-03-27 20:13:24 +02:00
Conny Duck
738a387142 upgrade gradle & dependencies 2018-03-27 20:12:43 +02:00
Ivan Kupalov
f43ef319d0 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
f5958cd28d fix issue where scrolling wont stop after jumping to top 2018-03-17 19:46:01 +01:00
Conny Duck
fd16a7c489 fix crash in StatusBaseViewHolder 2018-03-15 22:08:12 +01:00
Levi Bard
182e8a75ba 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
df22631cd1 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
660523caf4 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
5d954a8eab Add ComposeActivity tests. Add ServiceLocator (#542) 2018-03-09 22:02:32 +01:00
Conny Duck
4d4f48065c change the color of all SwipeRefreshLayouts to match the Tusky theme 2018-03-09 20:39:08 +01:00
Conny Duck
4ac781876b fix crash in LoginActivity 2018-03-09 19:54:24 +01:00
Conny Duck
1d594d528d fail silently when status card cannot be loaded for compatibility with Pleroma 2018-03-09 18:56:05 +01:00
Conny Duck
577cf0ffad fix production build after upgrading okhttp 2018-03-08 23:04:04 +01:00
Ivan Kupalov
8aeaa23b55 Compose close dialog + focus fix (#539) 2018-03-05 22:43:13 +01:00
Conny Duck
6b8c334f96 fix strings 2018-03-05 15:02:26 +01:00
Conny Duck
64e28457c2 remove unused view from activities 2018-03-05 14:53:33 +01:00
Conny Duck
cde610b27d update dependencies, use new scheduleAsync of job library 2018-03-03 13:54:58 +01:00
Konrad Pozniak
5de7b21007 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
Conny Duck
5998f3b375 Release 34 2018-03-03 12:30:20 +01:00
ButterflyOfFire
8ec350cb16 Improving arabic translation (#523)
Improving arabic translation
2018-03-03 10:33:26 +01:00
Conny Duck
1bbe0f7430 prevent saving of incomplete account information to database 2018-03-02 21:25:58 +01:00
Conny Duck
9807ee5f54 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
04fa10264a Translates: FR: Do not use plural for follows_you (#537) 2018-03-02 20:53:01 +01:00
Conny Duck
77b6f2db6f fix build 2018-03-01 22:18:50 +01:00
Conny Duck
66f52f66b4 gracefully handle null statuses in notifications 2018-03-01 21:10:10 +01:00
Conny Duck
03d8ec3a7a only alert once on multiple notifications, fix order of notifications 2018-03-01 19:05:47 +01:00
Conny Duck
a473010a50 improve proguard configuration 2018-03-01 19:01:44 +01:00
Conny Duck
5ef929952c make it possible to switch accounts when active account fails to load 2018-02-27 19:38:32 +01:00
Conny Duck
3690e86312 fix a crash in MediaUtils 2018-02-25 15:46:32 +01:00
Conny Duck
e1473c2142 fix a crash in ComposeActivity when trying to share images while logged out 2018-02-25 15:41:45 +01:00
Conny Duck
a31e6956e4 update Tusky urls 2018-02-25 14:51:06 +01:00
nailyk
752aac3ba3 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
09dab0eaa0 Update Polish translation (#532) 2018-02-19 17:43:25 +01:00
Conny Duck
493c0ddcba increase text size of detailed toot 2018-02-17 13:54:27 +01:00
Conny Duck
bca172a90a fix bug in rtl layout, remove unneeded xml attributes & dimen resources 2018-02-16 22:14:25 +01:00
Conny Duck
150535ab65 remove unnecessary build flavors 2018-02-15 19:59:25 +01:00
Conny Duck
948c44e98c fix rare crash when resizing image in EditProfileActivity & prevent upscaling of image 2018-02-15 19:29:03 +01:00
aka-rin
214bde416f 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
Conny Duck
c73df44e42 Release 33 2018-02-12 22:49:20 +01:00
Konrad Pozniak
c9e0e6a565 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
167c460c08 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
ac581052c1 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
fbfd41c315 fix wrong navbar color in ViewMediaActivity & ViewVideoActivity on Android 8.1+ 2018-02-09 23:25:48 +01:00
Conny Duck
3f49a2c921 hide follow button on own profile correctly, code optimizations 2018-02-09 22:49:20 +01:00
Conny Duck
58307774f4 fix crash in ComposeActivity when account has no profile picture set 2018-02-08 19:17:08 +01:00
Conny Duck
faae2acfe7 fix timeline filtering not working after app restart 2018-02-08 19:12:02 +01:00