Commit Graph

1067 Commits

Author SHA1 Message Date
Conny Duck
8fa0b93b3d update dependencies 2018-07-22 14:46:00 +02:00
Conny Duck
20e006f1d1 fix bug where revoking a follow request was not possible 2018-07-22 14:34:55 +02:00
Sylke Vicious
db51c551b1 Updated it (Italian) translation (#721)
* increase cache size & dont cache full size media

* Updated it (Italian) translation

Commit made via Stringlate

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

* Added missing strings for theme and privacy

* Added more missing strings

* Added strings for pull notification intervals

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

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

* improve AboutActivity

* new License activity

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

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

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

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

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

* new layout for AccountActivity

* fix the light theme

* convert AccountActivity to Kotlin

* introduce AccountViewModel

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

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

* add Bot badge to profile

* parse custom emojis in usernames

* add possibility to cancel follow request

* add third tab on profiles

* add account fields to profile

* add support for moved accounts

* set click listener on account moved view

* fix tests

* use 24dp as statusbar size

* add ability to hide reblogs from followed accounts

* add button to edit own account to AccountActivity

* set toolbar top margin programmatically

* fix crash

* add shadow behind statusbar

* introduce ViewExtensions to clean up code

* move code out of offsetChangedListener for perf reasons

* clean up stuff

* add error handling

* improve type safety

* fix ConstraintLayout warning

* remove unneeded ressources

* fix event dispatching

* fix crash in event handling

* set correct emoji on title

* improve some things

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

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

* Rename string.xml to strings.xml

* Update strings.xml

* 100% done

Swedish translation 100% done.

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

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

* Add events, add handling to Timeline

* Add event handling to Notifications

* Mostly finish events

* Fix unsubscribing

* Cleanup timeline

* Fix newStatusEvent in thread, fix deleteEvent

* Insert new toots only in specific timelines

* Add missing else

* Rename AppStore to EventHub

* Fix tests

* Use DiffUtils for timeline

* Fix empty timeline bug. Improve loading placeholder

* Fix AsyncListDiff, loading indicator, "load more"

* Timeline fixes & improvements.

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

* Add bidirectionality safeguards in NotificationHelper

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

* Update strings.xml

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

* limit timeline width on large devices

* limit width on large devices for thread view and search

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

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

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

* Commit to maybe fix ci

* Suppress false positives in lint

* Disable linting for tests in ci

* Add image descriptions to gallery

* Fix test

* [CI] Attempt to fix OOM error

* [CI] Attempt to fix OOM error, 2

* Add option to open status from media

* fix theme issue

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

* EmojiCompat doesn' replace all emojis anymore

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

* Should now replace all emojis

* Add EmojiCompat support to EditTextTyped

* Provide EmojiCompat fonts

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

* Removed BundledEmojiCompat dependency

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

* Update EditTextTyped.kt

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

* Update README.md

* Add some non-working emoji preferences

* Add a short font list for testing

* Finished implementation

* Add Twemoji to font list

* Update documentation, more comments

* Delete AssetEmojiCompat which is obsolete now

* Update the font list

* Update the font list

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

* More fixes. It should work now...

* Removed AssetEmojiCompat (again)

* Add most of the changes

* Improved the EmojiCompat dialog's style

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

* Re-add the real font URL for Twemoji

* Emoji-font captions are now translatable

* Removed one unused String (loading)

* Removed emoji fonts from this repo

* Applied changes from the PR change requests

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

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

* Add licensing information on Twemoji and Blobmoji

* Reworked some strings

* Moved FileEmojiCompat to its own library

* Update FileEmojiCompat to the latest version (1.0.3)

* EmojiCompat bug should be fixed

* Better handling of failed downloads

* Removed one TODO

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

* Update emoji attribution strings

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

* Fixed some misspelled strings

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

* upgrade dependencies

* auto cancel notifications

* improve dependency injection

* fix tests

* remove old comment from BaseActivity

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

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