Commit Graph

154 Commits

Author SHA1 Message Date
Konrad Pozniak 8930d277e6
add new elephant friends (#757)
* add new elephant friends

* add art license

* fix typo
2018-08-15 20:51:35 +02:00
Ivan Kupalov 133808891d 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 562beacfc1 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
Ivan Kupalov 6fcb3cb495 Add image descriptions indicator (#697)
* Add image descriptions indicator. Closes #683

* Add bg for description indicator, change symbol

* Use icon for image description indicator
2018-07-30 15:20:53 +02:00
Conny Duck 970551adee fix the emoji selection dialog 2018-06-25 16:23:43 +02:00
Conny Duck 50b0d1fb8d cleanup code 2018-06-25 14:49:00 +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
Paul 30856a2f82 Enable boosting of own private toots, closes #664 (#666) 2018-05-28 21:29:06 +02:00
Konrad Pozniak d4572a9d0e
some Optimizations for tablets (#647)
* show ComposeActivity as Dialog on tablets

* limit timeline width on large devices

* limit width on large devices for thread view and search

* increase media preview size on large devices
2018-05-16 19:14:53 +02: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
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
Konrad Pozniak 3708421362 add new avatar placeholder 2018-03-30 19:46:36 +02:00
Conny Duck 2b477f4eea new icon & improved functionality for quick settings tile 2017-12-07 20:21:02 +01:00
Conny Duck bf4d0bb722 change handling of font size, introduce font size setting 2017-12-01 21:52:10 +01:00
Konrad Pozniak 41233a837b
UI Improvements (#445)
UI Improvements
2017-11-30 20:12:09 +01:00
Konrad Pozniak 5cbc7217ff Link previews for detail statuses (#424)
* implement link preview cards on detail statuses

* cleanup code
2017-10-27 13:20:17 +02:00
Conny Duck 0fd25ff124 new splashscreen, some cleanup 2017-10-26 22:07:48 +02:00
Conny Duck b7f3a90f92 new launcher icon, new adaptive icon 2017-10-19 14:06:52 +02:00
Conny Duck 7d7aeadd41 improve content warning background 2017-10-18 11:08:49 +02:00
Conny Duck f2f3be37b3 cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
Konrad Pozniak 25a489fe03 Merge pull request #378 from torrentcome/#377
(#377) hide sensitive images after showing them
2017-10-17 09:44:31 +02:00
Konrad Pozniak 840efd1916 Merge pull request #372 from connyduck/avatar-placeholder-improvement
rounded corners for avatar placeholder
2017-10-16 17:18:09 +02:00
torrentcome 87de285fe8 (#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 71743890b0 rounded corners for avatar placeholder 2017-08-11 22:41:29 +02:00
Vavassor 67f3ce6e4e Changes content warning show more/less button to use a drawable with built-in shadow for compatibility with API levels below 21. 2017-08-11 16:34:43 -04:00
Conny Duck 2f66de9797 code cleanup, simplify AccountActivityLayout 2017-08-05 10:29:04 +02:00
Vavassor bfdd0cb3a2 Release 1.1.4
Release 1.1.4
2017-07-27 22:01:17 -04:00
Vavassor f37bb694f1 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 87600b016f Removes unused icons and does bits of cleanup. 2017-07-14 23:23:14 -04:00
Vavassor b77d9934ab Fixes some odd spacing in right-to-left direction and sets some icons to auto-mirror. 2017-07-12 17:03:32 -04:00
Vavassor 14d02e72b7 Adds envelope icon indicator to direct messages on timelines, so they can be differentiated from private statuses. 2017-07-08 15:44:08 -04:00
Vavassor 3f3ccfca55 Adds an icon to video and gifv media previews to indicate they can be played. The icon is a circled triangle (play button). Closes #319 2017-06-26 19:04:05 -04:00
Vavassor 3f54ead962 Adds option to hide media previews if reduced data usage is desired Closes #56. 2017-06-26 05:15:47 -04:00
Vavassor b9b5e58b50 Changes the NSFW button to a "hide media" icon in the composer. This is inspired in part by the upstream change tootsuite/mastodon#2696. But also NSFW was never a good description of this function. 2017-06-20 14:16:03 -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
torrentcome b5c2b62d7a (icon) add icon download 2017-05-10 15:24:03 +02:00
Vavassor 3c20f7a0c4 Adds a splash screen replacement. 2017-05-09 22:36:05 -04:00
Vavassor 1dc32323d5 Adds a higher-resolution elephant friend to the login page. Closes #99 2017-05-08 16:30:25 -04:00
Conny Duck b97c4e24ed remove redundant account_header background, fix weird flicker in header when opening AccountActivity 2017-05-04 18:07:59 +02:00
Vavassor cfb0219536 Merge branch 'profile-edition-design' of https://github.com/daycode/Tusky into daycode-profile-edition-design 2017-05-01 21:52:11 -04:00
daycode c7e4d17aaf Add gestion of avatar and header 2017-05-01 15:23:34 +02:00
Vavassor ad30c78faf Account page interactions with locked users are made much clearer. 2017-04-30 21:55:33 -04:00
daycode b82d75a6c4 design the edit profile view 2017-04-30 21:57:15 +02:00
Vavassor 7d83a9aaba Follow requests list is available. Closes #222 2017-04-28 23:52:14 -04:00
Konrad Pozniak 32a397904b use material design icon for local timeline tab 2017-04-22 11:32:55 +02:00
Vavassor 852c484d68 Adds a list of muted users. 2017-04-21 19:02:04 -04:00
Vavassor db021b948b resolve merge conflicts 2017-04-21 01:25:07 -04:00
Vavassor 2d88571b14 Merge branch 'issue_139' of https://github.com/raphaelm/Tusky into raphaelm-issue_139 2017-04-21 00:57:31 -04:00
Vavassor 4c582bdf3d Merge branch 'new-icon' of https://github.com/daycode/Tusky into daycode-new-icon 2017-04-21 00:32:03 -04:00
Vavassor 2b34454cc9 Changes the profile editor save icon to something better. 2017-04-20 23:57:04 -04:00
daycode d6a66656de Add Direct Message to visibility panel 2017-04-18 12:59:42 +02:00
Raphael Michel 15088fa42a Allow taking photos directly from the app (closes #139) 2017-04-17 10:56:30 +02:00
daycode 618001d163 fix dark shadow 2017-04-10 20:28:36 +02:00
Zachary Epps 8acc69c626 Compose Activity now gives visual feedback
added a spinning progress bar to indicate status posting
made the button to also change colors from blue to grey so the user doesn't keep clicking it
2017-04-10 13:51:30 -04:00
Vavassor 822fd2e168 Merge pull request #51 from nevillepark/master
Larger placeholder avatars
2017-04-09 23:21:21 -04:00
daycode 3ad70cbd5e fix few errors 2017-04-10 01:07:25 +02:00
daycode 440d28030c replace the ic_launcher-web 2017-04-09 23:13:39 +02:00
daycode 9ebf4ddb15 Replace Tusky logo in README.md 2017-04-09 21:41:12 +02:00
daycode cd7ddf6a1f Replace launch icon 2017-04-09 21:27:05 +02: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
Neville Park 016baf8711 Larger placeholder avatars 2017-04-03 16:53:02 -04:00
Neville Park 73d79f0f78 Add files via upload 2017-03-31 20:02:13 -04:00
Neville Park 4138acdfbd Delete avatar-default.png 2017-03-31 20:01:47 -04:00
Neville Park 2ba051bfcc Delete avatar_default.png 2017-03-31 20:01:22 -04:00
Neville Park 1e4e2eb5e5 New default/error avatar images 2017-03-31 20:00:27 -04:00
Vavassor 53376da406 Adds the local timeline. 2017-03-30 22:31:17 -04:00
Vavassor eed3f2d899 Light icon buttons are colour background with white text again. It just looks nice. 2017-03-30 19:23:43 -04:00
Vavassor 1f798902b7 Spruces up the light theme.
Also, fixes a bug where the show more/less button for content warnings is sometimes already checked.
2017-03-29 00:22:14 -04:00
Vavassor 81700e7b84 Adds an indicator of visibility to the send button in the composer. Closes #38 2017-03-26 18:26:47 -04:00
Eugen Rochko 3798f9a803 Fix login activity crashes, repeated re-authentications,
layout when keyboard appears
2017-03-15 20:32:26 +01:00
Eugen Rochko 5d1a86d472 Crash analytics with Firebase
Conversation line visual
2017-03-12 18:46:45 +01:00
Eugen Rochko 470b3b1236 Improved blocked users layout 2017-03-12 14:01:50 +01:00
Eugen Rochko f508e8bc34 Icons in main tabs, improved video activity a bit 2017-03-12 13:41:29 +01:00
Eugen Rochko f34237ce7a Improve compose activity 2017-03-10 18:38:49 +01:00
Eugen Rochko 7fa01371d9 Add drawer to main activity 2017-03-09 19:31:15 +01:00
Eugen Rochko 86f8bf3c2f Fix some visual bugs 2017-03-08 21:07:49 +01:00
Vavassor e46731454d Fixes icons on statuses and notifications not being the right colour on the light theme.
Maybe could be a more elegant solution than drawable duplication but for now fine.
2017-03-07 23:52:17 -05: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 1db90db642 Spark animations for boost/favourite buttons 2017-03-07 22:23:17 +01:00
Eugen Rochko 2c8a575a3b Fix up notification items layouts 2017-03-07 20:42:01 +01:00
Eugen Rochko a52ee71e35 Forgot to add a graphic 2017-03-07 15:15:39 +01:00
Eugen Rochko 4060f3f45f Nicer login layout 2017-03-07 15:03:41 +01:00
Eugen Rochko d067c8bf27 Made compose form more material 2017-03-07 14:09:33 +01:00
Eugen Rochko d299dd34ed Floating action button for toot compose 2017-03-07 01:38:22 +01:00
Eugen Rochko b5c4339894 Switch dark color scheme to official Mastodon colors
Switch status icons to Material ones
Fix layouts on statuses
2017-03-07 01:31:05 +01:00
Eugen Rochko 7a752be83f Prettify profiles, add floating follow/unfollow button to them 2017-03-06 20:48:31 +01:00
Vavassor 3ab06eb250 The reporting page now allows reporting multiple statuses. (It's a bit cramped, though.) 2017-02-28 21:38:47 -05:00
Vavassor 4b8573a82f Reporting statuses is now possible! 2017-02-27 00:21:46 -05:00
Vavassor af4af94775 Fixed crash on pre-Lollipop devices (API levels 20 and prior) due to trying to load attributes in drawables. 2017-02-16 21:11:05 -05:00
Vavassor 96a5692717 Dark and light themes now exist and can be switched in preferences. 2017-02-16 13:52:55 -05:00
Vavassor f14973a6d4 Replaced the regex gunk in the composer with something more readable and more reliable.
Also, put in a fix for a crash related to failing while loading the vector image for the media picker button.
2017-02-13 21:46:25 -05:00
Vavassor 22a2a31afe Changed visual theme to a dark style. Also, set up things for a future switchable light/dark theme. 2017-02-13 00:18:17 -05:00
Vavassor 2112c442a3 Gave splash screen its own images. 2017-02-07 20:24:22 -05:00
Vavassor 56341a15af Fixed: crash on splash screen on version Kitkat and under due to trying to load a vector drawable in a selector. 2017-02-07 18:44:54 -05:00
Vavassor 0a45b72391 Added logo and made login page slightly more clear. 2017-02-04 23:20:19 -05:00
Vavassor 86623c634a Added content warnings to status composer and slightly reworked its design in general. 2017-02-03 19:53:33 -05:00
Vavassor 3bd360a7ee Added margin between pages in tab layouts. (tiny change) 2017-02-02 19:18:41 -05:00
Vavassor 2b6bc8a5c7 Content warnings now show/hide on all timelines. 2017-01-31 18:42:05 -05:00
Vavassor 60d68b0ae6 Partial account profile pages now in. Follows/Followers tabs are empty and block/follow does nothing yet. 2017-01-27 22:33:43 -05:00
Vavassor 83f8b4303c Added mention/reply notifications provided by a background service. 2017-01-24 23:35:54 -05:00