Skip to content

Guessing "Enter remote user syntax" for S2S share is bad UX #13678

Closed

Description

@nickvergessen

When you use the "Add to my owncloud" field to mount a public share into another instance, it accepts almost any URL:

http://localhost/ownCloud/Master/index.php
http://localhost/ownCloud/Master/
http://localhost/ownCloud/Master
localhost/ownCloud/Master/index.php
localhost/ownCloud/Master/
localhost/ownCloud/Master
etc.

However, when trying to add a remote share via the share dropdown, you have to:

  1. Guess that <username>@<instance> is the remote syntax
  2. that <instance> MUST be the last of the list above.

We need a hint about the first thing in the UI and should fix the remote guessing to strip away http:// and /index.php(.*) so all of those URLs listed above work

@jancborchardt for the UI hint
@schiesbn for s2s
@jnfrmarks for testing full URL insertions

Activity

  1. added this to the milestone on Jan 26, 2015
  2. PVince81 commented on Jan 26, 2015

    @PVince81
    Contributor

    CC @owncloud/designers

  3. LukasReschke commented on Jan 27, 2015

    @LukasReschke
    Contributor

    Just as a side note that is REALLY annoying… – I had to fight with that today and noticed it does not work with trailing slash……

  4. PVince81 commented on Jan 27, 2015

    @PVince81
    Contributor

    It should after #13677, at least with the format "user@host/owncloud/"

  5. LukasReschke commented on Jan 27, 2015

    @LukasReschke
    Contributor

    admin@localhost/core**/** fails admin@localhost/core works

  6. schiessle commented on Jan 29, 2015

    @schiessle
    Contributor

    "http://" already gets stripped away. I think this is mainly a documentation issue to tell people that they can address remote ownClouds like email addresses "user@domain", I don't see a reasons to support every kind of URLs and start guessing the right one by stripping "random" parts of the URL.

  7. modified the milestones: , on Feb 2, 2015
  8. 1 remaining item

  9. added a commit that references this issue on Feb 9, 2015
    8522ca8
  10. modified the milestones: , on Feb 26, 2015
  11. DeepDiver1975 commented on Feb 26, 2015

    @DeepDiver1975
    Contributor

    link pr for master not yet merged - possible backport with 8.0.2

  12. MorrisJobke commented on Mar 11, 2015

    @MorrisJobke
    Contributor

    @nickvergessen Reopened, because this is planned for 8.0.3 - please open a backport PR

  13. added a commit that references this issue on Mar 11, 2015
    625bb3c
  14. MorrisJobke commented on Mar 11, 2015

    @MorrisJobke
    Contributor

    merged

  15. locked as resolved and limited conversation to collaborators on Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions