Commit Graph

551 Commits

Author SHA1 Message Date
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
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
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
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
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
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 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
Ivan Kupalov f3c6abdd4d Add expand/collapse button for threads (#609) 2018-04-28 16:17:01 +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 d17ff3eb0f fix problems with selectable text in detailed status 2018-04-22 16:34:02 +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
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
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
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
remi6397 6ba5017341 Improved consistency of Polish translation. (#578) 2018-04-15 09:38:59 +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
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
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
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
Conny Duck 3628b8431d add possibility to un/lock accounts 2018-03-27 20:46:53 +02: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 e82c9dcd2a Compose close dialog + focus fix (#539) 2018-03-05 22:43:13 +01:00