Commit Graph

195 Commits

Author SHA1 Message Date
Conny Duck d6b04adc45 Release 62 2019-05-20 18:53:04 +02:00
Konrad Pozniak 30ea164f45 downgrade alpha libraries (#1273) 2019-05-20 16:56:58 +02:00
Konrad Pozniak 2ee95b4ca3 upgrade deps (#1263) 2019-05-18 08:06:30 +02:00
pandasoft0 1f87fd66a5 Update preferences library, remove unneeded "shouldDisableView" (#1254) 2019-05-09 21:00:50 +02:00
Conny Duck fd3e868e9a Release 61 2019-05-09 19:09:40 +02:00
Conny Duck e68274c1ec Release 60 2019-05-06 10:45:56 +02:00
Konrad Pozniak 6297f39040 fix deleted status reappearing in the timeline (#1225)
* fix deleted status reappearing in the timeline

* fix crash

* fix tests

* fix instrumented tests

* add test for deleted status in timeline
2019-05-01 22:10:00 +02:00
Conny Duck b4b5903245 upgrade deps 2019-04-28 09:52:12 +02:00
Konrad Pozniak 487e48389e fix the Glide annotationProcessor warning 2019-04-21 08:24:29 +02:00
pandasoft0 f7b577dfd1 Migrate to Glide (#1175)
* Replace Picasso library with Glide library tuskyapp#1082

* Replace Picasso library with Glide library tuskyapp#1082

* Update load emoji with glide

* Update context used for Glide

* Removed unused import

* Replace deprecated SimpleTarget with CustomTarget

* Fix crash at the view image fragment, remove override image size

* Replace Single.create with Single.fromCallable

* View image fragment refactor

* Fix after merge

* Try to load cached image first and show progress view on failure

* Try to load cached image first and show progress view on failure
2019-04-16 21:39:12 +02:00
Conny Duck f12ad19f96 Release 59 2019-04-08 13:31:57 +02:00
Bernd d4816d8cc1 Update Deps (#1176)
* Update Deps

* Update Deps

* Update Deps

* Update build.gradle

* Update build.gradle
2019-04-07 19:37:04 +02:00
Bernd d1494d4d30 Update Deps + Cleanup (#1158)
* Fix Typo

* Update build.gradle

* Update Deps

* Update Tests

* Fixes Tests

Without this some tests fail on my PC...

+ also:
"Put this in your gradle.properties:

android.enableUnitTestBinaryResources=true"
from http://robolectric.org/migrating/#project-configuration

* Make everything private

* Fix Warning

* Update TimelineFragment.java

* Update build.gradle

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Fix Compile Errors

e.g.

Type inference failed. Expected type mismatch: inferred type is Preference? but Preference was expected

Type inference failed. Please try to specify type arguments explicitly.

* fix crash

* Grandle Wrapper 5.3

* Revert "Fix Compile Errors"

This reverts commit 4a774a4fe3ce82c84bd7b4d78e1a1c64af97cd0d.

* requirePreference

* oops

* Cleanup

* Update gradle-wrapper.properties
2019-03-30 15:18:16 +01:00
Conny Duck ff4a6b3931 Release 58 2019-03-30 15:05:15 +01:00
Konrad Pozniak 7612b65bf7 disable language splitting for app bundle builds (#1165) 2019-03-29 19:56:53 +01:00
Conny Duck 5e75ad0628 Release 57 2019-03-26 20:59:06 +01:00
Bernd 01218a9946 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
Konrad Pozniak 2b490dd4f3 upgrade OkHttp, add Conscrypt (#1083)
* upgrade OkHttp, add Conscrypt

* fix tests
2019-03-04 19:25:51 +01:00
Conny Duck 244a478eb5 Release 56 2019-03-04 17:59:36 +01:00
Conny Duck 7e5e94487c Release 55 2019-02-22 17:15:33 +01:00
Conny Duck 6c1db97c07 Release 54 2019-02-21 18:46:37 +01:00
Conny Duck 80966019b2 Release 53 2019-02-16 16:57:53 +01:00
Konrad Pozniak e23ed6806e call db functions on background thread in ConversationsViewModel (#1040)
* call db functions on background thread in ConversationsViewModel

* use stable library versions
2019-02-15 20:41:10 +01:00
Konrad Pozniak c3fc97a12f Tab customization & direct messages tab (#1012)
* custom tabs

* custom tabs interface

* implement custom tab functionality

* add database migration

* fix bugs, improve ThemeUtils nullability handling

* implement conversationsfragment

* setup ConversationViewHolder

* implement favs

* add button functionality

* revert 10.json

* revert item_status_notification.xml

* implement more menu, replying, fix stuff, clean up

* fix tests

* fix bug with expanding statuses

* min and max number of tabs

* settings support, fix bugs

* database migration

* fix scrolling to top after refresh

* fix                                 bugs

* fix warning in item_conversation
2019-02-12 19:22:37 +01:00
Conny Duck dc836bcae8 upgrade deps, fix some lint warnings 2019-02-11 16:59:01 +01:00
Ivan Kupalov e67127f39d Fix incorrectly incrementing IDs before sending to server. (#1026)
* Fix incorrectly incrementing IDs before sending to server.

* Add TimelineRepositoryTest, fix adding placeholder, fix String#dec()

* Add more TimelineRepository tests, fix bugs

* Add tests for adding statuses from DB.
2019-02-05 20:06:00 +01:00
Ivan Kupalov cec5444e22 Caching toots (#809)
* Initial timeline cache implementation

* Fix build/DI errors for caching

* Rename timeline entities tables. Add migration. Add DB scheme file.

* Fix uniqueness problem, change offline strategy, improve mapping

* Try to merge in new statuses, fix bottom loading, fix saving spans.

* Fix reblogs IDs, fix inserting elements from top

* Send one more request to get latest timeline statuses

* Give Timeline placeholders string id. Rewrite Either in Kotlin

* Initial placeholder implementation for caching

* Fix crash on removing overlap statuses

* Migrate counters to long

* Remove unused counters. Add minimal TimelineDAOTest

* Fix bug with placeholder ID

* Update cache in response to events. Refactor TimelineCases

* Fix crash, reduce number of placeholders

* Fix crash, fix filtering, improve placeholder handling

* Fix migration, add 8-9 migration test

* Fix initial timeline update, remove more placeholders

* Add cleanup for old statuses

* Fix cleanup

* Delete ExampleInstrumentedTest

* Improve timeline UX regarding caching

* Fix typos

* Fix initial timeline update

* Cleanup/fix initial timeline update

* Workaround for weird behavior of first post on initial tl update.

* Change counter types back to int

* Clear timeline cache on logout

* Fix loading when timeline is completely empty

* Fix androidx migration issues

* Fix tests

* Apply caching feedback

* Save account emojis to cache

* Fix warnings and bugs
2019-01-14 22:05:08 +01:00
Ivan Kupalov ff0ce91599 Export Room schemes (#963) 2018-12-25 20:06:28 +01:00
Conny Duck 079c792d0c update deps 2018-12-18 22:05:33 +01:00
Conny Duck 0d8dc6ef19 exclude unneeded license files from apk 2018-12-17 19:08:32 +01:00
Konrad Pozniak 0b60445256 Upgrade to AndroidX, move to MaterialComponents theme (#953)
* upgrade to AndroidX, upgrade libraries

* move to MaterialComponents theme

* make sure the compose button looks good everywhere

* fix tollbar title/button alignment on tablet

* move to new material color theming, consolidate colors and themes

* fix build, fix imports

* set error on TextInputLayout instead of EditText

* fix imports, TootButton when

* improve snackbar style

* fix task description color
2018-12-17 15:25:35 +01:00
Conny Duck d2dbb955a5 Release 52 2018-12-12 20:53:26 +01:00
Conny Duck 925e82e035 Release 51 2018-11-26 18:52:08 +01:00
Conny Duck 0d6eb76b9c Release 50 2018-11-19 16:39:49 +01:00
Conny Duck 0531fc6902 update deps, fix some lint warnings 2018-11-16 13:31:03 +01:00
Konrad Pozniak 70ca42c8b7 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
Conny Duck f85deb3efb update build tools and kotlin 2018-10-14 16:30:12 +02:00
Ivan Kupalov d928fe7a1d Add ability to pin/unpin statuses (#872) 2018-10-03 21:27:52 +02:00
Conny Duck 32e5a9f146 upgrade gradle and build tools 2018-09-25 19:05:37 +02:00
Konrad Pozniak e4a318db12 update support libs to 28.0.0 final 2018-09-22 17:13:22 +02:00
Konrad Pozniak 3e2dc9f79b update targetSdkVersion to 28 (#842)
* update targetSdkVersion to 28

* update robolectric to support api 28
2018-09-16 19:23:32 +02:00
Konrad Pozniak 6a7ec93b98 update minSdkVersion to 21 (#843)
* set minSdkVersion to 21

* use elevation instead of additional views for shadow

* clean up code occurrences

* remove drawable compat code

* remove no longer needed resources

* remove unneeded android:clipChildren="false"

* Revert "remove no longer needed resources"

This reverts commit 67a4d6f8d87b3f116b95d90dfb48f350d342f503.

* remove no longer needed resources (this time the right ones)
2018-09-16 18:54:12 +02:00
Conny Duck d84ae0b931 Release 49 2018-09-04 19:06:04 +02:00
Conny Duck dd2be8085d update deps 2018-08-31 20:40:40 +02:00
Conny Duck b45dc5f873 Release 48 2018-08-24 20:38:34 +02:00
Conny Duck c385c92d99 Release 47 2018-08-23 21:11:29 +02:00
Konrad Pozniak 5237e645eb Release 46 2018-08-18 13:35:20 +02:00
Konrad Pozniak 1d7144f2c7 add more aggressive proguard config (#741)
* add more aggressive proguard config

* even more optimizations
2018-08-15 20:46:37 +02:00
Conny Duck 0d839eb1c6 update dependencies 2018-08-07 21:02:45 +02:00
Konrad Pozniak 759fd0f11b Custom emojis in drawer (#737)
* upgrade MaterialDrawer

* improve CustomEmojiHelper so now any parent view can be used for invalidation

* cleanup MainActivity a bit

* add emojiList to account database and show compatEmojis and custom emojis in drawer

* improve perf of drawer profile update

* fix account switching

* reuse gson, break after profile item was found
2018-07-30 15:43:27 +02:00