Commit Graph

92 Commits

Author SHA1 Message Date
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 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
PhotonQyv e27cd6a147 Sorting out extracts for shared URLs. 2017-09-01 14:02:09 +01:00
tom79 120ce335fd Fixes potential crashes 2017-08-29 16:48:28 +02:00
tom79 2887b2a5ca Code cleaning in activities 2017-08-26 10:57:08 +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 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
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 809a0fd9b5 Removed the comment & TODO. 2017-08-22 19:03:29 +01: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
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 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 64223f9015 Sort out multiple image sharing intent. 2017-08-21 18:09:45 +01: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 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 53175e187c Removes char limit 2017-08-18 16:54:43 +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 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 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
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 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 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
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