TwidereProject / Twidere-Android

http://twidere.com
2.75k stars 377 forks source link

GNU social support #296

Closed mariotaku closed 8 years ago

mariotaku commented 8 years ago

Let's talk about GNU social. Twidere was not designed for GNU social in the beggining, but I think now it's time to do so.

Do you have any suggestions about GNU social support?

chenshaoju commented 8 years ago

Too complex,Why not try Creative Commons?

mariotaku commented 8 years ago

@chenshaoju Maybe we're not talking about the same thing...

chenshaoju commented 8 years ago

Oops,I thought it was an agreement choose 😅

annando commented 8 years ago

There are some problems at the moment:

mariotaku commented 8 years ago

@annando OK, I'll look into it.

iMojito commented 8 years ago

@annando MMN already made API changes to be able to post pictures with twidere Conversations worked on older versions

https://git.gnu.io/gnu/gnu-social/commit/0caf0612d0f3f061f45de2f6a9ede8e738901ef9 https://git.gnu.io/gnu/gnu-social/commit/b570f0d3cbf856843053b4d4d8ab2653476b0845 https://git.gnu.io/gnu/gnu-social/commit/e5019c3858c2be6286fc33d5ee77314bb110bc63

//cc @mariotaku

There are some problems at the moment:

Picture upload doesn't work with GS since it is now a combination of two different calls that do media >upload and posting. GS has a single call for this. The GS API doesn't know the API call for fetching conversations (AFAIK GS has its own API call) The API path (mostly) contained a "/1.1/" in the path. There are some other calls that aren't supported by GS (like /statuses/lookup)

annando commented 8 years ago

@iMojito Twidere is using the API command "/conversation/show/(number).json" for conversations (if it is enabled in the setup). AFAIK this isn't supported by GS at the moment. On GS the correct call would be "/statusnet/conversation/(number).json".

@mariotaku What I forgot: The API call to "/statusnet/config.json" returns the text limit of the current GNU Social installation. It would be great if the client could fetch that by itself.

iMojito commented 8 years ago

@annando *Conversations worked on older Twidere versions (current 0.3.0 on Google Play), I think it issued a search api call (via twitter's compatible api) on those. Still suboptimal

hjacobs commented 8 years ago

:+1: for GNU Social support in Twidere!

You mentioned that some things might already work? How can I try it? Which version of Twidere to install or compile?

Thanks :smile:

mariotaku commented 8 years ago

@hjacobs You can find directly in Twidere releases, however my builds may have different signature than F-Droid's build, so you may need to uninstall the other one. I'm still discussing how to solve this problem.

benediktg commented 8 years ago

It is great to hear that you want to improve the GNU social compatibility – I have reported 2 bugs I have observed: https://github.com/TwidereProject/Twidere-Android/issues/305 and https://github.com/TwidereProject/Twidere-Android/issues/304

asterismo commented 8 years ago

Hurry up twitter is dying! lol

pizzamaker commented 8 years ago

Relevant: #317

benediktg commented 8 years ago

Could it be that groups in GNU social aren't supported by Twidere? Groups are written like "!group" (with a "bangtag" instead of a hashtag) in GS posts.

CR0CKER commented 8 years ago

Awesome, would love to see full GNU Social support in Twidere. AndStatus is worlds away in terms of usability and design. I'd be happy to help testing if someone's willing to do the programming.

resir014 commented 8 years ago

I could side with @CR0CKER here. I've had enough of AndStatus because of the same reason and I've managed to give Twidere a go.

I'm currently on https://quitter.is, it works mostly (tweeting and replying to tweet works nicely), the only problems I've encountered so far include not being able to view profiles across nodes, and the inability to upload photos.

From what I've learned, the API shared some similarities to API v1.0 so I could guess that it shouldn't take much work.

Anyways, this app is miles ahead in usability compared to AndStatus and I'd be more than willing to test out GNU Social support on Twidere!

jasonmacduffie commented 8 years ago

May I leave any problems related to GNU social support in this thread? Or would you prefer I open a new issue?

Right now the action "open in browser" does not work correctly at all, and just goes to Twitter.

benediktg commented 8 years ago

How about opening separate new issues and referencing them here?

mariotaku commented 8 years ago

@benediktg Good idea.

jasonmacduffie commented 8 years ago

I will edit this post as I make more issues:

#347 support "open browser". #356 support searching. #360 grab replies to a post (Twitter won't let you but GNU social will).

455 retweets of retweets not working.

#480 links to Tweets are broken.

fbobraga commented 8 years ago

How can I add an +1 for this issue? :P

dalb8 commented 8 years ago

I'm curious why you'd prefer not to make a different app.

fbobraga commented 8 years ago

Another app? The problem to be addressed is not the same (or very likely)? Em 10/02/2016 09:30, "dalb8" notifications@github.com escreveu:

I'm curious why you'd prefer not to make a different app.

— Reply to this email directly or view it on GitHub https://github.com/TwidereProject/Twidere-Android/issues/296#issuecomment-182324907 .

verymilan commented 8 years ago

:+1: for GNUsocial support in Twidere! Unlike i read in a blog, i wasnt able to send text messages also...

lebochequirit commented 8 years ago

Could you setup an f-droid repo to keep track with dev versions?

A late "I love free software!" for gnusocial support in Twidere. Twidere is a main reason for to stay with twitter.

asterismo commented 8 years ago

from a graphic design perspective, Twidere should implement square avatar thumnails instead of circular ones, it breaks so many logos and other avatars, and be able to follow people from it. best regards.

benediktg commented 8 years ago

@asterismo When you go to settings → cards → avatar style (in German Einstellungen → Karten → Profilbild-Stil) there is actually a setting to choose between circular (default) and quadratic profile pictures.

asterismo commented 8 years ago

thanks benediktg, great! square edges are very sharp, it would be nice to round them just a bit more and set for default. It looks better now! thanks

normikoto commented 8 years ago

Might just link this issue here: https://github.com/TwidereProject/Twidere-Android/issues/463

asterismo commented 8 years ago

i noticed that when trying to read the post from the web URL on the post options, it opens the url with twitter address in the root url, not the actual gnu social pod.

asterismo commented 8 years ago

and i noticed some issues trying to upload pictures, after it uploads 100% it fails on networl error, maybe short timeout or something?

asterismo commented 8 years ago

it would be nice to havr autocompletion of usernames and group names in gnu social instancrs that allow this freature, cheers

asterismo commented 8 years ago

i detected a nasty bug, the number code for changing character limit to 1000 is not working anymore, and anyway mine was set to 1000, when writing a post and rotating screen to horizontal, 1000 changess to 140 and the tweet is not sent. have to copy text, remove draft, and write again. cheers

fbobraga commented 8 years ago

@santiago: I've seen something like it with normal Twitter use: the "characters remaining" counter drops to zero when comparing a tweet, what makes the send fail... Em 24 de mar de 2016 12:14 AM, "Santiago Roland" notifications@github.com escreveu:

i detected a nasty bug, the number code for changing character limit to 1000 is not working anymore, and anyway mine was set to 1000, when writing a post and rotating screen to horizontal, 1000 changess to 140 and the tweet is not sent. have to copy text, remove draft, and write again. cheers

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/TwidereProject/Twidere-Android/issues/296#issuecomment-200636091

mariotaku commented 8 years ago

Hi everyone, since most features works now, I'll close this issue. Feel free to open separate issue to specific feature requests.

asterismo commented 8 years ago

Hi, see a bug. When mentioning some other people using @, it only autocompletes people from the loaded timeline, it wont autocomplete people that hasn't commented anything in the last pull of updates. The same, if you do a search it will only return people that is on the last update of your wall.

asterismo commented 8 years ago

It would be nice to make the image preview to match 4:3 or similar aspet ratio, si it could be viewed fine without going to tap on it. moat images satisfy this as u can see in my timeline with 8 out of 10 images or pictures, add an extra height on the preview.

benediktg commented 8 years ago

@asterismo When you tap on settings and then "other settings" (down below) → "scrapyard" → "media preview style". There you can choose between scaling or cropping the picture.

annando commented 8 years ago

BTW: Since this issue is closed, I would suggest the creation of new issues and not appending new stuff to this one.