[jira] [Created] (JSPWIKI-858) Enhance the Index Plugin to filter Pages, Attachments and Users

2014-08-24 Thread David Vittor (JIRA)
David Vittor created JSPWIKI-858:


 Summary: Enhance the Index Plugin to filter Pages, Attachments and 
Users
 Key: JSPWIKI-858
 URL: https://issues.apache.org/jira/browse/JSPWIKI-858
 Project: JSPWiki
  Issue Type: Improvement
  Components: Core  storage
Affects Versions: 2.10.1
Reporter: David Vittor
Priority: Minor


Currently this plugin displays All pages in the wiki.

At the top is a Index Bar which shows the Alphabetical Index A-Z center 
aligned. I'm wondering if we could move this to the left (with appropraite 
margin/padding), and add a Filters section, such as:
* *Filters:* All | *Pages* | Users | Attachments

Note: Only one of the options could be selected at a time.

Options are:
* All - as per current implementation
* Pages - remove all users and attachments
* Users - Only show Users pages (i.e. where the pagename matches the username 
in the database)
* Attachments - Only show pages which are attachments

I think this may require a little bit of medium/advanced Javascript 
programming, but would be a good way to enhance this plugin.

Another option (not including Javascript) might be to for this plugin to just 
take a parameter, e.g. filter=users. And then you have have the plugin 
multiple times on the page with categories.

{noformat}
!Pages
[{IndexPlugin filter=pages}]
!Users
[{IndexPlugin filter=users}]
!Attachments
[{IndexPlugin filter=attachments}]
{noformat}




--
This message was sent by Atlassian JIRA
(v6.2#6252)


Re: Please remove the Dilbert cartoon (Re: Enhancing FileSystemProvider to save page attributes)

2014-08-24 Thread David Vittor
Thanks Harry,

Btw I think only admins can do this, as the delete button does not appear
for me.

But it looks like you have done this for me.

Cheers,
David V



On Fri, Aug 22, 2014 at 4:51 PM, Harry Metske harry.met...@gmail.com
wrote:

 David,

 to remove attachments, you first have to login, then go to the Attachment
 tab of the page, there is now a delete button.

 regards,
 Harry


 On 21 August 2014 23:17, David Vittor dvit...@gmail.com wrote:

  Hi Glen,
 
  Thanks for pointing this out. I wan't even thinking about copyright at
 the
  time I posted it. I have now removed the image from the page.
 
  Btw - is there a way to remove attachments? I could not seem to find
 this?
 
  Kind regards,
  David V
 
 
 
  On Fri, Aug 22, 2014 at 2:05 AM, Glen Mazza glen.ma...@gmail.com
 wrote:
 
   David, you have what appears to be a copyright-infringing cartoon on
 the
   JSPWiki page:
  https://jspwiki-wiki.apache.org/Wiki.jsp?page=GoComicPlugin.
   Can you remove that please?  It isn't needed to demonstrate your
 plugin.
   Please do not post anything copyrighted, even if it's funny.
  
   Glen
  
   On 08/21/2014 01:15 AM, David Vittor wrote:
  
   Hi devs,
  
   After analysing the source code, and with a few ideas for plugins,
 I've
   raised a new JIRA request, regarding saving extra properties to the
   provider:
   https://issues.apache.org/jira/browse/JSPWIKI-856
  
   If anyone is interested, please feel free to comment. Otherwise I will
  go
   with option 3.
  
   Also is there anything I need to do be able to check in SVN changes?
 Do
  I
   need an account created?
  
   Thanks.
  
  
  
 



Re: Please remove the Dilbert cartoon (Re: Enhancing FileSystemProvider to save page attributes)

2014-08-24 Thread Harry Metske
you're right (twice :-) )


On 25 August 2014 05:31, David Vittor dvit...@gmail.com wrote:

 Thanks Harry,

 Btw I think only admins can do this, as the delete button does not appear
 for me.

 But it looks like you have done this for me.

 Cheers,
 David V



 On Fri, Aug 22, 2014 at 4:51 PM, Harry Metske harry.met...@gmail.com
 wrote:

  David,
 
  to remove attachments, you first have to login, then go to the Attachment
  tab of the page, there is now a delete button.
 
  regards,
  Harry
 
 
  On 21 August 2014 23:17, David Vittor dvit...@gmail.com wrote:
 
   Hi Glen,
  
   Thanks for pointing this out. I wan't even thinking about copyright at
  the
   time I posted it. I have now removed the image from the page.
  
   Btw - is there a way to remove attachments? I could not seem to find
  this?
  
   Kind regards,
   David V
  
  
  
   On Fri, Aug 22, 2014 at 2:05 AM, Glen Mazza glen.ma...@gmail.com
  wrote:
  
David, you have what appears to be a copyright-infringing cartoon on
  the
JSPWiki page:
   https://jspwiki-wiki.apache.org/Wiki.jsp?page=GoComicPlugin.
Can you remove that please?  It isn't needed to demonstrate your
  plugin.
Please do not post anything copyrighted, even if it's funny.
   
Glen
   
On 08/21/2014 01:15 AM, David Vittor wrote:
   
Hi devs,
   
After analysing the source code, and with a few ideas for plugins,
  I've
raised a new JIRA request, regarding saving extra properties to the
provider:
https://issues.apache.org/jira/browse/JSPWIKI-856
   
If anyone is interested, please feel free to comment. Otherwise I
 will
   go
with option 3.
   
Also is there anything I need to do be able to check in SVN changes?
  Do
   I
need an account created?
   
Thanks.