Commit Graph

398 Commits

Author SHA1 Message Date
kyori19 e4ebfa581d Merge remote-tracking branch 'tuskyapp/develop' into master 2020-08-29 13:43:37 +09:00
kyori19 3794971bbf Bump version to v3.6.0 2020-08-29 13:05:55 +09:00
Konrad Pozniak a79fea86fb Release 75 2020-08-22 18:11:57 +02:00
Konrad Pozniak 84de062c03
update dependencies (#1886)
* update dependencies

* update AGP
2020-08-17 21:30:56 +02:00
Konrad Pozniak a4551a764d Release 74 2020-08-12 21:05:39 +02:00
kyori19 c2f01cfc21 Bump version to v3.5.0 (24) 2020-08-02 21:51:11 +09:00
Konrad Pozniak 6c382aa5da Release 73 2020-08-02 11:26:03 +02:00
kyori19 79ddb9b67c Merge remote-tracking branch 'tuskyapp/develop' into master 2020-08-01 21:40:50 +09:00
Konrad Pozniak 467c33aacb
upgrade SwipeRefreshLayout to 1.1.0 (#1866) 2020-07-28 10:38:28 +02:00
Ivan Kupalov f37a589dce
Roll back image viewer but retain swiping fix (#1863)
This fixes crashes with images which were too wide (aspect ratio wise).
2020-07-27 10:42:39 +02:00
kyori19 ef753c374a Bump version to v3.4.0 (23) 2020-06-29 10:54:58 +09:00
kyori19 48d1b05bde Merge remote-tracking branch 'tuskyapp/develop' 2020-06-29 10:49:37 +09:00
Ivan Kupalov 58a1046348
Improve image viewer (#1843)
This commit does 3 things:
1. Replaces PhotoView (which is abandonware) with modern TouchImageView
2. Fixes an issue with panning images. Gesture was not intercepted
properly and pager was taking control instead of image being moved.
3. Adds feedback to dismissing of images with vertical gesture.
2020-06-22 21:26:37 +02:00
kyori19 eedfd10f30 Merge remote-tracking branch 'tuskyapp/develop' 2020-06-22 12:59:08 +09:00
Konrad Pozniak b5bf78a19e
upgrade gradle wrapper, materialdrawer and AndroidX fragment (#1837) 2020-06-21 18:27:07 +02:00
kyori19 ad98466572 Bump version to v3.3.1 (22) 2020-06-21 00:50:34 +09:00
kyori19 f10d6abb17 Bump version to v3.3.0 (21) 2020-06-20 15:57:31 +09:00
kyori19 31c9debd5d Merge remote-tracking branch 'tuskyapp/develop' 2020-06-19 14:40:57 +09:00
kyori19 a408e74c06 Bump AccelForceEaster to v1.0.2 2020-06-18 23:52:47 +09:00
Conny Duck 8f2514dbe0 downgrade dagger to get rid of READ_PHONE_STATE permission
https://github.com/google/dagger/issues/1864
2020-06-04 23:07:06 +02:00
Konrad Pozniak df5490b5b9
upgrade gradle, AGP and dependencies (#1818)
* upgrade gradle, AGP and dependencies

* fix new layout related warnings
2020-06-04 20:16:48 +02:00
kyori19 7724f53bae Bump version to v3.2.0 (20) 2020-05-24 22:42:30 +09:00
kyori19 dcb51934ac Bump version to v3.1.0 (19) 2020-05-23 13:07:11 +09:00
kyori19 0982834805 Bump version to v3.0.1 (18) 2020-05-21 14:46:18 +09:00
kyori19 dd6f8b1739 Bump version to v3.0.0 (17) 2020-05-17 12:49:35 +09:00
kyori19 64550b6261 Bump version to v2.4.0 (16) 2020-05-15 22:47:12 +09:00
kyori19 48fdcc0715 Merge remote-tracking branch 'tuskyapp/develop' 2020-05-13 21:32:29 +09:00
Konrad Pozniak b280e25727
use AndroidX WorkManager instead of Evernote Android Job (#1783)
* use AndroidX WorkManager instead of Evernote Android Job

* move notification related classes to their own package

* fix missing import
2020-05-12 18:46:49 +02:00
kyori19 e48d53f93f Bump version to v2.3.0 (15) 2020-05-10 22:00:28 +09:00
Conny Duck 3aadec4cfc Release 72/v11.0 2020-05-08 18:44:39 +02:00
kyori19 cefc399e01 Bump version to v2.2.0 (14) 2020-05-05 22:30:06 +09:00
kyori19 1f2c14080e Bump version to v2.1.0 (13) 2020-05-04 11:02:12 +09:00
kyori19 ca65c5e26f Merge remote-tracking branch 'tuskyapp/develop' 2020-05-04 10:52:47 +09:00
Conny Duck 62e7bb5889 Release 71 2020-04-29 18:35:20 +02:00
Konrad Pozniak 9bb86dfe8f upgrade deps 2020-04-28 17:02:40 +02:00
Konrad Pozniak 2cf1e366b8
convert MainActivity to Kotlin and upgrade MaterialDrawer to version 8 (#1748)
* convert MainActivity to Kotlin

* migrate to MaterialDrawer 8

* fix drawer styles

* revert removing BezelImageView and material_drawer_header override

* fix tests

* add lost comment back to material_drawer_header.xml

* add tools:parentTag to material_drawer_header.xml

* use when instead of if in MainActivity

* fix statusbar color over the drawer

* cleanup drawer item creation

* tint secondary drawer items as well

* remove unnecessary ids

* fix header text color in the light theme

* improve header text contrast
2020-04-15 18:57:53 +02:00
kyori19 1370eedc10 Merge remote-tracking branch 'tuskyapp/develop' 2020-04-09 00:34:31 +09:00
Konrad Pozniak c80fa68dbe
upgrade dependencies, fix some warnings (#1747)
* upgrade dependencies, fix some warnings

* fix tests
2020-04-06 11:46:38 +02:00
Ivan Kupalov 67c20326f9
Add options to confirm reblog/unreblog actions, close #460 (#1650) 2020-03-03 21:27:26 +01:00
kyori19 7ec302b968 Bump version to 2.0.0 (12) 2020-02-28 00:19:01 +09:00
kyori19 5503c801c1 Merge remote-tracking branch 'tuskyapp/develop' 2020-02-26 21:09:20 +09:00
Konrad Pozniak d9c802982e
Upgrade deps (#1708)
* upgrade Dagger

* upgrade AndroidX Lifecycle

* upgrade AndroidX Fragment

* upgrade Room, Retrofit, AndroidX core, Material components

* fix report fragments not sharing viewmodels
2020-02-25 19:49:41 +01:00
Conny Duck 218046fd27 Release 70 / 10.0 2020-02-25 19:00:21 +01:00
kyori19 de8069aec9 Merge remote-tracking branch 'tuskyapp/develop' 2020-02-23 22:23:54 +09:00
Ivan Kupalov 5a5bbca171
Fix emoji download (#1691)
* Update OkHttp to 4.3.1

* Fix downloading emoji fonts

OkHttp strips away content length info when compression is used.
Even though this behavior is old, we didn't observe it until OkHttp was
updated in d3ebcc14ec.

We get it from the original network response header. It should be
compressed length.

* Reformat EmojiCompatFont and EmojiPreference
2020-02-17 16:23:34 +01:00
kyori19 41f4219b6e Merge remote-tracking branch 'tuskyapp/develop' 2020-02-15 18:09:05 +09:00
Conny Duck 6be8d873e7 put androidExtensions experimental=true back in to fix crash 2020-02-12 21:53:16 +01:00
kyori19 fbb1c5aee6 Merge remote-tracking branch 'tuskyapp/develop' 2020-02-12 12:16:30 +09:00
Conny Duck 6f8e8a6d5c Release 69 / 10.0 beta 1 2020-02-10 16:50:35 +01:00
Frieder Bluemle 9bc000569d
Update espresso-core to 3.2.0 2020-02-01 11:14:31 -08:00
Konrad Pozniak 415b526885
fix in app language switching (#1659) 2020-01-30 21:05:24 +01:00
kyori19 c04b01f7f5 Bump version to 1.4.0 (11) 2020-01-28 13:01:58 +09:00
kyori19 a36331c38c Bump version to 1.3.3 (10) 2020-01-12 12:10:04 +09:00
kyori19 62510cf028 Bump version to v1.3.2 (9) 2019-12-29 10:53:59 +09:00
kyori19 61bc887af5 Merge remote-tracking branch 'tuskyapp/develop' 2019-12-27 14:46:18 +09:00
Konrad Pozniak e67d608bb8
upgrade dependencies (#1596) 2019-12-20 21:31:41 +01:00
Konrad Pozniak 516546a3bf
upgrade androidx.browser to 1.2.0 (#1595) 2019-12-20 20:08:02 +01:00
Konrad Pozniak 60b9a9c40b
upgrade SparkButton to 3.0.0 (#1594) 2019-12-20 19:52:36 +01:00
Ivan Kupalov 8770fbe986 ComposeActivity refactor (#1541)
* Convert ComposeActivity to Kotlin

* More ComposeActivity cleanups

* Move ComposeActivity to it's own package

* Remove ComposeActivity.IntentBuilder

* Re-do part of the media downsizing/uploading

* Add sending of status to ViewModel, draft media descriptions

* Allow uploading video, update description after uploading

* Enable camera, enable upload cancelling

* Cleanup of ComposeActivity

* Extract CaptionDialog, extract ComposeActivity methods

* Fix handling of redrafted media

* Add initial state and media uploading out of Activity

* Change ComposeOptions.mentionedUsernames to be Set rather than List

We probably don't want repeated usernames when we are writing a post
and Set provides such guarantee for free plus it tells it to the
callers. The only disadvantage is lack of order but it shouldn't be a
problem.

* Add combineOptionalLiveData. Add docs.

It it useful for nullable LiveData's. I think we cannot differentiate
between value not being set and value being null so I just added the
variant without null check.

* Add poll support to Compose.

* cleanup code

* move more classes into compose package

* cleanup code

* fix button behavior

* add error handling for media upload

* add caching for instance data again

* merge develop

* fix scheduled toots

* delete unused string

* cleanup ComposeActivity

* fix restoring media from drafts

* make media upload code a little bit clearer

* cleanup autocomplete search code

* avoid duplicate object creation in SavedTootActivity

* perf: avoid unnecessary work when initializing ComposeActivity

* add license header to new files

* use small toot button on bigger displays

* fix ComposeActivityTest

* fix bad merge

* use Singles.zip instead of Single.zip
2019-12-19 19:09:40 +01:00
kyori19 1d5101e5a5 Bump version to v1.3.1 (8) 2019-12-08 00:48:48 +09:00
kyori19 74798fb8b4 Bump version to 1.3.0 (7) 2019-11-28 23:45:16 +09:00
kyori19 8fb159ae22 Bump version to v1.2.0 (6) 2019-11-20 21:32:16 +09:00
kyori19 fb3263b76d Merge remote-tracking branch 'tuskyapp/develop' 2019-11-19 23:42:22 +09:00
kyori19 762b2225ca Merge remote-tracking branch 'tuskyapp/develop' 2019-11-19 21:52:13 +09: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
Konrad Pozniak d3ebcc14ec
update deps, cleanup build file (#1546) 2019-11-06 20:48:58 +01:00
Konrad Pozniak d2ca776b34
Migrate to ViewPager2 (#1544)
* migrate MainActivty to ViewPager2

* migrate AccountActivty to ViewPager2

* migrate ViewMediaActivty to ViewPager2

* migrate SearchActivity to ViewPager2

* checkin missing AccountPagerAdapter file

* remove unused class ImageViewPager

* replace SparseArray with MutableList
2019-11-06 20:17:53 +01:00
Konrad Pozniak 83ced20e4a
add build customization options (#1532) 2019-10-29 20:30:46 +01:00
Konrad Pozniak 78b5aa8baf
Upgrade api level to Android 10, implement new sharing api (#1537)
* upgrade api level to Android 10, resolve compile errors

* use androidx.preference.PreferenceManager instead of deprecated platform class

* add hyphenation to important TextViews

*  setBottomSheetCallback -> addBottomSheetCallback

* implement new sharing api

* improve TuskyTileService so it shows account picker when multiple accounts are present

* delete unused AccountChooserService

* fix test

* improve ShareShortcutHelper

* remove debug log statement

* improve image loading fallback behavior in ShareShortcutHelper

* improve behavior on foldable devices
2019-10-22 21:18:20 +02:00
Konrad Pozniak 3c3273455c
upgrade dependencies (#1535)
* upgrade dependencies

* enable incremental annotation processing for room
2019-10-14 09:56:00 +02:00
Konrad Pozniak bee10bf375
Refactor theming (#1529)
* fix toolbars

* use toolbar in MainActivity

* update AccountActivity appbar

* update material design library

* remove unneeded tabs styling

* fix black theme
2019-10-12 20:00:29 +02:00
Konrad Pozniak 2dad358c96
upgrade appcompat, fix nightmode (#1455)
* upgrade appcompat, fix language switching & nightmode

* cleanup ThemeUtils

* upgrade dependencies

* change active boost icon (#1513)

* upgrade jetifier and android gradle plugin

* fix FilterTest
2019-10-03 19:58:21 +02:00
kyori19 eb33f01898 Bump version to v1.1.2 2019-10-03 21:14:36 +09:00
kyori19 aa48555902 Merge remote-tracking branch 'tuskyapp/master' 2019-10-03 21:09:01 +09:00
kyori19 9e4c19a47e Scheduled toot (#1004)
* Scheduled toot

* Hide scheduled toot button if version < 2.7.0

* Fix timeline reloading after toot

* Add edit icon to ComposeScheduleView

* Add button to reset scheduled toot

* Close bottom sheet and change button color after time a was selected

* Fix edit icon's size

* List of scheduled toots

* Fix instance version check

* Use MaterialDatePicker

* Set date and time consecutively

* Add licenses
2019-10-02 21:28:12 +02:00
Conny Duck a6b9d2f67e Release 68 2019-10-01 18:58:55 +02:00
kyori19 820a38b070 Merge remote-tracking branch 'tuskyapp/master' 2019-09-25 20:20:37 +09:00
Konrad Pozniak 546cb4bacc
upgrade autodispose (#1490)
* upgrade autodispose

* set AutoDisposePlugins.setHideProxies to false
2019-09-22 08:19:44 +02:00
Konrad Pozniak 54a0d5406a
Remove search v1 (#1484)
* remove search v1, convert MastodonApi to Kotlin

* format MastodonApi nicely

* use default params in ConversationRepository

* improve code for LoginActivity
2019-09-22 08:18:44 +02:00
Konrad Pozniak fd1fcf3b97
upgrade glide (#1489) 2019-09-21 21:35:51 +02:00
Konrad Pozniak 85843320d1
upgrade dependencies (#1488) 2019-09-21 21:35:36 +02:00
kyori19 08454f0bbd Bump version to v1.1.1 2019-09-16 14:22:28 +09:00
Conny Duck 1d9c937337 Release 67 2019-09-15 09:30:22 +02:00
Conny Duck 6eee3e2738 release 66 2019-09-09 13:39:36 +02:00
kyori19 588e98f3f6 Bump version to v1.1.0 (3) 2019-09-07 18:01:35 +09:00
kyori19 c11ea7ae80 Merge remote-tracking branch 'tuskyapp/master' 2019-09-07 17:55:52 +09:00
kyori19 0d5a807323 [v1.0.0] Yuito v1.0.0 2019-09-05 21:29:45 +09:00
kyori19 6497e473ae [rebrand] Rebrand to Yuito 2019-09-05 21:29:45 +09:00
kyori19 e5f2c0c428 [access-token] Login with access token 2019-09-05 21:29:45 +09:00
Konrad Pozniak 6f50704b7d
revert appcompat upgrade in order to fix in-app-language switching (#1467) 2019-09-03 18:35:22 +02:00
kyori19 a3a6b6684e [ci] Configure CircleCI 2019-09-03 22:26:44 +09:00
Konrad Pozniak 941cdf198a
upgrade dagger (#1424) 2019-07-28 20:00:19 +02:00
Konrad Pozniak a8d5c7b95a
set SwitchPreferenceCompat titles to multiline (#1421) 2019-07-27 21:51:37 +02:00
Konrad Pozniak d932912616
upgrade dependencies (#1389) 2019-07-16 19:36:04 +02:00
Conny Duck c1cc320834 Release 65 2019-07-11 20:03:55 +02:00
Conny Duck dc76a82f47 Release 64 2019-06-29 16:30:57 +02:00
Conny Duck 8576006cb9 Release 63 2019-06-25 21:10:34 +02:00
Konrad Pozniak b825f42c7a
Improve link preview cards (#1330)
* improve card frame

* add placeholder for empty image

* improve layout, Pleroma compatibility, show author name as description fallback

* reset okhttp logging level

* remove unneeded statement
2019-06-22 08:05:55 +02:00
Konrad Pozniak 22bd0462b7
update Room to 2.1.0 (#1323) 2019-06-17 13:43:11 +02:00
Konrad Pozniak 05d939b68a
Update Dagger & other deps (#1315)
* update dagger

* update remaining deps
2019-06-09 19:48:04 +02:00
pandasoft0 c335651b6b Redesign report activity (#1295)
* Report activity core

* Implement navigation

* Implement navigation

* Update strings

* Revert manifest formatting

* Implement Done page

* Add landscape layout

* Implement Note fragment

* Create component

* Implement simple status adapter

* Format code

* Add date/time to report statuses

* Refactor status view holder

* Refactor code

* Refactor ViewPager

* Replace MaterialButton with Button

* Remove unneeded string

* Update Text and Check views style

* Remove old ReportActivity and rename Report2Activity to ReportActivity

* Hide "report to remote instance" checkbox for local accounts

* Add account, hashtag and links click handler

* Add media preview

* Add sensitive content support

* Add status expand/collapse support

* Update adapter to user adapterPosition instead of stored status

* Updated checked change handling

* Add polls support to report screen

* Add copyright

* Set buttonTint at CheckBox

* Exclude reblogs from statuses for reports

* Change final page check mark size

* Update report note screen

* Fix typos

* Remove unused params from api endpoint

* Replace .visibility with show()/hide()

* Replace Date().time with System.currentTime...

* Add line spacing

* Fix close button tint issue

* Updated status adapter
2019-06-09 16:55:34 +02:00
Constantin A f7581daa75 2019 Emoji Update (#1261)
* Updated EmojiCompat support:
- Fonts are now updatable
  - Old fonts will automatically be deleted
- Noto Emoji is supported
- New library version

* It will now (hopefully) only look through the emoji font directory if it exists...

* Added a noto emoji icon for Android <=6;
Font files and their version relation are only loaded once now.

* Small bugfix for the noto emoji icon

* Changed the initial size of the existingFontFiles list to a constant value

* Bugfixes
Old files are now (really) deleted
The latest version is used as the actuall font
Further optimizations

* Emoji font update triggers restart dialog

* Resized the Noto icon;
(Hopefully) fixed EmojiCompat (again)
2019-06-06 21:51:56 +02:00
Bernd 9311ffa391 Update Deps (#1275) 2019-05-24 18:42:13 +02:00
Conny Duck 10fed0e2dc Release 62 2019-05-20 18:53:04 +02:00
Konrad Pozniak eedd0d51eb
downgrade alpha libraries (#1273) 2019-05-20 16:56:58 +02:00
Konrad Pozniak 3f957a09c5
upgrade deps (#1263) 2019-05-18 08:06:30 +02:00
pandasoft0 126aefacbf Update preferences library, remove unneeded "shouldDisableView" (#1254) 2019-05-09 21:00:50 +02:00
Conny Duck 69a6087014 Release 61 2019-05-09 19:09:40 +02:00
Conny Duck f36c61d133 Release 60 2019-05-06 10:45:56 +02:00
Konrad Pozniak cb82202d4d
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 a471e358c3 upgrade deps 2019-04-28 09:52:12 +02:00
Konrad Pozniak 9e4db47bc7 fix the Glide annotationProcessor warning 2019-04-21 08:24:29 +02:00
pandasoft0 76ce28980c 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 2f322f87b6 Release 59 2019-04-08 13:31:57 +02:00
Bernd d0ca965cc8 Update Deps (#1176)
* Update Deps

* Update Deps

* Update Deps

* Update build.gradle

* Update build.gradle
2019-04-07 19:37:04 +02:00
Bernd 0db1a23c4f 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 bbf3286d8e Release 58 2019-03-30 15:05:15 +01:00
Konrad Pozniak 26bea54230
disable language splitting for app bundle builds (#1165) 2019-03-29 19:56:53 +01:00
Conny Duck 397ef051c1 Release 57 2019-03-26 20:59:06 +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
Konrad Pozniak d43b4fef4b
upgrade OkHttp, add Conscrypt (#1083)
* upgrade OkHttp, add Conscrypt

* fix tests
2019-03-04 19:25:51 +01:00
Conny Duck df8c78c81a Release 56 2019-03-04 17:59:36 +01:00
Conny Duck 744daa052d Release 55 2019-02-22 17:15:33 +01:00
Conny Duck 8e98f872d5 Release 54 2019-02-21 18:46:37 +01:00
Conny Duck fc6029da72 Release 53 2019-02-16 16:57:53 +01:00
Konrad Pozniak 27cf5f5380
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 e371fa0e24
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 683b06a35d upgrade deps, fix some lint warnings 2019-02-11 16:59:01 +01:00
Ivan Kupalov 63952813c8 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 3ab78a19bc 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 bac15c42bd Export Room schemes (#963) 2018-12-25 20:06:28 +01:00
Conny Duck f26c1718c9 update deps 2018-12-18 22:05:33 +01:00
Conny Duck b92d66a5e9 exclude unneeded license files from apk 2018-12-17 19:08:32 +01:00
Konrad Pozniak a445c12094
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 8b00d421ef Release 52 2018-12-12 20:53:26 +01:00
Conny Duck fed52398a6 Release 51 2018-11-26 18:52:08 +01:00
Conny Duck 91fe819688 Release 50 2018-11-19 16:39:49 +01:00
Conny Duck 15d607b799 update deps, fix some lint warnings 2018-11-16 13:31:03 +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
Conny Duck 16b53a5917 update build tools and kotlin 2018-10-14 16:30:12 +02:00
Ivan Kupalov a0988dc6c6 Add ability to pin/unpin statuses (#872) 2018-10-03 21:27:52 +02:00
Conny Duck 26b0ad521e upgrade gradle and build tools 2018-09-25 19:05:37 +02:00
Konrad Pozniak 6fe43c842b update support libs to 28.0.0 final 2018-09-22 17:13:22 +02:00
Konrad Pozniak dbb3f4e826
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 4402f3d337
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 e86689013d Release 49 2018-09-04 19:06:04 +02:00
Conny Duck ff4a8ff4b8 update deps 2018-08-31 20:40:40 +02:00
Conny Duck 4845a54821 Release 48 2018-08-24 20:38:34 +02:00
Conny Duck 218dc07b85 Release 47 2018-08-23 21:11:29 +02:00
Konrad Pozniak ca1bbb3112 Release 46 2018-08-18 13:35:20 +02:00