Commit Graph

213 Commits

Author SHA1 Message Date
Konrad Pozniak 03cd374792 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 573568f1c9 upgrade glide (#1489) 2019-09-21 21:35:51 +02:00
Konrad Pozniak fa57694e4a upgrade dependencies (#1488) 2019-09-21 21:35:36 +02:00
Conny Duck 3f8f104d82 Release 67 2019-09-15 09:30:22 +02:00
Conny Duck fd51185a5a release 66 2019-09-09 13:39:36 +02:00
Konrad Pozniak 9c3bd15dfb revert appcompat upgrade in order to fix in-app-language switching (#1467) 2019-09-03 18:35:22 +02:00
Konrad Pozniak 68376b4440 upgrade dagger (#1424) 2019-07-28 20:00:19 +02:00
Konrad Pozniak bbd06a0d2a set SwitchPreferenceCompat titles to multiline (#1421) 2019-07-27 21:51:37 +02:00
Konrad Pozniak b72fbc6d4c upgrade dependencies (#1389) 2019-07-16 19:36:04 +02:00
Conny Duck 1916da2bb6 Release 65 2019-07-11 20:03:55 +02:00
Conny Duck 3517b793ae Release 64 2019-06-29 16:30:57 +02:00
Conny Duck 9f90686c5f Release 63 2019-06-25 21:10:34 +02:00
Konrad Pozniak c746ed0833 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 9094a6d438 update Room to 2.1.0 (#1323) 2019-06-17 13:43:11 +02:00
Konrad Pozniak 5fa4ed82d0 Update Dagger & other deps (#1315)
* update dagger

* update remaining deps
2019-06-09 19:48:04 +02:00
pandasoft0 34d130f12f 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 5c5ae15a63 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 6cbfb7699b Update Deps (#1275) 2019-05-24 18:42:13 +02:00
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