Re: [xwiki-users] video tag (solved)

2013-08-27 Thread Valdis Vītoliņš
> It appears now this tag is filtered out by newer Apache proxy version
> (hate these standards naciz)...

And I found out that I had unnecessary option for ApacheProxy:
/etc/apache2/
...
ProxyHTMLDoctype XHTML
...
See more at
http://httpd.apache.org/docs/current/mod/mod_proxy_html.html#proxyhtmldoctype

Valdis

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is database migration possible from Mindtouch v.10 to xwiki?

2013-08-27 Thread Dmitry Bakbardin
 Hi, Jason

Export-import is a solution, BUT most possible it won't solve the problem: all 
access rights won't be copied as desired.
Probably it would be better to split 4K pages into per-project (or else) basis 
and do it one by one. Otherwise it would be a big mess with access rights. 
I had a bit similar migration in a near past with a complex access rights 
system. Customer had 5 (!) sources of information we had to combine in one 
knowledgebase. One of them it was XWiki 2.5.
 First of all, we described a FULL infrastructure of existing and desired 
knowledgebase with all employees/clients roles, user groups and access rights. 
Then, according to requirements we developed wiki structure.
Migration plan included the requirement, that we can't stop production at all.
So, finally, we moved every project one by one, setting up corresponding access 
rights. Now it has 39+ subwikis (two of them are public) and 200+ users that 
are happy to use all power of XWiki :-)
Thus, try to trace whole migration and probably, there are other solutions, 
then verbatim DB export-import.

Kind regards,

Dmitry

Вторник, 27 августа 2013, 14:52 UTC от Jason Letanosky 
:
>Hi Vincent,
>
>Thanks for the fast response.
>
>Here are some more details about the mindtouch export.
>
>It appears that it can export pages as HTML, but is limited to about 100
>pages and 150 mb - our installation is over 4000 pages, and the
>attachments are much MUCH more than 150 mb. I was looking more towards a
>db dump (mysql). We have AD integration setup and restrict certain pages
>to certain AD groups - and would like to include that in the migration
>(however, as long as xwiki can apply access restrictions to child pages,
>then this wouldn't be too big of an issue to do manually).
>
>I'll also reach out to one (or more) of the professional support groups.
>
>Thanks again,
>
>Jason Letanosky
>
>
>
>
>
>
>
>
>On 8/27/13 9:35 AM, "Vincent Massol" < vinc...@massol.net > wrote:
>
>>Hi Jason,
>>
>>I don't know of any existing Mindtouch converter to XWiki. However there
>>are several handmade converter tools on  http://extensions.xwiki.org that
>>could serve as examples.
>>
>>What is the markup syntax used by Mindtouch? I have the feeling they only
>>provide HTML which would be fine since XWiki's Rendering can convert HTML
>>into wiki markup for example (or keep it as HTML too).
>>
>>So converting a page would be:
>>* Read the export format from Mindtouch (what is it? XML?)
>>* Use the XWiki API to create a wiki page, convert the HTML content to
>>wiki markup (easy to do), add attachments
>>
>>Also note that Thomas Mortagne (one of the XWiki committer) is currently
>>working on a wiki stream API that is an ideal scaffolding for
>>importing/exporting wikis:
>> https://github.com/xwiki-contrib/wiki-stream . But there's non trivial
>>dev work to be done to make it work.
>>
>>Another idea is to contact one of the companies providing professional
>>services around XWiki and ask them how much it would cost for a
>>conversion:
>> http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport
>>
>>Hope it helps,
>>-Vincent
>>
>>On Aug 27, 2013, at 4:16 PM, Jason Letanosky
>>< jletano...@momentumtelecom.com > wrote:
>>
>>> I'm looking to migrate away from mindtouch (many reasons, not the least
>>>of which is the abandoning of Core and going to a cloud only model) and
>>>am considering XWiki (also TikiWiki and BlueSpice). Is it possible to
>>>migrate an existing installation of mindtouch to xwiki? We have over
>>>4000 pages and MANY file attachments, so a manual migration (manually
>>>moving each page) would not be desirable. Any help or advice on
>>>migrating would be greatly appreciated.
>>> 
>>> Thanks in advance,
>>> 
>>> Jason
>>
>
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is database migration possible from Mindtouch v.10 to xwiki?

2013-08-27 Thread Jason Letanosky
Hi Vincent,

Thanks for the fast response.

Here are some more details about the mindtouch export.

It appears that it can export pages as HTML, but is limited to about 100
pages and 150 mb - our installation is over 4000 pages, and the
attachments are much MUCH more than 150 mb. I was looking more towards a
db dump (mysql). We have AD integration setup and restrict certain pages
to certain AD groups - and would like to include that in the migration
(however, as long as xwiki can apply access restrictions to child pages,
then this wouldn't be too big of an issue to do manually).

I'll also reach out to one (or more) of the professional support groups.

Thanks again,

Jason Letanosky








On 8/27/13 9:35 AM, "Vincent Massol"  wrote:

>Hi Jason,
>
>I don't know of any existing Mindtouch converter to XWiki. However there
>are several handmade converter tools on http://extensions.xwiki.org that
>could serve as examples.
>
>What is the markup syntax used by Mindtouch? I have the feeling they only
>provide HTML which would be fine since XWiki's Rendering can convert HTML
>into wiki markup for example (or keep it as HTML too).
>
>So converting a page would be:
>* Read the export format from Mindtouch (what is it? XML?)
>* Use the XWiki API to create a wiki page, convert the HTML content to
>wiki markup (easy to do), add attachments
>
>Also note that Thomas Mortagne (one of the XWiki committer) is currently
>working on a wiki stream API that is an ideal scaffolding for
>importing/exporting wikis:
>https://github.com/xwiki-contrib/wiki-stream . But there's non trivial
>dev work to be done to make it work.
>
>Another idea is to contact one of the companies providing professional
>services around XWiki and ask them how much it would cost for a
>conversion:
>http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport
>
>Hope it helps,
>-Vincent
>
>On Aug 27, 2013, at 4:16 PM, Jason Letanosky
> wrote:
>
>> I'm looking to migrate away from mindtouch (many reasons, not the least
>>of which is the abandoning of Core and going to a cloud only model) and
>>am considering XWiki (also TikiWiki and BlueSpice). Is it possible to
>>migrate an existing installation of mindtouch to xwiki? We have over
>>4000 pages and MANY file attachments, so a manual migration (manually
>>moving each page) would not be desirable. Any help or advice on
>>migrating would be greatly appreciated.
>> 
>> Thanks in advance,
>> 
>> Jason
>

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Is database migration possible from Mindtouch v.10 to xwiki?

2013-08-27 Thread Vincent Massol
Hi Jason,

I don't know of any existing Mindtouch converter to XWiki. However there are 
several handmade converter tools on http://extensions.xwiki.org that could 
serve as examples.

What is the markup syntax used by Mindtouch? I have the feeling they only 
provide HTML which would be fine since XWiki's Rendering can convert HTML into 
wiki markup for example (or keep it as HTML too).

So converting a page would be:
* Read the export format from Mindtouch (what is it? XML?)
* Use the XWiki API to create a wiki page, convert the HTML content to wiki 
markup (easy to do), add attachments

Also note that Thomas Mortagne (one of the XWiki committer) is currently 
working on a wiki stream API that is an ideal scaffolding for 
importing/exporting wikis:
https://github.com/xwiki-contrib/wiki-stream . But there's non trivial dev work 
to be done to make it work.

Another idea is to contact one of the companies providing professional services 
around XWiki and ask them how much it would cost for a conversion:
http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport

Hope it helps,
-Vincent

On Aug 27, 2013, at 4:16 PM, Jason Letanosky  
wrote:

> I'm looking to migrate away from mindtouch (many reasons, not the least of 
> which is the abandoning of Core and going to a cloud only model) and am 
> considering XWiki (also TikiWiki and BlueSpice). Is it possible to migrate an 
> existing installation of mindtouch to xwiki? We have over 4000 pages and MANY 
> file attachments, so a manual migration (manually moving each page) would not 
> be desirable. Any help or advice on migrating would be greatly appreciated.
> 
> Thanks in advance,
> 
> Jason
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki design and doubts

2013-08-27 Thread Dmitry Bakbardin
 Hi Óscar,

See below

Вторник, 27 августа 2013, 9:30 +02:00 от Oscar Segarra Rey 
:
>Hi, 
>
>1.- Project manager can create new spaces --> Fixed: Thanks a lot
>
>2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
>$response.sendRedirect($xwiki.getURL('Some.Document'))
>#end --> Where should I place this commands?
{{velocity}}
#if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
$response.sendRedirect($xwiki.getURL('Some.Document'))
#end
{{/velocity}}

Put this code inside the page Main.WebHome and it will redirect users in 
DemoGroup to the Some.Document. Or just change Page Names to required.

>
>
>3.- I don't know how to navigate between spaces
>--> Is there any place where to view all paces in order to 
>administer/delete them?
>--> Is there any way to click in another space in order to view it? XWiki has 
>simple "adressing" system: "wiki:Space.Page" or inside one wiki: "Space.Page". 
>The space's "main page" has default name WebHome, so to link it, put the link 
>SpaceName.WebHome and it will work. Read more at  
>http://enterprise.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax

To view all spaces, visit Main.AllDocs page, hope it will fit your needs. BUT, 
to delete space, delete ALL pages in it, including WebHome page, then it would 
be "erased" or just use  
http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Space
To rename Space:  
http://extensions.xwiki.org/xwiki/bin/view/Extension/Rename+Space

Also try  http://main.xwiki.org/xwiki/bin/view/Main/Documentation ,

especially  http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/WebHome 
and jus follow links. Developer's part would be useful also.


>
>
>Thanks a lot in advance.
>
>Óscar Segarra
>
>
>
>De: Valdis Vītoliņš < valdis.vitol...@odo.lv >
>Para:   XWiki Users < users@xwiki.org >, 
>Fecha:  26/08/2013 21:27
>Asunto: Re: [xwiki-users] XWiki design and doubts
>Enviado por:  users-boun...@xwiki.org
>
>
>
>...
>> The problem i have found is.
>> 
>> 1.- Project manager can create new spaces
>http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access
>+Rights#HPreventregularusersfromcreatingnewspaces
>
>> 2.- I dont't know how to fix the initial space for Operators (they 
>appear 
>> in Main Space)
>
>#if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
>$response.sendRedirect($xwiki.getURL('Some.Document'))
>#end
>
>
>Valdis
>
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
>
>Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede
>contener información confidencial, siendo para uso exclusivo del 
>destinatario, quedando prohibida su divulgación copia o  distribución a 
>terceros sin la autorización expresa del remitente. Si Vd. ha recibido 
>este mensaje erróneamente, se ruega lo  notifique al remitente y 
>proceda a su borrado.
>Gracias por su colaboración.
>
>This message (including any attachments) may contain confidential 
>information. It is intended for use by the recipient only. Any 
>dissemination, copying or distribution to third parties without the 
>express consent of the sender is strictly prohibited. If you have 
>received this message in error, please delete it immediately and 
>notify the sender. 
>Thank you for your collaboration.
>___
>users mailing list
>users@xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users


Kind regards, 

Dmitry
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Is database migration possible from Mindtouch v.10 to xwiki?

2013-08-27 Thread Jason Letanosky
I'm looking to migrate away from mindtouch (many reasons, not the least of 
which is the abandoning of Core and going to a cloud only model) and am 
considering XWiki (also TikiWiki and BlueSpice). Is it possible to migrate an 
existing installation of mindtouch to xwiki? We have over 4000 pages and MANY 
file attachments, so a manual migration (manually moving each page) would not 
be desirable. Any help or advice on migrating would be greatly appreciated.

Thanks in advance,

Jason
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] tagcloud and spaces macro trouble

2013-08-27 Thread Vincent Massol

On Aug 27, 2013, at 3:59 PM, Vincent Massol  wrote:

> 
> On Aug 27, 2013, at 3:55 PM, Hamster  wrote:
> 
>> Can anyone check this:
>> 
>> I have the feeling that the TagCloud became broken after a regular user
>> posted a comment to the TagCloud page (XWiki 4.3). If this is true, I
>> consider this a bug :-)
> 
> Yes I think you're right and it's a known bug:
> http://jira.xwiki.org/browse/XWIKI-9292
> 
> We're working on a fix (specifically we're going to introduce the notion of 
> signed scripts to remove the need for PRs).

In the meantime, I guess we could add page level rights on all default pages 
requiring PRs so that only admins can edit/comment them maybe?

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] tagcloud and spaces macro trouble

2013-08-27 Thread Vincent Massol

On Aug 27, 2013, at 3:55 PM, Hamster  wrote:

> Can anyone check this:
> 
> I have the feeling that the TagCloud became broken after a regular user
> posted a comment to the TagCloud page (XWiki 4.3). If this is true, I
> consider this a bug :-)

Yes I think you're right and it's a known bug:
http://jira.xwiki.org/browse/XWIKI-9292

We're working on a fix (specifically we're going to introduce the notion of 
signed scripts to remove the need for PRs).

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] tagcloud and spaces macro trouble

2013-08-27 Thread Hamster
Can anyone check this:

I have the feeling that the TagCloud became broken after a regular user
posted a comment to the TagCloud page (XWiki 4.3). If this is true, I
consider this a bug :-)



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/tagcloud-and-spaces-macro-trouble-tp7284257p7586789.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] tagcloud and spaces macro trouble

2013-08-27 Thread Vincent Massol

On Aug 27, 2013, at 2:57 PM, Hamster  wrote:

> Edit as an Admin did the job!

What made it work is that you need to save the page with a user having 
Programming Rights (PR). Your Admin user probably has PR. When saved, this 
means the page has PR and can execute "privileged" method calls.

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] tagcloud and spaces macro trouble

2013-08-27 Thread Hamster
Edit as an Admin did the job!

Thanks!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/tagcloud-and-spaces-macro-trouble-tp7284257p7586787.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How the first upgrade of xwiki was unsuccessful.

2013-08-27 Thread Clemens Klein-Robbenhaar

On 08/26/2013 03:21 PM, Vincent Massol wrote:
[...]
>> By the way, is the distribution manager expected to pop up on an upgrade?
> 
> Yes definitely, see 
> http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard
> 

Ah, but it did not show up for my installation; however the problem was due to 
a rogue
/META-INF/MANIFEST.MF which I somewhat forgot when cleaning up my overlay target
that should only modify a few template pages ... which perfectly explains why 
the
distribution wizard did not get invoked for me.

After deleting that file, the one from the xwiki distribution is picked up
and the DW came up on the first request for me, too.

 However it only upgrades the content of the main wiki, which has the
"XWiki Enterprise Manager - UI All" installed (in Step 2). The subwikis
have the "XWiki Enterprise - UI All" installed, however.

 In Step 3 when I am asked to update the current wiki only or all wikis,
it does not matter what I choose; the DW sends a request to itself
with parameter values action=COMPLETE_STEP and either upgradeMode=ALLINONE
or upgradeMode=WIKI.

 In my installation this causes just an empty page as a response,
which causes the DW to close and the xwiki main page to show up.
 The subwikis are not updated, but that can be easily fixed
by going to the "Extension upgrader" and upgrade the
"XWiki Enterprise - UI All" on the complete farm.

However I guess this is not how it should work ... so I should
look at the place where my overlay process has broken things a second time.

 Any pointers to what should have happened in third step?

Cheers,
Clemens
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] User directory avatar image resize problem

2013-08-27 Thread Paul Libbrecht
Just posted on the jira bug.

paul


Le 27 août 2013 à 11:39, Sunil Saw a écrit :

> Hi,
> 
> I saw the workaround explained in JIRA “install the image plugin version
> 3.5 which does not handle streams of images but byte-arrays.”
> However, I don’t know how to install Image plugin version 3.5. I searched
> in Extensions Repository and “WEB-INF\lib” folder, but did not find any
> with such a name.
> Can you please help me with the procedure?
> 
> Please do needful ASAP.
> 
> Thanks,
> Sunil

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] User directory avatar image resize problem

2013-08-27 Thread Sunil Saw
Hi,

I saw the workaround explained in JIRA “install the image plugin version
3.5 which does not handle streams of images but byte-arrays.”
However, I don’t know how to install Image plugin version 3.5. I searched
in Extensions Repository and “WEB-INF\lib” folder, but did not find any
with such a name.
Can you please help me with the procedure?

Please do needful ASAP.

Thanks,
Sunil


On Tue, Aug 6, 2013 at 3:06 PM, Paul Libbrecht  wrote:

> Sunil,
>
>
> As Vincent reported, this is reported and there is at least a workaround
> in http://jira.xwiki.org/browse/XWIKI-9387.
>
> I think this is clearly independent of the clients' OS.
> Please note that in many cases it shows ok in web-pages just because CSS
> or html-attributes actually do the resize. The problem is that these
> resizes waste bandwidth (sometimes to a limit that is unacceptable for
> browser's resources, e.g. when a 10 Mpixel image is used) and that the
> keepAspectRation feature is absent thus images are shrunk.
> To test, you still need to "display image alone" and see if the resize is
> actually done.
>
> A question to you: does the install on Windows XP also use the
> file-system-attachments?
> If yes, then we have clearly a platform-dependent-issue, something such as
> buffer-size-difference or so.
>
>
> thanks
>
> Paul
>
>
>
>
>
> On 6 août 2013, at 10:56, Sunil Saw wrote:
>
> > Hi Marius,
> >
> >
> >
> > Yes, we use File System Attachments.
> >
> >
> >
> > FYI our original Xwiki installation and database was based on Xwiki
> 4.5.3.
> > We have upgraded from XWiki 4.5.3 to 5.0.3 and then to 5.1 currently.
> >
> > This installation is running on an Ubuntu 12.04 LTS machine with default
> > generic Installer environment (with JETTY and Hibernate).
> >
> > The clients use various flavors of Windows (XP, 7 etc.).
> >
> >
> >
> > We also tried copying the same database to a Windows XP machine with
> XWiki
> > 5.1 and there the User Directory images are getting resized properly.
> >
> > We tested it using a URL like *
> >
> /xwiki/bin/download/XWiki/mflorea/me.jpg?width=50&height=50&keepAspectRatio=true
> > *
> >
> > Only on the Linux Xwiki installation, there is no effect on resizing in
> > User Directory.
> >
> > However, we also noticed that on Profile Page, the exact same image URL
> is
> > shown as resized.
> >
> >
> >
> > Is it due to some access rights issue for any image resizing library on
> > Ubuntu Linux?
> >
> > Can we enable any special trace logs messages to analyze this?
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Aug 5, 2013 at 12:51 PM, Marius Dumitru Florea <
> > mariusdumitru.flo...@xwiki.com> wrote:
> >
> >> Are you using the file system attachment storage?
> >>
> >> On Mon, Aug 5, 2013 at 8:21 AM, Sunil Saw 
> wrote:
> >>> Hi Marius,
> >>>
> >>> Thanks for your reply.
> >>> The XWiki version I am using is an upgrade.
> >>> I cleared the browser cache and tried changing the width/height of the
> >>> image (in User Directory live table) in the URL query string, but it
> >> didnt
> >>> work.
> >>> The image size remained same as it is.
> >>>
> >>>
> >>> On Fri, Aug 2, 2013 at 7:26 PM, Marius Dumitru Florea <
> >>> mariusdumitru.flo...@xwiki.com> wrote:
> >>>
>  Hi Sunil,
> 
>  Is it a clean install or an upgrade? Can you clear your browser cache
>  just to be sure there are no leftovers. Then, can you check the URL of
>  the image displayed in the User Directory live table? It should be
>  similar to:
> 
> >>
> /xwiki/bin/download/XWiki/mflorea/me.jpg?width=50&height=50&keepAspectRatio=true
>  . If it is, then try changing the width/height in the URL query string
>  and see if the image is resized.
> 
>  Hope this helps,
>  Marius
> 
>  On Fri, Aug 2, 2013 at 1:53 PM, Sunil Saw 
> >> wrote:
> > Hey All,
> >
> > I installed the Xwiki 5.1 Enterprise edition. When a user updates his
> > profile picture it is re sized automatically in all the pages(e.g.
>  profile
> > page, the thumbnail shown in Add Comments section etc.). But when I
> >> view
>  in
> > the user directory  the automatic re size does not happen. The image
> >> is
> > shown in a huge size(it does not get re sized). Could anyone please
> >> help
> > with this issue.
> >
> >
> >
> > Thanks and Regards
> > Sunil
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>  ___
>  users mailing list
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
> 
> >>> ___
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > 

Re: [xwiki-users] Assign document template to existing document

2013-08-27 Thread Vincent Massol
Hi Johannes,

On Aug 27, 2013, at 11:04 AM, gru  
wrote:

> Hi everybody,
> 
> I have a kind of FAQ space in my wiki, where our operations team is
> documenting sm-event descriptions.
> After creating 144 documents I finally found out how to create a document
> template.
> 
> Is there anyway to "convert" or "reassign" the new template to the existing
> documents?

XWiki supports the notion of structured documents (see 
http://platform.xwiki.org/xwiki/bin/view/Features/Forms, 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel and 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial).

So maybe creating an XClass to represent your sm-event object would be the 
best. This will allow you to get structured data, display them in livetables, 
query them, process them, etc.

If by "templates" you mean 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HTemplatesCreationandAdministration
 then this is not about structured data, it's just some predefined content that 
you copy when creating new pages.

So first, you need to choose whether you wish to use XClass/XObjects or Page 
Templates.

Then to convert your existing content you'll need to use scripting 
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting) to read existing 
data, parse it and store it in new data structures or new pages, then remove 
the old pages.

Hope it helps,
-Vincent

> Best regards,
> Johannes
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Assign document template to existing document

2013-08-27 Thread gru
Hi everybody,

I have a kind of FAQ space in my wiki, where our operations team is
documenting sm-event descriptions.
After creating 144 documents I finally found out how to create a document
template.

Is there anyway to "convert" or "reassign" the new template to the existing
documents?

Best regards,
Johannes



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Assign-document-template-to-existing-document-tp7586780.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] ActivityStreamCleanerJob

2013-08-27 Thread Sorin Burjan
Hello Josef,

I have a 5.2M1 wiki which is 2 weeks old. I've set
xwiki.plugin.activitystream.daystokeepevents=1 in xwiki.cfg as you did,
then restarted my wiki. A job was created automatically. I left the default
job parameters which were created by XWiki.

Before triggering manually the job, I queried the database (Postgres):
xwiki=# select count(*) from activitystream_events;
 count
---
  1800
(1 row)

After triggering the job, I re-run the same query:
xwiki=# select count(*) from activitystream_events;
 count
---
   791
(1 row)

Also in the AS now I only have entries from today and yesterday. Checked
also Main.WebHome but also my AS from my profile. They both look the same.

Since I am not an expert here, maybe your cron expression is not correct or
other parameter. I'd say you could try deleting your job and let XWiki
create it automatically for you, see if it works this way.

Regards,
Sorin B.


On Fri, Aug 23, 2013 at 1:03 PM, Haimerl, Josef
wrote:

> Hi
>
> I want to run the ActivityStreamCleanerJob
> (com/xpn/xwiki/plugin/activitystream/impl/ActivityStreamCleanerJob.java)
> within the Job Scheduler Application. I knew I had it running a while ago
> and it worked, but despite the same configuration it doesn't anymore. When
> I take a look at the database table activitystream_events nothing seems to
> be deleted.
> What I did:
>
> * installed Scheduler Job (as admin) as mentioned on the extension
> site
>
> * created a new Job with following parameters
>
> o   Job Name: ActivityStreamCleaner
>
> o   Job Class:
> com.xpn.xwiki.plugin.activitystream.impl.ActivityStreamCleanerJob
>
> o   Status: Normal
>
> o   Job Script:
>
> o   Cron Expression: 0 29 11 * * ?
>
> o   Job execution context user: XWiki.Admin
>
> o   Job execution context lang: en
>
> o   Job execution context database: xwiki
>
> * checked if scheduler and activitystream plugins are loaded in
> xwiki.cfg
>
> * set xwiki.plugin.activitystream.daystokeepevents=1 in xwiki.cfg
>
> * unscheduled and scheduled the job again
>
> * triggered it
>
> * tested if other jobs work in general: OK
>
> * tested on different xwiki instances
>
> So do you have any advice, have I something missed out?
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki design and doubts

2013-08-27 Thread Valdis Vītoliņš

> 2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
> $response.sendRedirect($xwiki.getURL('Some.Document'))
> #end --> Where should I place this commands? 
Put this code e.g. in Main.WebHome page surrounding by
{{velocity}} or you can create macro:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial

2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
> $response.sendRedirect($xwiki.getURL('Some.Document'))
> #end --> Where should I place this commands?
> 3.- I don't know how to navigate between spaces 
> --> Is there any place where to view all paces in order to
> administer/delete them?
You can look at all documents in /xwiki/bin/view/Main/AllDocs page
Actually there is no object called "Space" in XWiki. Space is property
of the XWiki Document and "Create space" actually means "Create
Space.WebHome document". To delete space you need to delete all
documents (including hidden ones) which are grouped in this space.
To do it automatically use code from the:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Delete+Space

> --> Is there any way to click in another space in order to view it? 
XWiki Panel Wizard has built-in "Spaces" and "Space documents" panels:
http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/ChangingTheLogoAndThePanels

And of course, you can create your own panels.

Valdis

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki design and doubts

2013-08-27 Thread Oscar Segarra Rey
Hi, 

1.- Project manager can create new spaces --> Fixed: Thanks a lot

2.- #if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
$response.sendRedirect($xwiki.getURL('Some.Document'))
#end --> Where should I place this commands?

3.- I don't know how to navigate between spaces
--> Is there any place where to view all paces in order to 
administer/delete them?
--> Is there any way to click in another space in order to view it?

Thanks a lot in advance.

Óscar Segarra



De: Valdis Vītoliņš 
Para:   XWiki Users , 
Fecha:  26/08/2013 21:27
Asunto: Re: [xwiki-users] XWiki design and doubts
Enviado por:users-boun...@xwiki.org



...
> The problem i have found is.
> 
> 1.- Project manager can create new spaces
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access
+Rights#HPreventregularusersfromcreatingnewspaces

> 2.- I dont't know how to fix the initial space for Operators (they 
appear 
> in Main Space)

#if($xwiki.getUser().isUserInGroup("XWiki.DemoGroup"))
$response.sendRedirect($xwiki.getURL('Some.Document'))
#end


Valdis

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede
contener información confidencial, siendo para uso exclusivo del 
destinatario, quedando prohibida su divulgación copia o  distribución a 
terceros sin la autorización expresa del remitente. Si Vd. ha recibido 
este mensaje erróneamente, se ruega lo  notifique al remitente y 
proceda a su borrado.
Gracias por su colaboración.

This message (including any attachments) may contain confidential 
information. It is intended for use by the recipient only. Any 
dissemination, copying or distribution to third parties without the 
express consent of the sender is strictly prohibited. If you have 
received this message in error, please delete it immediately and 
notify the sender. 
Thank you for your collaboration.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users