From: <de...@de...> - 2014-07-03 09:15:38
|
Author: PeterThoeny Date: 2014-07-03 04:13:11 -0500 (Thu, 03 Jul 2014) New Revision: 27812 Trac url: http://develop.twiki.org/trac/changeset/27812 Modified: twiki/branches/TWikiRelease06x00/WhereIsPlugin/data/TWiki/WhereIsPlugin.txt twiki/branches/TWikiRelease06x00/WhereIsPlugin/lib/TWiki/Plugins/WhereIsPlugin.pm Log: Item7527: Initial version of WhereIsPlugin - in edit locations table, add ajax call to update and create a new location/address records - updating docs Modified: twiki/branches/TWikiRelease06x00/WhereIsPlugin/data/TWiki/WhereIsPlugin.txt =================================================================== --- twiki/branches/TWikiRelease06x00/WhereIsPlugin/data/TWiki/WhereIsPlugin.txt 2014-07-03 09:12:16 UTC (rev 27811) +++ twiki/branches/TWikiRelease06x00/WhereIsPlugin/data/TWiki/WhereIsPlugin.txt 2014-07-03 09:13:11 UTC (rev 27812) @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="TWikiContributor" date="1404366806" format="1.1" version="$Rev$"}% +%META:TOPICINFO{author="TWikiContributor" date="1404378660" format="1.1" version="$Rev$"}% ---+!! Where-Is Plugin <!-- Contributions to this plugin are appreciated. Please update the plugin page at @@ -31,19 +31,19 @@ * User profile pages show the user's last location and time next to the person's name. * %ATTACHURL%/whereis-left-button-gray.png button in the left topic margin, linking to the WhereIs topic. - * The WhereIs shows user location data. + * The WhereIs topic shows user location data. The *[[WhereIs]]* topic has two tabs: * The "Recently Seen" tab shows recent user locations. - * The "Show Location" tab shows the specific location of the logged in user. + * The "Locations" tab shows known locations. <div style="float:right; margin-left: 20px; width: 474px;"> <img src="%PUBURLPATH%/%WEB%/%TOPIC%/recently-seen.png" alt="recently-seen.png" width="474" height="428" /> </div> The "Recently Seen" tab shows the locations of the 20 most recent users. The limit can be changed. -The "Show Location" tab shows the specific location of the logged in user. In a future plugin version it will be possible to change the name of a location. +The "Locations" tab shows a table with known locations and users last seen at each location. Hover over a row to update a location. Use the last row to add a location. ---++ Syntax Rules @@ -90,9 +90,9 @@ | =lastseenmsg="..."= | Last seen message. Variables: %BB% =$wikiname= - !WikiName of the user, such as =JimmyNeutron= %BB% =$wikiusername= - !Web.WikiName of user, such as =%USERSWEB%.JimmyNeutron= %BB% =$spacedname= - spaced-out !WikiName of user, such as =Jimmy Neutron= %BB% =$location= - name of location %BB% =$ago= - elapsed time | ={LastSeenMsg}= configure setting | | =notseenmsg="..."= | Not yet seen message. %BB% Same =$wikiname=, =$wikiusername= and =$spacedname= variables as above. | ={NotSeenMsg}= configure setting | ----+++ WHEREIS{ action="editlocations" } - show known locations +---+++ WHEREIS{ action="editlocations" } - show and edit known locations -=%<nop>WHEREIS{ action="editlocations" }%= shows known locations and users last seen at location. Additional parameter: +=%<nop>WHEREIS{ action="editlocations" }%= shows a table with known locations and users last seen at each location. Hover over a row to update a location. Use the last row to add a location. Additional parameter: | *Parameter* | *Explanation* | *Default* | | =limit="..."= | Limit number of recent entries | ="100"= | @@ -136,6 +136,8 @@ | ==data/TWiki/WhereIs.txt== | Report topic | | ==pub/TWiki/WhereIsPlugin/*.gif== and ==*.png== | Image files | | ==templates/view.whereis.tmpl== | Skin template | + | ==templates/whereisdialog.tmpl== | New location dialog box template | + | ==templates/whereiseditlocations.tmpl== | Edit location table template | | ==lib/TWiki/Plugins/WhereIsPlugin.pm== | Plugin Perl module | | ==lib/TWiki/Plugins/WhereIsPlugin/Core.pm== | Plugin Perl module | | ==lib/TWiki/Plugins/WhereIsPlugin/Config.spec== | Configure spec file | @@ -172,8 +174,9 @@ | Copyright: | © 2014 Wave Systems Corp. %BR% © 2014 TWiki:Main.PeterThoeny %BR% © 2014 TWiki:TWiki.TWikiContributor | | License: | GPL ([[http://www.gnu.org/copyleft/gpl.html][GNU General Public License]]) | | Sponsor: | [[http://www.wave.com/][Wave Systems Corp.]] | -| Plugin Version: | 2014-07-02 | +| Plugin Version: | 2014-07-03 | | Change History: | <!-- versions below in reverse order --> | +| 2014-07-03: | TWikibug:Item7527: Update names of known locations; add new location in WhereIs topic | | 2014-07-02: | TWikibug:Item7527: Show known locations in WhereIs topic; doc improvements | | 2014-07-01: | TWikibug:Item7527: Show dialog box prompting user to specify a name for unknown locations | | 2014-06-30: | TWikibug:Item7527: Initial version | Modified: twiki/branches/TWikiRelease06x00/WhereIsPlugin/lib/TWiki/Plugins/WhereIsPlugin.pm =================================================================== --- twiki/branches/TWikiRelease06x00/WhereIsPlugin/lib/TWiki/Plugins/WhereIsPlugin.pm 2014-07-03 09:12:16 UTC (rev 27811) +++ twiki/branches/TWikiRelease06x00/WhereIsPlugin/lib/TWiki/Plugins/WhereIsPlugin.pm 2014-07-03 09:13:11 UTC (rev 27812) @@ -22,7 +22,7 @@ # ========================= our $VERSION = '$Rev$'; -our $RELEASE = '2014-07-02'; +our $RELEASE = '2014-07-03'; our $SHORTDESCRIPTION = 'Where is a person? Show where and when TWiki users were last seen'; our $NO_PREFS_IN_TOPIC = 1; |