From version < 9.1 >
edited by Vincent Massol
on 2014/07/22 10:53
To version < 10.1 >
edited by Vincent Massol
on 2014/07/22 10:55
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -9,10 +9,11 @@
9 9  {{groovy}}
10 10  if (request.confirm == '1') {
11 11   def total = 0
12 - services.query.xwql("from doc.object(ExtensionCode.ExtensionClass) as extension where doc.space = 'Extension' and doc.creationDate >= :start and doc.creationDate < :end").bindValue('start', Date.parse('yyyy-MM-dd', request.start)).bindValue('end', Date.parse('yyyy-MM-dd', request.end)).execute().each() {
13 -def mydoc = xwiki.getDocument(it)
14 -mydoc.use("ExtensionCode.ExtensionClass")
15 - println "* ${it} - ${mydoc.getValue('authors')}"
12 + services.query.xwql("from doc.object(ExtensionCode.ExtensionClass) as extension where doc.space = 'Extension' and doc.creationDate >= :start and doc.creationDate < :end and 'xwiki:XWiki.XWikiTeam' not in extension.authors").bindValue('start', Date.parse('yyyy-MM-dd', request.start)).bindValue('end', Date.parse('yyyy-MM-dd', request.end)).execute().each() {
13 +//def mydoc = xwiki.getDocument(it)
14 +//mydoc.use("ExtensionCode.ExtensionClass")
15 +// println "* ${it} - ${mydoc.getValue('authors')}"
16 + println "* ${it}"
16 16   total++
17 17   }
18 18   println ""
No changes

Get Connected