﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
8398,WikiImport doens't work,defect,0.11,Tristan Rivoallan,new,2011-01-13T15:18:32+01:00,2011-01-20T22:58:46+01:00,"Hi,

I have Agilo installed as well as the WikiImportPlugin.
I can't find the Wiki->Import menu item under the Admin panel.
I use the following trac.ini configurations:
{{{
[components]
__init__.* = enabled
acct_mgr.* = enabled
acct_mgr.web_ui.emailverificationmodule = disabled
agilo.* = enabled
agilo_common.* = disabled
agilo_pro.* = disabled
colormacro.* = enabled
controller.* = enabled
wikiimport.* = enabled
trac.ticket.api.ticketsystem = disabled
trac.ticket.roadmap.roadmapmodule = disabled
trac.ticket.web_ui.ticketmodule = disabled
trac.web.auth.loginmodule = disabled
}}}

{{{
[wiki-import]
default.name = WikiStart
default.path = E:\Agilo\EssenceSolar
scrum.name = WikiStart
scrum.path = E:\Agilo\EssenceSecurity
}}}

I use trac 0.11.7

Thanks,
Janiv Ratson.
",Janiv Ratson
7451,Allow select/unselect all on preview page,enhancement,0.11,Tristan Rivoallan,new,2010-08-03T13:13:45+02:00,2010-08-03T13:13:45+02:00,"Simple select/unselect all functionality is handy, here's my stab for our install, use if you like :)

Cheers
Ian
{{{
Index: 0.11/wikiimport/templates/admin_wikiimport_preview.html
===================================================================
--- 0.11/wikiimport/templates/admin_wikiimport_preview.html     (revision 8330)
+++ 0.11/wikiimport/templates/admin_wikiimport_preview.html     (working copy)
@@ -10,7 +10,23 @@
 </head>
 
 <body>
+<script type=""text/javascript"">//<![CDATA[
+function toggleAllCheckboxesOnForm(targetform)
+{
 
+  for(var i=0; i < targetform.elements.length; i++)
+  {
+        if (targetform.elements[i].checked == true){
+           targetform.elements[i].checked = false;
+        }
+        else
+        {
+           targetform.elements[i].checked = true;
+        }
+  }
+}
+//]]></script>
+
        <h2>Preview import</h2>
 
        <p class=""help"">Pages marked for update will get a new version. Previous content will still be available in page's history.</p>
@@ -19,7 +35,9 @@
        <table id=""complist"" class=""listing"">
                <thead>
                        <tr>
-                               <th class=""wikiimport-check"">Perform operation ?</th>
+                               <th class=""wikiimport-check"">Perform operation ? 
+                                       <input type=""checkbox"" checked=""1"" onchange=""toggleAllCheckboxesOnForm(this.form); ""/>
+                               </th>
                                <th>Page name</th>
                                <th>Operation</th>
                        </tr>
}}}",ian.sherratt@…
6299,Doesn't import the attachments for a page,enhancement,0.11,Tristan Rivoallan,new,2009-12-07T21:19:15+01:00,2018-08-14T01:28:33+02:00,"The reason I installed this plugin was to save me from manually importing the very many image attachments we have on a number of tutorial wiki pages. Sadly, this plugin only imports wiki pages and none of their attachments. I could've done that manually in the time it took to install the plugin :(

Any chance this feature could be added? Something along these lines would do it for a single file...

{{{
#!python
import os
from trac.attachment import Attachment
from trac.admin.console import TracAdmin

wikidir = r'C:\Path\To\My\TracProject'

admin = TracAdmin()
admin.env_set(wikidir)

filename = r'c:\Path\To\My\Images\2_0.jpg'

attachment = Attachment(admin.env_open(), 'wiki', 'tutorials/page1')

size = os.stat(filename)[6]
attfile = open(filename,'rb')

attachment.insert(os.path.basename(filename), attfile, size)
}}}",srevill@…
6021,Option to have Tracs standard wiki pages unchecked by default,enhancement,0.11,Tristan Rivoallan,new,2009-10-23T00:43:11+02:00,2009-10-23T00:43:11+02:00,"Would you consider to add such an option? The pages could easily be determined via the file system (tracs template dir). Usually, one does not edit those - and thus not require to move them between environments.

Moreover: A small javascript button to check/uncheck all would be nice as well.
",izzy
5994,Import of tags,enhancement,0.11,Tristan Rivoallan,new,2009-10-20T11:24:08+02:00,2009-11-06T11:26:12+01:00,Plugin very useful which would be perfect if tags were imported,Myriam
