Commit Graph

632 Commits

Author SHA1 Message Date
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 af4466449f Changes mainactivity for catching click 2017-09-20 10:06:26 +02:00
tom79 e961ecbff7 Adds fragment for drafts and entry in menu 2017-09-20 10:04:40 +02:00
tom79 1a63539843 Updates translations 2017-09-20 07:36:09 +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 e56aaa2a67 Fixes translations 2017-09-17 16:52:27 +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 6a7f39b7a6 Adds text for follow request sent 2017-09-17 11:00:14 +02:00
tom79 b8ecebece2 Prepares buttons 2017-09-17 10:58:00 +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 2c9acba270 Fixes webview color 2017-09-16 17:01:51 +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
PhotonQyv 26cf7e636a Merged in PhotonQyv/mastodon_etalab/PhotonQyv-Baseline (pull request #115)
Added required interface that was missed out of the fdroid version of MainActivity.
2017-09-16 11:59:26 +00:00
tom79 ef6e4046b4 Adds "via" 2017-09-16 12:42:03 +02:00
PhotonQyv fc51b0efa4 Merge remote-tracking branch 'remotes/tom-repo/develop' into PhotonQyv-Baseline 2017-09-16 11:37:25 +01: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
PhotonQyv 80862aa4b5 Added required interface. 2017-09-15 19:27:36 +01: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
tom79 491d3f4285 Updates German localization. 2017-09-14 07:16:28 +02:00
PhotonQyv 793c77f2ab Updated to change icon when a toot has been pinned. 2017-09-13 21:02:55 +01:00
PhotonQyv c4c26742d4 Added a couple of yellow versions of the thumb tack. 2017-09-13 20:39:42 +01:00
PhotonQyv 4602ff2bc4 Missed one. 2017-09-13 20:09:22 +01:00
PhotonQyv c93e95587d Updated the thumb tack icon. Hopefully larger this time. 2017-09-13 20:05:12 +01:00
PhotonQyv 6d03e03481 Removed the extra options in the menu. 2017-09-13 18:46:09 +01:00
tom79 2a41e035f7 Fixes a crash due to class cast 2017-09-13 19:15:02 +02:00
tom79 8916803f47 Last fixes. 2017-09-13 19:09:35 +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
PhotonQyv c2da4f341e Added pin icon to drawer_status. 2017-09-12 23:54:30 +01:00
PhotonQyv d7fc79db72 Added pin icon. 2017-09-12 23:42:16 +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 48fead3b55 Fixes issue when adding an account 2017-09-11 19:04:40 +02: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 8d1b4a79de Fixes when temp toots are added + applies changes to safetynet release 2017-09-09 19:26:11 +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 38f44d0ff5 Some margins 2017-09-08 19:01:16 +02:00
tom79 b50f239cc8 Fixes flag position 2017-09-08 18:53:16 +02: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 c8a4b2c3ae Retrieves URL in shared content + apply changes in both MainActivity 2017-09-04 07:36:04 +02:00
PhotonQyv 6c5e50a5ca Updated code to work if URL is embedded within other text in sharedText. 2017-09-03 23:30:56 +01:00
PhotonQyv 08024e5cca Some apps don't send the URL as the first part of the EXTRA_TEXT,
and cause app to crash, the BBC News app being one such,
in this case find where the URL is and strip that out into sharedText.

TODO: ASSUMES that URL is at end of sharedText!
2017-09-03 20:29:21 +01: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 03d9be6cbf Merge branch 'develop' of https://bitbucket.org/tom79/mastodon_etalab into develop 2017-09-03 15:06:18 +02:00
tom79 22e10925fd Improves unread toots/notifications 2017-09-03 15:06:07 +02:00
PhotonQyv 3b09f953f2 Increased width of buttons so that Yandex's displays correctly with two lines of text rather then three. 2017-09-03 12:55:29 +01:00
tom79 f930023578 Fixes an issue when following devs 2017-09-03 12:49:10 +02:00
PhotonQyv 71f00c8a04 Altered the layout slightly to balance up the developer & contributor sections on larger screens. 2017-09-03 11:08:34 +01: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 587025748d Fixes German translation 2017-09-01 18:31:08 +02:00
tom79 82a0521eaf Fixes issue #11 2017-09-01 17:55:14 +02:00