Commit Graph

257 Commits

Author SHA1 Message Date
tom79 5a0e4c8131 Fixes Issue #17 - 24 hour clock in Scheduled Toots 2017-09-23 11:31:25 +02:00
tom79 7ba6a04192 Fixes replies bug 2017-09-22 14:44:00 +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 153dc8f15f Removes draft from db when sent + some other improvements 2017-09-20 14:51:15 +02:00
tom79 1ffea48ad2 Improves mechanism of mentions when toots have images. 2017-09-16 20:02:30 +02:00
tom79 ef6e4046b4 Adds "via" 2017-09-16 12:42:03 +02:00
tom79 06707d89b4 Sends the mentioned toot as a picture 2017-09-16 12:20:06 +02:00
PhotonQyv 19ba21b2ee Removed a Toast that is no longer needed. 2017-09-02 16:25:01 +01: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 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
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 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
PhotonQyv b067c6b005 Merged in PhotonQyv/mastodon_etalab/LargeTabletChanges-AllinOne (pull request #42)
LargeTabletChanges AllinOne
2017-08-06 16:45:16 +00: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 e0a54db6d2 Fixes headers + changes API name 2017-08-04 11:11:27 +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 aa822f28c3 Improves links & tags management in notifications 2017-07-28 20:14:14 +02:00
tom79 706f4673c0 Improves the behavior with the remaining characters when writing toots. 2017-07-26 19:59:08 +02:00
tom79 920cbd6afa Improves layout when writing toots (scroll) + allows to open url with an external app when using the built-in browser (via top bar icon) 2017-07-23 09:45:08 +02:00
tom79 8b625a34a9 Fixes an issue with autocompletion with screen names. 2017-07-22 12:30:24 +02:00
tom79 29127282a8 - Adds redirect after writing a toot: Reply -> conversation | Toot -> home timeline
- Fixes issue with missing pp on some instances
2017-07-22 10:00:15 +02:00
tom79 272f8c3bfd Adds profile picture in toot activity 2017-07-21 21:09:32 +02:00
tom79 a2b96df9f9 Improves navigation with tabs in top bar 2017-07-21 19:28:29 +02:00
tom79 8c69adfe9a Adds warning message when battery saver is on. Prepares release 1.3.4 2017-07-18 19:55:27 +02:00
tom79 05a3aa7c6f - Replies inherit the privacy of the parent toot.
- Fixes a bug with drafts and replies which lost their reply status
2017-07-18 10:54:15 +02:00
tom79 7bbb2d10ee Improves scheduled toots 2017-07-17 18:53:12 +02:00
tom79 4d4bcd49d1 Schedule toots & edition 2017-07-16 19:04:53 +02:00
tom79 c327bd8938 Schedule toots 2017-07-16 17:09:35 +02:00
tom79 60b9e574ce Toots saved as drafts 2017-07-15 14:59:09 +02:00
tom79 23cc595306 Change app name in headers 2017-07-10 10:33:24 +02:00
tom79 21da69eb7f Dark theme by default + voice input for toots 2017-07-04 21:15:11 +02:00
tom79 a14e05bb32 Translation of toots in the device locale 2017-07-03 11:30:36 +02:00
tom79 a17df0318e Fixes a bug when uploading media + adds video support for media 2017-07-02 15:20:58 +02:00
tom79 5519242cd0 Improves night mode 2017-07-01 15:24:28 +02:00
tom79 f7321b788d Adds night mode 2017-06-30 17:09:07 +02:00
tom79 f3426294be Folder picker (API > 20) + Improves media management (works with old API) 2017-06-27 19:18:46 +02:00
tom79 cab652a9c8 Fixes issues with media with older Android versions 2017-06-26 18:49:39 +02:00
tom79 98715fd53a Improves icons
Adds text when sharing a link with the app
2017-06-24 17:50:54 +02:00
tom79 ebe994d508 Manages media with sensitive toots 2017-06-07 15:47:05 +02:00
tom79 3b6ecfe0a2 Adds emoji support + share external content via toots 2017-06-06 18:50:01 +02:00
tom79 6b9ccc110c Improves API response with header 2017-06-03 18:18:27 +02:00
tom79 606b6385f4 Adds @ before username in mentions 2017-05-31 17:29:32 +02:00
tom79 12d791b62b Adds mentioned accounts in a reply + some previous apk not pushed. 2017-05-31 17:04:02 +02:00
tom79 18da5dde02 Handles errors with messages (can be disabled in settings) 2017-05-30 19:31:44 +02:00
tom79 32046c3c87 Adds 2FA support via webview 2017-05-26 17:20:36 +02:00
tom79 ec7b132a1b Back to Webview due to scope issues + adds "show reply" as an option in settings 2017-05-24 19:35:07 +02:00
tom79 c4ea4943d6 initial commit 2017-05-05 16:36:04 +02:00