プロジェクト

全般

プロフィール

Vote #67772

未完了

File download statistics

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Plugin Request_31
対象バージョン:
-
開始日:
2010/08/05
期日:
進捗率:

0%

予定工数:
category_id:
31
version_id:
0
issue_org_id:
6039
author_id:
13723
assigned_to_id:
0
comments:
6
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

The "Files" tab includes a "D/L" column (which is an odd abbreviation...) that shows the number of downloads for each file.

For some projects, it would be useful to expand on this to be able to see the history of downloads (e.g. (graph of) number of downloads per day/week/month) and even information about who was downloading (e.g. user id for logged-in users similar to the history for wiki pages).

Is this something that would be possible already with a plug-in?


journals

Gareth Sylvester-Bradley wrote:
> Is this something that would be possible already with a plug-in?

If you write it, yes :-) I'm not aware of one that does that currently, nor do I think that such a feature should nor will make it into core.
--------------------------------------------------------------------------------
Wouldn't be hard to write/extend, just create a separate table to handle the data. But, you guys would need to provide some hooks in the Projects controller. I didn't find where you're actually tracking the download (i.e. where you're currently incrementing the counter), but chances are that would have to be wrapped using alias_method_chain or something as well, unless a more friendly way could be worked in...

Felix Schäfer wrote:
> Gareth Sylvester-Bradley wrote:
> > Is this something that would be possible already with a plug-in?
>
> If you write it, yes :-) I'm not aware of one that does that currently, nor do I think that such a feature should nor will make it into core.

--------------------------------------------------------------------------------
If you want to create a plugin for this functionality, I'd be happy to add any hooks you might need.
--------------------------------------------------------------------------------
<rant>

Nick Peelman wrote:
> …

I know I will sound like a grumpy old man, but please _please_ refrain from top-posting.

<pre>
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
</pre>

(I know the example is for e-mail, but it applies to virtually every threaded discussion).

Oh, and trimming down the quote so that it contains only the parts you are answering to and/or only the parts to understand your answer would be even greater, but I've grown to live without that…

</rant>
--------------------------------------------------------------------------------
sure. Will get right on that.

Felix Schäfer wrote:
> <rant>
>
> Nick Peelman wrote:
> > …
>
> I know I will sound like a grumpy old man, but please _please_ refrain from top-posting.
>
> </rant>

--------------------------------------------------------------------------------
Hi all,

I like the file download statistics feature as well. I don't need fancy graphic but just a table to list follow fields:

# Download Date & Time
# Download By User
# (Maybe) IP address

Cheers,
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリPlugin Request_31 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0