nextcloud / social

🎉 Social can be used for work, or to connect to the fediverse!
https://apps.nextcloud.com/apps/social
GNU Affero General Public License v3.0
490 stars 59 forks source link

Follow only possible from tooted message, Unfollow deep-under Profile is both counter-intuitive #1251

Open stefan123t opened 3 years ago

stefan123t commented 3 years ago

Describe the bug Add Follower only possible from a mention in a message. Unfollow only available from the individual "user@domain.tld" entry. Number of Followings not correct.

To Reproduce Steps to reproduce the behavior:

  1. Go to Profile
  2. Click on "0 Following" -> note the 0 could be related to my webfinger configuration still adding an & to the rewriteurl as in #1246
  3. Shows three entries
  4. Select e.g. time@qoto.org
  5. Will Unfollow
  6. If I want to Follow any new user, I have to know/send/receive a message to/from them
  7. I can then select the user@domain.tld entry and click follow
  8. This both is counter-intuitive

Expected behavior There should be either a search box for any domain on the Profile page or at least a dialog to enter a new user@domain.tld Following entry box. Similar to the box that allows to follow nextcloud@mastodon.xyz initially. It disappeared for my user and I do not know how to follow your toots. Preferably there should be two entries in the side bar, one for Following and one for Followers to list, add & remove or simply manage all these.

Screenshots Screenshot from 2021-04-13 20-57-22 Screenshot from 2021-04-16 10-32-26

Client details:

Server details **Social app version:** **Operating system**: Linux 5.4.89 #1 SMP Wed Jan 13 06:05:19 CET 2021 x86_64 **Web server:** Apache (apache2handler) **Database:** mysql 10.2.36 **PHP version:** 7.4.14 Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dba, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, ldap, mbstring, standard, mysqlnd, mysqli, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, imap, SimpleXML, soap, sockets, sodium, exif, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, apache2handler, apcu, imagick, memcached, redis, Zend OPcache **Nextcloud version:** 21.0.1 - 21.0.1.1
Logs #### Nextcloud log (data/nextcloud.log) not applicable #### Browser log not applicable
stefan123t commented 3 years ago

Please decide whether this is more of a feature request.

miklobit commented 1 year ago

I see this bug/deficiency as one of the critical limitations that will prevent the application from being used for anything more than interaction between local users.

Regarding the search mechanism for accounts to follow, it should be integrated in the system search field.

JesseKPhillips commented 12 months ago

This seems to be the closest report to the issue I'm having.

Installation: NextCloud AIO - 27.1.3 Social - 0.6.1

When I attempt to follow a user from mastodon: https://mastodon.social/@gamingonlinux

It tries to go to: /authorize_interaction?uri=https%3A%2F%2Fmastodon.social%2Fusers%2Fgamingonlinux

but following along the webprint: https://github.com/nextcloud/social/issues/1734

the url should be: /apps/social/ostatus/follow/?uri=https%3A%2F%2Fmastodon.social%2Fusers%2Fgamingonlinux

I get the error reported here: https://help.nextcloud.com/t/social-app-first-official-beta-available/154894/3

{
  "status": -1,
  "exception": "OCA\\Social\\Exceptions\\ActorDoesNotExistException",
  "message": "Actor not found"
}

And this may be related to #630 #268 And I agree with @miklobit, this is a critical limitation preventing the application from being more than interactions with local users. I thought it would be pretty cool to be able to follow people on Mastodon without the need to host my own separate server (and I only just learned about this through trying nextcloud).

ChildLearningClub commented 10 months ago

@JesseKPhillips I'm getting the exact same result and error as you on 27.1.1 and Social 0.6.1. I see in previous posts that people are mentioning a search bar at the top, but it is not visible in my case. In the Apps current state it appears the only way to follow someone is if you initiate a direct message to their @REMOTEUSER@REMOTEHOST.

By doing as suggested here https://github.com/nextcloud/social/issues/268#issuecomment-451867689 and putting https://cloud.xxx/apps/social/@REMOTEUSER@REMOTEHOST/ in the address bar I was able to get the follow button to appear in Nextcloud Social and get it working for anyone this might help until this is fixed. But it looks like a couple of quick tweaks to the code and it will be working.

Edit: Could this also just be related to settings within reverse proxying with Nginx?