Commit Graph

599 Commits

Author SHA1 Message Date
Konrad Pozniak 71954a277e
convert entity classes to Kotlin data classes (#526)
* convert entity classes to Kotlin data classes

* more data classes, code style
2018-03-03 13:24:03 +01:00
ButterflyOfFire 2f7014e05a Improving arabic translation (#523)
Improving arabic translation
2018-03-03 10:33:26 +01:00
nailyk a81f691689 Translates: FR: Do not use plural for follows_you (#537) 2018-03-02 20:53:01 +01:00
Conny Duck ed60cc3a78 gracefully handle null statuses in notifications 2018-03-01 21:10:10 +01:00
Conny Duck 1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
nailyk da54ab5890 Update FR translations (#533)
* Translation: FR: Correct media upload sentences

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>

* Translation: FR: Make follow request sentence innumerable

Signed-off-by: nailyk-fr <jenkins@nailyk.fr>
2018-02-21 22:45:22 +01:00
Marcin Mikołajczak eb15631c10 Update Polish translation (#532) 2018-02-19 17:43:25 +01:00
Conny Duck 14439c016c increase text size of detailed toot 2018-02-17 13:54:27 +01:00
Conny Duck c766a203bf fix bug in rtl layout, remove unneeded xml attributes & dimen resources 2018-02-16 22:14:25 +01:00
aka-rin 5ebb057828 Add Chinese Translations (#528)
* Add zh-CN translations (first version).

满眼生机转化钧, 天工人巧日争新。

* Add zh-TW translations (converted by OpenCC).

幹,我到底寫了三小……

* Add zh-HK translations (converted by OpenCC).

呢個翻譯真喺 On9!

* Fix some translations in zh-CN.

点一下,玩一年,装备不花一分钱~

* Fix some translations in zh-TW, too.

油條要超越板凳當凶器之首了嗎?

* Fix some translations in zh-HK, too...

大家小心流感

* Minor fixes in zh-CN translations.

翻譯比想象中要難啊……

* Add zh-SG translations (the same as zh-CN).

* Update zh-TW translations.

* Update zh-HK translations, too.

Still needs to be improved...

* Add zh-MO translations (the same as zh-HK).

Now it's all set!

* Fix a character in zh-CN translations...

Don't mind, don't mind...

* Fix the same character in zh-SG translations...

It's all my fault. 😂
2018-02-14 22:29:38 +01:00
Konrad Pozniak 17a122b293
Rewrite EditProfileActivity in Kotlin (#525)
* rewrite EditProfileActivity in Kotlin

* fix bug in MainActivity where profiles would duplicate

* fix code style
2018-02-12 22:04:18 +01:00
nailyk c502e001d7 Translates: FR: Improve translations (#524)
* Add new translate related to multi account,
 * Adjust some translates notification related.

Signed-off-by: nailyk-fr <nailyk_git@nailyk.fr>
2018-02-10 21:13:54 +01:00
Conny Duck 274343a064 set the correct default theme in preferences 2018-02-05 11:29:08 +01:00
Evgeny Petrov ba46e90140 Russian translation for Tusky 1.5 (#513)
* Russian translation for Tusky 1.5
* Added multiaccount strings
* Added licence strings
* Added media caption strings
* Added lists strings
* Added HTTP proxy strings
* Added theme strings
* Some small fixes

* Tusky-RU: A small fix for "visually_impaired" strings

* Tusky-RU: Some fixes for "Proxy" strings.
"Blind" translating is bad :(
2018-02-04 15:16:01 +01:00
Conny Duck 5b8cbeb7e9 Release 32 2018-02-04 10:31:50 +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
nailyk 2eaf727a1d Translate: Polish: Correct typo (#511)
* Add missing '!'. Should unbreak the build.
2018-01-30 18:24:08 +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
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 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
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 c20ee1d593 make content warning button smaller 2017-12-01 22:15:26 +01:00
Conny Duck bf4d0bb722 change handling of font size, introduce font size setting 2017-12-01 21:52:10 +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
ButterflyOfFire b13a27a777
Update strings.xml 2017-11-11 13:55:26 +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
Conny Duck 305d28a5c1 fix some lint warnings, remove unused code 2017-11-07 15:31:44 +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
Konrad Pozniak 21de60f739
Merge branch 'master' into timeline-improvement 2017-11-07 13:03:49 +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
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
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
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
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
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
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
Evgeny Petrov ba7e1a77a1 Russian language updated (#406) 2017-10-23 09:38:59 +02:00
Conny Duck 8b13ce4806 update german strings 2017-10-20 16:39:34 +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
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
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 e4c9b229d7 change floating action button to "mention", create new follow button in AccountActivity 2017-08-04 10:53:38 +02: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
Conny Duck 42734c4f57 improve layout of AccountActivity tabs 2017-08-03 16:24:14 +02:00
Vavassor 309c89eefc Makes the main status of a thread appear as a more detailed view. 2017-08-03 00:29:31 -04:00
Vavassor 239ebaf9b2 Consolidate the two media buttons in the composer. 2017-07-27 22:40:58 -04:00
Vavassor bfdd0cb3a2 Release 1.1.4
Release 1.1.4
2017-07-27 22:01:17 -04:00
Koyu Berteon e6b67498b5 Translating array.xml file 2017-07-27 22:01:17 -04:00
Koyu Berteon 47b12b456d Translated more untranslated strings 2017-07-27 22:01:17 -04:00
Vavassor 2cfb92013e Adjusts padding of the composer buttons. 2017-07-27 01:13:33 -04:00
Vavassor f3b5087c52 Adds save draft button to composer. 2017-07-27 00:56:53 -04:00
m4sk1n 95053e4cc3 i18n: Updated Polish translation 2017-07-22 09:35:02 +02:00
Vavassor 6e366a1b84 Give up 2017-07-20 22:29:29 -04:00
Vavassor 51e2b7c949 Fixes a few content descriptions and re-titles the Drafts page. 2017-07-18 22:32:13 -04:00
Vavassor e42811a1ba Merge pull request #350 from connyduck/translation-6
update german translation for version 1.1.4
2017-07-18 20:22:44 -04:00
Conny Duck 8c1130ef66 show currently selected check interval in settings 2017-07-18 20:33:46 +02:00
Conny Duck 33810f6e61 update german translation for version 1.1.4 2017-07-18 19:44:33 +02:00
dimqua 48b8056664 Russian translation 2017-07-15 21:32:47 +03:00
Ivan Kupalov 08f928a2b2 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
Vavassor 6e67db7631 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor f37bb694f1 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 87600b016f Removes unused icons and does bits of cleanup. 2017-07-14 23:23:14 -04:00
Vavassor d55181ccd0 Adds ability to localize timestamps. 2017-07-14 19:45:26 -04:00
Vavassor 8559a6d75c 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 40467fd355 Merge branch 'boost-avatars' of https://github.com/charlag/Tusky into charlag-boost-avatars 2017-07-14 16:54:26 -04:00
Vavassor be5af7e1df Merge pull request #337 from jeroenpraat/patch-3
Update Dutch strings for 1.4
2017-07-14 16:04:25 -04:00
Jeroen 16736e38ba Updating instances website and project website 2017-07-14 19:11:47 +02:00
Jeroen 35e5a9788a Adding this to Dutch strings too 2017-07-14 19:03:46 +02:00
Jeroen 37f2529fa2 Updating Dutch strings for 1.4 2017-07-14 18:59:00 +02:00
Ivan Kupalov 240fb372ba Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00
Vavassor 38db48c7cb Merge pull request #331 from m4sk1n/master
i18n: Updated Polish translation
2017-07-13 22:01:01 -04:00
Vavassor fc1a24be11 Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover 2017-07-13 21:31:31 -04:00
Ivan Kupalov 90c1a83ba4 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 b77d9934ab 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 bd8ff45983 i18n: @f68f6d7 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 17:01:59 +02:00
Marcin Mikołajczak 9eb1106ea6 i18n: @76fca00 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:58:59 +02:00
Marcin Mikołajczak 3b77660efb i18n: @7a7bca5 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:55:13 +02:00
Marcin Mikołajczak 542980f13f i18n: 946f584 (pl)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-07-12 16:51:26 +02:00
Vavassor e4dff388d2 Improves right-to-left layouts in the most basic fashion. 2017-07-12 02:09:07 -04:00
Vavassor f68f6d7473 Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
Vavassor 14d02e72b7 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
Vavassor 63bf832ffd resolves merge conflict 2017-07-06 22:15:44 -04:00
torrentcome 76fca004ee (correction) fix some forgot code to present the pull request :D 2017-07-06 12:20:54 +02:00