WikiNG - Feature #1901
Mentions in user profile
27 11月 2011 10:55 - Andriy Lesyuk

ステータス:

Closed開始日:

27 11月 2011

優先度:

Normal期日:

13 10月 2013

担当者:

Andriy Lesyuk

進捗率:

100%

予定工数:

0.00時間カテゴリ:
対象バージョン:1.0.0bExternal issue:
説明The plugin supports user:[login]... And it would be great if pages where a user had been mentioned were displayed in user profile
under Mentions tab or something like this (Yeah! Twitter-like!)...
The issue is how to do this... I guess the plugin should add observers to models saving textilizable texts. On save the plugin should:
Load current mentions (on update);
Get the difference;
Update mentions table.
In user profile mentions should be shown in chronological order.
関連するチケット:
関連している WikiNG - Support #2250: Textilizable fix in Redmine

Open08 10月 2013

関係しているリビジョン
リビジョン 47 - 25 9月 2013 17:33 - Andriy LesyukStarted implementing mentions (#1901)

リビジョン 48 - 26 9月 2013 11:59 - Andriy Lesyuk
Mention list finished (at least for Redmine 1.4.x) (#1901)

リビジョン 58 - 13 10月 2013 23:06 - Andriy Lesyuk
Implemented mention notification, fixed experimental macro (#1901)

リビジョン 62 - 16 10月 2013 10:06 - Andriy Lesyuk
Another try to save news comments mentions (#1901) and replaced user name with mention in quotes (#2229)

履歴#1 - 06 1月 2012 10:37 - Andriy Lesyuk- 対象バージョン を 0.0.2 にセット

#2 - 28 2月 2012 21:57 - Andriy Lesyuk- 対象バージョン を削除 (0.0.2)#3 - 28 2月 2012 21:59 - Andriy Lesyuk- 対象バージョン を 1.0.0b にセット

#4 - 22 9月 2013 17:33 - Ivan Cenov

The issue is how to do this...

06 11月 2024

1/5

May be some cron task?

#5 - 25 9月 2013 17:31 - Andriy LesyukIvan Cenov wrote:
May be some cron task?

The question is not what is the way to collect mentions , but how to be able to render URLs and associate mentions with mentioning
objects ... I considered at least three ways to collect mentions, so it was not the problem. In other words, seems, finally, I got the idea how to do
this...
And even started to...

#6 - 25 9月 2013 17:34 - Andriy Lesyuk- ステータス を Open から In Progress に変更- 進捗率 を 0 から 30 に変更#7 - 26 9月 2013 12:03 - Andriy Lesyuk- ファイル new-mentions-tab.png を追加

Here is a screenshot:

06 11月 2024

2/5

#8 - 26 9月 2013 12:27 - Andriy Lesyuk- 進捗率 を 30 から 60 に変更#9 - 26 9月 2013 14:25 - Ivan Cenov
I understood now...
Do you plan to embed some grouping/filtering in the list: by project, by time period etc?

#10 - 26 9月 2013 14:27 - Andriy Lesyuk
Ivan Cenov wrote:
Do you plan to embed some grouping/filtering in the list: by project, by time period etc?

Not currently... This feature is experimental currently. Lets first see how it works.

#11 - 26 9月 2013 14:42 - Andriy LesyukAlso there will be the full list of mentions, where you will be able to check them for any time period (by clickingPrevious).

#12 - 13 10月 2013 23:07 - Andriy Lesyuk- 進捗率 を 60 から 100 に変更#13 - 14 10月 2013 21:48 - Andriy Lesyuk- 期日 を 13 10月 2013 にセット
- ステータス を In Progress から Closed に変更#14 - 23 10月 2013 11:53 - Miodrag Milic
This is fantastic. Thanks a lot.

#15 - 23 10月 2013 12:17 - Miodrag Milic
Oh yeah did you plan for mention notifications ?

#16 - 23 10月 2013 15:05 - Andriy Lesyuk
Miodrag Milic wrote:
Oh yeah did you plan for mention notifications ?

Sure, I do! This has been, actually, already implemented (available in SVN).

06 11月 2024

3/5

#17 - 14 4月 2014 14:16 - Miodrag Milic
I tried the latest SVN version and I dont see mentions tab. During installation I migrated database and it listed creation of if I remember correctly 2
new tables one of which was named mentions.
Is there anything particular to do to enable this ?
I just entered on Wiki page user:mmmilic and clicked on the link it created but I donother time as another user.

t see any mentions. I edited wiki text once as myself andThis is my setup:
Environment:
Redmine version
Ruby version
Rails version
Environment
Database adapter
Redmine plugins:
redmine̲category̲tree
redmine̲contacts
redmine̲contacts̲helpdesk
redmine̲default̲assign
redmine̲dmsf
redmine̲inline̲attach̲screenshot
redmine̲issue̲templates
redmine̲ldap̲sync
redmine̲lightbox
redmine̲logs
redmine̲people
redmine̲plugin̲views̲revisions
redmine̲private̲wiki
redmine̲projects̲accordion
redmine̲repobrowser
redmine̲stealthredmine̲theme̲changer
redmine̲user̲profiles
redmine̲wiki̲extensions
redmine̲work̲time
redmine̲xls̲export
sidebarwiking06 11月 2024

2.3.0.devel.11513
1.9.3 (x86̲64-linux)
3.2.12
production
Mysql20.0.3
3.2.7-pro
2.2.5-pro
0.4
1.4.5

stable0.4.6
0.0.6
2.0.2.devel.gdd55d9edd0-dirty
0.0.1
0.0.5
0.1.6
0.0.1
0.2.2
0.1.0
1.3.0
0.6.0
0.1.0
0.1.1
0.6.4
0.2.14
0.2.1
0.1.1
0.1.0

4/5

#18 - 17 4月 2014 12:47 - Miodrag Milic@ Andriy Lesyuk
I checked out production log and everything looks normal:
Processing by UsersController#show as HTMLParameters: {"id"=>"mmilic"}
Current user: mmilic (id=3)
Rendered plugins/redmine̲contacts/app/views/users/̲contact.html.erb (8.3ms)
Rendered plugins/redmine̲user̲profiles/app/views/users/̲show̲user̲profile.html.erb (6.8ms)
Rendered plugins/wiking/app/views/users/̲activity.html.erb (0.5ms)
Rendered common/̲tabs.html.erb (1.4ms)
Rendered plugins/wiking/app/views/wiking/̲mentions.html.erb (3.6ms)
Rendered users/show.html.erb within layouts/base (82.3ms)
Rendered plugins/redmine̲private̲wiki/app/views/hooks/̲html̲header.html.erb (0.0ms)
Rendered plugins/redmine̲wiki̲extensions/app/views/wiki̲extensions/̲html̲header.html.erb (0.0ms)
Rendered plugins/redmine̲repobrowser/app/views/repobrowser/̲toolbarmod.erb (0.0ms)
Rendered plugins/sidebar/app/views/sidebar/̲base.html.erb (0.1ms)
Rendered plugins/redmine̲private̲wiki/app/views/hooks/̲body̲bottom.html.erb (0.1ms)
Rendered plugins/redmine̲wiki̲extensions/app/views/wiki̲extensions/̲body̲bottom.html.erb (0.0ms)

I can see that mentions is rendered
Renderedplugins/wiking/app/views/wiking/̲mentions.html.erb

I currently dont have an option to disable other plugins to see if its interaction problem. Is there anything else I can do to debug this issue ?

ファイル
new-mentions-tab.png

06 11月 2024

51 KB

26 9月 2013

Andriy Lesyuk

5/5