Commit Graph

155 Commits

Author SHA1 Message Date
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 3055e6176e upgrade libraries, fix DrawerImagerLoader deprecated warning 2017-11-15 21:50:15 +01:00
Konrad Pozniak 3204223af7
fix clear notifications crash (#458) 2017-11-15 21:18:35 +01:00
Konrad Pozniak ed22d65c68 simplify MainActivity back press handling (#456) 2017-11-13 22:43:16 +03:00
Ivan Kupalov ddc4954f8a Cancel notifications on opening notifications tab (#450) 2017-11-13 19:05:23 +01:00
Conny Duck f2f3be37b3 cleanup code, remove some unneeded files 2017-10-18 00:20:50 +02:00
Conny Duck 099d76d919 make FAB hide on scroll in AccountActivity as well 2017-08-04 11:44:10 +02:00
Vavassor 1d10a7f6e8 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 f68f6d7473 Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
torrentcome 2022705282 (menu) change menu array to list
laster we will put some logic for show or not the savedToot part
2017-06-29 17:56:36 +02:00
Vavassor b9d6f489d1 Adds side drawer opening/closing by pressing the physical menu button, if present. Closes #178 2017-06-24 21:21:57 -04:00
Vavassor b1aa05694e Removes ButterKnife annotations. 2017-06-22 14:59:12 -04:00
Vavassor 18ebfa212e Minor writing style changes. 2017-06-22 14:01:25 -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 93f5e416c0 Fixes follow requests button in the main menu acting as though it were the log out button. Closes #307 2017-06-08 19:47:33 -04:00
Vavassor a4ee128e26 Broadcasts now cause a refresh on timelines after a post is composed instead of listeners.
As a side effect, pagers don't have to keep track of "registered fragments", which was a bad idea and caused crashes.
2017-06-06 18:20:55 -04:00
Vavassor 9c56f0e7bc Broadcasts now used everywhere for signalling to remove accounts' posts instead of listeners. 2017-06-06 17:15:29 -04:00
Konrad Pozniak 7501fcaeaa Merge branch 'master' into log-improvement 2017-05-25 19:17:20 +02:00
Conny Duck 1a39e58d3c remove unnecessary Log utility class, replace Exception.printStackTrace with logging 2017-05-23 21:34:31 +02:00
Vavassor 73a5144741 Adds notification clearing and makes the client a little more stable. 2017-05-19 20:00:57 -04:00
Vavassor 388ecfcf2e Removes the product flavor split. 2017-05-18 18:10:46 -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
Vavassor daf0ec8e49 resolves merge conflict 2017-05-07 20:20:59 -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
Vavassor e134e35a14 Merge branch 'light-header-background' of https://github.com/connyduck/Tusky into connyduck-light-header-background 2017-05-07 17:29:55 -04:00
Tryton Van Meer a5e43446b5 logout() now creates a dialog asking the user if they wish to logout. 2017-05-05 12:19:11 -04:00
Conny Duck d34f4429cd fixed light theme header background when no header image was set 2017-05-05 17:21:20 +02: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
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 b047204577 fixes line endings back to LF 2017-05-03 14:29:33 -04:00
PhotonQyv 89c984fe84 Add files via upload
Added fix for issues #190 & #259 both rotation/orientation related
2017-05-03 17:03:29 +01: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
serage.betelmal 9b86c93e76 Merge branch 'master' into feature/about-page 2017-04-30 21:09:09 +01:00
Vavassor 7d83a9aaba Follow requests list is available. Closes #222 2017-04-28 23:52:14 -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
Vavassor 5179d7e9b3 Blocking and muting now removes all statuses by that user in EVERY currently-loaded timeline. 2017-04-21 23:16:05 -04:00
Vavassor 852c484d68 Adds a list of muted users. 2017-04-21 19:02:04 -04:00
Vavassor f8657f289a Merge pull request #201 from daycode/missing-icons-menu
Add missing icons in Menu
2017-04-21 01:52:42 -04:00
Vavassor c6988415ae merge resolved 2017-04-21 00:19:37 -04:00
Vavassor b9f0c51e70 Provisional profile editor complete. 2017-04-20 18:56:36 -04:00
daycode a30a9fdc31 Add missing icons in Menu 2017-04-19 14:01:34 +02:00
Vavassor e15f1cfcab Merge branch 'master' into edit-profile 2017-04-17 01:10:20 -04:00
Vavassor 84741c1f1b Adds a partial profile editor (non-working). 2017-04-16 18:51:09 -04:00
serage.betelmal 642e2af23e Adding an about activity to the App 2017-04-15 19:05:25 +01:00
Raphael Michel fce573f1ec Update thread view after sent reply (closes #74) 2017-04-15 19:59:06 +02:00
Vavassor 77285c9966 Adds missing content description for the profile avatar in the navigation drawer. 2017-04-14 19:46:33 -04:00
Vavassor 3bf84f9b7d Cleaned up content descriptions and added the last missing ones. Closes #122 2017-04-12 21:54:37 -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 c69dd0624d Merge branch 'account_header_image_click_opens_account' of https://github.com/theZacAttacks/Tusky into theZacAttacks-account_header_image_click_opens_account 2017-04-11 19:12:36 -04:00
ntngrtltr e02eb76a91 fix permission requests 2017-04-11 19:39:30 +02:00
Vavassor 4d9fd09a3c License change back to GPL 3 2017-04-09 20:12:31 -04:00
Zachary Epps 2a418e06da changed the construction of the AccountHeader so that it listens for clicks on the current profile avatar and opens the user's account if they click on it 2017-04-07 04:14:25 -04:00
Zachary Epps de0f1b7ab0 added new option in preferences.xml
modified MainActivity so that the "compose new toot" button is exposed as a static (had to copy its reference into a new variable so as to not upset BindView)
modified TimelineFragment so that when the RecycleView is instantiated we overload the onScroll so that we can hide the FAB
2017-04-07 03:40:59 -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 5fd9b6732d Fixes a crash that can occur when entering or rotating within the profile page. Closes #43 2017-04-04 16:37:42 -04:00
Vavassor 1ebe514100 First minor release 2017-04-02 21:45:04 -04:00
Vavassor 53376da406 Adds the local timeline. 2017-03-30 22:31:17 -04:00
Vavassor 4b136ce458 Light theme properly separated again, making it ready for palette changes. 2017-03-26 22:59:16 -04:00
Vavassor b3e9b86b61 Remove array.xml and re-enable (partially working) light theme. 2017-03-21 20:40:00 -04:00
Vavassor 3229907fc6 Fixes a couple of crashes.
1.) When on the account page, if the request for user info beats the call that initialises the header image, it can touch a header image with illegal dimensions that get handed to Picasso and cause an exception.
2.) A crash due to a few retrofit responses not being handled properly.
2017-03-20 22:53:46 -04:00
Vavassor 3e21e59edc Relicense to LGPL3 2017-03-20 21:44:30 -04:00
Eugen Rochko 3a1181bd82 Enable/disable push notifications. Clearing notifications
resets the summary of the notifications
2017-03-15 23:45:59 +01:00
Vavassor f391538984 Merge branch 'Gargron-master' 2017-03-14 18:41:07 -04:00
Vavassor 5d68c6df8f Finished the tusky-api server. 2017-03-14 18:39:32 -04:00
Eugen Rochko 2e50c547ce Group push notifications
Clear notifications when opening MainActivity
Use lowest privacy setting when replying
2017-03-14 14:31:52 +01:00
Vavassor 39431d96f1 Fixes the onBackPressed crash in the MainActivity. Closes #18 2017-03-13 23:08:28 -04:00
Vavassor b937a7bc9e Fixed intermittent null pointer exceptions and disabled the light theme temporarily. This closes #21, closes #22, and closes #17. 2017-03-13 20:56:02 -04:00
Eugen Rochko f508e8bc34 Icons in main tabs, improved video activity a bit 2017-03-12 13:41:29 +01:00
Eugen Rochko 2bbd46e841 Push notifications 2017-03-12 08:31:20 +01:00
Vavassor db36ea79d3 The merge conflict is resolved. 2017-03-10 20:50:49 -05:00
Vavassor 95505dde02 New launcher icon added. 2017-03-10 20:28:33 -05:00
Eugen Rochko dbed424d6f Implement search
When displaying displayName, fallback to local username
2017-03-10 23:31:08 +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 3cb1b8e44b Vector icons in drawer were crashing on an older Android
Need to find a way to specify them as srcCompat instead of src, but that's not obvious since it's through the material drawer library...
2017-03-09 19:47:46 +01:00
Eugen Rochko 7fa01371d9 Add drawer to main activity 2017-03-09 19:31:15 +01:00
Eugen Rochko d09e9706b6 Replace remaining non-retrofit API calls
Only exception is the OAuth2-related calls
2017-03-09 16:59:18 +01:00
Eugen Rochko ce04c7ab2b Sliding animation for activity transitions 2017-03-07 13:05:51 +01:00
Eugen Rochko 9ec3fd47dc Back button to navigate tabs on main view 2017-03-07 11:02:41 +01:00
Eugen Rochko d299dd34ed Floating action button for toot compose 2017-03-07 01:38:22 +01:00
Vavassor 9e49da64bf Fixes two bugs:
-One where deletion causes statuses to lose track of where they are in timelines, so subsequent deletion and other actions are performed on the wrong status.
-It's was possible to infinitely open copies of the same thread, account page, and tag page by just continuously clicking on the status, avatar, or hash tag respectively.
2017-03-02 19:25:35 -05:00
Vavassor 9dceb7a226 TODO's have been erradicated. 2017-02-26 19:14:50 -05:00
Vavassor c1d4bdbdfb Volley request leaks across activity/fragment boundaries should no longer be able to occur.
Also, the singleton allows contexts to be cleaned up instead of holding onto a dead reference.
2017-02-23 19:32:45 -05:00
Vavassor 46fe328967 A bit of code cleanup, mostly getting rid of warnings. 2017-02-22 14:13:51 -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 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 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 b4a91112a3 Initial Alpha release! 2017-02-07 02:05:50 -05:00
Vavassor c937d30713 Fix: All statuses failed to load when status JSON was checked for boolean values, but received null and would throw a JSONException.
A change in the Mastodon server implementation seemed to be the cause. In the future, either default booleans to false or check for null first before getting them.
2017-02-05 23:13:48 -05:00
Vavassor e0ab25334b Added preferences for pull notifications! Also bits of cleanup. 2017-02-05 02:34:55 -05:00
Vavassor 3bd360a7ee Added margin between pages in tab layouts. (tiny change) 2017-02-02 19:18:41 -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