Commit Graph

877 Commits

Author SHA1 Message Date
Conny Duck 5b8cbeb7e9 Release 32 2018-02-04 10:31:50 +01:00
Conny Duck b5baaa89cf add database migration 2018-02-04 10:12:01 +01:00
Conny Duck f76d90affd set proxy setting to default off 2018-02-04 09:32:05 +01:00
Conny Duck 305d67fd2c improve german translation 2018-02-04 09:30:29 +01:00
Conny Duck 9b6ca7ff42 remove unused resources 2018-02-03 23:43:06 +01:00
Conny Duck f08efec0b6 simplify theme handling 2018-02-03 23:26:53 +01:00
Konrad Pozniak 92ae463b38
Multi account feature (#490)
* basic implementation

* improve LoginActivity

* darken drawer background image

* add current avatar in ComposeActivity

* add account name to logout dialog

* multi account support for notifications

* multi account support for notifications

* bugfixes & cleanup

* fix bug where somethings notifications would open with the wrong user

* correctly set active account in SFragment

* small improvements
2018-02-03 22:45:14 +01:00
Conny Duck c9004f1d54 adjust follow button font size 2018-02-03 13:34:40 +01:00
Conny Duck 3524a67a7f simplify list_item layout 2018-02-03 13:24:12 +01:00
Conny Duck adc91235ee reorganize manifest permissions 2018-01-31 22:24:08 +01:00
Conny Duck 3c795c6eef upgrade to minSdkVersion 18, fix some lint warnings 2018-01-31 21:57:50 +01:00
nailyk 2eaf727a1d Translate: Polish: Correct typo (#511)
* Add missing '!'. Should unbreak the build.
2018-01-30 18:24:08 +01:00
Conny Duck 6305f19f0c fix bug where sometimes a mention would be underlined 2018-01-29 22:11:32 +01:00
Marcin Mikołajczak f18f759c10 Update Polish translation (#510)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-01-27 22:25:28 +01:00
remi6397 11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
Conny Duck 8fa1320afe prevent crash in NotificationsAdapter when avatar url is not set 2018-01-15 17:06:21 +01:00
Ivan Kupalov 0426e8725a Set caption for media (#500) 2018-01-08 23:16:21 +01:00
Ivan Kupalov 6152043df3 Add basic lists support (#501) 2018-01-06 19:01:37 +01:00
ButterflyOfFire dd9bba94bb Update Arabic translation #499) 2018-01-04 16:46:56 +03:00
Sergio López 7c83e0f87d implement support for HTTP proxy (#489)
This change allows the user to manually enter an unauthenticated proxy
configuration to be used for all API connections. This is mainly
intended for using Tusky with Tor (via Orbot or a local proxy).
2017-12-26 21:45:08 +01:00
Conny Duck 73342d38cf update arabic translations 2017-12-16 11:06:26 +01:00
Conny Duck 2e4fef69a1 add navigation bar color for API >= 27 2017-12-13 19:35:12 +01:00
Conny Duck 3bd855d4c4 set tab indicator height to 3dp 2017-12-09 21:34:04 +01:00
Conny Duck 2899114f66 add new debug build so two tusky versions can be run on the same device 2017-12-08 12:15:46 +01:00
Conny Duck 2b477f4eea new icon & improved functionality for quick settings tile 2017-12-07 20:21:02 +01:00
Joan Montané 9602888ad3 Update Catalan strings (#480) 2017-12-05 21:59:58 +01:00
Conny Duck fbf64fa1e9 fix NPE in MediaUtils.getMediaSize 2017-12-05 21:48:17 +01:00
Conny Duck e5516749ed stop cursor from jumping when upload finishes while composing toot 2017-12-05 20:56:42 +01:00
Conny Duck 13ed5da741 fix error in german strings 2017-12-05 20:36:08 +01:00
Koyu Berteon c2bf0ffbda Updated German translation (#478)
* Updated German translation
2017-12-04 10:51:22 +01:00
Conny Duck 91c73a0b74 fix crash in SavedTootActivity when deleting drafts rapidly 2017-12-03 21:56:47 +01:00
Conny Duck ab4525ac38 fix ConcurrentModificationException when notification arrives 2017-12-02 14:34:47 +01:00
Evgeny Petrov c7ecf352cf Russian language updated (#475)
• Added new strings for status text sizes.
• Added new strings for status privacy values.
• Added new string about hidden media.
2017-12-02 13:14:57 +01:00
Konrad Pozniak 4743c85d82 fix crash on Android 4 2017-12-02 12:22:52 +01:00
Conny Duck 03f866f8c2 fix toot button and characters left text size 2017-12-01 22:44:18 +01:00
Conny Duck b2f9f87fc8 make medium the default font size on startup 2017-12-01 22:43:48 +01:00
Conny Duck 7abd8c8d70 fix some lint warnings 2017-12-01 22:31:34 +01:00
Conny Duck c20ee1d593 make content warning button smaller 2017-12-01 22:15:26 +01:00
Conny Duck 7cc1ed9844 fix problem with spark buttons behaving weirdly 2017-12-01 22:13:47 +01:00
Conny Duck bf4d0bb722 change handling of font size, introduce font size setting 2017-12-01 21:52:10 +01:00
Conny Duck b33740d74e fix IndexOutOfBoundsException in ViewThreadFragment 2017-11-30 21:04:47 +01:00
Conny Duck 08d01e6046 improve german translation, strings 2017-11-30 20:58:56 +01:00
Konrad Pozniak 41233a837b
UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +01:00
nailyk 0077388c65 Correct array translations (#470) 2017-11-29 07:26:17 +01:00
Conny Duck 1c2a647569 improve default post privacy to work like web mastodon, add default post privacy option 2017-11-27 20:11:31 +01:00
Conny Duck 1351c8b885 move string arrays into string.xml files so they do not get forgotten by translators 2017-11-27 19:47:31 +01:00
Joan Montané ce90862041 Add Catalan translation (#464)
* Create strings.xml

* Create array.xml
2017-11-22 22:00:55 +01:00
Ivan Kupalov 2575b16dad Save reply info in draft, refactor (#449)
* Save reply info in draft, refactor

* Handle replying to deleted status
2017-11-16 19:18:11 +01:00
Evgeny Petrov a859ef0432 Tweaks to Russian translation (#454)
• Added missing translations to timestamps (1s, 2m, 3h etc);
• Renamed "bio" section (now it's translated as "about me" since "biography" means something large and detailed);
• Renamed "thread" sections (now it uses more native word "Discussion", rather than transliterated "Thread" word);
• Changed notification string about new notifications. This change may look a bit ugly, but it solves a problem with declension of numeric values.
2017-11-16 01:01:07 +03:00
Conny Duck 3055e6176e upgrade libraries, fix DrawerImagerLoader deprecated warning 2017-11-15 21:50:15 +01:00
Konrad Pozniak 3204223af7
fix clear notifications crash (#458) 2017-11-15 21:18:35 +01:00
Konrad Pozniak ed22d65c68 simplify MainActivity back press handling (#456) 2017-11-13 22:43:16 +03:00
Ivan Kupalov ddc4954f8a Cancel notifications on opening notifications tab (#450) 2017-11-13 19:05:23 +01:00
ButterflyOfFire b13a27a777
Update strings.xml 2017-11-11 13:55:26 +01:00
Conny Duck 8e59d2d524 fix a crash on application start when no domain was saved in "domain" shared pref 2017-11-10 09:26:25 +01:00
Conny Duck dec7da9655 upgrade to API Level 27, fix nullability problems with new support library 2017-11-09 14:35:52 +01:00
Conny Duck 97546e79d9 fix a bug where a thread was not shown completely 2017-11-09 10:08:52 +01:00
Conny Duck f35ff105e9 fix crash when AccountMediaFragment was recreated 2017-11-07 23:33:17 +01:00
Conny Duck 59bcb6f0bf fix bug where account timeline showed only media toots 2017-11-07 23:06:06 +01:00
Ivan Kupalov 2816d9f929
Merge pull request #439 from charlag/status-notifications-behavior
Status notifications behavior (closes #322, partly #292)
2017-11-07 23:12:37 +02:00
charlag 76c7a7e462 Display CWs in notifications correctly 2017-11-08 00:09:44 +03:00
Anna e só 53de82bced pt-rBR translation updated (#438) 2017-11-07 21:37:11 +01:00
Ivan Kupalov b11e88cf46
Merge pull request #437 from MasterGroosha/patch-1
Russian language updated
2017-11-07 21:41:26 +02:00
Evgeny Petrov 424f38a5fa Russian language: translated numeric values for notification check timeout, some other small improvements. 2017-11-07 22:39:35 +03:00
charlag 92fb55cb3a Open status from notifications 2017-11-07 22:36:19 +03:00
Conny Duck 305d28a5c1 fix some lint warnings, remove unused code 2017-11-07 15:31:44 +01:00
Conny Duck a2c361914b fix a crash in ComposeActivity where a dialog was canceled that was already removed from the window 2017-11-07 15:01:20 +01:00
Conny Duck 26834b36ed update german translation 2017-11-07 14:52:43 +01:00
Evgeny Petrov d0bd68f3e2
Russian language updated 2017-11-07 15:56:04 +03:00
Conny Duck 5fff9e2bdc increase okhttp timeouts so posting large images works 2017-11-07 13:27:35 +01:00
Conny Duck 3053e097a7 upgrade room library to 1 (fix merge problem) 2017-11-07 13:12:57 +01:00
Konrad Pozniak 21de60f739
Merge branch 'master' into timeline-improvement 2017-11-07 13:03:49 +01:00
Conny Duck 52dd9559d6 fix placeholder not resetting itself after a load failed 2017-11-07 12:59:46 +01:00
charlag 74d6736afc Make status placeholder abstraction cleaner 2017-11-07 12:44:19 +01:00
charlag 0dede1ba7d Make more clear representation of placeholder in notifications 2017-11-07 12:44:19 +01:00
Ivan Kupalov dc1a60cc12 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Conny Duck 80a10c1ac1 implement "load more" placeholder 2017-11-04 21:57:30 +01:00
Kazuki KANDA a934582025 Improves and adds Japanese translations. (#434) 2017-11-04 17:56:19 +01:00
Conny Duck 51c547ffb0 fix an error where opening notifications would lead to the wrong status 2017-11-04 13:25:37 +01:00
Conny Duck fcb8a23343 fix an issue with avatars in notifications loading on the wrong thread 2017-11-03 10:09:09 +01:00
Conny Duck 9df3836665 prevent a crash in ComposeActivity when ContentResolver raises a SecurityException 2017-11-02 21:18:39 +01:00
Conny Duck 2dfd83ef97 adding image keyboard support (and some cleanup) 2017-11-01 21:56:38 +01:00
Ivan Kupalov 018be25137 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov 62f4837135 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 2d390f6603 change default of chrome custom tabs setting to false 2017-10-30 10:48:27 +01:00
Conny Duck 93fcd33c48 add actionbar to PreferencesActivity 2017-10-30 10:41:59 +01:00
Ivan Kupalov 15e37576e5 Add media upload progress. Closes #412 (#426) 2017-10-29 22:18:45 +01:00
Tibike Miklós d2a5dcc144 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 bc59d4d938 Fix issues with media uploads restoring. Fixes #419. Fixes #308. (#425) 2017-10-28 22:24:26 +02:00
Conny Duck 671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Conny Duck 4807493850 update AboutActivity to show License, remove ic_logo.png 2017-10-28 13:39:32 +02:00
Conny Duck 9dd09d0522 fix a bug where favs & reblogs where not shown correctly in NotificationsFragment 2017-10-27 23:39:36 +02:00
Konrad Pozniak 5cbc7217ff 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 df4dfa7766 Stop adding link info when composing toot (#418) 2017-10-27 13:19:12 +02:00
Conny Duck 0fd25ff124 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
Jeroen 8e92a32c01 Update of Dutch strings (#416) 2017-10-26 18:00:17 +02:00
Conny Duck 9dc9ee2ef0 upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
Anna e só 86f03d2603 i18n: PT-BR translation added (#415) 2017-10-25 19:34:08 +02:00
Conny Duck 256a11aa07 Release 27 2017-10-25 11:13:33 +02:00
Conny Duck d21bd0e1dd remove some unneeded strings 2017-10-25 10:57:40 +02:00
Conny Duck 00c5a975d6 close ViewThreadActivity if the main status got removed to avoid crashes on subsequent refreshes 2017-10-24 23:33:05 +02:00
Conny Duck b213941c5b improve custom emoji size/padding/alignment, fix jumping of text when emojis are loaded 2017-10-24 23:10:15 +02:00
Ivan Kupalov 4736462911 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 3054980d74 Fix deprecated BitmapDrawable constructor (#413) 2017-10-24 22:57:44 +02:00
nailyk 3f07e8a9b7 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 938229d7d4 Fix custom emoji size (#407)
Now custom emoji images adapt to the font size.
2017-10-23 23:04:53 +02:00
Conny Duck d9bbb1be71 should fix a problem with autocomplete and some keyboards 2017-10-23 22:55:43 +02:00
Conny Duck 87b34df892 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 ba7e1a77a1 Russian language updated (#406) 2017-10-23 09:38:59 +02:00
Conny Duck 8e44348f46 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 8b13ce4806 update german strings 2017-10-20 16:39:34 +02:00
Conny Duck 942f26c632 remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
Conny Duck 2666f81b96 remove old emoji shortcodes 2017-10-19 15:54:08 +02:00
Ivan Kupalov 3adef27bbb Load custom emoji in statuses (#400) 2017-10-19 15:25:04 +02:00
Conny Duck 2859a5075c completely remove firebase, mqtt and google services from build 2017-10-19 14:39:56 +02:00
Conny Duck b7f3a90f92 new launcher icon, new adaptive icon 2017-10-19 14:06:52 +02:00
Conny Duck 0789f048e6 fix typo in preference key 2017-10-18 22:18:44 +02:00
Conny Duck 30312e0e55 implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
Conny Duck 7d7aeadd41 improve content warning background 2017-10-18 11:08:49 +02:00
Conny Duck 3a7a663824 change background color of detailed status for better legibility, especially with light theme 2017-10-18 10:12:53 +02:00
Conny Duck f2f3be37b3 cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
lindwurm 81bb7997ce 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 25a489fe03 Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak 1297a35e9b 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 c3ffed56da fix a bug where saving a toot with attached media would crash the app 2017-10-17 09:38:36 +02:00
Konrad Pozniak 5176fc104d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
Konrad Pozniak 34918884b5 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 840efd1916 Merge pull request #372 from connyduck/avatar-placeholder-improvement
rounded corners for avatar placeholder
2017-10-16 17:18:09 +02:00
flyingrub 4fb9ee99f6 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub 402f696c10 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Len Chan c0a5e55f47 add option: always show all sensitive content without warning 2017-09-19 23:19:18 +08:00
torrentcome 87de285fe8 (#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 71743890b0 rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
Vavassor 67f3ce6e4e 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 7c90cd76e3 l10n: Update Japanese translations
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-08-10 10:24:02 +09:00
Vavassor f8c75c8c90 Merge branch 'master' of https://github.com/dimqua/Tusky into dimqua-master 2017-08-09 17:24:13 -04:00
Vavassor 973c6168f8 Adds a confirmation dialog for unfollowing a user using the account header button. 2017-08-09 01:16:00 -04:00
Vavassor b7dcd31470 Merge branch 'button-improvements' of https://github.com/connyduck/Tusky into connyduck-button-improvements 2017-08-08 23:55:32 -04:00
Vavassor ad399eedf1 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 b1b6e1c21a Merge pull request #360 from torrentcome/#20_duplicated_interface
(fragment) quick changed
2017-08-08 19:30:04 -04:00
Conny Duck 2c1bae80b7 rename setting "follow button" -> "compose button" 2017-08-05 12:04:58 +02:00
Conny Duck f696b6e8d3 bugfix, layout improvements 2017-08-05 12:04:40 +02:00
Conny Duck 17876008cf improve buttons in follow request/muted users/saved toots/blocked users 2017-08-05 10:52:58 +02:00
Conny Duck 2f66de9797 code cleanup, simplify AccountActivityLayout 2017-08-05 10:29:04 +02:00
Conny Duck 848189d670 show if an account follows you back in AccountActivity 2017-08-05 10:09:17 +02:00
Conny Duck 099d76d919 make FAB hide on scroll in AccountActivity as well 2017-08-04 11:44:10 +02:00
Conny Duck e4c9b229d7 change floating action button to "mention", create new follow button in AccountActivity 2017-08-04 10:53:38 +02:00
Vavassor af1d92c965 Actually form thread lines properly in the thread view. Closes #57 2017-08-03 22:30:37 -04:00
Vavassor df07ab2600 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 cb1e8eaea7 Cleans up the distinction between detailed and normal status view holders. 2017-08-03 17:26:26 -04:00