nextcloud / nextcloud/server

Public Share File Download: Add downloader's IP address to the Activity page

Open
#60,020 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

[!TIP]

Help move this idea forward
  • Use the 👍 reaction to show support for this feature.
  • Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers.
  • Subscribe to receive notifications about status changes and new comments.

When a public share is downloaded by share link, an activity log is shown in the "Activity" web page. Currently it is "{file} downloaded via public link". This is less useful.

It would be very helpful to at least show the IP address for the one who has downloaded the file or folder, e.g. "{file} downloaded via public link (IP address: {ip}).", so that the person who shared the link can have a clue of who has downloaded the file from where in the world.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing Activity page entry for a public-link download and trace it to the public-share download handling. Identify how the event is created and displayed, then verify that the downloader's IP address appears in the activity message without breaking existing public-share activity behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.