Commit Graph

57 Commits

Author SHA1 Message Date
Konrad Pozniak 45ac280db7
Add Portuguese (Portugal) to the in-app language picker (#2507) 2022-05-09 19:40:32 +02:00
Mélanie Chauvel 2fc3ba3cee
Replace “status” by “post” in strings name and source values (#2405) 2022-03-27 12:23:25 +02:00
Levi Bard 7114575497
Instance configuration: the easy parts (#2341)
* Add data model for instance configuration

* Support instance.configuration.statuses.max_characters

* Support instance.configuration.statuses.characters_reserved_per_url

* Support instance.configuration.polls.max_options and max_characters_per_option

* Pacify ktlint

* Support instance-configured poll durations

* Fixup versions for migration after rebase
2022-03-01 19:43:36 +01:00
Konrad Pozniak 808cb5f27b
add new translations (Scottish Gaelic, Galician, Ukrainian) to in-app language picker (#2314) 2022-02-04 21:59:30 +01:00
Konrad Pozniak 4d0083b6b1
add Bulgarian, Sorani and Sanskrit to the in-app language picker (#2085) 2021-02-23 18:54:01 +01:00
Levi Bard be60155de5
Implement timed mutes. (#2035)
Fixes #2033
2021-01-15 21:05:36 +01:00
Konrad Pozniak 7a435bd288
add bn-bd to the in-app languagepicker (#1887) 2020-08-17 21:21:09 +02:00
Konrad Pozniak 89931c0193 add irish, vietnamese and hindi to the in-app language picker 2020-08-12 21:03:41 +02:00
Konrad Pozniak 9f5277b3bc add Thai to the in-app language selector 2020-07-20 11:37:30 +02:00
Konrad Pozniak 74bd493878
add possibility to move the main navigation to the bottom (#1808)
* add possibility to move the main navigation to the bottom

* add top toolbar with drawer toggle, title and search button
2020-06-18 11:04:53 +02:00
Conny Duck 0bd4920ea5 add missing languages to in-app language switcher 2020-02-10 15:18:08 +01:00
Konrad Pozniak 8767d2ed3d
Theme refactoring (#1656)
* Theme refactoring

* disable the automatic tinting of surfaces with elevation in dark mode

* make the media warning visible again with the dark theme

* fix nav bar on api 27+

* use correct color for all media warnings
2020-01-30 21:37:28 +01:00
ButterflyOfFire 07ae58889a
Adding kabyle language (#1658)
Adding kabyle language and correcting arabic.
2020-01-30 19:31:49 +01:00
Konrad Pozniak f8c7bedfa6 update rick roll domain list 2020-01-13 13:48:53 +01:00
Konrad Pozniak d9694df0c2
Bookmarks (#1560)
* add bookmarks to timelines

* add Bookmarks to main menu

* cleanup

* handle BookmarkEvent

* fix tests

* fix bookmark handling in NotificationsFragment

* add bookmark accessibility actions
2019-11-19 10:15:32 +01:00
Danial Behzadi ecb4494278 set title_tag as non-translatable (#1551)
* set title_tag as non-translatable

* add title_tag to donottranslate.xml and remove from strings.xml
2019-11-08 17:46:40 +01:00
Konrad Pozniak 83ced20e4a
add build customization options (#1532) 2019-10-29 20:30:46 +01:00
Levi Bard a308b4c139 Don't interpret html inside poll options. (#1527)
* Don't interpret html inside poll options.
Closes #1362

* Update translations

* Mark poll_percent_format as untranslatable
2019-10-11 17:35:22 +02: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 39a59f4ade
add support for american/british english translations (#1358)
* add support for american/british english distinction

* Update strings.xml

Just one additional change - anonymize (US) to anonymise (UK)

* change english language names

* add missing translation string
2019-07-02 10:56:05 +02:00
Konrad Pozniak 3a81559c95 fix strings 2019-06-29 08:34:58 +02:00
Levi Bard ffb6c9a7a7 Add @ and # helper buttons to compose activity (#1277)
Addresses #810
2019-06-24 10:33:05 +02:00
Marie Axelsson 5d04a7ccda
Merge pull request #1303 from mlc/rick_roll_domains
Rick roll instead of logging in on selected domains. This is not censorship, but rather a choice by this house who will facilitate our services to.
2019-06-17 12:37:15 +02:00
Konrad Pozniak a956061cbf
cleanup unused resources (#1300) 2019-06-02 22:02:03 +02:00
mike castleman b15a5c7614
enhance bad-domain detection 2019-06-01 15:29:15 -04:00
mike castleman ee35a9768f
rick roll instead of logging in on selected domains 2019-06-01 14:47:14 -04:00
charlag 3f613dc56f Minimal screen reader support for polls 2019-05-26 15:56:26 +02:00
Konrad Pozniak 49ede9183d add Norwegian & Slovenian to the app language settings 2019-04-21 15:07:03 +02:00
Konrad Pozniak 463b008090
change project website url (#1128) 2019-03-18 15:47:02 +01:00
Aditoo17 4f7c989b2d Add language names for Czech and Esperanto (#1125)
* Add language names for Czech and Esperanto

* Add language names for Czech and Esperanto
2019-03-16 13:52:45 +01:00
Conny Duck 028db440ee cleanup code 2019-03-08 21:10:48 +01:00
Mélanie Chauvel (ariasuni) bac131c6d5 Add support for language switching (#1108)
* Add support for language switching

* Clean and improve code based on feedback

* Remove useless logging
2019-03-08 20:33:42 +01:00
Bernd 507ffb1b41 Add new Theme "Use System Design" + fixes to night mode (#1069)
* Add theme system

A theme which follows system design.
See: https://www.xda-developers.com/samsung-galaxy-s9-update-night-mode-schedule/

* update

to be in line with https://github.com/tuskyapp/Tusky/pull/1060/files

* Update ThemeUtils.java

* update

* Cleanup

* Update Deps

* Cleanup

* Update PreferencesActivity.kt

* Workaround to make MODE_NIGHT_FOLLOW_SYSTEM work

* Update ThemeUtils.java

* Use ThemeUtils.THEME_SYSTEM

* Update SplashActivity.kt

* Update strings.xml

* Update Deps

* Update build.gradle

* Update build.gradle

* fix tests
2019-03-07 21:33:29 +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 348c20c792
New settings (#891)
* change drawer items

* rename SettingsActivity

* introduce AccountSettings activity

* improve account settings, move notification settings

* sync settings with server

* rename settings back to preferences

* add functionality for settings

* move mediaPreviewEnabled preference to AccountPreferences

* replace shared prefs with accountmanager

* move PreferencesFragment to support library

* split preferences fragment into smaller fragments,
merge AccountPreferencesActivity into PreferencesFragment

* adjust icon size, add icons to general preferences

* change mediaPreviewEnabled and alwaysShowSensitiveMedia pref position

* add database migration

* remove pullNotificationCheckInterval option

* fix  preference in TimelineFragment

* Update Chinese translations. (#915)

* Update zh-CN translations.

* Update zh-SG translations.

* Update zh-TW translations.

* Update zh-MO translations.

* Update zh-HK translations.

* Fix errors in zh-CN translations.

* Fix errors in zh-SG translations.

* Fix errors in zh-TW translations.

* Fix errors in zh-MO translations.

* Fix errors in zh-HK translations.
2018-11-12 21:09:39 +01:00
qwazix 562beacfc1 Add black theme (#726)
* Add black theme

On amoled screens a completely black theme helps save battery,
besides looking awesome!

* Fix first set of merge request issues except the dialog.

* Black theme inherits from dark and only the different values
  are declared
* Make nav bar translucent (for some reason content does not
  go behind it in main activity. Need to investigate)
* Remove nav bar line
* Fix toolbar color

* Fix dialog issue with black theme.

Revert translucent navigation.

* Translations updated, as well as possible from online sources.

* Make login screen respect black theme
2018-07-30 15:31:35 +02:00
Ivan Kupalov 7254a5d7d6 Add smaller and larger font options (fix #657) (#660)
* Add smaller and larger font options

* Fix test sizes, comment out translations
2018-06-07 22:19:39 +02:00
Conny Duck 1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
Conny Duck f08efec0b6 simplify theme handling 2018-02-03 23:26:53 +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 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 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
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
Conny Duck d21bd0e1dd remove some unneeded strings 2017-10-25 10:57:40 +02:00
Conny Duck 8b13ce4806 update german strings 2017-10-20 16:39:34 +02:00
Vavassor 036a305782 pretty much finishes the prototype 2017-05-23 19:48:54 -04:00
Vavassor 6ee6157b7f Adds TLS to the push notification client (keystore_tusky_api is omitted). 2017-05-22 02:05:37 -04:00