Commit Graph

803 Commits

Author SHA1 Message Date
charlag 33ece0410d Make more clear representation of placeholder in notifications 2017-11-07 12:44:19 +01:00
Ivan Kupalov f0a1392649 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Conny Duck cbf6062bce implement "load more" placeholder 2017-11-04 21:57:30 +01:00
Kazuki KANDA ddb4022866 Improves and adds Japanese translations. (#434) 2017-11-04 17:56:19 +01:00
Conny Duck 42aa75b92e fix an error where opening notifications would lead to the wrong status 2017-11-04 13:25:37 +01:00
Conny Duck 764cbac7b7 fix an issue with avatars in notifications loading on the wrong thread 2017-11-03 10:09:09 +01:00
Conny Duck cf8364eae4 prevent a crash in ComposeActivity when ContentResolver raises a SecurityException 2017-11-02 21:18:39 +01:00
Conny Duck fe921c0622 adding image keyboard support (and some cleanup) 2017-11-01 21:56:38 +01:00
Ivan Kupalov 06af962610 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov 5b581fe7f3 Reply improvements (#432)
* Refactor ComposeActivity intent. Fix bug with URLs

When user saved toot link was removed from the text field itself,
not only from the text to be saved.

* Show what you reply to

Closes #119
2017-11-01 20:59:29 +01:00
Conny Duck 39a6bc6fa5 change default of chrome custom tabs setting to false 2017-10-30 10:48:27 +01:00
Conny Duck 8d2c3974bd add actionbar to PreferencesActivity 2017-10-30 10:41:59 +01:00
Ivan Kupalov 387b37e0a8 Add media upload progress. Closes #412 (#426) 2017-10-29 22:18:45 +01:00
Tibike Miklós 9bc67f3485 Hungarian translation (#428)
* - Added a few lines of hungarian into resources

* - Added another round of commits

* - Added the rest of the Hungarian translations
2017-10-29 22:17:51 +01:00
Ivan Kupalov 4125ce1d79 Fix issues with media uploads restoring. Fixes #419. Fixes #308. (#425) 2017-10-28 22:24:26 +02:00
Conny Duck 64e83bb80c title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Conny Duck 453b38e89e update AboutActivity to show License, remove ic_logo.png 2017-10-28 13:39:32 +02:00
Conny Duck 37aa9d701d fix a bug where favs & reblogs where not shown correctly in NotificationsFragment 2017-10-27 23:39:36 +02:00
Konrad Pozniak 39530cb960 Link previews for detail statuses (#424)
* implement link preview cards on detail statuses

* cleanup code
2017-10-27 13:20:17 +02:00
Ivan Kupalov 5239ffa432 Stop adding link info when composing toot (#418) 2017-10-27 13:19:12 +02:00
Conny Duck 665d708e54 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
Jeroen 99e519edbc Update of Dutch strings (#416) 2017-10-26 18:00:17 +02:00
Conny Duck d3061da9cb upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
Anna e só 20da7a1a13 i18n: PT-BR translation added (#415) 2017-10-25 19:34:08 +02:00
Conny Duck de41ea4cb7 Release 27 2017-10-25 11:13:33 +02:00
Conny Duck 8d1f1acbf3 remove some unneeded strings 2017-10-25 10:57:40 +02:00
Conny Duck 1486d6068a close ViewThreadActivity if the main status got removed to avoid crashes on subsequent refreshes 2017-10-24 23:33:05 +02:00
Conny Duck 00ce03e217 improve custom emoji size/padding/alignment, fix jumping of text when emojis are loaded 2017-10-24 23:10:15 +02:00
Ivan Kupalov d1d5766ea1 Fix sending wrong requests for autocompletion (#414)
The problem was that Tusky kept sending requests for autocompletion
while writing toots even when the user wasn't typing a username
anymore. As it happened very often we would exceed the API request
limit and user wouldn't be able to send the toot.

This happened because Tokenizer is not used as expected. In fact,
during testing, findTokenEnd() and terminateToken() were never called.
I've tried setting a Validator but it wasn't used either. I'm not
sure what is the reason.

I am afraid it still may work incorrectly for the full nicknames
(ones with the instance name, like @name@isntance) because
the search may happen for the instance name but it's not as
critical.
2017-10-24 23:02:38 +02:00
Ivan Kupalov 10b695fafd Fix deprecated BitmapDrawable constructor (#413) 2017-10-24 22:57:44 +02:00
nailyk cd1ec69150 Update FR translate (#408)
* Strings: FR: Update translation

 * Follow is not a good term, replace it by something more relevant.

* Strings: FR: Add missing translates

 * Code string 'saved' is translated 'Drafts' in English.
   Use 'saved' based words in FR however.
2017-10-24 13:09:22 +02:00
Ivan Kupalov 6223a1bfa3 Fix custom emoji size (#407)
Now custom emoji images adapt to the font size.
2017-10-23 23:04:53 +02:00
Conny Duck 58600fe8ce should fix a problem with autocomplete and some keyboards 2017-10-23 22:55:43 +02:00
Conny Duck ed851cb04d fixes a crash within TootDao that is caused by an change in the room library 2017-10-23 21:52:46 +02:00
Evgeny Petrov bb376cfd6c Russian language updated (#406) 2017-10-23 09:38:59 +02:00
Conny Duck 5c59fa7c5d create notification channels ahead of time so users can edit the settings before a notification was issued 2017-10-21 21:28:05 +02:00
Conny Duck a2149d5566 update german strings 2017-10-20 16:39:34 +02:00
Conny Duck 170694b6ea remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
Conny Duck 09e2746c41 remove old emoji shortcodes 2017-10-19 15:54:08 +02:00
Ivan Kupalov 65b7ce1909 Load custom emoji in statuses (#400) 2017-10-19 15:25:04 +02:00
Conny Duck b3ce544bd0 completely remove firebase, mqtt and google services from build 2017-10-19 14:39:56 +02:00
Conny Duck 035aba5d44 new launcher icon, new adaptive icon 2017-10-19 14:06:52 +02:00
Conny Duck 7c2ac42689 fix typo in preference key 2017-10-18 22:18:44 +02:00
Conny Duck d65d63b82b implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
Conny Duck 43bdc4f3d7 improve content warning background 2017-10-18 11:08:49 +02:00
Conny Duck 7480e88642 change background color of detailed status for better legibility, especially with light theme 2017-10-18 10:12:53 +02:00
Conny Duck c444bead7e cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
lindwurm 1d87d3d450 Update Japanese Translations
add japanese strings for #386 #389 #391

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-10-17 17:02:10 +09:00
Konrad Pozniak ed3457fa1c Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak 8c7113dfb7 Merge pull request #386 from lenchan139/master
add option: always show all sensitive content without warning
2017-10-17 09:44:19 +02:00
Conny Duck 626ffd79f1 fix a bug where saving a toot with attached media would crash the app 2017-10-17 09:38:36 +02:00
Konrad Pozniak 356192f81d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
Konrad Pozniak f183325b26 Merge pull request #391 from flyingrub/copy
Add a menu entry to copy the link of a toot
2017-10-16 23:30:36 +02:00
Konrad Pozniak 28831956ff Merge pull request #372 from connyduck/avatar-placeholder-improvement
rounded corners for avatar placeholder
2017-10-16 17:18:09 +02:00
flyingrub b86887b564 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub cbdca54d27 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Len Chan f48f6230a2 add option: always show all sensitive content without warning 2017-09-19 23:19:18 +08:00
torrentcome 660c46d7ee (#377) hide sensitive images after showing them
-The web client overlays a small eye button over sensitive images after they've been shown that re-hides them
2017-08-30 14:22:12 +02:00
Conny Duck 0b4211b86a rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
Vavassor d3e7126ff0 Changes content warning show more/less button to use a drawable with built-in shadow for compatibility with API levels below 21. 2017-08-11 16:34:43 -04:00
lindwurm a69884350a l10n: Update Japanese translations
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-08-10 10:24:02 +09:00
Vavassor 1bac6a6f93 Merge branch 'master' of https://github.com/dimqua/Tusky into dimqua-master 2017-08-09 17:24:13 -04:00
Vavassor 6fbfc92199 Adds a confirmation dialog for unfollowing a user using the account header button. 2017-08-09 01:16:00 -04:00
Vavassor 21c6064e3d Merge branch 'button-improvements' of https://github.com/connyduck/Tusky into connyduck-button-improvements 2017-08-08 23:55:32 -04:00
Vavassor cd6a3a32f1 Merge branch 'account-activity-improvements' of https://github.com/connyduck/Tusky into connyduck-account-activity-improvements 2017-08-08 21:23:16 -04:00
Vavassor ee08b68b97 Merge pull request #360 from torrentcome/#20_duplicated_interface
(fragment) quick changed
2017-08-08 19:30:04 -04:00
Conny Duck 9d75172e74 rename setting "follow button" -> "compose button" 2017-08-05 12:04:58 +02:00
Conny Duck bcb88afde3 bugfix, layout improvements 2017-08-05 12:04:40 +02:00
Conny Duck 627be76008 improve buttons in follow request/muted users/saved toots/blocked users 2017-08-05 10:52:58 +02:00
Conny Duck d41bf5d7e7 code cleanup, simplify AccountActivityLayout 2017-08-05 10:29:04 +02:00
Conny Duck 45ae9ed0ef show if an account follows you back in AccountActivity 2017-08-05 10:09:17 +02:00
Conny Duck c6f2cc55ea make FAB hide on scroll in AccountActivity as well 2017-08-04 11:44:10 +02:00
Conny Duck e4ce775685 change floating action button to "mention", create new follow button in AccountActivity 2017-08-04 10:53:38 +02:00
Vavassor 81bcd8dbd1 Actually form thread lines properly in the thread view. Closes #57 2017-08-03 22:30:37 -04:00
Vavassor 681e68b487 Adjusts background colours and button colours on the dark theme. Also, adds a background to the main status in a thread. 2017-08-03 19:13:26 -04:00
Vavassor 3981116a1a Cleans up the distinction between detailed and normal status view holders. 2017-08-03 17:26:26 -04:00
Conny Duck d4ad3d96ad improve layout of AccountActivity tabs 2017-08-03 16:24:14 +02:00
Vavassor cd74ebb6fc Makes the main status of a thread appear as a more detailed view. 2017-08-03 00:29:31 -04:00
Vavassor 0c962144c5 Fixes URLs being deleted erroneously when multiple images are added in the composer. 2017-07-30 17:16:32 -04:00
Vavassor b6291b8004 Fixes a crash when autocompleting a mention, second try. (previous fix was commit 48c03125f5) 2017-07-28 12:36:54 -04:00
Vavassor 09430f14fb Fixes links in statuses not using custom tabs even when the option is enabled (typo). 2017-07-28 11:59:32 -04:00
Vavassor 4a30af43df Fixes a incompatibility-related crash when the hiding media previews option is selected and the device is API level 19 or under. 2017-07-28 11:54:57 -04:00
torrentcome 62706000c9 (fragment) quick changed
The duplicated interface will no appeared anymore. The problem is with the "stack memory" who do weird thing with his fragments.

no more duplicated stuff after that ;)
2017-07-28 16:11:01 +02:00
Vavassor a86c8df81b Consolidate the two media buttons in the composer. 2017-07-27 22:40:58 -04:00
Vavassor 58c8f64287 Documents some utilities 2017-07-27 22:03:45 -04:00
Vavassor ea85209d0a Release 1.1.4
Release 1.1.4
2017-07-27 22:01:17 -04:00
Koyu Berteon 6611a9c358 Translating array.xml file 2017-07-27 22:01:17 -04:00
Koyu Berteon 52d9f79591 Translated more untranslated strings 2017-07-27 22:01:17 -04:00
Vavassor ad3153509a Adjusts padding of the composer buttons. 2017-07-27 01:13:33 -04:00
Vavassor 33a7e3bfed Adds save draft button to composer. 2017-07-27 00:56:53 -04:00
Vavassor c6242dd5ef Updates the upload size limit and correct it to power of two numbers of bytes as it actually always was. 2017-07-26 00:12:02 -04:00
Vavassor 9d564ad3ec Fixes a crash and errors associated with a URL pasted into the composer being edited before its metadata is loaded. 2017-07-25 19:23:37 -04:00
Vavassor d344f34ffb Addendum to commit 534443d439 to cancel the callbacks so they're not called after the fragment is detached. Closes #357 2017-07-25 17:35:36 -04:00
m4sk1n 4ec3f2abf5 i18n: Updated Polish translation 2017-07-22 09:35:02 +02:00
Vavassor 095344272e Give up 2017-07-20 22:29:29 -04:00
Vavassor 0c8381e50d Fixes a crash when a timeline or thread is backgrounded and brought back with an uninitialized notification or status list. 2017-07-20 21:17:36 -04:00
Vavassor 48c03125f5 Fixes a crash while autocompleting a mention. Also, a small bit of refactoring. 2017-07-20 17:54:41 -04:00
Vavassor e24dcbbd7c Fixes a crash when a thumbnail for an image attachment fails to load. 2017-07-19 00:28:36 -04:00
Vavassor 2674a11c50 The unloaded drawer header was sometimes returning zero dimensions and crashing. It's just easier to let it handle resizing and cropping. 2017-07-19 00:15:53 -04:00
Vavassor 534443d439 Fixes an intermittent null pointer exception caused by getActivity() returning null in callbacks. 2017-07-18 23:34:07 -04:00
Vavassor a9c90171a3 Fixes a few content descriptions and re-titles the Drafts page. 2017-07-18 22:32:13 -04:00
Vavassor afcf7f0346 Merge pull request #350 from connyduck/translation-6
update german translation for version 1.1.4
2017-07-18 20:22:44 -04:00
Vavassor adeaba9cf7 Merge pull request #351 from connyduck/bugfix-search
fix bug where "no result" message was not shown in SearchActivity
2017-07-18 20:20:41 -04:00
Vavassor da663ba67c Merge pull request #353 from connyduck/permission-fix
fix permission problem when downloading image
2017-07-18 20:19:51 -04:00
Conny Duck 359a3df971 fix permission problem when downloading image 2017-07-18 21:32:43 +02:00
Conny Duck 26c63ae956 show currently selected check interval in settings 2017-07-18 20:33:46 +02:00
Conny Duck 99722a95b3 fix bug where "no result" message was not shown in SearchActivity 2017-07-18 20:05:41 +02:00
Conny Duck 4000f501b0 update german translation for version 1.1.4 2017-07-18 19:44:33 +02:00
Vavassor 0e0ec40575 Okay, toss BouncyCastleProvider so we can release a beta. 2017-07-18 00:30:24 -04:00
Vavassor a0da0a4d9d Widens proguard to just keep everything under org.bouncycastle when minifying. Also fixes a bug where the composer's content warning is hidden after changing orientation. 2017-07-17 00:06:48 -04:00
Vavassor 764cd7a0d6 Fixes the search page not working on Android Kitkat (searching applications instead of accounts and tags). 2017-07-16 22:31:40 -04:00
Vavassor 3a114fd9ee Merge branch 'media-preview' of https://github.com/charlag/Tusky into charlag-media-preview 2017-07-16 19:59:17 -04:00
Vavassor 8f226b024c Fixes notifications not setting their visibility. 2017-07-16 19:56:26 -04:00
Vavassor a37f4f5a07 Merge branch 'fix-boosts' of https://github.com/charlag/Tusky into charlag-fix-boosts 2017-07-16 19:33:57 -04:00
Vavassor b5039b7d8c Release 1.1.4-beta.6 2017-07-16 18:26:56 -04:00
dimqua d384690b64 Russian translation 2017-07-15 21:32:47 +03:00
Ivan Kupalov 076863c0e7 Improve media browser and video viewer
* show/hide status bar by tapping a photo
* dim and color status bar in video/media viewers
* show/hide status bar in video viewer
* use shared element transition when opening a photo is possible
* center video in VideoView
2017-07-15 18:37:53 +03:00
Ivan Kupalov ea013f1686 Fix bug where there were no media in the boosted toot and avatar opened wrong profile. 2017-07-15 14:57:51 +03:00
Vavassor 81089ade92 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor 384c377129 Makes the toolbar shadow visible for pre-Lollipop android versions and fixes a crash when deleting a draft with no media attached. 2017-07-15 03:10:55 -04:00
Vavassor c7f3354c40 Removes unused icons and does bits of cleanup. 2017-07-14 23:23:14 -04:00
Vavassor 95b6fe8550 Adds ability to localize timestamps. 2017-07-14 19:45:26 -04:00
Vavassor 7b0bf1f4f7 Corrects number localization and adjusts the padding of the reblog avatars in right-to-left layout direction. 2017-07-14 18:18:29 -04:00
Vavassor 89753c2553 Merge branch 'charlag-boost-avatars' 2017-07-14 17:10:41 -04:00
Vavassor d1a3e943d2 Fixes timelines and notifications tabs fetching progressively further down when they are restarted. 2017-07-14 17:09:44 -04:00
Vavassor 6467392df6 Merge branch 'boost-avatars' of https://github.com/charlag/Tusky into charlag-boost-avatars 2017-07-14 16:54:26 -04:00
Vavassor 93d71c30fd Merge pull request #337 from jeroenpraat/patch-3
Update Dutch strings for 1.4
2017-07-14 16:04:25 -04:00
Vavassor e047733c4a Merge pull request #338 from jeroenpraat/patch-4
Updating instances website and project website
2017-07-14 16:03:51 -04:00
Vavassor d87227ed72 Merge pull request #334 from charlag/paired-list-fix
Fix bug with paired list incorrectly adding to the specified position.
2017-07-14 16:03:36 -04:00
Jeroen e8ba4c15d3 Updating instances website and project website 2017-07-14 19:11:47 +02:00
Jeroen f8914f083a Adding this to Dutch strings too 2017-07-14 19:03:46 +02:00
Jeroen edd638ee26 Updating Dutch strings for 1.4 2017-07-14 18:59:00 +02:00
Henri Gourvest c4882c718f avoid crash when new notification list is empty 2017-07-14 11:11:38 +02:00
Ivan Kupalov 871175d9ff Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00
Ivan Kupalov ff6e9804fd Fix bug with paired list incorrectly adding to the specified position.
This bug led to incorrect refreshing of the timeline
2017-07-14 06:51:03 +03:00
Vavassor 6badc2639b Merge pull request #331 from m4sk1n/master
i18n: Updated Polish translation
2017-07-13 22:01:01 -04:00
Vavassor 3d7807ec7b Fixes a small error in pull request #332 where reblog and favourite notifications show your display name for the "reblogged by/favourited by" message instead of whomever did so. 2017-07-13 21:57:15 -04:00
Vavassor 5f054e1d5f Re-does commit 340a6fad29 because those changes were stomped by merging in commit b499e51437. 2017-07-13 21:39:17 -04:00
Vavassor b499e51437 Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover 2017-07-13 21:31:31 -04:00
Vavassor 340a6fad29 Fixes bug where the order of notifications could be jumbled when removing duplicates using a HashSet. 2017-07-13 20:17:50 -04:00
Ivan Kupalov 84ef8ade98 Preserve status states on updates. UI layer refactoring.
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
2017-07-13 22:18:08 +03:00
Vavassor 8bc1955122 Fixes some odd spacing in right-to-left direction and sets some icons to auto-mirror. 2017-07-12 17:03:32 -04:00
Marcin Mikołajczak a0ee8db701 i18n: @1d45505 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 17:01:59 +02:00
Marcin Mikołajczak 9ca26c4d6d i18n: @bc65015 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:58:59 +02:00
Marcin Mikołajczak 1153a13e89 i18n: @738b787 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:55:13 +02:00
Marcin Mikołajczak 6a2f97bc04 i18n: 6447f40 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:51:26 +02:00
Vavassor 98c91c772c Improves right-to-left layouts in the most basic fashion. 2017-07-12 02:09:07 -04:00
Vavassor 8d2ded3457 Adds saving media to drafts. 2017-07-11 21:49:46 -04:00
Vavassor 1d45505caa Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
Vavassor 7fc9603cb4 Adds envelope icon indicator to direct messages on timelines, so they can be differentiated from private statuses. 2017-07-08 15:44:08 -04:00