Commit Graph

371 Commits

Author SHA1 Message Date
tom79 8c91f242ba Adds website url 2017-10-01 15:02:38 +02:00
tom79 278af0b281 Fixes issue with click from alert dialog not opening drafts 2017-10-01 12:55:01 +02:00
tom79 15b1809d87 Improves behavior when searching missing toots in federated timeline 2017-09-29 16:10:11 +02:00
tom79 ccfd09f9ca Fixes issue with remaining space left for counter 2017-09-26 07:11:57 +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 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 4e253be459 Removes useless icon 2017-09-16 17:02:11 +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
tom79 cea0531a05 Fixes an issue with status content and clicks with elements 2017-09-16 09:44:09 +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 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 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
tom79 364b4ca738 Should fix the crash when onResume is called before data have been retrieved 2017-09-11 07:11: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 d85452908b Removes unnecessary job 2017-09-03 18:39:25 +02:00
tom79 f930023578 Fixes an issue when following devs 2017-09-03 12:49:10 +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
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
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 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 e27b3dad58 Security if websockets failed 2017-08-29 16:22:57 +02:00
tom79 477c60c7aa new code 2017-08-29 15:57:51 +02:00
tom79 3a366526b0 catch notifications 2017-08-28 19:04:13 +02:00
tom79 182a391b72 Prepares jobs for streaming 2017-08-28 15:33:05 +02: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 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 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
tom79 3363c8135b back before merge 2017-08-26 16:27:14 +02: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 2887b2a5ca Code cleaning in activities 2017-08-26 10:57:08 +02:00
tom79 e42812ea5b Some changes with delay + 2 new german localizations (need to be updated) 2017-08-25 18:16:30 +02:00
tom79 d192777f38 Prepares drawers 2017-08-25 16:08:40 +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 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 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 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
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 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
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 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
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 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 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 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 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 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 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 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
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 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 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 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
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