Commit graph

354 commits

Author SHA1 Message Date
Ivan Kupalov
08f928a2b2 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
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
8559a6d75c 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
Ivan Kupalov
240fb372ba Add small avatars to boosted toots and to notifications. 2017-07-14 08:06:32 +03:00
Vavassor
fc1a24be11 Resolves merge conflicts and makes NotificationAdapter no longer implement AdapterItemRemover 2017-07-13 21:31:31 -04:00
Ivan Kupalov
90c1a83ba4 Preserve status states on updates. UI layer refactoring.
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
2017-07-13 22:18:08 +03: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
e4dff388d2 Improves right-to-left layouts in the most basic fashion. 2017-07-12 02:09:07 -04:00
Vavassor
63bf832ffd resolves merge conflict 2017-07-06 22:15:44 -04:00
torrentcome
87c1edb3d4 (medias) try to add medias 2017-07-05 16:36:14 +02:00
torrentcome
1e597fb7b1 (ui) more ui with list saved toot 2017-07-05 16:35:33 +02:00
Vavassor
275cd51a6d Adds correct footer behaviour to account lists and unifies it with how timelines use them. 2017-06-30 18:30:25 -04:00
torrentcome
946f58439c (saved_toot) add part of saved toot activity 2017-06-29 17:55:39 +02: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
c5c6e8205a Fixes autocomplete list getting cut off in the composer if the user is using an app or launcher that hides the status bar. 2017-06-26 15:38:04 -04:00
Vavassor
7d7d5864d4 Adjusts the media label alignment in statuses. 2017-06-26 14:51:39 -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
e3745ebd6b Adds ability to page between multiple images in a status by swiping from left to right. Closes #66 2017-06-25 01:07:41 -04:00
Vavassor
100b9f0a47 Extends the width of the search view. 2017-06-22 02:00:03 -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
Vavassor
401dd62af7 Search page fully functional for accounts and hashtags. Closes #44 2017-06-19 15:47:53 -04:00
Vavassor
289e2fbbe1 Adds a prototype search page. The previous search bar is not yet removed. 2017-06-19 04:18:39 -04:00
Vavassor
fcdb507ef0 Changes the autocomplete list to show the username, display name, and avatar of each suggestion for @ mentions. 2017-06-18 23:34:48 -04:00
Vavassor
74aa866647 Autocomplete @ mentions in the composer. Closes #103 2017-06-18 22:10:50 -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
torrentcome
0a6a2e44c2 (view) create package view 2017-05-15 12:07:01 +02:00
Vavassor
1815d574c8 Makes the view media toolbar transparent. 2017-05-11 21:31:29 -04:00
torrentcome
a015637785 (media) add toolbar and download button 2017-05-10 15:24:45 +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
Vavassor
88e2b7b382 Merge branch 'master' of https://github.com/Pangoraw/Tusky into Pangoraw-master 2017-05-08 15:40:08 -04:00
Vavassor
a2a600a9de Adds back button to the about page and for the Tusky's Profile button it searches for the account first and saves the ID for subsequent presses. Closes #279 2017-05-08 15:00:33 -04:00
Paul
17f347cab5 Add loading on login activity while fetching tokens 2017-05-08 11:24:30 +00:00
Vavassor
551d73baee Makes about page work with light theme and landscape orientation. 2017-05-07 22:00:29 -04:00
Vavassor
daf0ec8e49 resolves merge conflict 2017-05-07 20:20:59 -04:00
Vavassor
7f934e4f26 Resolves merge conflicts 2017-05-07 17:58:56 -04:00
Vavassor
c3f4473508 Merge pull request #268 from connyduck/textinputedittext
use TextInputEditText instead of EditText inside TextInputLayout
2017-05-07 17:44:42 -04:00
Vavassor
d658e6e7a3 Merge pull request #270 from connyduck/profile-header
remove account_header_default.png
2017-05-07 17:44:26 -04:00
Paul
fc2d039d63 Add loader when waiting to display a media 2017-05-06 11:30:52 +00:00
Vavassor
aa2394748c Reorganizes the whole codebase. 2017-05-04 18:55:35 -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
Conny Duck
310d9a3c91 use TextInputEditText instead of EditText inside TextInputLayout 2017-05-04 16:32:21 +02:00
Conny Duck
2898baf18d updated dependencies 2017-05-04 16:16:24 +02:00
Vavassor
bd687fb45d Fixes crash on android version Lollipop and earlier due to an unsupported way vector drawable icons were assigned to radio buttons. 2017-05-03 18:33:15 -04:00
Vavassor
ab76121692 Change locked accounts to default visibility to "followers-only", and reorganizes the composer because it was getting cluttered. 2017-05-02 18:17:54 -04:00
Vavassor
ba0ad09f19 Merge branch 'raphaelm-account_activity_title' 2017-05-01 23:31:59 -04:00
Vavassor
07f22b2560 Fixes the text colour in the light theme for the collapsed toolbar in the account page. 2017-05-01 23:31:31 -04:00
Vavassor
800ab8001e Adds content descriptions to header and avatar buttons in the profile editor and puts the page in a scroll view so it's navigable in landscape mode. 2017-05-01 22:30:49 -04:00
daycode
c7e4d17aaf Add gestion of avatar and header 2017-05-01 15:23:34 +02:00
serage.betelmal
df7e077029 Adding more content to the About activity 2017-04-30 21:53:32 +01:00
serage.betelmal
9b86c93e76 Merge branch 'master' into feature/about-page 2017-04-30 21:09:09 +01: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
Conny Duck
1aa870b069 make tabs fill whole space in landscape mode 2017-04-27 14:47:56 +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
fdd92f25a6 fix build issues 2017-04-21 01:08:38 -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
b9f0c51e70 Provisional profile editor complete. 2017-04-20 18:56:36 -04:00
Vavassor
5941a2f5b3 Profile editor functionally complete. 2017-04-19 00:01: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
Vavassor
18e40855ad Profile edits for display name and bio are working. Avatar and header image picking are in but not uploaded. 2017-04-17 02:49:56 -04:00
Vavassor
e15f1cfcab Merge branch 'master' into edit-profile 2017-04-17 01:10:20 -04:00
Vavassor
61fdda5fa3 Merge branch 'issue_62' of https://github.com/raphaelm/Tusky into raphaelm-issue_62 2017-04-16 23:04:00 -04:00
Vavassor
820ef1305e Merge pull request #168 from raphaelm/account_tab_margin
Margins in account tab
2017-04-16 22:57:21 -04:00
Vavassor
84741c1f1b Adds a partial profile editor (non-working). 2017-04-16 18:51:09 -04:00
Raphael Michel
1701ef67d9 Margins in account tab 2017-04-15 20:36:21 +02:00
serage.betelmal
642e2af23e Adding an about activity to the App 2017-04-15 19:05:25 +01:00
Raphael Michel
d732c5d0a7 Timeline footer improvements 2017-04-15 19:25:39 +02:00
Raphael Michel
f4109f38a8 Allow pull-to-refresh in thread view (closes #73) 2017-04-15 12:28:22 +02:00
Vavassor
3bf84f9b7d Cleaned up content descriptions and added the last missing ones. Closes #122 2017-04-12 21:54:37 -04:00
Vavassor
ea7f666062 Enlarged the touch areas of status action buttons slightly. 2017-04-12 16:17:29 -04:00
Vavassor
2e45a0bbff Adds missing content descriptions and fixes a bit of the follow button hiding code. 2017-04-12 04:32:05 -04:00
Vavassor
bc8c2427fb Removes mention of elephant friend, to reduce noise. 2017-04-12 00:27:48 -04:00
Vavassor
f6a165a50a Adds content descriptions and hints to non-textual elements so they can be described by screen readers. 2017-04-12 00:21:52 -04:00
Zachary Epps
b92900bda1 actually added the other files, whoops 2017-04-10 13:51:41 -04:00
Briar Rose Schreiber
a8c44da532 Adjust light theme tab bar area
Adds a material shadow below tab layouts. This is not very noticeable in
the default theme, but in the light theme in visually demarcates where
the tab layout ends.
2017-04-09 02:03:05 -07:00
Vavassor
1ebe514100 First minor release 2017-04-02 21:45:04 -04:00
Vavassor
e46e50ac60 Clarifies a bit of the explanation on the login page. 2017-04-02 19:55:41 -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
4b136ce458 Light theme properly separated again, making it ready for palette changes. 2017-03-26 22:59:16 -04:00
Vavassor
9478cd4ea1 You can navigate to who favourited/reblogged you from clicking the notification now. Closes #11 2017-03-20 16:34:23 -04:00
Vavassor
70536ed001 Fixed some odd refresh behaviour and possibly the duplicate 20 statuses issue? 2017-03-20 03:03:03 -04:00
Vavassor
22b1472a3f Actually* fix the layout error on account pages. 2017-03-15 18:51:01 -04:00
Vavassor
5ae58ecac1 Merge branch 'Gargron-master' 2017-03-15 16:39:23 -04:00
Vavassor
0c464e488e Fixes a layout error on account profiles. 2017-03-15 16:38:19 -04:00
Eugen Rochko
3798f9a803 Fix login activity crashes, repeated re-authentications,
layout when keyboard appears
2017-03-15 20:32:26 +01:00
Vavassor
355c85b8d8 Names no longer ellipsize unnecessarily on account pages. 2017-03-14 23:09:07 -04:00
Eugen Rochko
ce82a81f0e Fixed view media fragment behaviour, reblogs/favs of reblogs 2017-03-14 19:24:38 +01:00
Eugen Rochko
bc46afd801 Display lock icon on locked profiles 2017-03-14 15:27:22 +01:00
Eugen Rochko
60cef27c86 Rounded corners on avatars in statuses 2017-03-13 16:19:34 +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
b3b3f2a88d Circle avatars in follow lists 2017-03-12 12:45:36 +01:00
Eugen Rochko
2bbd46e841 Push notifications 2017-03-12 08:31:20 +01:00
Eugen Rochko
c1fc6959e7 Fix up report activity/layout 2017-03-10 23:47:04 +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
ed262dfb2d Fix crash when adding media, make all activities use coordinator layout 2017-03-09 23:21:02 +01:00
Eugen Rochko
c9b2092cf9 Zoom for images 2017-03-09 21:21:55 +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
Vavassor
7519ad5455 Merge branch 'Gargron-master' 2017-03-07 22:35:02 -05:00
Vavassor
7ae66a4ddc Fixed crash due to Picasso being handed empty strings for missing avatars and header images. 2017-03-07 21:38:20 -05:00
Vavassor
1ddb17f8d3 Fixes media attachments in the composer being un-removable, and long usernames overlapping time stamps in statuses.
Also added the MIT license notice to the EmojiOne code to comply with its usage terms.
2017-03-07 20:44:51 -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
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
2c8a575a3b Fix up notification items layouts 2017-03-07 20:42:01 +01:00
Eugen Rochko
4060f3f45f Nicer login layout 2017-03-07 15:03:41 +01:00
Eugen Rochko
bdc19efe3d Fix up account list item layouts 2017-03-07 14:32:07 +01:00
Eugen Rochko
2cf387bc21 Visually center initial loading indicator. Abandon
"end of content" messages (not necessary from UX perspective
imo) and retry button (perhaps it should be a Snackbar
with a retry action instead)
2017-03-07 14:21:24 +01:00
Eugen Rochko
d067c8bf27 Made compose form more material 2017-03-07 14:09:33 +01:00
Eugen Rochko
d9f0b3c99e Attachment previews also use Picasso to load, fix their layout
Fix NSFW overlay
2017-03-07 11:59:54 +01:00
Eugen Rochko
9ec3fd47dc Back button to navigate tabs on main view 2017-03-07 11:02:41 +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
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
91ad3acc79 Unfinished keyboard GIF picking stuff? Not accessible by the user, yet. 2017-03-03 20:44:44 -05:00
Vavassor
054ab8fb1c Several minor layout issues fixed, overlapping text on different device resolutions. 2017-03-01 00:36:15 -05: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
0a32c58801 Follow notifications now allow you to view the account that followed and follow back from the notification timeline. 2017-02-26 20:14:13 -05:00
Vavassor
9dceb7a226 TODO's have been erradicated. 2017-02-26 19:14:50 -05:00
Vavassor
c4114b6be2 The block list is now its own functional piece, instead of just being a copy of the following/follows lists on account profiles. 2017-02-21 21:12:49 -05:00
Vavassor
9b6f5e63d3 Viewing your block list is now possible on the main menu.
Also, changed how end-of-timeline behaviour is handled on all timelines. It should detect it more reliably now.
2017-02-21 17:55:37 -05:00
Vavassor
e59c0534c7 Viewing your favourites is now accessible on the main menu. 2017-02-20 21:32:10 -05:00
Vavassor
dab6807bff Fifth Alpha Release (actually fifth this time) 2017-02-19 19:27:15 -05:00
Vavassor
0439fabd79 Fixed a crash under API level 21 on the main timeline due to trying to tint the status buttons with selectors. 2017-02-17 23:10:46 -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
33883aca3d End of timelines are now detected correctly. Also, duplicate notifications/accounts are prevented. 2017-02-07 16:47:05 -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
887e68700a Made wrapping behaviour of long names and long content warnings better on timelines. 2017-02-01 17:01:34 -05:00
Vavassor
aec83c70fc Animated GIF's now animate when viewed in fullscreen. 2017-02-01 02:13:14 -05:00
Vavassor
2b6bc8a5c7 Content warnings now show/hide on all timelines. 2017-01-31 18:42:05 -05:00
Vavassor
1429dfc7b5 Account profiles no longer partial! 2017-01-30 23:51:02 -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
dbb2663882 Links and tags in statuses are now clickable and open suitable pages.
Mentions are also, incidentally, but still link to the account page for that user in the browser. This should be changed to an in-app account page when that's finished, but it's actually fairly suitable fallback behaviour for now.
2017-01-26 19:34:32 -05:00
Vavassor
b00a3cf443 Adds a toot thread viewing mode. Also, many files were missing and didn't push so the previous commits may have been very wrong? 2017-01-23 00:19:30 -05:00
Vavassor
2106d7a53c Jumping to top capability and a progress/retry footer added to timelines. 2017-01-18 13:35:07 -05:00
Vavassor
6b684bceff Attaching media to toots is now possible. Images over the upload limit are automatically downsized, videos are not. 2017-01-16 13:15:42 -05:00
Vavassor
bab33a0715 sensitive media previews are now hidden and shown with a click 2017-01-10 15:41:50 -05:00
Vavassor
e551de7521 added media previews to timeline and media viewers 2017-01-10 01:14:27 -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