Commit graph

489 commits

Author SHA1 Message Date
Vavassor
f68f6d7473 Reverts notifications from MQTT prototype to pull notifications. 2017-07-08 20:59:48 -04:00
Vavassor
14d02e72b7 Adds envelope icon indicator to direct messages on timelines, so they can be differentiated from private statuses. 2017-07-08 15:44:08 -04:00
Vavassor
125c0e7e6c Saves content warnings in drafts. 2017-07-07 22:56:07 -04:00
Vavassor
74549f4de7 resolves merge conflict 2017-07-07 18:57:36 -04:00
torrentcome
b6d4b388a5 Merge branch 'master' into #142/SaveToots
# Conflicts:
#	app/src/main/java/com/keylesspalace/tusky/TuskyApplication.java
2017-07-07 13:28:31 +02:00
torrentcome
47dccd81e7 (db) add the Update feature for each Draft we already have 2017-07-07 12:32:47 +02:00
torrentcome
42d94633cf (ui) fix bug that when we comeback from the Composer , there is no update of the view 2017-07-07 12:32:04 +02:00
Vavassor
63bf832ffd resolves merge conflict 2017-07-06 22:15:44 -04:00
Vavassor
76a31602ed fixes two log messages 2017-07-06 18:35:39 -04:00
Vavassor
74e395834d Adds or updates Bouncy Castle as a security provider. A possible fix for alleviating issues with connections (issue #46 in particular). 2017-07-06 18:27:51 -04:00
torrentcome
0ce5c49655 (db) version = 1 2017-07-06 12:31:59 +02:00
torrentcome
76fca004ee (correction) fix some forgot code to present the pull request :D 2017-07-06 12:20:54 +02:00
torrentcome
87c1edb3d4 (medias) try to add medias 2017-07-05 16:36:14 +02:00
torrentcome
03769f0644 (crud) change delete stuff 2017-07-05 16:35:15 +02:00
torrentcome
451229779f (room) add room gradle file 2017-07-05 16:34:59 +02:00
Vavassor
b52bf2d158 Merge branch 'boost-actions' of https://github.com/charlag/Tusky into charlag-boost-actions 2017-07-04 17:31:49 -04:00
Vavassor
932a990fe4 Fixes bug where "The upload failed." error message shows up when media upload is canceled intentionally. 2017-07-02 17:55:18 -04:00
Vavassor
b06dda47c1 Fixes a crash where photoUploadUri can be nullified if the activity is evicted from memory while taking a picture, so when it resumes and recreates it no longer has a valid URI. Closes #326 2017-07-02 17:45:13 -04:00
Vavassor
17df70d166 Possible fix for unnecessary thread post reloading (issue #327). 2017-07-02 16:41:33 -04:00
Vavassor
9e07c59565 Adjusts composer imports. 2017-07-02 16:34:10 -04:00
Ivan Kupalov
0f15509345 Add boost click handling 2017-07-02 09:55:20 +03:00
Vavassor
afa21f5a5c Makes end of list footers have zero height. 2017-07-01 23:23:42 -04:00
Vavassor
5d621cecda Changes mention and tag highlighting in the composer to use Mastodon's regex. Closes #145 Also, does some haphazard cleanup. 2017-07-01 20:32:35 -04:00
Vavassor
6b0ae5be95 Fixes the same typo in 3 places. 2017-06-30 19:49:10 -04:00
Vavassor
275cd51a6d Adds correct footer behaviour to account lists and unifies it with how timelines use them. 2017-06-30 18:30:25 -04:00
Vavassor
3955649b9c Moves loading of accounts, notifications, and statuses to use link headers. Also remedies an issue where duplicate calls for the same chunk of items in a list can occur. 2017-06-30 02:31:58 -04:00
torrentcome
6ce3b98615 (rm) tootaction ...for keep easier action , we will distribute every result inside the activity 2017-06-29 17:58:01 +02:00
torrentcome
b0f848b0f7 (db) insert toot with long click 2017-06-29 17:56:58 +02:00
torrentcome
2022705282 (menu) change menu array to list
laster we will put some logic for show or not the savedToot part
2017-06-29 17:56:36 +02:00
torrentcome
946f58439c (saved_toot) add part of saved toot activity 2017-06-29 17:55:39 +02:00
torrentcome
f79445f50a (clean) keep it simple , don't polluted ComposeActivity, commented and moving the code 2017-06-29 12:03:44 +02:00
torrentcome
9d21c36758 (dao) crud interface 2017-06-29 12:01:14 +02:00
torrentcome
fec8e5c47c (db) insert + read 2017-06-28 19:33:54 +02:00
torrentcome
2642c4432c (db) create CRUD model 2017-06-28 19:33:20 +02:00
Vavassor
3f3ccfca55 Adds an icon to video and gifv media previews to indicate they can be played. The icon is a circled triangle (play button). Closes #319 2017-06-26 19:04:05 -04:00
Vavassor
0a7eaadda1 Adds the mention to whom is being replied first, before other mentions in a thread, rather than after them. 2017-06-26 18:10:01 -04:00
Vavassor
514cea68cc Take it down a notch, there, buddy. 2017-06-26 17:54:00 -04:00
Vavassor
1dc9c87c2e Fixes public visibility being disabled when replying, and changes the default to public like non-reply posts. 2017-06-26 15:46:03 -04:00
Vavassor
c5c6e8205a Fixes autocomplete list getting cut off in the composer if the user is using an app or launcher that hides the status bar. 2017-06-26 15:38:04 -04:00
Vavassor
7d7d5864d4 Adjusts the media label alignment in statuses. 2017-06-26 14:51:39 -04:00
Vavassor
3f54ead962 Adds option to hide media previews if reduced data usage is desired Closes #56. 2017-06-26 05:15:47 -04:00
Vavassor
e3745ebd6b Adds ability to page between multiple images in a status by swiping from left to right. Closes #66 2017-06-25 01:07:41 -04:00
Vavassor
b9d6f489d1 Adds side drawer opening/closing by pressing the physical menu button, if present. Closes #178 2017-06-24 21:21:57 -04:00
Vavassor
ef60701627 Fixes a small issue introduced in commit 1935253c18 where pasting in the composer crashes when it doesn't contain a URL (so any other textual paste will crash). The code was intended only for "share" actions, hence why it was expecting a URL enclosed. 2017-06-23 01:22:18 -04:00
Vavassor
b1aa05694e Removes ButterKnife annotations. 2017-06-22 14:59:12 -04:00
Vavassor
18ebfa212e Minor writing style changes. 2017-06-22 14:01:25 -04:00
Vavassor
100b9f0a47 Extends the width of the search view. 2017-06-22 02:00:03 -04:00
Vavassor
8b4e377d34 Fixes a bug where mentioning users of the same username links them all to the same profile. Closes #312
Also, removes the title on the search page and fixes an intermittent crash on thread pages when elements load in a paritcular order.
2017-06-20 18:41:57 -04:00
Vavassor
2e29088d65 Fixes cursor being placed after a media link when it is added in the composer. Also, adjusts a tinting error in the composer buttons. 2017-06-20 16:57:04 -04:00
Vavassor
b9b5e58b50 Changes the NSFW button to a "hide media" icon in the composer. This is inspired in part by the upstream change tootsuite/mastodon#2696. But also NSFW was never a good description of this function. 2017-06-20 14:16:03 -04:00
Vavassor
53e6769d55 Consolidates the main header and removes the now-unneeded FloatingSearchView library. Closes #67 2017-06-19 20:50:40 -04:00
Vavassor
401dd62af7 Search page fully functional for accounts and hashtags. Closes #44 2017-06-19 15:47:53 -04:00
Vavassor
289e2fbbe1 Adds a prototype search page. The previous search bar is not yet removed. 2017-06-19 04:18:39 -04:00
Vavassor
fcdb507ef0 Changes the autocomplete list to show the username, display name, and avatar of each suggestion for @ mentions. 2017-06-18 23:34:48 -04:00
Vavassor
74aa866647 Autocomplete @ mentions in the composer. Closes #103 2017-06-18 22:10:50 -04:00
Vavassor
8994d81c66 Potential simple fix for images failing to load #198. 2017-06-18 17:20:54 -04:00
Vavassor
93f5e416c0 Fixes follow requests button in the main menu acting as though it were the log out button. Closes #307 2017-06-08 19:47:33 -04:00
Vavassor
a4ee128e26 Broadcasts now cause a refresh on timelines after a post is composed instead of listeners.
As a side effect, pagers don't have to keep track of "registered fragments", which was a bad idea and caused crashes.
2017-06-06 18:20:55 -04:00
Vavassor
9c56f0e7bc Broadcasts now used everywhere for signalling to remove accounts' posts instead of listeners. 2017-06-06 17:15:29 -04:00
Vavassor
19f140f9c6 Fixes a subscription duplicating bug in the notification client. 2017-06-05 18:40:56 -04:00
torrentcome
2b9f19805f Merge branch 'master' into #136 2017-06-02 23:15:21 +02:00
Vavassor
94639eeb69 Fixes long content warnings in posts wasting space. Closes #173 2017-06-02 03:12:02 -04:00
Vavassor
35ee60f601 Merge branch 'fix-collapsing-toolbar-bug' of https://github.com/connyduck/Tusky into connyduck-fix-collapsing-toolbar-bug 2017-05-30 19:36:19 -04:00
Vavassor
20410024f4 Fixes a mistake made while merging #294. 2017-05-30 19:35:04 -04:00
Vavassor
fe7771b813 Merge branch 'log-improvement' of https://github.com/connyduck/Tusky into connyduck-log-improvement 2017-05-30 19:21:11 -04:00
Vavassor
a8e8732979 Fixes a validation error on login when instance names are entered with multiple @ symbols like @username@example.com. 2017-05-30 16:57:30 -04:00
Konrad Pozniak
7501fcaeaa Merge branch 'master' into log-improvement 2017-05-25 19:17:20 +02:00
Conny Duck
a2c019e8f1 fix bug in CollapsingToolbarLayout 2017-05-25 19:10:49 +02:00
Conny Duck
2eaff99b29 log some more exceptions 2017-05-25 17:21:11 +02:00
Vavassor
036a305782 pretty much finishes the prototype 2017-05-23 19:48:54 -04:00
Conny Duck
1a39e58d3c remove unnecessary Log utility class, replace Exception.printStackTrace with logging 2017-05-23 21:34:31 +02:00
Vavassor
6ee6157b7f Adds TLS to the push notification client (keystore_tusky_api is omitted). 2017-05-22 02:05:37 -04:00
Vavassor
b396f2afc8 First notification received successfully from the wryk/tusky-api prototype! 2017-05-21 22:21:23 -04:00
Vavassor
c90c909ca6 Integrates with wryk/tusky-api, but only partially working.
Registers to the web-service fine but loses connection when subscribing with the broker.
2017-05-20 02:39:29 -04:00
Vavassor
e282f13fdc Setup client-side for integration with the wryk/tusky-api prototype. 2017-05-19 21:28:12 -04:00
Vavassor
73a5144741 Adds notification clearing and makes the client a little more stable. 2017-05-19 20:00:57 -04:00
Vavassor
388ecfcf2e Removes the product flavor split. 2017-05-18 18:10:46 -04:00
torrentcome
b9d460e712 (bug of picasso) the Target wasn't load at the first time forget to read the documentation so , record the target in field change the way that works.
Now work fine.
2017-05-17 16:08:43 +02:00
torrentcome
7cc06d3ad0 (bug fixing) When we share by an app : the text shared is not just an URL but a small text with the URL inside.
So we parse the text until find an url.
Take the first one and send it to the parse
2017-05-17 16:06:37 +02:00
Vavassor
6752d45d4b Initial client working for MQTT push notifications. 2017-05-16 22:19:34 -04:00
torrentcome
418fbd3b5c (share) add share functionality
- get the text shared and put it on the Clipboard
- pass by the same way that past for Download the information
2017-05-16 17:56:35 +02:00
torrentcome
b1bbcb39d5 (ComposeActivity) clean up, automatique format and implementation of
- Share a link and extract the title, images, author's name #136
2017-05-16 10:43:32 +02:00
torrentcome
6dd2aba3c6 (parser utils) class who will get header information of an given Url
- will redistribute that to the activity by listener
2017-05-16 10:42:31 +02:00
torrentcome
27db497ff2 (media utils) create media utils for start to group all function linked to the media there too 2017-05-16 10:41:14 +02:00
torrentcome
583983e58f (string utils) create string utils for start to group all function there 2017-05-16 10:40:12 +02:00
torrentcome
1f62c34a13 (edit text typed) add onPast listener on the view 2017-05-16 10:10:37 +02:00
torrentcome
0a6a2e44c2 (view) create package view 2017-05-15 12:07:01 +02:00
torrentcome
ed5564d4d5 (receiver) create package for receiver 2017-05-15 12:05:10 +02:00
Vavassor
66bac21236 fixes merge conflicts 2017-05-11 18:58:38 -04:00
Vavassor
68eaa742ee Merge branch 'Pangoraw-master' 2017-05-11 18:34:45 -04:00
Pangoraw
72ac4e5581 Allow broadcasting event across activities. 2017-05-11 09:11:15 +00:00
torrentcome
a015637785 (media) add toolbar and download button 2017-05-10 15:24:45 +02:00
Vavassor
3c20f7a0c4 Adds a splash screen replacement. 2017-05-09 22:36:05 -04:00
Vavassor
88e2b7b382 Merge branch 'master' of https://github.com/Pangoraw/Tusky into Pangoraw-master 2017-05-08 15:40:08 -04:00
Vavassor
a2a600a9de Adds back button to the about page and for the Tusky's Profile button it searches for the account first and saves the ID for subsequent presses. Closes #279 2017-05-08 15:00:33 -04:00
Paul
17f347cab5 Add loading on login activity while fetching tokens 2017-05-08 11:24:30 +00:00
Vavassor
551d73baee Makes about page work with light theme and landscape orientation. 2017-05-07 22:00:29 -04:00
Vavassor
daf0ec8e49 resolves merge conflict 2017-05-07 20:20:59 -04:00
Vavassor
eb13817bce Merge branch 'bugfix-4' of https://github.com/connyduck/Tusky into connyduck-bugfix-4 2017-05-07 18:03:34 -04:00
Vavassor
7f934e4f26 Resolves merge conflicts 2017-05-07 17:58:56 -04:00
Vavassor
d658e6e7a3 Merge pull request #270 from connyduck/profile-header
remove account_header_default.png
2017-05-07 17:44:26 -04:00
Vavassor
e134e35a14 Merge branch 'light-header-background' of https://github.com/connyduck/Tusky into connyduck-light-header-background 2017-05-07 17:29:55 -04:00
Vavassor
e094765734 Merge branch 'logout-confirm-dialogue' of https://github.com/tryton-vanmeer/Tusky into tryton-vanmeer-logout-confirm-dialogue 2017-05-07 17:03:37 -04:00
Vavassor
bc7ac41a28 Merge pull request #275 from Pangoraw/master
Add loader when waiting to display a media, closes #196
2017-05-07 16:47:19 -04:00
Vavassor
8787cf6beb Moves out-of-place Firebase InstanceId call to the google build flavor. Closes #274 2017-05-07 16:14:28 -04:00
Paul
fc2d039d63 Add loader when waiting to display a media 2017-05-06 11:30:52 +00:00
Tryton Van Meer
a5e43446b5 logout() now creates a dialog asking the user if they wish to logout. 2017-05-05 12:19:11 -04:00
Conny Duck
d34f4429cd fixed light theme header background when no header image was set 2017-05-05 17:21:20 +02:00
Vavassor
31fff630f3 Fixes "google" build flavor, which was messed up by the repacking process. 2017-05-04 19:02:18 -04:00
Vavassor
aa2394748c Reorganizes the whole codebase. 2017-05-04 18:55:35 -04:00
Conny Duck
b97c4e24ed remove redundant account_header background, fix weird flicker in header when opening AccountActivity 2017-05-04 18:07:59 +02:00
Conny Duck
4e4c39e58e added missing quotation marks in MediaTypeDeserializer 2017-05-04 16:25:04 +02:00
Conny Duck
2898baf18d updated dependencies 2017-05-04 16:16:24 +02:00
Conny Duck
d5b4b0fe54 fixed crash when media type is unknown 2017-05-04 14:58:45 +02:00
Vavassor
f313884f7d Adds a link to the text of a post when media is attached. 2017-05-03 20:27:59 -04:00
Vavassor
bd687fb45d Fixes crash on android version Lollipop and earlier due to an unsupported way vector drawable icons were assigned to radio buttons. 2017-05-03 18:33:15 -04:00
Vavassor
24b7e4db4c Fixes reorienting creating a visual duplicate of the thread. Closes #237 2017-05-03 16:28:46 -04:00
Vavassor
b047204577 fixes line endings back to LF 2017-05-03 14:29:33 -04:00
PhotonQyv
89c984fe84 Add files via upload
Added fix for issues #190 & #259 both rotation/orientation related
2017-05-03 17:03:29 +01:00
Vavassor
f7915d614d Fixes a crash when reorienting and downsizing an image for upload. Closes #247 2017-05-02 20:06:48 -04:00
Vavassor
ab76121692 Change locked accounts to default visibility to "followers-only", and reorganizes the composer because it was getting cluttered. 2017-05-02 18:17:54 -04:00
Vavassor
b6cf99602b Switches back a foolish last second change that ruined the light theme toolbar text fix. 2017-05-01 23:39:06 -04:00
Vavassor
ba0ad09f19 Merge branch 'raphaelm-account_activity_title' 2017-05-01 23:31:59 -04:00
Vavassor
07f22b2560 Fixes the text colour in the light theme for the collapsed toolbar in the account page. 2017-05-01 23:31:31 -04:00
Vavassor
34873423c7 Merge branch 'master' of http://github.com/Vavassor/Tusky 2017-05-01 22:07:31 -04:00
Vavassor
cfb0219536 Merge branch 'profile-edition-design' of https://github.com/daycode/Tusky into daycode-profile-edition-design 2017-05-01 21:52:11 -04:00
Vavassor
9bb8c96f00 Merge branch 'issue_133' of https://github.com/raphaelm/Tusky into raphaelm-issue_133 2017-05-01 21:50:24 -04:00
daycode
c7e4d17aaf Add gestion of avatar and header 2017-05-01 15:23:34 +02:00
Peter Cai
a498292c64
TuskyApplication: call super.onCreate()
Although for now it makes no difference calling super.onCreate or not
(the method Application.onCreate() is empty), it is denoted with
@CallSuper and might cause errors in some IDE if it is not called.
2017-05-01 14:02:32 +08:00
Vavassor
ad30c78faf Account page interactions with locked users are made much clearer. 2017-04-30 21:55:33 -04:00
serage.betelmal
df7e077029 Adding more content to the About activity 2017-04-30 21:53:32 +01:00
serage.betelmal
9b86c93e76 Merge branch 'master' into feature/about-page 2017-04-30 21:09:09 +01:00
daycode
b82d75a6c4 design the edit profile view 2017-04-30 21:57:15 +02:00
Raphael Michel
ddf654f777 Merge branch 'master' into issue_133 2017-04-30 16:13:16 +02:00
Vavassor
251090df18 Adds forgotten and required interface to FavouritesActivity (SFragment.OnUserRemovedListener). Closes #245 2017-04-30 02:30:45 -04:00
Vavassor
7d83a9aaba Follow requests list is available. Closes #222 2017-04-28 23:52:14 -04:00
Vavassor
41088de6be Organizes libraries and removes a flavor-specific import (possibly unnecessary?). 2017-04-28 16:41:44 -04:00
Vavassor
2f27f8efdd Raises the check interval to a more reasonable level. 2017-04-27 23:33:43 -04:00
Vavassor
5f6fab2b70 Moves Firebase notifications to a "google" build flavor and adds an "fdroid" flavor that uses polling for notifications.
Also, adds a few missing license notices.
2017-04-27 23:29:42 -04:00
Vavassor
d55b3ebcd7 Emojione shortcodes now converted to unicode in display names. closes #82, closes #129 2017-04-25 18:31:27 -04:00
Vavassor
b6e72a94be Custom tabs are now used for login and links on account pages, with a fallback to the default browser if not supported.
Also, fixes crashes when entering tag and threads due to me forgetting to implement the interfaces required by the code that removes posts from timelines when blocking/muting.

Also fixes a small bug where for mentions of users from other instances, clicking on the mention would open the profile in the browser instead of in-app.
2017-04-25 07:30:57 -04:00
Vavassor
1ca5923ea9 Merge branch 'bugfix-3' of https://github.com/connyduck/Tusky into connyduck-bugfix-3 2017-04-23 19:07:06 -04:00
Vavassor
dd8963a9fb Merge branch 'patch-fix-media' of https://github.com/Petercxy/Tusky into PeterCxy-patch-fix-media 2017-04-23 17:19:36 -04:00
Konrad Pozniak
7c3feb7136 fix bugs with fab showing/hiding on scroll 2017-04-22 10:41:49 +02:00
Vavassor
01997012de Block and mute lists now remove the entries when you unmute/unblock a user, with a short popup to undo if it's unintentional. Just for clearer feedback. 2017-04-22 02:06:19 -04:00
Peter Cai
90b903a1d0
Let OkHttp3Downloader create an OkHttpClient by default
This re-enables the local cache in default cache directory
2017-04-22 13:29:00 +08:00
Peter Cai
b36ad24286
Fix #198: Use OkHttp3Downloader by default 2017-04-22 13:13:48 +08:00
Vavassor
5179d7e9b3 Blocking and muting now removes all statuses by that user in EVERY currently-loaded timeline. 2017-04-21 23:16:05 -04:00
Vavassor
fcebbc2bdb Adds ability to mute from an individual status. Also, all statuses from that user are removed from the timeline on the spot. 2017-04-21 20:58:44 -04:00
Vavassor
852c484d68 Adds a list of muted users. 2017-04-21 19:02:04 -04:00