Commit Graph

748 Commits

Author SHA1 Message Date
Ivan Kupalov 73dcb68303 [CI] Add CircleCI config (#621)
* Add circleci

* Commit to maybe fix ci

* Suppress false positives in lint

* Disable linting for tests in ci

* Remove unused comment
2018-05-02 23:50:19 +03:00
Levi Bard be819cc05b Add tests for search functionality in SFragment (#617)
* Add tests for search functionality in SFragment

* Parameterize url matching tests

* Clean up / compartmentalize search tests

* Make SFragmentTest filesystem location match package name
2018-05-02 23:43:12 +03:00
Konrad Pozniak c85f7a5cd2 make search find statuses (#613) 2018-04-30 11:30:10 +02:00
Conny Duck f7751f1923 fix proxy settings 2018-04-30 10:34:38 +02:00
Levi Bard d748061e09 Add tests for the custom toot character limit functionality (#599)
* Query instance for toot character limit
Fixes #393

* Move maximumTootCharacters to instance field

* Add caching for maximum toot characters, expanding on the emoji list storage

* Update formatting per review feedback

* Fix compose activity tests

* Rename mastodon api point for nicer interaction with kotlin

* Default emoji list to empty list instead of null, to appease json converters in failure cases

* Add test coverage for custom toot character limit setting

* Fix compiler warnings
2018-04-29 10:08:25 +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
Ivan Kupalov f57ca29a1e Add expand/collapse button for threads (#609) 2018-04-28 16:17:01 +02:00
Ivan Kupalov 75a25f02ac Open links in new tabs (#603) 2018-04-26 22:52:45 +02:00
Conny Duck 04d97acf44 fix crash when de/serializing InstanceEntity 2018-04-25 20:26:00 +02:00
Levi Bard 51b94b876f View links to statuses inside Tusky (#568)
* View links to statuses inside Tusky

* Only attempt to open links that look like mastodon statuses

* Add support for pleroma statuses

* Move "smells like mastodon" url check to click handler

* Add bottom sheet to notify users of post query status

* Improve architecture for managing search status

* Push everything into SFragment

* Add external lookup for non-locally-resolved account links

* Clean up copypasta from LinkHelper.setClickableText

* Apply PR feedback

* Migrate bottom sheet wrappers to CoordinatorLayout
2018-04-25 20:04:55 +02:00
Konrad Pozniak 1dc901e972 fix emoji & toot size limit caching 2018-04-23 09:26:03 +02:00
Konrad Pozniak 7fd04b965a improve "save draft" dialog show condition 2018-04-22 21:04:19 +02:00
Konrad Pozniak 5a2b1c8a97 fix crash in MainActivity when clicking notification 2018-04-22 20:40:52 +02:00
Konrad Pozniak 3a873df06f Dependency injection improvement (#596)
* inject MastodonApi into LoginActivity

* inject AccountManager into MainActivity

* inject AccountManager into SplashActivity, convert to Kotlin

* inject AccountManager into AccountActivity

* inject AccountManager into LoginActivity

* inject AccountManager into NotificationsFragment and NotificationClearBroadcastReceiver, fix MainActivity

* ooops

* use same OkHttpClient for Retrofit & Picasso

* fix ordering of okhttp interceptors

* remove dependencies on TuskyApplication

* bugfix
2018-04-22 17:20:01 +02:00
Konrad Pozniak 8894908a9d fix problems with selectable text in detailed status 2018-04-22 16:34:02 +02:00
Konrad Pozniak fd5190af30 fix Kotlin compiler warning 2018-04-22 14:11:41 +02:00
Konrad Pozniak 90249d6ccf fix sending notifications (this time for reals) (#594) 2018-04-22 10:37:09 +02:00
Levi Bard a1eba23229 Query instance for toot character limit (#571)
* Query instance for toot character limit
Fixes #393

* Move maximumTootCharacters to instance field

* Add caching for maximum toot characters, expanding on the emoji list storage

* Update formatting per review feedback

* Fix compose activity tests

* Rename mastodon api point for nicer interaction with kotlin

* Default emoji list to empty list instead of null, to appease json converters in failure cases

* Use empty list helper

* Fix database migration
2018-04-22 10:35:46 +02:00
Levi Bard 361adee933 Fix unhandled exception when opening report activity (#592) 2018-04-20 17:22:40 +02:00
Conny Duck f60aa7656e show error message when instance has no custom emojis 2018-04-17 22:39:55 +02:00
Conny Duck 98488093a7 strip slashes from instance domain to avoid crash 2018-04-17 20:51:33 +02:00
Conny Duck 911bffea32 fix problem where send notification would stay on forever 2018-04-17 20:07:47 +02:00
Conny Duck 5c91f3b993 fix bug where sometimes mentions where duplicated when replying 2018-04-17 19:06:28 +02:00
Conny Duck 1f47b65a59 fix crash when loading timelines 2018-04-17 18:37:01 +02:00
Conny Duck 8579412277 remove unneeded takePersistableUriPermission
was a mistake to add this in the first place
2018-04-14 18:17:29 +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 c2382e7d3b add disk cache for images 2018-04-06 22:04:14 +02:00
Gareth Murphy 645e849a22 Add regular expression feed filtering (#557)
* Initial implementation of regex feed filtering

Mimics Mastodon web's functionality, but in a simpler form; a single
regular expression is shared across the home, local and federated feeds.

Strings are currently only provided in English and will need to be
translated.

* Fix buggy behaviour on filter regex update

* Validate regex filter input

Fixes buggy behaviour on inputting a regular expression feed filter by
testing the expression continuously as the user types, displaying an
error and disabling the 'OK' button of the dialog at any time it's not a
valid regular expression. Disables spelling suggestions in the input to
make the experience less frustrating and error prone.

Also fixes some generally buggy behaviour upon preference change,
specifically in cases where no Matcher was set prior to a new pattern
being set, which would cause the app to crash.

* Apply regex filter to spoiler text

* Get rid of empty catch block in regex filter code

* Make regex filter error string translatable
2018-04-05 22:58:44 +02:00
Conny Duck 1cf6850752 fix note not displaying correctly in EditProfileActivity 2018-04-05 21:46:34 +02:00
Konrad Pozniak eee3548201 add new avatar placeholder 2018-03-30 19:46:36 +02:00
Konrad Pozniak 45b18ac7a4 make avatar rounding independent of image size 2018-03-30 19:08:24 +02:00
Konrad Pozniak 714cb4e5bd fixes a bug where the ProgressBar in NotificationsFragment would not show up 2018-03-30 09:56:09 +02:00
Conny Duck 06d44c949e add possibility to un/lock accounts 2018-03-27 20:46:53 +02:00
Conny Duck ee65dbeff0 upgrade avatar size for Mastodon 2.3 2018-03-27 20:13:24 +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
Conny Duck f5958cd28d fix issue where scrolling wont stop after jumping to top 2018-03-17 19:46:01 +01:00
Conny Duck fd16a7c489 fix crash in StatusBaseViewHolder 2018-03-15 22:08:12 +01:00
Levi Bard 182e8a75ba improve content warning button
* Use the entire content warning text + button as the hitbox for the "Show more/less" toggle

* Move the content warning toggle button to its own line and give it a little more space

* Move content warning elements into parent layout, remove now-superfluous FlowLayout

* Use marginTop/Bottom instead of Vertical, which is only in sdk 26+

* Update minimum width for content warning toggle button
2018-03-15 19:15:12 +01:00
Ivan Kupalov 5d954a8eab Add ComposeActivity tests. Add ServiceLocator (#542) 2018-03-09 22:02:32 +01:00
Conny Duck 4d4f48065c change the color of all SwipeRefreshLayouts to match the Tusky theme 2018-03-09 20:39:08 +01:00
Conny Duck 4ac781876b fix crash in LoginActivity 2018-03-09 19:54:24 +01:00
Conny Duck 1d594d528d fail silently when status card cannot be loaded for compatibility with Pleroma 2018-03-09 18:56:05 +01:00
Ivan Kupalov 8aeaa23b55 Compose close dialog + focus fix (#539) 2018-03-05 22:43:13 +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 1bbe0f7430 prevent saving of incomplete account information to database 2018-03-02 21:25:58 +01:00
Conny Duck 9807ee5f54 fix link header handling in AccountActivityFragment
- fixes douplication of users after undoing unblocks/unmutes
- removes unnecessary loading when scrolled to end of list
2018-03-02 20:56:09 +01:00
Conny Duck 66f52f66b4 gracefully handle null statuses in notifications 2018-03-01 21:10:10 +01:00
Conny Duck 03d8ec3a7a only alert once on multiple notifications, fix order of notifications 2018-03-01 19:05:47 +01:00
Conny Duck 5ef929952c make it possible to switch accounts when active account fails to load 2018-02-27 19:38:32 +01:00
Conny Duck 3690e86312 fix a crash in MediaUtils 2018-02-25 15:46:32 +01:00
Conny Duck e1473c2142 fix a crash in ComposeActivity when trying to share images while logged out 2018-02-25 15:41:45 +01:00
Conny Duck bca172a90a fix bug in rtl layout, remove unneeded xml attributes & dimen resources 2018-02-16 22:14:25 +01:00
Conny Duck 948c44e98c fix rare crash when resizing image in EditProfileActivity & prevent upscaling of image 2018-02-15 19:29:03 +01:00
Konrad Pozniak c9e0e6a565 Rewrite EditProfileActivity in Kotlin (#525)
* rewrite EditProfileActivity in Kotlin

* fix bug in MainActivity where profiles would duplicate

* fix code style
2018-02-12 22:04:18 +01:00
Konrad Pozniak 167c460c08 notification improvements (#522)
* correctly filter notifications on Api >= 26, other fixes and refactoring

* use correct areNotificationsEnabled method in MainActivity

* change notification led color
2018-02-12 22:03:08 +01:00
Conny Duck 3f49a2c921 hide follow button on own profile correctly, code optimizations 2018-02-09 22:49:20 +01:00
Conny Duck 58307774f4 fix crash in ComposeActivity when account has no profile picture set 2018-02-08 19:17:08 +01:00
Conny Duck faae2acfe7 fix timeline filtering not working after app restart 2018-02-08 19:12:02 +01:00
Conny Duck 94f018b578 fixes a crash when trying to share via Tusky while not logged in 2018-02-05 11:27:32 +01:00
Conny Duck 9c1ef38a6e add database migration 2018-02-04 10:12:01 +01:00
Conny Duck 11641eba79 remove unused resources 2018-02-03 23:43:06 +01:00
Conny Duck e5b33eb826 simplify theme handling 2018-02-03 23:26:53 +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 0521c300f6 simplify list_item layout 2018-02-03 13:24:12 +01:00
Conny Duck 47346fb718 upgrade to minSdkVersion 18, fix some lint warnings 2018-01-31 21:57:50 +01:00
Conny Duck 04b7c4a775 fix bug where sometimes a mention would be underlined 2018-01-29 22:11:32 +01:00
remi6397 487763b53e Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
Conny Duck 59023132ec prevent crash in NotificationsAdapter when avatar url is not set 2018-01-15 17:06:21 +01:00
Ivan Kupalov 67027168b6 Set caption for media (#500) 2018-01-08 23:16:21 +01:00
Ivan Kupalov 3aefe4bda5 Add basic lists support (#501) 2018-01-06 19:01:37 +01:00
Sergio López 0971fd452a implement support for HTTP proxy (#489)
This change allows the user to manually enter an unauthenticated proxy
configuration to be used for all API connections. This is mainly
intended for using Tusky with Tor (via Orbot or a local proxy).
2017-12-26 21:45:08 +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 414e81cf95 new icon & improved functionality for quick settings tile 2017-12-07 20:21:02 +01:00
Conny Duck 21568e69a6 fix NPE in MediaUtils.getMediaSize 2017-12-05 21:48:17 +01:00
Conny Duck 46dce4293a stop cursor from jumping when upload finishes while composing toot 2017-12-05 20:56:42 +01:00
Conny Duck e0b679cd1d fix crash in SavedTootActivity when deleting drafts rapidly 2017-12-03 21:56:47 +01:00
Conny Duck fd1ab475a3 fix ConcurrentModificationException when notification arrives 2017-12-02 14:34:47 +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 b73b778579 fix some lint warnings 2017-12-01 22:31:34 +01:00
Conny Duck e8fe52561a fix problem with spark buttons behaving weirdly 2017-12-01 22:13:47 +01:00
Conny Duck be7762988f change handling of font size, introduce font size setting 2017-12-01 21:52:10 +01:00
Conny Duck 13ed14efec fix IndexOutOfBoundsException in ViewThreadFragment 2017-11-30 21:04:47 +01:00
Konrad Pozniak 27b3606482 UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +01:00
Conny Duck 679ab52ea4 improve default post privacy to work like web mastodon, add default post privacy option 2017-11-27 20:11:31 +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
Konrad Pozniak e3fe9819bf fix clear notifications crash (#458) 2017-11-15 21:18:35 +01:00
Konrad Pozniak 10313951be simplify MainActivity back press handling (#456) 2017-11-13 22:43:16 +03:00
Ivan Kupalov 287e6aaf95 Cancel notifications on opening notifications tab (#450) 2017-11-13 19:05:23 +01:00
Conny Duck 811738ba25 fix a crash on application start when no domain was saved in "domain" shared pref 2017-11-10 09:26:25 +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 55ef3eda8a fix a bug where a thread was not shown completely 2017-11-09 10:08:52 +01:00
Conny Duck a0684126b8 fix crash when AccountMediaFragment was recreated 2017-11-07 23:33:17 +01:00
Conny Duck 6653ca1eeb fix bug where account timeline showed only media toots 2017-11-07 23:06:06 +01:00
charlag 3245b8f950 Display CWs in notifications correctly 2017-11-08 00:09:44 +03:00
charlag ccc5f261f7 Open status from notifications 2017-11-07 22:36:19 +03:00
Conny Duck 2c95080428 fix some lint warnings, remove unused code 2017-11-07 15:31:44 +01:00
Conny Duck 9b4bc63fab fix a crash in ComposeActivity where a dialog was canceled that was already removed from the window 2017-11-07 15:01:20 +01:00
Conny Duck c18d26e55c increase okhttp timeouts so posting large images works 2017-11-07 13:27:35 +01:00
Conny Duck 7cbdf2c96c upgrade room library to 1 (fix merge problem) 2017-11-07 13:12:57 +01:00
Konrad Pozniak 17336a7383 Merge branch 'master' into timeline-improvement 2017-11-07 13:03:49 +01:00
Conny Duck 4fa8dcc8be fix placeholder not resetting itself after a load failed 2017-11-07 12:59:46 +01:00
charlag 6baa187976 Make status placeholder abstraction cleaner 2017-11-07 12:44:19 +01:00
charlag 33ece0410d Make more clear representation of placeholder in notifications 2017-11-07 12:44:19 +01:00
Ivan Kupalov f0a1392649 Implement media tab (#430) 2017-11-05 22:32:36 +01:00
Conny Duck cbf6062bce implement "load more" placeholder 2017-11-04 21:57:30 +01:00
Conny Duck 42aa75b92e fix an error where opening notifications would lead to the wrong status 2017-11-04 13:25:37 +01:00
Conny Duck 764cbac7b7 fix an issue with avatars in notifications loading on the wrong thread 2017-11-03 10:09:09 +01:00
Conny Duck cf8364eae4 prevent a crash in ComposeActivity when ContentResolver raises a SecurityException 2017-11-02 21:18:39 +01:00
Conny Duck fe921c0622 adding image keyboard support (and some cleanup) 2017-11-01 21:56:38 +01:00
Ivan Kupalov 06af962610 Use Android-Job to pull notifications. Closes #401. (#431) 2017-11-01 21:02:44 +01:00
Ivan Kupalov 5b581fe7f3 Reply improvements (#432)
* Refactor ComposeActivity intent. Fix bug with URLs

When user saved toot link was removed from the text field itself,
not only from the text to be saved.

* Show what you reply to

Closes #119
2017-11-01 20:59:29 +01:00
Conny Duck 39a6bc6fa5 change default of chrome custom tabs setting to false 2017-10-30 10:48:27 +01:00
Conny Duck 8d2c3974bd add actionbar to PreferencesActivity 2017-10-30 10:41:59 +01:00
Ivan Kupalov 387b37e0a8 Add media upload progress. Closes #412 (#426) 2017-10-29 22:18:45 +01:00
Ivan Kupalov 4125ce1d79 Fix issues with media uploads restoring. Fixes #419. Fixes #308. (#425) 2017-10-28 22:24:26 +02:00
Conny Duck 64e83bb80c title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Conny Duck 453b38e89e update AboutActivity to show License, remove ic_logo.png 2017-10-28 13:39:32 +02:00
Conny Duck 37aa9d701d fix a bug where favs & reblogs where not shown correctly in NotificationsFragment 2017-10-27 23:39:36 +02:00
Konrad Pozniak 39530cb960 Link previews for detail statuses (#424)
* implement link preview cards on detail statuses

* cleanup code
2017-10-27 13:20:17 +02:00
Ivan Kupalov 5239ffa432 Stop adding link info when composing toot (#418) 2017-10-27 13:19:12 +02:00
Conny Duck 665d708e54 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
Conny Duck 1486d6068a close ViewThreadActivity if the main status got removed to avoid crashes on subsequent refreshes 2017-10-24 23:33:05 +02:00
Conny Duck 00ce03e217 improve custom emoji size/padding/alignment, fix jumping of text when emojis are loaded 2017-10-24 23:10:15 +02:00
Ivan Kupalov d1d5766ea1 Fix sending wrong requests for autocompletion (#414)
The problem was that Tusky kept sending requests for autocompletion
while writing toots even when the user wasn't typing a username
anymore. As it happened very often we would exceed the API request
limit and user wouldn't be able to send the toot.

This happened because Tokenizer is not used as expected. In fact,
during testing, findTokenEnd() and terminateToken() were never called.
I've tried setting a Validator but it wasn't used either. I'm not
sure what is the reason.

I am afraid it still may work incorrectly for the full nicknames
(ones with the instance name, like @name@isntance) because
the search may happen for the instance name but it's not as
critical.
2017-10-24 23:02:38 +02:00
Ivan Kupalov 10b695fafd Fix deprecated BitmapDrawable constructor (#413) 2017-10-24 22:57:44 +02:00
Ivan Kupalov 6223a1bfa3 Fix custom emoji size (#407)
Now custom emoji images adapt to the font size.
2017-10-23 23:04:53 +02:00
Conny Duck 58600fe8ce should fix a problem with autocomplete and some keyboards 2017-10-23 22:55:43 +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 5c59fa7c5d create notification channels ahead of time so users can edit the settings before a notification was issued 2017-10-21 21:28:05 +02:00
Conny Duck 170694b6ea remove Tusky API (was needed for push notifications) 2017-10-20 09:06:50 +02:00
Conny Duck 09e2746c41 remove old emoji shortcodes 2017-10-19 15:54:08 +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 7c2ac42689 fix typo in preference key 2017-10-18 22:18:44 +02:00
Conny Duck d65d63b82b implement notification channels, use system notification settings on android Oreo 2017-10-18 22:18:07 +02:00
Conny Duck c444bead7e cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
Konrad Pozniak ed3457fa1c Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak 8c7113dfb7 Merge pull request #386 from lenchan139/master
add option: always show all sensitive content without warning
2017-10-17 09:44:19 +02:00
Conny Duck 626ffd79f1 fix a bug where saving a toot with attached media would crash the app 2017-10-17 09:38:36 +02:00
Konrad Pozniak 356192f81d Merge branch 'master' into master 2017-10-16 23:31:39 +02:00
Konrad Pozniak f183325b26 Merge pull request #391 from flyingrub/copy
Add a menu entry to copy the link of a toot
2017-10-16 23:30:36 +02:00
flyingrub b86887b564 Add a menu entry to copy the link of a toot
fixes #390
2017-09-25 20:15:04 +02:00
flyingrub cbdca54d27 Add feedback when downloading image
fixes #388
2017-09-24 20:57:06 +02:00
Len Chan f48f6230a2 add option: always show all sensitive content without warning 2017-09-19 23:19:18 +08:00
torrentcome 660c46d7ee (#377) hide sensitive images after showing them
-The web client overlays a small eye button over sensitive images after they've been shown that re-hides them
2017-08-30 14:22:12 +02:00
Conny Duck 0b4211b86a rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
Vavassor 6fbfc92199 Adds a confirmation dialog for unfollowing a user using the account header button. 2017-08-09 01:16:00 -04:00
Vavassor cd6a3a32f1 Merge branch 'account-activity-improvements' of https://github.com/connyduck/Tusky into connyduck-account-activity-improvements 2017-08-08 21:23:16 -04:00
Vavassor ee08b68b97 Merge pull request #360 from torrentcome/#20_duplicated_interface
(fragment) quick changed
2017-08-08 19:30:04 -04:00
Conny Duck bcb88afde3 bugfix, layout improvements 2017-08-05 12:04:40 +02:00
Conny Duck 45ae9ed0ef show if an account follows you back in AccountActivity 2017-08-05 10:09:17 +02:00
Conny Duck c6f2cc55ea make FAB hide on scroll in AccountActivity as well 2017-08-04 11:44:10 +02:00
Conny Duck e4ce775685 change floating action button to "mention", create new follow button in AccountActivity 2017-08-04 10:53:38 +02:00
Vavassor 81bcd8dbd1 Actually form thread lines properly in the thread view. Closes #57 2017-08-03 22:30:37 -04:00
Vavassor 3981116a1a Cleans up the distinction between detailed and normal status view holders. 2017-08-03 17:26:26 -04:00
Vavassor cd74ebb6fc Makes the main status of a thread appear as a more detailed view. 2017-08-03 00:29:31 -04:00
Vavassor 0c962144c5 Fixes URLs being deleted erroneously when multiple images are added in the composer. 2017-07-30 17:16:32 -04:00
Vavassor b6291b8004 Fixes a crash when autocompleting a mention, second try. (previous fix was commit 48c03125f5) 2017-07-28 12:36:54 -04:00
Vavassor 09430f14fb Fixes links in statuses not using custom tabs even when the option is enabled (typo). 2017-07-28 11:59:32 -04:00
Vavassor 4a30af43df Fixes a incompatibility-related crash when the hiding media previews option is selected and the device is API level 19 or under. 2017-07-28 11:54:57 -04:00
torrentcome 62706000c9 (fragment) quick changed
The duplicated interface will no appeared anymore. The problem is with the "stack memory" who do weird thing with his fragments.

no more duplicated stuff after that ;)
2017-07-28 16:11:01 +02:00
Vavassor a86c8df81b Consolidate the two media buttons in the composer. 2017-07-27 22:40:58 -04:00
Vavassor 58c8f64287 Documents some utilities 2017-07-27 22:03:45 -04:00
Vavassor 33a7e3bfed Adds save draft button to composer. 2017-07-27 00:56:53 -04:00
Vavassor c6242dd5ef Updates the upload size limit and correct it to power of two numbers of bytes as it actually always was. 2017-07-26 00:12:02 -04:00
Vavassor 9d564ad3ec Fixes a crash and errors associated with a URL pasted into the composer being edited before its metadata is loaded. 2017-07-25 19:23:37 -04:00
Vavassor d344f34ffb Addendum to commit 534443d439 to cancel the callbacks so they're not called after the fragment is detached. Closes #357 2017-07-25 17:35:36 -04:00
Vavassor 095344272e Give up 2017-07-20 22:29:29 -04:00
Vavassor 0c8381e50d Fixes a crash when a timeline or thread is backgrounded and brought back with an uninitialized notification or status list. 2017-07-20 21:17:36 -04:00
Vavassor 48c03125f5 Fixes a crash while autocompleting a mention. Also, a small bit of refactoring. 2017-07-20 17:54:41 -04:00
Vavassor e24dcbbd7c Fixes a crash when a thumbnail for an image attachment fails to load. 2017-07-19 00:28:36 -04:00
Vavassor 2674a11c50 The unloaded drawer header was sometimes returning zero dimensions and crashing. It's just easier to let it handle resizing and cropping. 2017-07-19 00:15:53 -04:00
Vavassor 534443d439 Fixes an intermittent null pointer exception caused by getActivity() returning null in callbacks. 2017-07-18 23:34:07 -04:00
Vavassor a9c90171a3 Fixes a few content descriptions and re-titles the Drafts page. 2017-07-18 22:32:13 -04:00
Vavassor adeaba9cf7 Merge pull request #351 from connyduck/bugfix-search
fix bug where "no result" message was not shown in SearchActivity
2017-07-18 20:20:41 -04:00
Conny Duck 359a3df971 fix permission problem when downloading image 2017-07-18 21:32:43 +02:00
Conny Duck 99722a95b3 fix bug where "no result" message was not shown in SearchActivity 2017-07-18 20:05:41 +02:00
Vavassor 0e0ec40575 Okay, toss BouncyCastleProvider so we can release a beta. 2017-07-18 00:30:24 -04:00
Vavassor a0da0a4d9d Widens proguard to just keep everything under org.bouncycastle when minifying. Also fixes a bug where the composer's content warning is hidden after changing orientation. 2017-07-17 00:06:48 -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 3a114fd9ee Merge branch 'media-preview' of https://github.com/charlag/Tusky into charlag-media-preview 2017-07-16 19:59:17 -04:00
Vavassor 8f226b024c Fixes notifications not setting their visibility. 2017-07-16 19:56:26 -04:00
Vavassor a37f4f5a07 Merge branch 'fix-boosts' of https://github.com/charlag/Tusky into charlag-fix-boosts 2017-07-16 19:33:57 -04:00
Vavassor b5039b7d8c Release 1.1.4-beta.6 2017-07-16 18:26:56 -04:00
Ivan Kupalov 076863c0e7 Improve media browser and video viewer
* show/hide status bar by tapping a photo
* dim and color status bar in video/media viewers
* show/hide status bar in video viewer
* use shared element transition when opening a photo is possible
* center video in VideoView
2017-07-15 18:37:53 +03:00
Ivan Kupalov ea013f1686 Fix bug where there were no media in the boosted toot and avatar opened wrong profile. 2017-07-15 14:57:51 +03:00
Vavassor 384c377129 Makes the toolbar shadow visible for pre-Lollipop android versions and fixes a crash when deleting a draft with no media attached. 2017-07-15 03:10:55 -04:00
Vavassor c7f3354c40 Removes unused icons and does bits of cleanup. 2017-07-14 23:23:14 -04:00
Vavassor 95b6fe8550 Adds ability to localize timestamps. 2017-07-14 19:45:26 -04:00
Vavassor 7b0bf1f4f7 Corrects number localization and adjusts the padding of the reblog avatars in right-to-left layout direction. 2017-07-14 18:18:29 -04:00
Vavassor 89753c2553 Merge branch 'charlag-boost-avatars' 2017-07-14 17:10:41 -04:00
Vavassor d1a3e943d2 Fixes timelines and notifications tabs fetching progressively further down when they are restarted. 2017-07-14 17:09:44 -04:00
Vavassor 6467392df6 Merge branch 'boost-avatars' of https://github.com/charlag/Tusky into charlag-boost-avatars 2017-07-14 16:54:26 -04:00
Vavassor d87227ed72 Merge pull request #334 from charlag/paired-list-fix
Fix bug with paired list incorrectly adding to the specified position.
2017-07-14 16:03:36 -04:00
Henri Gourvest c4882c718f avoid crash when new notification list is empty 2017-07-14 11:11:38 +02:00
Ivan Kupalov 871175d9ff Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00