Hi,
Please, as an new XWiki *user* is created as a new instance of
XWiki.XWikiUser class, what class is instantiated to create a new XWiki
*document*?
Thanks!
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
Hello @all,
after Importing the LightBox addon I noticed that it wasn't visible for
other users. This was due to the reduced visibility of the MacroClass Object
to 'Only User'. It would be nice for others if the author would change this
to an appropiate value, so that others won't have the same problem as me.
Greets
--
View this message in context: http://xwiki.475771.n2.nabble.com/Info-LightBox-Macro-v1-3-tp5559163p555916…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
When using the *Meta+G* popup search in a wiki instance of the farm, after
typing something to search for, the dropdown appears saying always "Document
not found".
If we repeat the same operation with the admin user of the farm, all works
fine and the suggested list contains up to 10 pages.
Using Firebug, I discovered that all is right except that the Rest search
service returns an empty list of page. This is the exact JSON received :
{"template":"
http://server.com/xwiki/rest/wikis/calife/search?q={keywords}(&scope={conte…
","searchResults":[]}
My xwiki farm version is 2.3.2. Does someone encounter the same problem ? Do
I have to create an issue in JIRA ?
Thank for your response,
Maxime Mathieu
I am out of the office until 09/23/2010.
I will respond to your message when I return.
Note: This is an automated response to your message "users Digest, Vol 38,
Issue 41" sent on 9/22/2010 2:45:22 AM.
This is the only notification you will receive while this person is away.
Hi all
Trying again to get this mail sent through. please see mail below.
Hi all
>
> I would like to Export our XWiki to disk as a XAR, but I want the Page
> Content to be HTML.
>
> I have tried using the Large Wike Export Code Snippet:
> http://code.xwiki.org/xwiki/bin/view/Snippets/LargeWikiExportSnippet
>
> This works perfectly except I am not managing to use convertSyntax() on the
> "xdoc.content()". Perhaps I am not getting the syntax right (I'm not very
> good with Java-like)
>
> I have the following as part of the toXML function in the snippet:
>
> // Add SyntaxConversion
> xwriter.startElement("", "HTMLsyntax", "HTMLsyntax", attributes);
> xdoc.convertSyntax(xhtml/1.0);
> xwriter.write(xdoc.getContent())
> xwriter.endElement("", "HTMLsyntax", "HTMLsyntax");
>
> What am I missing? And is there a better way?
>
> Thanx in advance for the help
>
> --
> Gordon
>
>
>
>
--
Gordon
Hi devs,
Currently the image plugin [1] allows us to create image thumbnails by
specifying the image width and/or height in the query string of the
image attachment download URL:
/xwiki/bin/download/Spage/Page/image.jpg?width=100
I propose that we:
(A) Use the image width and/or height (when they are specified in the
image syntax using pixel unit) to resize the image on the server side.
For instance:
[[image:logo.jpg||width="100px"]]
will be linked to
/xwiki/bin/download/Spage/Page/logo.jpg?width=100
and
[[image:logo.jpg||style="height: 50px; width: 70px"]]
will be linked to
/xwiki/bin/download/Spage/Page/logo.jpg?width=70&height=50
The image plugin also accepts a quality parameter that controls the
compression quality when encoding jpeg images. The default value of this
parameter (i.e. when not specified in the URL) is configurable. I
propose we use 0.3 by default, 1 representing the best quality.
(B) Add the ability to limit the image dimensions (preserving aspect
ratio) when the image width and/or height are not specified in the image
syntax (or when they are not using pixel unit). The width and height
limit will be configurable and -1 by default (i.e. no limitation). For
instance:
image:logo.jpg
will be linked to
/xwiki/bin/download/Spage/Page/logo.jpg?width=1024
when width limit is 1024, and to
/xwiki/bin/download/Spage/Page/logo.jpg?width=1024&height=768&keepAspectRatio=true
when width limit is 1024 and height limit is 768. Note that in this case
the image aspect ratio is preserved. The image is resized to best fit
the limits. If the user want to bypass the limit he has to specify the
image width/height in the image syntax.
I'm +1 for both (A) and (B). WDYT?
Thanks,
Marius
[1]
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/…
Hi all
Please excuse this first junk and see first email below. I am sending from my mobile so editing difficult
Gordon
-----Original Message-----
From: users-owner(a)xwiki.org
Sender: users-bounces(a)xwiki.org
Date: Tue, 21 Sep 2010 15:16:47
To: <gordon(a)yilaconsulting.com>
Subject: XWiki Export, Page content as HTML?
You are not allowed to post to this mailing list, and your message has
been automatically rejected. If you think that your messages are
being rejected in error, contact the mailing list owner at
users-owner(a)xwiki.org.
Has anyone ever performed a migration that could give me some advice on
how it's done and if what I asked about below is possible?
I have checked out this:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup
which suggests to backup the database but doesn't give any clue to
Postgresql!
Also is Xwiki content stored in a database or in the /webapps/xwiki
instance??
So if I simply backed up and restored the database and copied the xwiki/
dir across to a different platform the system should work?? Even if
going from Tomcat to Glassfish or so??
Thanks and regards,
Kaya
-------- Original Message --------
Subject: Migrating Xwiki
Date: Fri, 17 Sep 2010 14:16:08 +0300
From: Kaya Saman <kayasaman(a)gmail.com>
To: XWiki Users <users(a)xwiki.org>
Hi,
I'm wondering if it's possible to migrate Xwiki from one system to another??
I currently run Xwiki on a FreeBSD 8.0 RELEASE x64 platform with 4GB RAM
in a dedicated FreeBSD Jail, however I'm having an issue with Java
spinning up the CPU to 100% rendering Xwiki inoperable!
If I migrate it would be from FreeBSD to either a dedicated FreeBSD
system or an OpenSolaris based system on Nexenta.
Currently I run Tomcat6 coupled with Postgresql, but would migrate to
Glassfish and MySQL.
Is it just a matter of backup the Xwiki from the web GUI then restore
under Glassfish and convert database from Postgresql to MySQL then
attach at other end?
Or can I just simply dump the /webapps/xwiki folder into Glassfish or
another instance of Tomcat?
Thanks for any advice!!
Regards,
Kaya