Commit Graph

218 Commits

Author SHA1 Message Date
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
Ivan Kupalov
c2266804f0 Add RoundedImageView for avatars (#739)
* Add RoundedImageView for avatars

* RoundedImageView: Remove unused things, fix touchable area
2018-07-30 15:36:22 +02:00
qwazix
3b09db6cb4 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
Conny Duck
f9af1650a8 Release 45 2018-07-28 19:33:05 +02:00
Conny Duck
8fa0b93b3d update dependencies 2018-07-22 14:46:00 +02:00
Konrad Pozniak
473497801d improve gradle build to support nightly builds 2018-07-16 19:01:34 +02:00
Konrad Pozniak
9b8a335585 Release 44 2018-07-14 21:37:04 +02:00
Conny Duck
f8423aa10b Release 42 2018-07-08 19:21:31 +02:00
Conny Duck
945aa5587d Release 41 2018-07-06 20:44:46 +02:00
Conny Duck
aadf40bcff enable custom emoji fonts for all api levels again 2018-07-05 21:14:32 +02:00
Conny Duck
3242fbd737 Release 40 2018-07-02 15:07:42 +02:00
Conny Duck
007b078c2a revert filemojicompat back to 1.0.5 2018-07-02 14:10:30 +02:00
Conny Duck
a03df86c66 Release 39 2018-07-01 12:26:04 +02:00
Konrad Pozniak
bb0213f4e9 disable emoji fonts on Android 5 (#698) 2018-07-01 10:18:00 +02:00
Conny Duck
4d9315f6df update deps 2018-06-25 14:49:13 +02:00
Konrad Pozniak
b118669c02 add License activity (#689)
* convert AboutActivity to Kotlin, use BottomSheetActivity for account resolving

* improve AboutActivity

* new License activity

* fix filemojicompat url
2018-06-25 13:02:34 +02:00
Konrad Pozniak
3b5a7cd916 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
Conny Duck
9cc9384a82 update dependencies 2018-06-07 22:59:03 +02:00
Ivan Kupalov
0375193029 Add EventHub, add fav, reblog events, improve timelines (#562)
* Add AppStore, add fav, reblog events

* Add events, add handling to Timeline

* Add event handling to Notifications

* Mostly finish events

* Fix unsubscribing

* Cleanup timeline

* Fix newStatusEvent in thread, fix deleteEvent

* Insert new toots only in specific timelines

* Add missing else

* Rename AppStore to EventHub

* Fix tests

* Use DiffUtils for timeline

* Fix empty timeline bug. Improve loading placeholder

* Fix AsyncListDiff, loading indicator, "load more"

* Timeline fixes & improvements.

Fix infinite loading. Remove spinner correctly.
Don't refresh timeline without need.
2018-05-27 11:22:12 +03:00
Constantin A
1762e71218 EmojiCompat support (#600)
* Add EmojiCompat

* EmojiCompat doesn' replace all emojis anymore

* This app should be now capable of loading a EmojiCompat-font located in a file somewhere inside the device's storage

* Should now replace all emojis

* Add EmojiCompat support to EditTextTyped

* Provide EmojiCompat fonts

* The app won't crash anymore when no emoji font is available.
Emoji font should now be located at [Private external app directory]/files/EmojiCompat.ttf

* Removed BundledEmojiCompat dependency

Since this EmojiCompat-implementation does not rely on BundledEmojiCompat, there's no reason to have it enabled.

* Update EditTextTyped.kt

Since connection isn't assigned to (I tried doing so), it can be declared final/val again.

* Update README.md

* Add some non-working emoji preferences

* Add a short font list for testing

* Finished implementation

* Add Twemoji to font list

* Update documentation, more comments

* Delete AssetEmojiCompat which is obsolete now

* Update the font list

* Update the font list

* Fix font list & add Exception handling for malformed JSON files (hopefully)

* More fixes. It should work now...

* Removed AssetEmojiCompat (again)

* Add most of the changes

* Improved the EmojiCompat dialog's style

* The font list is now based on a static layout without external files

* Re-add the real font URL for Twemoji

* Emoji-font captions are now translatable

* Removed one unused String (loading)

* Removed emoji fonts from this repo

* Applied changes from the PR change requests

* The correct emoji font will be selected after cancelling a change

* Add details on the EmojiCompat fonts available (not shown yet)

* Add licensing information on Twemoji and Blobmoji

* Reworked some strings

* Moved FileEmojiCompat to its own library

* Update FileEmojiCompat to the latest version (1.0.3)

* EmojiCompat bug should be fixed

* Better handling of failed downloads

* Removed one TODO

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Update emoji attribution strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>

* Fixed some misspelled strings

Signed-off-by: Constantin A <10349490+C1710@users.noreply.github.com>
2018-05-10 11:16:56 +02:00
Conny Duck
889f9efef2 Release 38 2018-05-08 21:09:02 +02:00
Konrad Pozniak
d33345dd5c 1.8 fixes (#637)
* fix lint warnings

* upgrade dependencies

* auto cancel notifications

* improve dependency injection

* fix tests

* remove old comment from BaseActivity

* fix missing injectors
2018-05-08 19:15:10 +02:00
Konrad Pozniak
ae41bdc75b Fix SparkButtons (#608)
* fix the SparkButtons

* dont notify adapter after boost/fav
2018-04-28 22:59:46 +02:00
Conny Duck
9ae7c385ca Release 37 2018-04-23 19:28:11 +02:00
Konrad Pozniak
7de8d5e8e4 update dependencies 2018-04-22 14:11:41 +02:00
Conny Duck
80905dfddf update Kotlin 2018-04-20 23:18:37 +02:00
Conny Duck
3177572d76 Release 36 2018-04-17 22:55:56 +02:00
Conny Duck
ccc1069075 Release 35 2018-04-15 09:53:25 +02:00
Conny Duck
f5eb8038d9 upgrade minSdkVersion to 19 2018-04-14 13:56:48 +02:00
Konrad Pozniak
31ca403a6c 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
Conny Duck
1fec3e6fa9 update support lib 2018-04-09 16:44:58 +02:00
Conny Duck
738a387142 upgrade gradle & dependencies 2018-03-27 20:12:43 +02:00
Ivan Kupalov
f43ef319d0 Add Dagger (#554)
* Add Dagger DI

* Preemptively fix tests

* Add missing licenses

* DI fixes

* ci fixes
2018-03-27 19:47:00 +02:00
Ivan Kupalov
5d954a8eab Add ComposeActivity tests. Add ServiceLocator (#542) 2018-03-09 22:02:32 +01:00
Conny Duck
cde610b27d update dependencies, use new scheduleAsync of job library 2018-03-03 13:54:58 +01:00
Konrad Pozniak
5de7b21007 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
5998f3b375 Release 34 2018-03-03 12:30:20 +01:00
Conny Duck
77b6f2db6f fix build 2018-03-01 22:18:50 +01:00
Conny Duck
150535ab65 remove unnecessary build flavors 2018-02-15 19:59:25 +01:00
Conny Duck
c73df44e42 Release 33 2018-02-12 22:49:20 +01:00
Conny Duck
93f76bf67f Release 32 2018-02-04 10:31:50 +01:00
Konrad Pozniak
40cda2ced3 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
Conny Duck
0f9bd75188 update dependencies 2018-02-02 20:49:10 +01:00
Conny Duck
47346fb718 upgrade to minSdkVersion 18, fix some lint warnings 2018-01-31 21:57:50 +01:00
Conny Duck
13db4264f2 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
00b5200fd4 Release 31 2017-12-02 14:59:24 +01:00
Konrad Pozniak
915fc49e91 fix crash on Android 4 2017-12-02 12:22:52 +01:00
Conny Duck
ffeaae82c3 make medium the default font size on startup 2017-12-01 22:43:48 +01:00
Conny Duck
5cc53c56ea update dependencies 2017-11-30 21:05:56 +01:00
Ivan Kupalov
3106250930 Save reply info in draft, refactor (#449)
* Save reply info in draft, refactor

* Handle replying to deleted status
2017-11-16 19:18:11 +01:00
Conny Duck
07d5f7452a upgrade libraries, fix DrawerImagerLoader deprecated warning 2017-11-15 21:50:15 +01:00
Conny Duck
1f117548c2 add Java 8 support 2017-11-15 21:28:49 +01:00
Conny Duck
75a31fffe0 Release 29 v1.3.1 2017-11-10 09:47:04 +01:00
Conny Duck
c73b4b227a upgrade to API Level 27, fix nullability problems with new support library 2017-11-09 14:35:52 +01:00
Conny Duck
7ca23c63b5 Release 28 v1.3.0 2017-11-09 10:42:26 +01:00
Conny Duck
7cbdf2c96c upgrade room library to 1 (fix merge problem) 2017-11-07 13:12:57 +01:00
Ivan Kupalov
f0a1392649 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Ivan Kupalov
06af962610 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov
5239ffa432 Stop adding link info when composing toot (#418) 2017-10-27 13:19:12 +02:00
Conny Duck
d3061da9cb upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
Conny Duck
de41ea4cb7 Release 27 2017-10-25 11:13:33 +02:00
Conny Duck
ed851cb04d fixes a crash within TootDao that is caused by an change in the room library 2017-10-23 21:52:46 +02:00
Conny Duck
c39bbea687 Release 26 2017-10-22 09:37:32 +02:00
Ivan Kupalov
65b7ce1909 Load custom emoji in statuses (#400) 2017-10-19 15:25:04 +02:00
Conny Duck
b3ce544bd0 completely remove firebase, mqtt and google services from build 2017-10-19 14:39:56 +02:00
Conny Duck
b211ed0f87 upgrade dependencies 2017-10-19 14:19:08 +02:00
Conny Duck
931836a56d remove metadata files of jsoup library from final build 2017-08-11 19:24:03 +02:00
Conny Duck
eba8f43b8e upgrade to Android Api 26, update dependencies 2017-08-03 17:01:02 +02:00
Vavassor
ea85209d0a Release 1.1.4
Release 1.1.4
2017-07-27 22:01:17 -04:00
Vavassor
094cc566bc Release 1.1.4-beta.7 2017-07-18 00:56:04 -04:00
Vavassor
0e0ec40575 Okay, toss BouncyCastleProvider so we can release a beta. 2017-07-18 00:30:24 -04:00
Vavassor
764cd7a0d6 Fixes the search page not working on Android Kitkat (searching applications instead of accounts and tags). 2017-07-16 22:31:40 -04:00
Vavassor
b5039b7d8c Release 1.1.4-beta.6 2017-07-16 18:26:56 -04:00
Vavassor
81089ade92 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor
36fe864c3f Re-includes Firebase Crash Reporting in the google play build flavour. 2017-07-14 20:58:31 -04:00
torrentcome
4c3ee1b7fc (gradle) remove useless rx room stuff 2017-07-07 13:36:39 +02:00
torrentcome
682c7166eb Merge branch 'master' into #142/SaveToots
# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java
2017-07-07 13:28:31 +02:00
Vavassor
c9fa1c07d6 Adds or updates Bouncy Castle as a security provider. A possible fix for alleviating issues with connections (issue #46 in particular). 2017-07-06 18:27:51 -04:00