Commit Graph

137 Commits

Author SHA1 Message Date
Marcin Mikołajczak 2887fa0cd8 i18n: Update Polish translation (#692)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-27 18:38:19 +02:00
Conny Duck bfa1929365 remove unused strings 2018-06-25 14:55:45 +02:00
Konrad Pozniak 63f9d99390
Account activity redesign (#662)
* Refactor-all-the-things version of the fix for issue #573

* Migrate SpanUtils to kotlin because why not

* Minimal fix for issue #573

* Add tests for compose spanning

* Clean up code suggestions

* Make FakeSpannable.getSpans implementation less awkward

* Add secondary validation pass for urls

* Address code review feedback

* Fixup type filtering in FakeSpannable again

* Make all mentions in compose activity use the default link color

* new layout for AccountActivity

* fix the light theme

* convert AccountActivity to Kotlin

* introduce AccountViewModel

* Merge branch 'master' into account-activity-redesign

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/AccountActivity.java

* add Bot badge to profile

* parse custom emojis in usernames

* add possibility to cancel follow request

* add third tab on profiles

* add account fields to profile

* add support for moved accounts

* set click listener on account moved view

* fix tests

* use 24dp as statusbar size

* add ability to hide reblogs from followed accounts

* add button to edit own account to AccountActivity

* set toolbar top margin programmatically

* fix crash

* add shadow behind statusbar

* introduce ViewExtensions to clean up code

* move code out of offsetChangedListener for perf reasons

* clean up stuff

* add error handling

* improve type safety

* fix ConstraintLayout warning

* remove unneeded ressources

* fix event dispatching

* fix crash in event handling

* set correct emoji on title

* improve some things

* wrap follower/foillowing/status views
2018-06-18 13:26:18 +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
remi6397 e8c79cce65 Notification tweaks: Grouping and Quick Reply button (#587)
* Added notification grouping and Quick Reply button

* Legal stuff

* Coding style

* Check whether account still exists when sending a quick reply

* Add "compose" button

* Polish translation

* Improve strings

* Code style

* Cancel notification when user hits "compose" button

* Notification counter

* Make sure to open ComposeActivity for notification recipient account

* Add ability to request account switch when starting an activity
2018-05-06 11:07:10 +02:00
remi6397 6ba5017341 Improved consistency of Polish translation. (#578) 2018-04-15 09:38:59 +02:00
Marcin Mikołajczak 8b93b4379e i18n: Update Polish translation (#572)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-04-14 08:57:58 +02:00
Konrad Pozniak 27eefbf65a
ComposeActivity improvements (#548)
* do not add media urls to status text

* add scrolling to content

* add arrow icon and animation to replying-to toggle

* remove unnecessary compose_button_colors.xml

* improve toot button

* improve bottom bar, add bottom sheet for compose options, dedicated cw button

* fix crash on Android < API 21

* move media picking from dialog to bottom sheet

* add small style tootbutton

* fix colors/button background for light theme

* add icons to media chose bottom sheet

* improve hide media button, delete unused styles

* fix crash on dev build when taking photo

* consolidate drawables

* consolidate strings and ids, add tooltips to buttons

* allow media only toots

* change error message to show max size of upload correctly

* fix button color

* add emoji

* code cleanup

* Merge branch 'master' into compose_activity_refactoring

# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/ComposeActivity.java

* fix hidden snackbar

* improve hint text color

* add SendTootService

* fix timeline refreshing

* toot saving and error handling for sendtootservice

* restructure some code

* convert EditTextTyped to Kotlin

* fixed pick media button disabled color

* force sensitive media when content warning is shown

* add db cache for emojis & fix tests

* reorder buttons to match mastodon web

* add possibility to cancel sending of toot

* correctly delete sent toots

* refresh SavedTootActivity after toot was sent

* remove unused resources

* correct params for toot saving in SendTootService

* consolidate strings

* bugfix

* remove unused resources

* fix notifications on old android for SendTootService

* fix crash
2018-04-13 22:37:21 +02:00
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
Conny Duck 1f9eb41a9a update Tusky urls 2018-02-25 14:51:06 +01:00
Marcin Mikołajczak eb15631c10 Update Polish translation (#532) 2018-02-19 17:43:25 +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
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
Konrad Pozniak 41233a837b
UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +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 d21bd0e1dd remove some unneeded strings 2017-10-25 10:57:40 +02:00
m4sk1n 95053e4cc3 i18n: Updated Polish translation 2017-07-22 09:35:02 +02:00
Vavassor 6e67db7631 Release 1.1.4-beta.5 2017-07-15 03:56:22 -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
Krzysztof Jurewicz fe2242a298 Fix a typo in Polish translation 2017-07-05 15:55:19 +02:00
Vavassor 4259b54394 Merge pull request #328 from m4sk1n/patch-4
i18n: @275cd51 @3955649 (pl)
2017-07-04 17:28:01 -04:00
m4sk1n 4de590e717 i18n: @275cd51 @3955649 (pl) 2017-07-03 14:25:05 +02:00
m4sk1n 9aad5ddb13 i18n: Updated Polish translation 2017-06-27 23:11:47 +02:00
Vavassor 3a4ef00dab Release 1.1.4-beta.4 2017-06-25 17:14:39 -04:00
Vavassor 65e9d8c4fd Merge pull request #314 from m4sk1n/patch-2
Minor fix in Polish translation
2017-06-21 15:27:10 -04:00
Marcin Mikołajczak 32030881c0 l10n: Updated Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-06-19 15:15:28 +02:00
m4sk1n ee5eff2c51 Minor fix in Polish translation 2017-06-19 14:40:19 +02:00
Marcin Mikołajczak 4784fa72f6 updated Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2017-05-26 15:04:06 +02:00
m4sk1n ff073a6abf i18n: fixed some things in Polish translation 2017-05-04 07:14:44 +02:00
Marcin Mikołajczak ee8ad60d8c i18n: added Polish translation
Signed-off-by: Marcin Mikołajczak <m4sk1n@vivaldi.net>
2017-05-03 17:14:36 +02:00