Commit Graph

337 Commits

Author SHA1 Message Date
Conny Duck 28940169c6 enable custom emoji fonts for all api levels again 2018-07-05 21:14:32 +02:00
Conny Duck e4803019b8 Release 40 2018-07-02 15:07:42 +02:00
Conny Duck dd6bfd3de6 revert filemojicompat back to 1.0.5 2018-07-02 14:10:30 +02:00
Conny Duck 71f4f0ad2d Release 39 2018-07-01 12:26:04 +02:00
Konrad Pozniak 030a201da6
disable emoji fonts on Android 5 (#698) 2018-07-01 10:18:00 +02:00
Conny Duck fbc4c38c5b update deps 2018-06-25 14:49:13 +02:00
Konrad Pozniak 3c569c6ac9
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 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
Conny Duck 882e231827 update dependencies 2018-06-07 22:59:03 +02:00
Ivan Kupalov 3756a1fd20
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 1108652823 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 2dcbce3fbc Release 38 2018-05-08 21:09:02 +02:00
Konrad Pozniak 27b4cf8739
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 89f93eab85
Fix SparkButtons (#608)
* fix the SparkButtons

* dont notify adapter after boost/fav
2018-04-28 22:59:46 +02:00
Conny Duck 3f71c5495f Release 37 2018-04-23 19:28:11 +02:00
Konrad Pozniak a25034ac4f update dependencies 2018-04-22 14:11:41 +02:00
Conny Duck 762965a7db update Kotlin 2018-04-20 23:18:37 +02:00
Conny Duck d69f214f95 Release 36 2018-04-17 22:55:56 +02:00
Conny Duck 8acee3ce72 Release 35 2018-04-15 09:53:25 +02:00
Conny Duck 28a85639ed upgrade minSdkVersion to 19 2018-04-14 13:56:48 +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
Conny Duck 1232bfe18d update support lib 2018-04-09 16:44:58 +02:00
Conny Duck 92d688523b upgrade gradle & dependencies 2018-03-27 20:12:43 +02:00
Ivan Kupalov a5cffe0fea 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 28e46c9cc0 Add ComposeActivity tests. Add ServiceLocator (#542) 2018-03-09 22:02:32 +01:00
Conny Duck 6e3faa8957 update dependencies, use new scheduleAsync of job library 2018-03-03 13:54:58 +01: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 bbbe71174a Release 34 2018-03-03 12:30:20 +01:00
Conny Duck 1a34934cdf fix build 2018-03-01 22:18:50 +01:00
Conny Duck 2176ac684f remove unnecessary build flavors 2018-02-15 19:59:25 +01:00
Conny Duck 6fca92b056 Release 33 2018-02-12 22:49:20 +01:00
Conny Duck 5b8cbeb7e9 Release 32 2018-02-04 10:31:50 +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
Conny Duck 1bf977b80a update dependencies 2018-02-02 20:49:10 +01:00
Conny Duck 3c795c6eef upgrade to minSdkVersion 18, fix some lint warnings 2018-01-31 21:57:50 +01:00
Conny Duck 2899114f66 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 416ff38e12 Release 31 2017-12-02 14:59:24 +01:00
Konrad Pozniak 4743c85d82 fix crash on Android 4 2017-12-02 12:22:52 +01:00
Conny Duck b2f9f87fc8 make medium the default font size on startup 2017-12-01 22:43:48 +01:00
Conny Duck 8f8d49f421 update dependencies 2017-11-30 21:05:56 +01:00
Ivan Kupalov 2575b16dad 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 3055e6176e upgrade libraries, fix DrawerImagerLoader deprecated warning 2017-11-15 21:50:15 +01:00
Conny Duck c664cb000f add Java 8 support 2017-11-15 21:28:49 +01:00
Conny Duck 8bdc200311 Release 29 v1.3.1 2017-11-10 09:47:04 +01:00
Conny Duck dec7da9655 upgrade to API Level 27, fix nullability problems with new support library 2017-11-09 14:35:52 +01:00
Conny Duck 0cad3831c6 Release 28 v1.3.0 2017-11-09 10:42:26 +01:00
Conny Duck 3053e097a7 upgrade room library to 1 (fix merge problem) 2017-11-07 13:12:57 +01:00
Ivan Kupalov dc1a60cc12 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Ivan Kupalov 018be25137 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov df4dfa7766 Stop adding link info when composing toot (#418) 2017-10-27 13:19:12 +02:00
Conny Duck 9dc9ee2ef0 upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
Conny Duck 256a11aa07 Release 27 2017-10-25 11:13:33 +02:00
Conny Duck 87b34df892 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 51d441bef8 Release 26 2017-10-22 09:37:32 +02:00
Ivan Kupalov 3adef27bbb Load custom emoji in statuses (#400) 2017-10-19 15:25:04 +02:00
Conny Duck 2859a5075c completely remove firebase, mqtt and google services from build 2017-10-19 14:39:56 +02:00
Conny Duck 894e6b7c9d upgrade dependencies 2017-10-19 14:19:08 +02:00
Conny Duck 98376221ee remove metadata files of jsoup library from final build 2017-08-11 19:24:03 +02:00
Conny Duck 722908ab90 upgrade to Android Api 26, update dependencies 2017-08-03 17:01:02 +02:00
Vavassor bfdd0cb3a2 Release 1.1.4
Release 1.1.4
2017-07-27 22:01:17 -04:00
Vavassor 7787abd2b4 Release 1.1.4-beta.7 2017-07-18 00:56:04 -04:00
Vavassor bb0ea876fa Okay, toss BouncyCastleProvider so we can release a beta. 2017-07-18 00:30:24 -04:00
Vavassor 408d38102d 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 f4d627e815 Release 1.1.4-beta.6 2017-07-16 18:26:56 -04:00
Vavassor 6e67db7631 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor ec57f28d16 Re-includes Firebase Crash Reporting in the google play build flavour. 2017-07-14 20:58:31 -04:00
torrentcome 65c274d291 (gradle) remove useless rx room stuff 2017-07-07 13:36:39 +02:00
torrentcome b6d4b388a5 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 74e395834d 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
torrentcome 451229779f (room) add room gradle file 2017-07-05 16:34:59 +02:00
torrentcome e649f412d3 (room) add in gradle config 2017-06-28 19:32:50 +02:00
Vavassor 3a4ef00dab Release 1.1.4-beta.4 2017-06-25 17:14:39 -04:00
Vavassor b1aa05694e Removes ButterKnife annotations. 2017-06-22 14:59:12 -04:00
Vavassor 53e6769d55 Consolidates the main header and removes the now-unneeded FloatingSearchView library. Closes #67 2017-06-19 20:50:40 -04:00
Vavassor 9d920ccb21 Release 1.1.4-beta.3 2017-06-07 16:06:00 -04:00
Vavassor 733fa6e53a Merge branch '#136' of https://github.com/torrentcome/Tusky into torrentcome-#136 2017-06-02 20:32:36 -04:00
Vavassor 25f277ab0a Release 1.1.4-beta.2 2017-06-02 19:54:57 -04:00
torrentcome 2b9f19805f Merge branch 'master' into #136 2017-06-02 23:15:21 +02:00
Vavassor 85f7b16736 Removes "fillable loader" library, since it's no longer used for the splash screen. 2017-05-31 20:50:11 -04:00
Vavassor 52aa32061a release 1.1.4-beta.1 2017-05-23 21:03:18 -04:00
Vavassor 388ecfcf2e Removes the product flavor split. 2017-05-18 18:10:46 -04:00
Vavassor 6752d45d4b Initial client working for MQTT push notifications. 2017-05-16 22:19:34 -04:00
torrentcome 864bad819a (jsoup) add jsoup 2017-05-15 12:07:11 +02:00
Vavassor d2b5fb24a2 Removes an unused library from build.gradle. 2017-05-07 22:04:02 -04:00
Vavassor daf0ec8e49 resolves merge conflict 2017-05-07 20:20:59 -04:00
Conny Duck 2898baf18d updated dependencies 2017-05-04 16:16:24 +02:00
Vavassor bdca1d1c94 Release 1.1.3 2017-05-03 21:49:53 -04:00
serage.betelmal 9b86c93e76 Merge branch 'master' into feature/about-page 2017-04-30 21:09:09 +01:00
Vavassor 41088de6be Organizes libraries and removes a flavor-specific import (possibly unnecessary?). 2017-04-28 16:41:44 -04:00
Vavassor 5f6fab2b70 Moves Firebase notifications to a "google" build flavor and adds an "fdroid" flavor that uses polling for notifications.
Also, adds a few missing license notices.
2017-04-27 23:29:42 -04:00
Peter Cai b36ad24286
Fix #198: Use OkHttp3Downloader by default 2017-04-22 13:13:48 +08:00
Vavassor 5941a2f5b3 Profile editor functionally complete. 2017-04-19 00:01:04 -04:00
serage.betelmal 642e2af23e Adding an about activity to the App 2017-04-15 19:05:25 +01:00
Vavassor 18d5d0152c Release 1.1.2 2017-04-13 17:14:43 -04:00
Vavassor f5fd17ac66 Release 1.1.1 2017-04-13 16:01:15 -04:00
Vavassor 692dc0e527 Possible fix to ECDH secp256r1-only cipher suite issue. 2017-04-13 00:01:02 -04:00
Vavassor 4ea04bb576 Re-orients images when downscaled according to EXIF data if it's specified. Closes #106 2017-04-11 22:50:27 -04:00
Vavassor e557d0c002 Merge branch 'chrome-custom-tabs' of https://github.com/sturmen/Tusky into sturmen-chrome-custom-tabs 2017-04-09 22:45:11 -04:00
Konrad Pozniak d23d12aa9c added proguard config 2017-04-08 00:08:51 +02:00
Nicholas Tinsley 9a18c235b2 upgradle 2017-04-07 08:51:48 -04:00
Zachary Epps 7a5e5dca7e changed AccountActivity so that it shows FAB that allows a user to un/follow a user from it instead of the menu
added an xml svg for unfollowing someone
removed the useless line from build.gradle that I added in the last pull
2017-04-06 11:07:40 -04:00
Zachary Epps cbae26dd4c changed AccountActivity so that after following someone the FAB hides itself 2017-04-05 13:49:28 -04:00
Vavassor 3c655a25dc Fixes a crash that can occur when the drawer on the main page is being initialized while it is in a closed state. 2017-04-04 17:32:34 -04:00
Vavassor 1ebe514100 First minor release 2017-04-02 21:45:04 -04:00
Vavassor 8b8911bfd0 Third bugfix release 2017-03-21 09:07:13 -04:00
Vavassor 2c76a65145 Second bugfix release. Also fixes localization build issues. 2017-03-21 01:13:08 -04:00
Vavassor 263d586a51 First bugfix release. Also, added a link to the "No Account?" dialog on the login page. 2017-03-15 20:01:23 -04:00
Vavassor 7b5c1fdd90 First full release! 2017-03-15 12:28:02 -04:00
Eugen Rochko 5d1a86d472 Crash analytics with Firebase
Conversation line visual
2017-03-12 18:46:45 +01:00
Eugen Rochko 2bbd46e841 Push notifications 2017-03-12 08:31:20 +01:00
Eugen Rochko f34237ce7a Improve compose activity 2017-03-10 18:38:49 +01:00
Eugen Rochko 473f7f75f1 Merge upstream 2017-03-10 04:40:48 +01:00
Eugen Rochko e72227abf0 Improved drawer look 2017-03-10 04:37:53 +01:00
Vavassor 6f25405ad4 Volley is gone. 2017-03-09 21:55:07 -05:00
Eugen Rochko c9b2092cf9 Zoom for images 2017-03-09 21:21:55 +01:00
Eugen Rochko 7fa01371d9 Add drawer to main activity 2017-03-09 19:31:15 +01:00
Eugen Rochko 348d2c8b4f Start work on integrating Retrofit - GSON, Authorization 2017-03-08 22:34:13 +01:00
Eugen Rochko cff0f35269 Start work on integrating Retrofit - Mastodon API definition 2017-03-08 22:08:50 +01:00
Eugen Rochko 34c4951241 Animated splash screen (mind: preview for the circular loader seems broken in Android Studio, but works in app) 2017-03-07 23:10:41 +01:00
Eugen Rochko 0822c62eb8 Merge remote-tracking branch 'origin/master' 2017-03-07 22:23:33 +01:00
Eugen Rochko 1db90db642 Spark animations for boost/favourite buttons 2017-03-07 22:23:17 +01:00
Eugen 0af6d79fa2 Merge branch 'master' into master 2017-03-07 20:45:24 +01:00
Eugen Rochko 03d9701669 Emoji shortname conversion 2017-03-07 12:11:18 +01:00
Vavassor 37bb799efc Fixes crash when opening the block list. Also, fixes an issue where the collapsed toolbar appears dark on profiles even when using the light theme. 2017-03-07 02:30:09 -05:00
Eugen Rochko 7a752be83f Prettify profiles, add floating follow/unfollow button to them 2017-03-06 20:48:31 +01:00
Vavassor a4ac24dea6 Eighth Alpha Release 2017-03-05 20:08:45 -05:00
Vavassor b0b84509cd Seventh Alpha Release 2017-03-03 21:16:15 -05:00
Vavassor 91ad3acc79 Unfinished keyboard GIF picking stuff? Not accessible by the user, yet. 2017-03-03 20:44:44 -05:00
Vavassor 4fdeba248a Sixth Alpha Release 2017-03-01 16:01:49 -05:00
Vavassor dab6807bff Fifth Alpha Release (actually fifth this time) 2017-02-19 19:27:15 -05:00
Vavassor 26b988aab7 Fifth alpha release 2017-02-17 18:28:43 -05:00
Vavassor 8964c61397 Third alpha release 2017-02-16 17:10:45 -05:00
Vavassor 3b52da66a2 Second alpha release 2017-02-07 20:27:25 -05:00
Vavassor b4a91112a3 Initial Alpha release! 2017-02-07 02:05:50 -05:00
Vavassor 1429dfc7b5 Account profiles no longer partial! 2017-01-30 23:51:02 -05:00
Vavassor 370b1e52aa added a basic compose screen, and the 3 main timelines in a tabbed layout 2017-01-07 17:24:02 -05:00
Vavassor bba1b37fd8 initial commit 2017-01-02 18:30:27 -05:00