Commit Graph

224 Commits

Author SHA1 Message Date
kyori19 aa48555902 Merge remote-tracking branch 'tuskyapp/master' 2019-10-03 21:09:01 +09:00
kyori19 9e4c19a47e Scheduled toot (#1004)
* Scheduled toot

* Hide scheduled toot button if version < 2.7.0

* Fix timeline reloading after toot

* Add edit icon to ComposeScheduleView

* Add button to reset scheduled toot

* Close bottom sheet and change button color after time a was selected

* Fix edit icon's size

* List of scheduled toots

* Fix instance version check

* Use MaterialDatePicker

* Set date and time consecutively

* Add licenses
2019-10-02 21:28:12 +02:00
kyori19 820a38b070 Merge remote-tracking branch 'tuskyapp/master' 2019-09-25 20:20:37 +09:00
Konrad Pozniak ca3ce63c80
fix content warning edittext not losing focus when its hidden (#1498) 2019-09-24 20:33:05 +02:00
Konrad Pozniak 54a0d5406a
Remove search v1 (#1484)
* remove search v1, convert MastodonApi to Kotlin

* format MastodonApi nicely

* use default params in ConversationRepository

* improve code for LoginActivity
2019-09-22 08:18:44 +02:00
kyori19 30fae0ffa6 Add instances which can use quote_id 2019-09-07 18:00:15 +09:00
kyori19 c11ea7ae80 Merge remote-tracking branch 'tuskyapp/master' 2019-09-07 17:55:52 +09:00
Konrad Pozniak d83e7c4c70
only show Progress Dialog if necessary when sending toot (#1470) 2019-09-06 21:40:11 +02:00
kyori19 b1624293c1 [scheduled] Scheduled toot 2019-09-05 21:29:45 +09:00
kyori19 4f008f97d1 [itabashi-don] Enable unleakable visibility with alternate domain 2019-09-05 21:29:45 +09:00
kyori19 84d0f9ec1c [limited-bandwidth] Implement limited-bandwidth feature 2019-09-05 21:29:45 +09:00
kyori 75c4cdd886 [default-tag] Implement default-tag feature 2019-09-03 23:14:25 +09:00
kyori ad7ff6d06b [quick-toot] Add quick-toot feature 2019-09-03 23:14:21 +09:00
kyori19 573be935a7 [quote] Implement quote feature 2019-09-03 23:08:13 +09:00
kyori 27a9fc1438 [unleakable] Add visibility 'unleakable' 2019-09-03 22:26:44 +09:00
Konrad Pozniak 51c6852492
Create polls (#1452)
* add AddPollDialog

* add support for pleroma poll options

* add PollPreviewView

* add Poll support to drafts

* add license header, cleanup

* rename drawable files to correct size

* fix tests

* fix bug with Poll having wrong duration after delete&redraft

* add input validation

* grey out poll button when its disabled

* code cleanup & small improvements
2019-08-22 20:30:08 +02:00
Konrad Pozniak 1a6f8d5b24
fix CalledFromWrongThreadException in ComposeActivity (#1447) 2019-08-10 21:11:45 +02:00
Levi Bard ce01e6de22 Add support for instance property `max_bio_chars` (#1414)
* Migrate getInstance from Call to Single

* Add support for instance max_bio_chars.
Addresses #1329
2019-08-04 20:25:07 +02:00
Konrad Pozniak fbd04cbe7b
fix the "always mark media as sensitive" setting not being respected (#1407) 2019-07-25 12:17:07 +02:00
Levi Bard ffb6c9a7a7 Add @ and # helper buttons to compose activity (#1277)
Addresses #810
2019-06-24 10:33:05 +02:00
pandasoft0 0ddde62202 Disable sensitive media send if medias list is empty (#1309) 2019-06-11 16:44:02 +02:00
kyori19 4d916eb106 Fix onBackPressed never called in ComposeActivity (#1317) 2019-06-10 19:40:07 +02:00
Konrad Pozniak a956061cbf
cleanup unused resources (#1300) 2019-06-02 22:02:03 +02:00
Gyuhwan Park 50b50a182e fix(MainActivity,ComposeActivity): use onKeyDown() instead 2019-05-31 17:35:58 +09:00
Gyuhwan Park d31aa7fc43 feature(ComposeActivity): add shortcut for send new toot (CTRL + ENTER) [#505] 2019-05-30 21:22:52 +09:00
lenchan139 6fc62d3c01 make a copy of file before upload (#1294) 2019-05-29 20:26:33 +02:00
Konrad Pozniak 83696b5c7f
Animate gif avatars (#1279)
* animate gif avatars

* add setting to enable avatar animation

* cleanup code
2019-05-26 08:46:08 +02:00
pandasoft0 5c61786e05 Add correct Content Description for the preview images at the Compose screen (#1188)
* Add correct Content Description for the preview images at the Compose screen. tuskyapp#1155

* Remove "unknown" string from resource. Format code

* Format code

* Update string resource for content description
2019-05-09 20:25:44 +02:00
kyori19 60d6927af6 Implement redraft feature. (#1190)
* Implement "Delete and Edit" feature

* Some changes to ComposeActivity

Support for uploaded medias, sensitive option.

Fix typo.

Change names of some extra keys.

* Use Glide instead of Picasso

* Pass ArrayList instead of json

* Change wording for re-draft

* Fix test
2019-04-21 15:16:39 +02:00
Konrad Pozniak 1b9e279064
fix issue with foreground service on Oreo+ (#1203) 2019-04-21 14:28:51 +02:00
Konrad Pozniak ef66deeae7 fix some lint warnings 2019-04-21 08:24:29 +02:00
Evgeny Petrov 8a6b439408 Added check if text in compose toot field has only whitespaces (#1193) 2019-04-20 12:17:54 +02:00
pandasoft0 76ce28980c Migrate to Glide (#1175)
* Replace Picasso library with Glide library tuskyapp#1082

* Replace Picasso library with Glide library tuskyapp#1082

* Update load emoji with glide

* Update context used for Glide

* Removed unused import

* Replace deprecated SimpleTarget with CustomTarget

* Fix crash at the view image fragment, remove override image size

* Replace Single.create with Single.fromCallable

* View image fragment refactor

* Fix after merge

* Try to load cached image first and show progress view on failure

* Try to load cached image first and show progress view on failure
2019-04-16 21:39:12 +02:00
pandasoft0 bc3ea2357b Cancel media uploads when closing ComposeActivity #838 (#1189)
* Cancel media uploads on remove the draft message

* Fix formatting
2019-04-12 22:10:52 +02:00
Konrad Pozniak 21a817a8d4
change cw icon color on on/off (#1181) 2019-04-08 13:04:54 +02:00
Evgeny Petrov 5163927e43 Added "Warning" icon instead of "CW" text. (#1138)
* Added «Warning» icon instead of «CW» text.
Icon source: https://ionicons.com/

* Updated icon to "sms_failed"
2019-04-01 19:19:37 +02:00
Bernd e839a2c9fe fix sharing to Tusky (#1140)
fixes duplicate title when sharing from Feedly or Google News
2019-03-23 12:50:24 +01:00
pandasoft0 f1b9f7e9fe Fix issue with floating media bar after permissions request (#1134) 2019-03-20 19:26:39 +01:00
Ivan Kupalov 520e0d6e7a List editing (#1104)
* List editing groundwork

* Add ability to add/remove accounts from list, delete lists

* Rename list, improve lists UI

* Add error handling, extract strings

* Revert gradle.properties

* Apply feedback suggestions

* Apply feedback

* Update license header
2019-03-16 13:36:16 +01:00
autumnontape 10fcee4798 Add autocompletion for custom emoji (#1089)
* Remove unnecessary //noinspection ConstantConditions

* Add autocompletion for custom emoji

* Update MentionTagTokenizer tests for emoji autocomplete support

* Move 1) emoji list retrieval notifying and 2) setting of emojiList field into setEmojiList() method of ComposeActivity

* Convert RelativeLayout in item_autocomplete_emoji.xml to LinearLayout

* Rename MentionTag* to Compose*

* Improve emoji autocomplete matching

* Make hashtag autocomplete results bold

* Use Context.getString()'s built-in formatting

* Add a divider between emoji autocomplete results that *start with* the token and those that *contain* it
2019-03-04 19:28:08 +01:00
Konrad Pozniak 8201f2539d
fix close button behavior in ComposeActivity (#1056) 2019-02-17 20:50:06 +01:00
Conny Duck eeaadea905 Revert "Generalize url scheme parsing/highlighting (#1008)"
This reverts commit 85610a8311.
2019-02-11 14:43:57 +01:00
Levi Bard d5173c2268 Add support for selecting account when sharing from outside apps (#1011)
* Add direct-share support (API 23+)

* Add account selection dialog for non-direct sharing
2019-02-06 10:23:02 +01:00
lenchan139 5876fbeb29 Attach subject when composing with shared content from other apps (#1020)
* +attach subject when composing with shared content from other apps

* Update strings.xml

* Update preferences.xml

* Update strings.xml

* remove option for add subject of shared to composeActivity

* Update preferences.xml
2019-02-05 20:12:37 +01:00
Levi Bard 85610a8311 Generalize url scheme parsing/highlighting (#1008)
* Add support for highlighting dat, ssb, ipfs url schemes. #847

* Generalize scheme parsing for url highlighting. #847

* Migrate LinkHelper to kotlin
2019-02-05 19:55:28 +01:00
Ivan Kupalov a3ee13d767 Add hashtag autocompletion, closes #769 (#1001)
* Add hashtag autocompletion, closes #769

* Apply review feedback
2019-01-28 11:04:05 +01:00
kyori19 75158a3aa0 Fix typo (#987)
* Optimize imports

* Fix typo in 'replyingStatusAuthor'
2019-01-14 21:57:22 +01:00
Konrad Pozniak a445c12094
Upgrade to AndroidX, move to MaterialComponents theme (#953)
* upgrade to AndroidX, upgrade libraries

* move to MaterialComponents theme

* make sure the compose button looks good everywhere

* fix tollbar title/button alignment on tablet

* move to new material color theming, consolidate colors and themes

* fix build, fix imports

* set error on TextInputLayout instead of EditText

* fix imports, TootButton when

* improve snackbar style

* fix task description color
2018-12-17 15:25:35 +01:00
Mélanie Chauvel (ariasuni) 5230bd29a6 Fix a lot of easy-to-fix warnings (#957) 2018-12-12 20:28:05 +01:00
Konrad Pozniak 73670b8576
Improve emoji picker accessibility (#944)
* set emoji shortcode as content description on ImageView

* hide bottom sheets on back press
2018-12-07 17:05:02 +01:00