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
This commit is contained in:
Konrad Pozniak 2018-04-13 22:37:21 +02:00 committed by GitHub
commit 27eefbf65a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 1815 additions and 1234 deletions

View file

@ -9,7 +9,7 @@
<string name="error_authorization_denied">Authentification refusée.</string>
<string name="error_retrieving_oauth_token">Impossible de récupérer le jeton dauthentification.</string>
<string name="error_compose_character_limit">Votre pouet est trop long !</string>
<string name="error_media_upload_size">Le fichier doit peser moins de 4 Mo.</string>
<string name="error_media_upload_size">Le fichier doit peser moins de 8 Mo.</string>
<string name="error_media_upload_type">Ce type de fichier nest pas accepté.</string>
<string name="error_media_upload_opening">Le fichier ne peut pas être ouvert.</string>
<string name="error_media_upload_permission">Permission requise pour lire ce média.</string>
@ -66,7 +66,6 @@
<string name="action_send">POUET</string>
<string name="action_send_public">POUET !</string>
<string name="action_retry">Réessayer</string>
<string name="action_hide_text">Masquer le texte par une mise en garde.</string>
<string name="action_close">Fermer</string>
<string name="action_view_profile">Profil</string>
<string name="action_view_preferences">Préférences</string>
@ -74,14 +73,12 @@
<string name="action_view_blocks">Utilisateurs bloqués</string>
<string name="action_view_media">Média</string>
<string name="action_open_in_web">Ouvrir dans votre navigateur</string>
<string name="action_photo_pick">Ajouter un média</string>
<string name="action_add_media">Ajouter un média</string>
<string name="action_photo_take">Prendre une photo</string>
<string name="action_share">Partager</string>
<string name="action_mute">Rendre muet</string>
<string name="action_unmute">Redonner la parole</string>
<string name="action_mention">Mention</string>
<!--<string name="action_mark_sensitive">Mark media sensitive</string>-->
<string name="action_compose_options">Options</string>
<string name="action_open_drawer">Ouvrir le menu</string>
<string name="action_save">Sauvegarder</string>
<string name="action_edit_profile">Modifier le profil</string>
@ -98,7 +95,6 @@
<string name="send_status_content_to">Partager le pouet avec…</string>
<string name="download_image">Téléchargement de %1$s</string>
<string name="confirmation_send">Pouet !</string>
<string name="confirmation_reported">Envoyé !</string>
<string name="hint_domain">Quelle instance ?</string>
@ -244,9 +240,6 @@
<string name="status_media_images">Images</string>
<string name="status_media_video">Videos</string>
<string name="no_content">aucun contenu</string>
<string name="action_save_one_toot">Pouet enregistré!</string>
<string name="dialog_reply_not_found">Impssible de poster ce status. Le status auquel vous répondez peut ne plus être disponible. Supprimer la réponse?</string>
<string name="action_logout_confirm">Êtes vous certain de vouloir déconnecter le compte %1$s?</string>