Commit Graph

850 Commits

Author SHA1 Message Date
tom79 1909522b3d Adds streaming API for federated timeline 2017-09-26 19:19:53 +02:00
tom79 ccfd09f9ca Fixes issue with remaining space left for counter 2017-09-26 07:11:57 +02:00
tom79 e73006fa49 Fixes last bug with broadcastreceiver 2017-09-24 19:27:04 +02:00
tom79 9bc6e4795e Fixes when loading next toots. 2017-09-24 18:44:42 +02:00
tom79 56190e49df Improves menu more in header 2017-09-24 16:51:08 +02:00
tom79 45b6478b20 Makes the profile picture icon in toolbar clickable to open menu 2017-09-24 15:05:00 +02:00
tom79 dea2993005 Enable button when an error occurs to upload new media 2017-09-24 11:59:54 +02:00
tom79 567b6d826e Carriage return for replies 2017-09-24 10:02:56 +02:00
tom79 357614e209 Fixes counter issue for new notifications 2017-09-24 08:52:16 +02:00
tom79 fbb22ed576 Merge branch 'improves_ui' into streaming_api 2017-09-24 08:48:06 +02:00
tom79 e154860248 Fixes counter issue for new toots 2017-09-24 08:47:25 +02:00
tom79 5aeffb8ad7 Some fixes 2017-09-23 18:27:45 +02:00
tom79 dbd14c68f4 Remove menu item in drawer which are already in tabs 2017-09-23 14:26:51 +02:00
tom79 8b48c8600b Move contextual menu 2017-09-23 14:14:15 +02:00
tom79 3abe414d53 Changes some layouts in header 2017-09-23 12:08:52 +02:00
tom79 5a0e4c8131 Fixes Issue #17 - 24 hour clock in Scheduled Toots 2017-09-23 11:31:25 +02:00
tom79 40099dfba1 Removes temp notifications/status when switching to another account 2017-09-23 11:25:55 +02:00
tom79 fa637bb45d - 2017-09-23 08:41:13 +02:00
tom79 ed179d54e7 Allows to force translation button to be displayed 2017-09-23 08:16:32 +02:00
tom79 85b64fbcbd Merge branch 'streaming_api' into develop 2017-09-23 08:06:29 +02:00
tom79 c4892f985c Improves streaming service 2017-09-23 08:05:52 +02:00
tom79 026c5443a3 Merge branch 'streaming_api' into develop 2017-09-22 19:49:56 +02:00
tom79 58865f8a7a Improves streaming service 2017-09-22 19:49:25 +02:00
tom79 7ba6a04192 Fixes replies bug 2017-09-22 14:44:00 +02:00
tom79 5c06197b58 Adds some fixes with strreaming api 2017-09-22 07:22:38 +02:00
tom79 3ad5493c3c Fixes some troubles with streaming api 2017-09-21 07:21:04 +02:00
tom79 8b900ddf55 Merge branch 'develop' into streaming_api 2017-09-20 17:53:43 +02:00
tom79 5f4e5e77c5 Issue #15 2017-09-20 16:53:46 +02:00
tom79 4c3a7f9058 Fixes a bug with auto-correct & some keyboards 2017-09-20 16:32:32 +02:00
tom79 042622f1b4 Fixes a bug with auto-correct & some keyboards 2017-09-20 16:30:21 +02:00
tom79 71a53225db Avoids to add twice same info (status/notifications) when cached 2017-09-20 15:08:07 +02:00
tom79 385d1fce72 Adds a control on the id which sends broadcast to activity 2017-09-20 15:00:47 +02:00
tom79 153dc8f15f Removes draft from db when sent + some other improvements 2017-09-20 14:51:15 +02:00
tom79 e961ecbff7 Adds fragment for drafts and entry in menu 2017-09-20 10:04:40 +02:00
tom79 f77155c3cc Delays the action and adds new mechanism to remove screenshot for mentions in notifications 2017-09-19 19:36:41 +02:00
tom79 394c3e05c5 Delays the action 2017-09-19 19:21:58 +02:00
tom79 47b9e84d51 Merge branch 'develop' into mention_toots 2017-09-19 19:00:14 +02:00
tom79 41868ccab1 Fixes crashes notifications 2017-09-19 18:20:40 +02:00
tom79 ac77f1393a Fixes crashes 2017-09-19 18:19:46 +02:00
tom79 6faf3b5780 Screenshots managed with drawers 2017-09-18 20:32:36 +02:00
tom79 8ef7a2cfd1 Direct & private toots can't be mentionned 2017-09-17 18:55:02 +02:00
tom79 5aeb317eca Last improvements for 1.4.9-beta-2 2017-09-17 16:28:33 +02:00
tom79 3f8e804982 Some improvements with follow/unfollow 2017-09-17 15:44:32 +02:00
tom79 abd1dbb14f Merge branch 'develop' of https://bitbucket.org/tom79/mastodon_etalab into develop 2017-09-17 15:36:29 +02:00
tom79 4740ba8dba Improves streaming API 2017-09-17 15:34:41 +02:00
tom79 df9f229746 Some layout adjustments 2017-09-17 12:25:21 +02:00
tom79 288d737393 Implements async task 2017-09-17 11:50:00 +02:00
tom79 13e1a97829 Updates layouts and drawer actions 2017-09-17 11:28:50 +02:00
tom79 881254f761 Improves streaming API 2017-09-17 10:55:55 +02:00
tom79 1ffea48ad2 Improves mechanism of mentions when toots have images. 2017-09-16 20:02:30 +02:00
tom79 4e253be459 Removes useless icon 2017-09-16 17:02:11 +02:00
tom79 a133b8518a Adds watermark 2017-09-16 16:52:51 +02:00
tom79 84a2080f32 Fixes elements visibility 2017-09-16 15:16:16 +02:00
tom79 ef6e4046b4 Adds "via" 2017-09-16 12:42:03 +02:00
tom79 63de4970ee Extends to notifications 2017-09-16 12:25:57 +02:00
tom79 06707d89b4 Sends the mentioned toot as a picture 2017-09-16 12:20:06 +02:00
tom79 32bc0a5738 Prepares new code 2017-09-16 12:10:01 +02:00
tom79 d894c38473 Forces engine translators to find the targeted languages 2017-09-16 10:19:43 +02:00
tom79 dd1c80b6d8 Catches exception when can't handle pinned status 2017-09-16 10:16:05 +02:00
tom79 4860348967 Preview replies forced to fales for all 2017-09-16 09:58:11 +02:00
tom79 f2de55dd0c Updates notification push max_id 2017-09-16 09:56:26 +02:00
tom79 cea0531a05 Fixes an issue with status content and clicks with elements 2017-09-16 09:44:09 +02:00
tom79 8651ac3372 Automatically increments counters when adding to favourites or when boosting 2017-09-16 09:16:13 +02:00
tom79 8accb05b72 Adds some todo in case pinned toots from other accounts can be retrieved + improves icon changes 2017-09-16 08:53:37 +02:00
tom79 9b4d35fc1a Pinned icons fixes size + API retrieves pinned value 2017-09-16 08:42:27 +02:00
tom79 a84a478969 Pinned toots are only accessible from authenticated account, so I changed the way they are displayed in ShowAccountActivity 2017-09-15 19:51:41 +02:00
tom79 03c09c8465 Pinned status some fixes 2017-09-15 19:15:23 +02:00
PhotonQyv 973ecd4987 Cleaned code up, still not got pins changing colour correctly. 2017-09-15 02:00:26 +01:00
PhotonQyv 9626ec9977 Added code to display the pinned toots in the ShowAccountActivity. The counter works, even though the thumb tacks don't quite, due to my code in DisplayStatusFragment not being quite right. 2017-09-14 21:29:49 +01:00
PhotonQyv 9c77466915 Merge remote-tracking branch 'remotes/tom-repo/develop' into PinningToots 2017-09-14 19:54:32 +01:00
PhotonQyv 5af87d9c13 Added a comment regarding the async call to get the instance info. 2017-09-14 19:45:54 +01:00
PhotonQyv daa955e47a Added some comments.
I'm not happy that I'm making best use of the async callbacks for changing the icon. But it works, more or less.
2017-09-14 19:39:51 +01:00
tom79 daf1f150ec Fixes loading issue with replies 2017-09-14 19:07:30 +02:00
PhotonQyv 71184f98b5 Updated code to allow for instance version check. 2017-09-14 18:04:29 +01:00
tom79 afa97d8a97 Translation button is back (smaller) 2017-09-14 18:54:13 +02:00
tom79 67285b0876 Fixes jump listview when new content is available. 2017-09-14 18:45:20 +02:00
PhotonQyv 793c77f2ab Updated to change icon when a toot has been pinned. 2017-09-13 21:02:55 +01:00
tom79 2a41e035f7 Fixes a crash due to class cast 2017-09-13 19:15:02 +02:00
PhotonQyv 4f3b2f9e5a Wood For the Trees Issue. Missed a '/' out of the url for unpin! 2017-09-13 18:04:56 +01:00
tom79 19da8d42f1 Fixes an issue with counters 2017-09-13 18:59:55 +02:00
PhotonQyv 58661f54a4 Closer, but still can't get a pinned toot to unpin. 2017-09-13 15:55:15 +01:00
tom79 c6305baa7c Fixes some behaviors 2017-09-13 15:21:03 +02:00
PhotonQyv 50fb1a1515 Added code to place a thumb tack icon in any toot that user owns. So that it can be pinned. Tied in code to actually pin the toot. 2017-09-13 10:41:46 +01:00
tom79 c1fd4b1d59 updates counters 2017-09-13 08:47:59 +02:00
tom79 6ffce804e9 New toots are sent directly to activity 2017-09-13 08:38:08 +02:00
PhotonQyv b419d829dd Added a basic pinAction() method. That currently will attempt to pin a toot regardless of whether the toot is already pinned. 2017-09-13 00:26:33 +01:00
PhotonQyv 2d995c6e78 Slowly adding code to allow click on icon to pin or unpin a toot. 2017-09-13 00:21:51 +01:00
tom79 9b8c6635e7 Only connected account receives live events 2017-09-12 19:18:55 +02:00
tom79 0fc3214390 Removes useless methodes 2017-09-12 18:41:13 +02:00
tom79 236b76188a Service binder 2017-09-12 18:14:41 +02:00
PhotonQyv d0e9fce6ee Merge remote-tracking branch 'remotes/tom-repo/develop' into PinningToots 2017-09-12 16:33:38 +01:00
PhotonQyv 057a940a2e Added code so that user can pin a toot.
Can't currently unpin one, nor see existing pinned toots. (API calls are coded).
Work in Progress.
2017-09-12 16:29:43 +01:00
tom79 364b4ca738 Should fix the crash when onResume is called before data have been retrieved 2017-09-11 07:11:59 +02:00
tom79 5b6f6e928b Avoids to return a null value for notifications. 2017-09-11 07:04:01 +02:00
tom79 90564d9b2d Fixes potential crashes 2017-09-11 07:01:59 +02:00
tom79 1a42e4e09a Fixes count numbers for remote accounts 2017-09-10 17:17:49 +02:00
tom79 9fa8359cab Fixes potential crashes when retrieving the relationship 2017-09-10 15:54:06 +02:00
tom79 7e97064100 Fixes regex issue to catch spaces with Google translate. 2017-09-10 10:01:12 +02:00
tom79 3e569248a3 divides confirmations between boosts and favourites - default false for favourites 2017-09-10 09:48:05 +02:00
tom79 d71e205999 Set UPDATE event as default event to catch 2 stuck elements 2017-09-10 08:52:41 +02:00
tom79 cc060f913c Merged in improves_websocket_service (pull request #109)
Merges socket service
2017-09-09 17:14:33 +00:00
tom79 67b2e26c37 Improves sockets 2017-09-09 19:05:43 +02:00
tom79 f157a13709 One service per socket 2017-09-09 11:38:26 +02:00
PhotonQyv d3f870c708 Merge remote-tracking branch 'remotes/tom-repo/develop' into YandexTranslationFixes 2017-09-09 09:58:36 +01:00
PhotonQyv d4d68be59d Added some comments. 2017-09-09 09:55:52 +01:00
PhotonQyv 7f244824ea Added some comments. 2017-09-09 09:53:04 +01:00
PhotonQyv 618516df0c Added some extra replacements to the yandexTranslateToText() method. 2017-09-09 09:51:03 +01:00
tom79 9dedaa0f7a Flags new toots. 2017-09-08 18:30:49 +02:00
tom79 e55c982808 Moves the translation button. 2017-09-08 18:20:02 +02:00
PhotonQyv 5a33e32113 Merged in PhotonQyv/mastodon_etalab/YetAnother_GoogleTranslateFix (pull request #106)
YetAnother GoogleTranslateFix
2017-09-08 10:14:17 +00:00
PhotonQyv 1b3f6fe4b4 Added the other variant that might happen, though I've not come across it as yet. 2017-09-07 18:21:47 +01:00
PhotonQyv 35d879e7e2 Fixes an issue where Google Translate splits up the special tags that are used to replace URLs (leading to "__ u1__" in translated version), which means that the URL doesn't get put back in. 2017-09-07 18:03:54 +01:00
tom79 55cdb41780 Fixes a bug when coming from notifications and the toot is displayed twice. 2017-09-07 19:01:28 +02:00
tom79 1cc9df1de1 Uses a hack to avoid the use of a new library + keeps new emoji in csv file of course. 2017-09-06 18:53:58 +02:00
PhotonQyv 366f85d7ad Merged in PhotonQyv/mastodon_etalab/InterestingGoogleEmojis (pull request #105)
Fix a Google Translate issue
2017-09-06 16:09:00 +00:00
PhotonQyv a73a1b53e0 Fixed an issue with Google Translate not translating a particular toot, hopefully fixes other toots that were failing, though I've ony come across one, so far. 2017-09-06 16:53:56 +01:00
tom79 6fa229d808 Forces refresh when fragments get visible 2017-09-06 16:17:19 +02:00
tom79 67d565430d Removes cache clear in onResume 2017-09-06 15:26:58 +02:00
tom79 d26ebec568 Merge branch 'develop' of https://bitbucket.org/tom79/mastodon_etalab into develop 2017-09-06 07:48:53 +02:00
tom79 ad5fe3f87e Fixes issue with toots displayed twice 2017-09-06 07:48:44 +02:00
PhotonQyv affd83b18b Merged in PhotonQyv/mastodon_etalab/TranslationFix (pull request #104)
TranslationFix
2017-09-06 05:47:47 +00:00
PhotonQyv 3956ef680d Reformatted the line of code to make it easier to see. 2017-09-05 20:38:45 +01:00
PhotonQyv 241407887a Fixes an issue where a '/' on the end of a URL in a toot to be translated causes the __u?__ tag to remain after translation. 2017-09-05 20:37:11 +01:00
tom79 5a2bc65735 Fixes an issue with bubble counters 2017-09-05 19:29:28 +02:00
tom79 cd10fd7a76 Cancel notifications if new content has been read with the app 2017-09-05 19:12:54 +02:00
tom79 8c56dc0b2d Some improvements 2017-09-05 19:04:19 +02:00
tom79 7ef423abd8 Removes some useless methods 2017-09-04 19:01:41 +02:00
tom79 d85452908b Removes unnecessary job 2017-09-03 18:39:25 +02:00
tom79 83c9a6c22b Improves unread toots/notifications - 2 2017-09-03 18:13:13 +02:00
tom79 418c79e64a Improves unread toots/notifications - 2017-09-03 16:35:45 +02:00
tom79 22e10925fd Improves unread toots/notifications 2017-09-03 15:06:07 +02:00
tom79 f930023578 Fixes an issue when following devs 2017-09-03 12:49:10 +02:00
tom79 3f429b1a4b Accounts are clickable when not remote in about page 2017-09-03 10:44:28 +02:00
tom79 940ecc2436 About page 2017-09-03 10:36:27 +02:00
tom79 7ddd55ef91 Fixes an issue in async 2017-09-02 19:37:18 +02:00
tom79 e1ce215328 prepares async 2017-09-02 19:15:29 +02:00
tom79 daac10d407 Prepares methods and values 2017-09-02 18:43:36 +02:00
tom79 79765d3649 Preview replies set to false by default 2017-09-02 18:18:59 +02:00
tom79 68d9ff9ba7 Improves counters 2017-09-02 18:17:00 +02:00
tom79 25271e1a1e Merge branch 'develop' of https://bitbucket.org/tom79/mastodon_etalab into develop 2017-09-02 17:45:37 +02:00
PhotonQyv 4f3b6cdac4 Merged in PhotonQyv/mastodon_etalab/PhotonQyv-Baseline (pull request #100)
Removed a Toast that is no longer needed.
2017-09-02 15:45:25 +00:00
tom79 0f5f712c6a Improves webview behavior 2017-09-02 17:44:59 +02:00
PhotonQyv 19ba21b2ee Removed a Toast that is no longer needed. 2017-09-02 16:25:01 +01:00
tom79 0939039a98 Improves webview behavior 2017-09-02 16:52:16 +02:00
tom79 6c97bf876c Improves spacing in toots. 2017-09-02 16:33:30 +02:00
tom79 95d10b052d Avoids to store toots when no content was changed (ie: replies). 2017-09-02 11:24:49 +02:00
tom79 1387111684 grab an extract of an article with title and picture when sharing (issue #10) 2017-09-02 10:59:07 +02:00
tom79 831eed8799 Simplify the process to retrieve remote picture and content (Mastalab logic). 2017-09-02 10:13:40 +02:00
tom79 21a86957de Merge branch 'develop' of https://bitbucket.org/tom79/mastodon_etalab into develop
# Conflicts:
#	app/src/main/java/fr/gouv/etalab/mastodon/activities/TootActivity.java
2017-09-01 19:58:41 +02:00
tom79 de6f245dcd image upload when sharing - 1 2017-09-01 19:14:42 +02:00
PhotonQyv 86ea3d96ff Merged in PhotonQyv/mastodon_etalab/URL_Extract (pull request #99)
URL Extract
2017-09-01 17:14:13 +00:00
PhotonQyv ef23418bb3 Sorting out extracts for shared URLs. Almost got it working, just one little step to work out. 2017-09-01 18:11:30 +01:00
tom79 7d3772a922 Allows to hide tabs. 2017-09-01 17:17:22 +02:00
tom79 7ec14069fd Improves streaming API + fixes an issue with blank text at the end of toots 2017-09-01 16:28:40 +02:00
PhotonQyv e27cd6a147 Sorting out extracts for shared URLs. 2017-09-01 14:02:09 +01:00
tom79 a82db61579 Restarts when connection was broken 2017-08-30 15:24:18 +02:00
tom79 afae6fff40 last improvements 2017-08-30 10:01:34 +02:00
tom79 8e4f47b464 removes asynctask from service to avoid indeterminate loading screen when app starts 2017-08-30 08:59:15 +02:00
PhotonQyv 0d6c60844c Sorted out a basic colour choice for Notifications, when you have Silent turned on. NB. I can't test it as my phone only has red as a colour. 2017-08-29 20:10:41 +01:00
tom79 0c09a86800 Some improvements 2017-08-29 20:46:48 +02:00
tom79 120ce335fd Fixes potential crashes 2017-08-29 16:48:28 +02:00
tom79 71d533dadf Removes notifications coming from one of the accounts set in the app. 2017-08-29 16:36:40 +02:00
tom79 e27b3dad58 Security if websockets failed 2017-08-29 16:22:57 +02:00
tom79 87379854ff Merged in ActivityAbout_Tweak (pull request #97)
ActivityAbout Tweak
2017-08-29 14:02:52 +00:00
tom79 477c60c7aa new code 2017-08-29 15:57:51 +02:00
PhotonQyv 0b60beb415 Removed some unneeded imports. 2017-08-29 08:54:14 +01:00
tom79 177e3b9953 Fixes a potential null value 2017-08-29 09:12:32 +02:00
tom79 a32d631ba8 Fixes potential crashes 2017-08-29 08:55:03 +02:00
tom79 a1b2db241b Fixes a bad behavior 2017-08-29 08:32:09 +02:00
tom79 cc3e327fc1 fixes last issues 2017-08-29 07:30:25 +02:00
PhotonQyv de037d1abe Merged in PhotonQyv/mastodon_etalab/TranslationFix (pull request #93)
TranslationFix
2017-08-28 17:27:41 +00:00
tom79 03ba9a2b88 Applies changes for fdroid product flavour 2017-08-28 19:25:19 +02:00
tom79 e3b031940d Last changes 2017-08-28 19:12:40 +02:00
tom79 3a366526b0 catch notifications 2017-08-28 19:04:13 +02:00
tom79 e11a19b86e Programs main jobs - removes useless ones. 2017-08-28 15:35:26 +02:00
tom79 182a391b72 Prepares jobs for streaming 2017-08-28 15:33:05 +02:00
tom79 d222ab3ff2 Changes methods in fragment and mainactivity 2017-08-28 15:30:15 +02:00
tom79 d43feffca8 Implements broadcasts 2017-08-28 15:01:45 +02:00
tom79 325d51187b New design api and events handler 2017-08-28 13:53:07 +02:00
PhotonQyv 56fde141be Corrected spacing. 2017-08-28 11:17:20 +01:00
PhotonQyv f043098e2a When a toot is translated the service used is displayed, also if using Google the 'Powered by...' TextView is clickable and directs you to "https://translate.google.com/", the same way as when using Yandex. 2017-08-28 11:12:41 +01:00
tom79 18ee3cd762 Adds edition in showaccount activity + removes useless class + layout 2017-08-28 09:36:17 +02:00
tom79 b5da37d103 Creates activity and event click 2017-08-28 09:20:19 +02:00
PhotonQyv 45f1922750 Merged in PhotonQyv/mastodon_etalab/FixedNotification (pull request #91)
Fixed Notifications
2017-08-28 06:34:28 +00:00
PhotonQyv 39c9c4c188 Fixed Notifications. I messed up when I changed the code. Mastodon Boop now sounds again, and vibration works for silent notifications. 2017-08-27 22:32:29 +01:00
PhotonQyv 5db0b93f7f Video playback now loops for both video previously downloaded (and stored in cache), and video downloaded for the first time. 2017-08-27 21:46:14 +01:00
tom79 3c00646541 Fixes a FP with bubble counters when scrolling down notifications/home timeline 2017-08-27 17:17:52 +02:00
tom79 86b2872f80 Adds some icons in titles 2017-08-27 17:10:04 +02:00
tom79 4687a0d4d8 Prepares colors 2017-08-27 16:36:18 +02:00
tom79 f28b26b18e Fixes pp in top bar for api < 21 2017-08-26 19:44:39 +02:00
tom79 fcf7ce6f31 special behavior for API < 21 2017-08-26 19:39:11 +02:00
tom79 d88b4323dc Separated classes for productFlavors 2017-08-26 17:53:13 +02:00
tom79 88b902d6d4 fixes the toot visibility issue back due to bad merge... 2017-08-26 16:57:44 +02:00
tom79 e7b9553b83 Fixes color issue with tab icons? Removes some errors 2017-08-26 16:39:59 +02:00
tom79 4836327b29 Fixes color issue with tab icons? 2017-08-26 16:38:10 +02:00
PhotonQyv 40cb287ea9 Merged in PhotonQyv/mastodon_etalab/Notification_Light (pull request #85)
Cleaned up code so that Defaults are set up correctly in notifyUser() method.
2017-08-26 14:34:52 +00:00
tom79 3363c8135b back before merge 2017-08-26 16:27:14 +02:00
PhotonQyv 5d9ec01224 Cleaned up code so that Defaults are set up correctly in notifyUser() method. 2017-08-26 15:11:41 +01:00
tom79 2eb00cc53a Fixes last bug with bubble counters 2017-08-26 15:51:03 +02:00
tom79 477607cf9a Fixes last bug with bubble counters 2017-08-26 15:50:10 +02:00
tom79 fac7350c25 Enable light notification for both modes 2017-08-26 11:35:39 +02:00
tom79 0b1e768223 Code cleaning 2017-08-26 11:04:48 +02:00
tom79 2887b2a5ca Code cleaning in activities 2017-08-26 10:57:08 +02:00
tom79 9c7eec1792 Fixes flag value after getting non null pager id 2017-08-26 10:04:09 +02:00
tom79 0de54269fa Merge remote-tracking branch 'origin/develop' into develop 2017-08-26 10:01:09 +02:00
tom79 3ad9a81e99 Fixes an issue with notifications 2017-08-26 10:00:53 +02:00
PhotonQyv fc56e216ed Merged in PhotonQyv/mastodon_etalab/Notification_Light (pull request #84)
Slowed the notification light down.
2017-08-26 08:00:16 +00:00
PhotonQyv 304c9913e4 Slowed the notification light down. 2017-08-26 08:44:26 +01:00
PhotonQyv 401a6d2b29 Merge remote-tracking branch 'remotes/tom-repo/develop' into MastodonBoop 2017-08-25 20:28:44 +01:00
PhotonQyv ae6e109bdf Merge remote-tracking branch 'remotes/tom-repo/develop' into MastodonBoop
# Conflicts:
#	app/src/main/java/fr/gouv/etalab/mastodon/helper/Helper.java
2017-08-25 20:28:17 +01:00
PhotonQyv 93dc95bb75 Added notification light, that may or may not be blue (on my phone it's red). 2017-08-25 19:54:42 +01:00
tom79 e42812ea5b Some changes with delay + 2 new german localizations (need to be updated) 2017-08-25 18:16:30 +02:00
tom79 1099718cfa Adds Google Translate 2017-08-25 16:42:45 +02:00
tom79 498a96f468 Displays translation button only when enabled. 2017-08-25 16:19:56 +02:00
tom79 d192777f38 Prepares drawers 2017-08-25 16:08:40 +02:00
tom79 1c1ab6a4e6 Prepares layouts + preferences 2017-08-25 15:53:04 +02:00
tom79 529a6d79f0 Merged in BadgeView (pull request #80)
BadgeView
2017-08-25 13:31:31 +00:00
tom79 69b6ec73f0 Fixes last issues 2017-08-25 15:30:35 +02:00
tom79 f89692411c Adds the management of counters into settings 2017-08-25 14:30:55 +02:00
tom79 24e21c0210 Prepares for settings + fixes a bug 2017-08-25 12:53:08 +02:00
tom79 ec760849ed Fixes some issues + 2 2017-08-25 12:45:42 +02:00
tom79 1289379582 Fixes some issues 2017-08-25 10:25:13 +02:00
tom79 7cd7b0e2e5 Layout improvements for tablets 2017-08-24 19:28:03 +02:00
tom79 166b472727 Improves tab layout + fixes an issue with two local/public timelines 2017-08-24 18:55:44 +02:00
tom79 c3bd364543 Some layout improvements 2017-08-24 18:05:57 +02:00
tom79 f8ad45bc9c Fixes some issues 2017-08-24 17:35:39 +02:00
tom79 34701d2dbb Some other implementations... 2017-08-24 15:57:35 +02:00
PhotonQyv 0839936721 Also now removes the correct text_url from a toot if its attachment is removed. 2017-08-24 14:55:18 +01:00
PhotonQyv 6d87ab0c75 Changed the code so that the shorter text_url of an attachment is added to the toot, to save a few characters, to give user a few more to use for their message. 2017-08-24 14:51:18 +01:00
tom79 f21881f697 Retrieves count of unread toots/notifications 2017-08-24 15:22:04 +02:00
tom79 48cf5732c0 Prepares method 2017-08-24 13:03:22 +02:00
tom79 384ca96a40 Prepares the layout 2017-08-24 11:56:29 +02:00
PhotonQyv b13e3b71fe Merge branch 'TargetApi' into ShowAccountActivity_ScrollToTop 2017-08-23 16:50:22 +01:00
PhotonQyv ca58e8912b Removed unneeded import. 2017-08-23 16:48:56 +01:00
PhotonQyv 45a872c9df Added scrollToTop() capability to the ShowAccountActivity's tabLayout. 2017-08-23 16:44:24 +01:00
tom79 9f2ff50923 Fixes a button color issue in light mode 2017-08-23 15:04:47 +02:00
PhotonQyv d259434999 Merge branch 'master' into TargetApi. 2017-08-23 11:12:57 +01:00
PhotonQyv 91cd17025d Merge branch 'master' into MastodonBoop 2017-08-23 11:06:42 +01:00
tom79 1ba2bc31cb Improves the layout for tablets 2017-08-23 11:05:11 +02:00
tom79 8a9f52a77a Merged in smooth_hide_header (pull request #75)
Smooth hide header
2017-08-23 08:41:09 +00:00
tom79 d0a520cacf As the code was moved where it is needed, it would be useless to explain why this permission is needed 2017-08-23 10:27:21 +02:00
tom79 e90b33e188 Put the permission request when clicking to the button to choose a picture. 2017-08-23 10:17:01 +02:00
tom79 33d8df5835 Changes the behavior for show accounts 2017-08-23 09:56:42 +02:00
PhotonQyv 2e3839cbe0 Merged in PhotonQyv/mastodon_etalab/ImageIntent_Limited (pull request #74)
ImageIntent Limited
2017-08-23 05:55:34 +00:00
PhotonQyv be4cd3a2c4 Updated the code so that only a maximum of four (4) shared images are attached to a toot, the rest are quietly discarded. 2017-08-23 00:09:49 +01:00
PhotonQyv 4414ab28cc Merges tom-repo/develop changes. 2017-08-22 23:26:59 +01:00
PhotonQyv 43759cab28 I was using the wrong permission in the shouldShowRequestPermissionRationale() method call. 2017-08-22 21:02:35 +01:00
PhotonQyv b9a84d603d Updated to add a few comments and remove the Toasts. 2017-08-22 20:54:28 +01:00
PhotonQyv 49dfacf331 Working on Permissions. 2017-08-22 19:38:25 +01:00
PhotonQyv 809a0fd9b5 Removed the comment & TODO. 2017-08-22 19:03:29 +01:00
tom79 763ca5a831 Fixes some small issues with remote follows 2017-08-22 18:29:38 +02:00
tom79 6d98f0131e Merged in remote_follow (pull request #71)
Remote follow
2017-08-22 16:25:28 +00:00
tom79 9f2400e3be Fixes an issue with the API for remote follows 2017-08-22 18:24:41 +02:00
tom79 a45cc626c2 Adds remote follow & some improvements 2017-08-22 18:15:08 +02:00
tom79 6f463ec872 Finds accounts through web page 2017-08-22 17:34:26 +02:00
tom79 19e0460091 First release to search remote accounts for follows 2017-08-22 15:05:39 +02:00
tom79 cc8a2870d6 Small fix when sharing several images. 2017-08-22 11:59:25 +02:00
PhotonQyv 26afe43604 Merge Tom's develop changes. 2017-08-22 10:32:58 +01:00
PhotonQyv 1cd1d919e0 All toasts that I added are gone. Working fine for ACTION_SEND, fails miserably with ACTION_SEND_MULTIPLE.
Can't work out why! Help!
2017-08-22 10:31:58 +01:00
tom79 d8d4dfc265 Fixes potential crashes when the menu is not inflated 2017-08-22 10:32:50 +02:00
tom79 a12c79755d Merge accounts from the same instance in menu 2017-08-22 09:30:37 +02:00
tom79 123f45fca9 Fixes a small issue with account picker menu 2017-08-22 09:09:31 +02:00
PhotonQyv 8d43faf416 Merged in PhotonQyv/mastodon_etalab/ImageIntent (pull request #69)
ImageIndent: Removed an extra/repeat import statement.
2017-08-22 07:03:24 +00:00
tom79 7c057156f7 Improves account picker menu 2017-08-22 09:02:40 +02:00
tom79 4b1ec378d5 Fixes visibility of the replies in dm for locked accounts 2017-08-22 08:42:45 +02:00
PhotonQyv 19d3459b7c Re-written code in preparation for sorting out using ArrayLists correctly.
Need to remember to lose all the Toasts when I get the damn thing working properly.
2017-08-21 23:10:05 +01:00
PhotonQyv 5c67d8b3fc Updated. 2017-08-21 18:44:14 +01:00
PhotonQyv 2ffcd50706 Merge...
# Conflicts:
#	app/src/main/java/fr/gouv/etalab/mastodon/activities/TootActivity.java
2017-08-21 18:39:23 +01:00
PhotonQyv ac3be96bf3 Resolved a conflict between this branch and the current tom-repo/develop one. 2017-08-21 18:33:28 +01:00
PhotonQyv ff6923a203 Removed some extra brackets that got put in when I was playing with the logic. 2017-08-21 18:13:09 +01:00
PhotonQyv 64223f9015 Sort out multiple image sharing intent. 2017-08-21 18:09:45 +01:00
tom79 1d17f808a9 Adds a fix to avoid to translate URLs and TAGs 2017-08-21 19:06:26 +02:00
PhotonQyv be47c3cead First pass at allowing user to share images from other apps to Mastalab. Currently only allows for single images. 2017-08-21 16:55:54 +01:00
tom79 907235878b Avoids to translate URLs and TAGs 2017-08-21 17:32:09 +02:00
tom79 874f482f02 Fixes some text color issues in light mode. Fixes an issue with icon colors when going back from settings in light mode. 2017-08-21 09:02:01 +02:00
tom79 3373c84211 References to fragments are done with menu items. Generalizes the process for scrolling to top (fav/block/mute) for all layouts. 2017-08-20 18:46:32 +02:00
tom79 7369faa5d8 Simplify the process for titles (move code to change titles before returns) 2017-08-20 18:36:42 +02:00
PhotonQyv 1620b51da1 Added a fix for the toolbarTitle TextView not having the correct text if user selects Favourites from the menu and then selects one of the timelines from the menu. 2017-08-20 16:03:46 +01:00
PhotonQyv f5786bd4d6 Added code to allow user to return to top of Favourites/Blocked users/Muted users lists. 2017-08-20 15:53:41 +01:00
tom79 fd6fe5bf9e Adds the possibility to remove profile pictures for replies 2017-08-20 12:11:58 +02:00
PhotonQyv fe024fa833 Merged in PhotonQyv/mastodon_etalab/ClickToTop (pull request #65)
ClickToTop: User can click on toolbarTitle to return to top of Timelines & Notifications.
2017-08-20 05:53:26 +00:00
PhotonQyv e4e93469b4 Removed an extra carriage-return that isn't required. 2017-08-19 23:48:11 +01:00
PhotonQyv eb037a19e4 Spotted the wood, finally. Stopped fixating on tabLayout, and got what I needed from sharedpreferences instead. 2017-08-19 23:40:07 +01:00
PhotonQyv bbabc21abd Can't get code to do what I want, so here it is. I'll look again tomorrow. 2017-08-19 21:02:16 +01:00
PhotonQyv e59a7dc4e5 Decided to turn on check, so the new code only works if the tabLayout is not visible. 2017-08-19 19:28:25 +01:00
PhotonQyv 2dd0a6f34d Added code to scroll to the top of Status & Notification fragments on click of the toolbarTitle.
Commented out code would make this code only work if the TabLayout was GONE.
2017-08-19 19:25:21 +01:00
tom79 3501ac89f0 Force the flag to false when errors 2017-08-19 19:10:43 +02:00
tom79 5aeb018eb8 Fixes an issue with the flag which blocks to load more toots in home timeline 2017-08-19 19:02:42 +02:00
PhotonQyv 346ef1a954 Updated to @RequiresApi() notation in Helper.java and added it to ShowAccountActivity.java 2017-08-19 11:37:49 +01:00
PhotonQyv 811199ce5b Added TargetApi() annotation to onLoadingComplete() method to fix a warning. 2017-08-19 11:05:19 +01:00
PhotonQyv b0917941b9 Made Mastodon Boop the notification sound. 2017-08-19 10:21:53 +01:00
tom79 d4dbba3d3f Fixes issue with asynchronous call for replies. 2017-08-19 08:28:04 +02:00
tom79 25d50320f6 Some other minor changes 2017-08-18 19:22:04 +02:00
tom79 19017d3cf6 Fixes some color issues with about page 2017-08-18 18:29:43 +02:00
tom79 40f35369ca Improves replies mechanism with an asynchronous call once toots are loaded. 2017-08-18 17:50:54 +02:00
tom79 53175e187c Removes char limit 2017-08-18 16:54:43 +02:00
tom79 f323857ef3 Fixes text color for buttons with light theme in toots. 2017-08-18 09:33:54 +02:00
tom79 1051ea5a00 Increases zoom for buttons and text 2017-08-18 09:11:38 +02:00
tom79 438a0a3bbf Fixes the toot button visibility 2017-08-17 21:24:18 +02:00
tom79 ecfe1c2969 Adds Thanks to contributor ;) 2017-08-17 19:33:23 +02:00
tom79 7d5f43ede8 Improves notifications with more option feature 2017-08-17 19:14:16 +02:00
tom79 501f889bb2 Go back to top when same tab is pressed 2017-08-17 15:48:36 +02:00
tom79 82d9deff6c Improves previews with missing.png 2017-08-17 10:24:54 +02:00
tom79 ea3dc4947f Fix a crash 2017-08-16 21:02:58 +02:00
tom79 417cc6bdf7 Preview replies can be managed in settings 2017-08-16 19:10:49 +02:00
tom79 19d4faf30a Improves how replies are retrieved. 2017-08-16 19:01:53 +02:00
tom79 29758798fd Displays accounts that have replied 2017-08-16 18:08:16 +02:00
tom79 21b567f285 prepares layout to display replies 2017-08-16 17:16:57 +02:00
tom79 1de0e3568e Adds profile picture in conversations 2017-08-16 15:25:42 +02:00
tom79 a6f2bc38d1 Changes tab position for notifications 2017-08-16 10:40:54 +02:00
tom79 2b65bff6c3 Fixes click on bio when a link does not start with http or https 2017-08-16 10:32:10 +02:00
tom79 7b39a11eeb Adds a fix with the menu when switching between a locked & unlocked accounts 2017-08-15 18:54:34 +02:00
PhotonQyv 7552088588 Merged in PhotonQyv/mastodon_etalab/develop (pull request #58)
Removed extra unneeded duplicate comment.
2017-08-15 16:24:51 +00:00
tom79 551d39544d Fixes a fail in conflict resolve... 2017-08-15 18:23:15 +02:00
PhotonQyv 8c254a45dc Merge upstream changes. 2017-08-15 17:18:56 +01:00
tom79 3c25813aa7 merges ui_improvements 2017-08-15 18:14:28 +02:00
tom79 45ac4fb949 Fixes alert dialog issue 2017-08-15 18:07:23 +02:00
PhotonQyv cba4ee79ea Removed extra unneeded duplicate comment. 2017-08-15 17:06:35 +01:00
tom79 69d248bc7e Allows changes for icons & text size in notifications 2017-08-15 12:21:02 +02:00
tom79 6f8a1ab819 Adds changes in toots 2017-08-15 12:12:51 +02:00
tom79 62f9379a2f Layout changes + programmatically set zoom values for text & icons 2017-08-15 11:45:33 +02:00
tom79 838e4c9791 Add links in toots for media as an option in settings 2017-08-15 09:02:46 +02:00
tom79 e10364fd5f Merged in ui_improvements (pull request #55)
Ui improvements
2017-08-14 19:32:02 +00:00
tom79 2f321c2f17 Adds URL when a media is added 2017-08-14 19:07:07 +02:00
tom79 914bdfefa4 Improves behavior when hidden/showing header for an account 2017-08-14 16:06:34 +02:00
tom79 059f647d8b Improvements with background image and text color for light theme. 2017-08-14 15:57:53 +02:00
tom79 3583cacb26 Adds header banner for accounts & adds some other improvements with accounts 2017-08-14 08:53:48 +02:00
tom79 de12262501 Adds image banner in header when available 2017-08-13 19:34:07 +02:00
tom79 119cd75645 Changes some sizes and colors 2017-08-13 18:31:44 +02:00
tom79 c07735c988 Improves light theme 2017-08-13 15:19:01 +02:00
tom79 1b725fa516 Continues layout changes 2017-08-13 11:30:28 +02:00
tom79 42e0ac12c7 Improves new Dark mode (Mastodon color scheme) 2017-08-12 18:41:35 +02:00
tom79 0a51eb416a Improves method to switch between layouts 2017-08-12 13:48:06 +02:00
tom79 979334e44d Adds a method to switch between layout 2017-08-12 09:53:07 +02:00
tom79 64cc993faa Prepares method to switch between layout 2017-08-12 09:26:38 +02:00
tom79 d8fe52df11 Prepares variables for switching between layouts 2017-08-12 08:49:45 +02:00
PhotonQyv dcf5035976 Did something stupid, forgot the pattern I was searching for was a regex. Fixed now, correctly escaped the pattern so it only removes "<space><dot><space>", rather than any single character surrounded by spaces, such as " a ", or " I ", etc.
Also fixed other issue, where if you replied to yourself you got a <space><dot><space> added to the toot that wasn't required.
2017-08-11 19:14:41 +01:00
PhotonQyv 7592f83b9a Put the replace back in, only this time used replaceFirst() as I should have done in the first place. So now the toot posted is cleaner, without the spurious " . ". 2017-08-10 21:45:11 +01:00
PhotonQyv 0b1fcd16c0 Removed the stripping out bit, as it's not quite real-world ready. 2017-08-10 19:12:09 +01:00
PhotonQyv 95f48842a8 Merged with tom-repo/develop and simplified Kludge to just add a ' . ', and then strip it before positing to Mastodon. To fix capitalisation issue. 2017-08-10 18:57:14 +01:00
tom79 b74c3c99e9 Some other improvements for autocomplete 2017-08-10 17:43:51 +02:00
tom79 599ed6b042 Improves behavior with search when backspace is pressed 2017-08-10 16:26:41 +02:00
tom79 b7eac514aa Fixes an issue when replying to a boost 2017-08-10 14:51:13 +02:00
tom79 0135338d47 Adds a dot the end of mentioned accounts to capitalize + Avoids duplication with mentioned accounts 2017-08-10 14:38:57 +02:00
tom79 58ebb4877f Fixes an issue with the text which is fully clickable (underline) when a screen name is mentioned twice (or more) 2017-08-10 14:11:20 +02:00
tom79 33a09db9de Fixes issue when first character starts with @ 2017-08-10 09:54:43 +02:00
tom79 7738b22760 Avoids to reopen suggestion when backspace pressed. 2017-08-10 09:36:48 +02:00
tom79 e7e5d165b4 Improves autocomplete 2017-08-10 09:03:42 +02:00
PhotonQyv ac30083af7 Crap way to get the first sentence of a toot capitalised if its a reply to someone and therefore has mentions at beginning. 2017-08-09 23:45:10 +01:00
tom79 08aed22ec8 Improvement of the autocomplete - 1 2017-08-09 18:27:03 +02:00
tom79 dd9bcee721 Quick fix for autocomplete bug + typo in string-fr 2017-08-09 07:55:46 +02:00
PhotonQyv bb94fe4dd7 Localised the units used in the cache dialog and toast. 2017-08-08 22:01:59 +01:00
tom79 1666c7ba13 Adds some translations 2017-08-08 18:48:33 +02:00
tom79 a2607eec60 Adds some codes to display the alert dialog 2017-08-08 18:43:59 +02:00
tom79 9caedd55bf New layouts for replies 2017-08-08 18:24:18 +02:00
tom79 c4b23551fb Cleans some code to prepare changes 2017-08-08 18:15:37 +02:00
tom79 861105c90d Fixes a bug with versions >= N and carriage returns 2017-08-08 18:02:06 +02:00
tom79 c1a66c0357 Fixes the bug with some devices and icon colors in tabs. 2017-08-08 15:33:02 +02:00
tom79 8cd617349a Fixes issue with copy/paste context menu. Tries a fix for icon colors in tabs. 2017-08-08 12:36:39 +02:00
tom79 cd59ff0aa6 Fixes some parasitic behaviors with notifications 2017-08-07 15:32:21 +02:00
tom79 218a874830 Adds history go back for webview activity when back key is pressed 2017-08-07 12:18:06 +02:00
tom79 4b7cfa07f2 Allows to manage the default visibility of the toots for non locked accounts. Cf: https://bitbucket.org/tom79/mastodon_etalab/issues/5/set-default-level-of-publishing 2017-08-07 10:20:44 +02:00
tom79 0b122e3c6c Adds translation + fixes default value to 5 for NSFW 2017-08-07 07:49:00 +02:00
PhotonQyv e9a6cc2648 Merged in PhotonQyv/mastodon_etalab/PreferentialTreatment (pull request #44)
First pass at user-configurable NSFW Timeout.
2017-08-07 05:35:38 +00:00
PhotonQyv d3f79b94fe First pass at user-configurable NSFW Timeout. 2017-08-07 00:53:33 +01:00
PhotonQyv ab33000fc8 Merged in PhotonQyv/mastodon_etalab/NSFW_TimeoutOnly (pull request #41)
NSFW TimeoutOnly
2017-08-06 16:51:58 +00:00
PhotonQyv b067c6b005 Merged in PhotonQyv/mastodon_etalab/LargeTabletChanges-AllinOne (pull request #42)
LargeTabletChanges AllinOne
2017-08-06 16:45:16 +00:00
PhotonQyv a648a26894 Updated to upstream Develop changes. 2017-08-06 17:02:14 +01:00
PhotonQyv 62d63f49ea Updated to upstream Develop changes. 2017-08-06 16:58:55 +01:00
tom79 ab8a339ebf Fixes the loader issue in drafts 2017-08-06 17:03:15 +02:00
tom79 2303a8e836 Increase timeout when posting media + adds search by name with instances.social api 2017-08-06 16:09:19 +02:00
PhotonQyv 6bcec5d459 Added a CountdownTimer for NSFW images, so they reveal for 5 seconds, on click. 2017-08-05 18:01:24 +01:00
tom79 a102306706 Adds the possibility to share toots with other apps 2017-08-04 16:13:28 +02:00
tom79 77866c7136 Adds images in notifications 2017-08-04 14:38:18 +02:00
tom79 e0a54db6d2 Fixes headers + changes API name 2017-08-04 11:11:27 +02:00
tom79 4b95cb56fc Prepares release 1.4.2 2017-08-04 10:39:47 +02:00
tom79 72e686b2e5 Adds theKinrar's API for the search of instances 2017-08-04 10:12:02 +02:00
tom79 8df1890b73 Adds feature to display toots only with media for accounts 2017-08-03 14:38:47 +02:00
tom79 e472f7443f Improves user search feature 2017-08-02 17:44:36 +02:00
tom79 941b877f70 Improves user search feature 2017-08-02 12:17:43 +02:00
tom79 37cffea2e0 Improves account activity 2017-08-01 17:09:08 +02:00
tom79 182087e582 Warns about notifications 2017-08-01 15:44:26 +02:00
tom79 2b36a78324 Prepares release 1.4.0 2017-08-01 10:33:50 +02:00
tom79 c8809769dd Fixes some issues with home timeline & boosted/favourited toots 2017-08-01 09:11:27 +02:00
tom79 01beff4c85 Improves layout for accounts - 2 2017-07-31 20:18:14 +02:00
tom79 8aac521e0c Improves layout for accounts 2017-07-31 19:29:14 +02:00
tom79 8a1be63a4e - Fixes an issue with clickable elements in toots
- Conversation opening no longer limited to clicks on toot content (whole element)
2017-07-31 15:17:19 +02:00
tom79 014d8e6cef Quick fixes - Prepares release 1.3.9.1 2017-07-30 15:38:25 +02:00
tom79 79fa8efcfc Allows to remove notifications 2017-07-30 11:21:55 +02:00
tom79 c49ce6a561 Fixes some issues with Imageloader not initialized 2017-07-29 13:28:50 +02:00
tom79 07ec513e1a Fixes an issue with instance names and special characters 2017-07-29 13:09:09 +02:00
tom79 d7387d903f Fixes an issue when no authorisation code has been retrieved 2017-07-29 09:23:46 +02:00
tom79 aa822f28c3 Improves links & tags management in notifications 2017-07-28 20:14:14 +02:00
tom79 07520a968e Fixes an issue with emoji in bio + prepares release 1.3.8 2017-07-27 19:23:53 +02:00
tom79 706f4673c0 Improves the behavior with the remaining characters when writing toots. 2017-07-26 19:59:08 +02:00
tom79 df74faacf8 Fixes issue with menu selection 2017-07-26 18:31:26 +02:00
tom79 c608f0bdf0 Fixes menu selection issue 2017-07-26 09:21:47 +02:00
tom79 8c3c30215d Fixes a bug with the double opening when clicking on a mentioned account. 2017-07-25 15:34:45 +02:00
tom79 0a56c6496e - Improves hashtag detection in toots
- Clickable elements (hashtag + urls) in biography
2017-07-24 10:50:40 +02:00
tom79 d3e43f1902 Fixes a bug with closing parenthesis and links 2017-07-24 07:13:41 +02:00