Skip to content

feat: create a public link on oCIS servers - #5030

Merged
joragua merged 12 commits into
masterfrom
feature/create_public_link_sharing_ng
Nov 3, 2026
Merged

joragua merged 12 commits into
masterfrom
feature/create_public_link_sharing_ng

Conversation

@joragua

@joragua joragua commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Related Issues

App: #4955

  • Add changelog files for the fixed issues in folder changelog/unreleased. More info here
  • Add feature to Release Notes in ReleaseNotesViewModel.kt creating a new ReleaseNote() with String resources (if required)

QA

Test plan: https://github.com/owncloud/QA/blob/android/sharing_ng/Mobile/Android/Executions/Release_4.9/NG%20-%20Create%20Link.md

@joragua joragua changed the title feat: feat: create a pubic link on oCIS servers Oct 21, 2026
@joragua
joragua force-pushed the feature/create_public_link_sharing_ng branch from 5c3267a to 43fe46b Compare October 21, 2026 11:04
@joragua joragua linked an issue Oct 21, 2026 that may be closed by this pull request
11 tasks done
@joragua
joragua force-pushed the feature/create_public_link_sharing_ng branch from 43fe46b to c153377 Compare October 21, 2026 11:40
@jesmrec

jesmrec commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

About the incoming proposal, some details to comment:

  • As different places in the proposal, the password optionallity depends on parameters OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD and OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD. These are backend setup parameters, that have nothing to do with the mobile app. We need them just to set up a server to test against. Mobile clients get the password and password policy values from capabilities endpoint:
 "password": {
              "enforced_for": {
                 "read_only": true,
                 "read_write": true,
                 "read_write_delete": true,
                 "upload_only": true
              },
         "enforced": false
 },
...
"password_policy": {
          "min_characters": 8,
          "max_characters": 72,
          "min_lowercase_characters": 1,
          "min_uppercase_characters": 1,
          "min_digits": 1,
          "min_special_characters": 1
        },

@joragua, what do you think?

@joragua

joragua commented Oct 22, 2026 •

Copy link
Copy Markdown
Member Author

I'll update the artifacts with this info. Good catch! 🙌🏻

EDIT: The spinner will be added in the other issue

@joragua
joragua force-pushed the feature/create_public_link_sharing_ng branch from c153377 to c55273f Compare October 22, 2026 07:51
@jesmrec
jesmrec force-pushed the feature/create_public_link_sharing_ng branch 3 times, most recently from 37a2e0f to c76d57a Compare October 22, 2026 09:29
@joragua
joragua force-pushed the feature/create_public_link_sharing_ng branch 3 times, most recently from 69ba2b5 to 268285a Compare October 22, 2026 11:29
@joragua joragua changed the title feat: create a pubic link on oCIS servers feat: create a public link on oCIS servers Oct 23, 2026
@joragua joragua self-assigned this Oct 23, 2026
@joragua
joragua force-pushed the feature/create_public_link_sharing_ng branch 2 times, most recently from 13caacc to 13d0f36 Compare October 27, 2026 09:42
@joragua
joragua marked this pull request as ready for review October 27, 2026 16:49
@joragua
joragua requested a review from a team as a code owner October 27, 2026 16:49
@joragua
joragua force-pushed the feature/create_public_link_sharing_ng branch from 14bb0f9 to ef99a4e Compare October 28, 2026 11:28
@joragua
joragua requested a review from jesmrec October 28, 2026 11:42
jesmrec
jesmrec previously approved these changes Oct 28, 2026

@jesmrec jesmrec left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CR passed, moving to QA

@jesmrec

jesmrec commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

(1) [FIXED]

  1. In a custom space, an space manager open Share -> + icon is visible
  2. Other space admin downgrades the space manager to space editor
  3. Pull to refresh

Current:

+ icon is still visible

Expected:

after pulling to refresh, + icon is not visible. Now, by moving back to the list of files and opening Share again, icon is gone

NOTE: same applies to share with people, so, it's not a complete problem from the current PR... it could be handled as a regression

Xiaomi Redmi 13, Android 15
ef99a4ef5

@joragua

joragua commented Oct 29, 2026

Copy link
Copy Markdown
Member Author

(1) should be fixed in the commit 799452e

@jesmrec

jesmrec commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

(2) [FIXED]

As a regression, when creating a link over a space, the following request is sent:

POST https://<url>/graph/v1beta1/drives/<drive-id>/items/<item-id>/createLink

instead of the valid one:

POST https://<url>/graph/v1beta1/drives/<drive-id>/root/createLink

returning a 400 Bad Request

Xiaomi Redmi 13, Android 15
799452e6

@joragua

joragua commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

(2) should be fixed in commit 657223e

@jesmrec

jesmrec commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

(3) [FIXED]

This is an small UI-glitch

  1. Click on + to create a link
  2. Select any permission -> password and expiration are displayed
  3. Go back to the Share view with the back arrow
  4. Click again on +

Current: Password and expiration are displayed with no permission selected

Expected: Password and expiration hidden because no permission is selected yet

Xiaomi Redmi 13
Android 15
657223ea

@joragua
joragua force-pushed the feature/create_public_link_sharing_ng branch from 91a2fe2 to 79eb804 Compare November 3, 2026 10:37
@joragua

joragua commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

(3) should be fixed in the commit 79eb804

@jesmrec

jesmrec commented Nov 3, 2026

Copy link
Copy Markdown
Member

Approved on my side with all the reports fixed. Moving on!! 🚀

@jesmrec
jesmrec force-pushed the feature/create_public_link_sharing_ng branch from 79eb804 to 827f36b Compare November 3, 2026 14:12
@jesmrec
jesmrec self-requested a review November 3, 2026 14:29
jesmrec
jesmrec previously approved these changes Nov 3, 2026
@joragua
joragua merged commit 5bef110 into master Nov 3, 2026
@joragua
joragua deleted the feature/create_public_link_sharing_ng branch November 3, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Sharing NG: Create new link

2 participants