Hello,
I have installed last Admin App and I had to reconfigure some rights.
I go in the "Rights" menu in xwiki admin and "Users" and I forbid "Register"
for "Unregistered Users"...
But when I go back to the home page, I still can see "Register" and I can
register.
Do you any clue about this?
Pascal
Hi devs,
Our log file is full of similar error messages that come over and over again
every hour.
2008-08-21 08:00:00,318 [DefaultQuartzScheduler_Worker-2] WARN
doc.XWikiDocument - Failed to display field [spaces] in [view]
mode for Object [XWiki.Admin]
2008-08-21 08:00:00,319 [DefaultQuartzScheduler_Worker-2] WARN
doc.XWikiDocument - Failed to display field [documents] in
[view] mode for Object [XWiki.Admin]
2008-08-21 08:00:00,320 [DefaultQuartzScheduler_Worker-2] WARN
doc.XWikiDocument - Failed to display field [query] in [view]
mode for Object [XWiki.Admin]
2008-08-21 08:00:00,325 [DefaultQuartzScheduler_Worker-2] WARN
doc.XWikiDocument - Failed to display field [spaces] in [view]
mode for Object [XWiki.wdba]
2008-08-21 08:00:00,326 [DefaultQuartzScheduler_Worker-2] WARN
doc.XWikiDocument - Failed to display field [documents] in
[view] mode for Object [XWiki.wdba]
2008-08-21 08:00:00,326 [DefaultQuartzScheduler_Worker-2] WARN
doc.XWikiDocument - Failed to display field [query] in [view]
mode for Object [XWiki.wdba]
….
etc.
It concerns all registered users.
Is there workaround to fix these warnings or it’s a normal behavior?
Our environment:
- XE 1.5
- Tomcat 6.0.16
- JDK 1.6 Update 7
- MySQL Community Server 5.0.51a
- MySQL Java Connector 5.0.8
xwiki.log from today is attached
Thanks in advance,
Alla
http://n2.nabble.com/file/n738187/xwikilog20080821.log xwikilog20080821.log
--
View this message in context: http://n2.nabble.com/DefaultQuartzScheduler_Worker-2-tp738187p738187.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Dear XWiki'ers,
currently we are working on the development of a Curikki based platform
and want to allow the insertion of applets and flash movies into
resources.
Therefore I tried to extend the wikieditor theme to allow
the addition of applets (and later flash movies) to resources.
Here I am basing on the "Insert image" functionality and created
something similar for applets, but my applet HTML is not inserted into
tinyMCE.
I think there is some code transformation happening, because
when I add an image in tinyMCE the inserted html-code is transformed
to the image macro code.
And this transformation propably removes my applet HTML code.
Where is this transformation happening?
(I've gone through the JS code until I reached the following instruction
this.getDoc().execCommand("inserthtml", false, value)
which is doing the insertion I guess, but I have not found the source
code for inserthtml)
Another question I have is: Where is the postprocessing of the tinymce
content done?
I mean if I add an image to the resource and click the submit button,
the image files is copied
from the temporary asset directory to its final destination directory
which means that
the src attribute needs to be modified, too.
Could anyone tell me which classes are used to do this modification?
Thank you very much for your help.
Michael
----required by german law-----------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany
Geschaeftsfuehrung:
Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------
Hi devs,
The full XWiki repository is a bit oversized, especially because of old
(pre-maven) tags, thus it takes a lot of time to checkout/update the
full repository. Since on the server side all the history is accessible,
I'd like to remove several tags:
XPERTNET_0_1
XWIKI_0_1_10
XWIKI_0_1_9
XWIKI_0_9_1017
XWIKI_0_9_1252
XWIKI_0_9_1300
XWIKI_0_9_790
XWIKI_0_9_793
XWIKI_0_9_981
XWIKI_1_0_BETA_1
XWIKI_1_0_BETA_2
XWIKI_1_0_BETA_3
XWIKI_1_0_BETA_4
XWIKI_1_0_BETA_5
XWIKI_1_0_BETA_6
XWIKI_1_0_RC_1
XWIKI_1_0_RC_2
XWIKI_1_0_RC_3
XWIKI_1_0_RC_4
XWIKI_1_0_RC_5
XWIKI_1_1_MILESTONE_1
XWIKI_1_1_MILESTONE_2
XWIKI_COM_20040517
xwiki-core-1.1-milestone-3
xwiki-core-1.1-milestone-4
xwiki-core-1.1-rc-1
xwiki-core-1.1-rc-2
Note that XWIKI_1_0_0 and all the tags starting with xwiki-core-1.1.0
will be kept.
For those who want to see the old code, we should provide links to
fisheye, like:
http://fisheye2.atlassian.com/browse/xwiki/xwiki/tags/XWIKI_1_0_BETA_1
and svn commands for chekout, like
svn co http://svn.xwiki.org/svnroot/xwiki/xwiki/tags/XWIKI_1_0_BETA_1@1794
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi,
How can i print or get the watchlist status for the particular page/space...
Like printing the user Id/name in the page by giving *$context.user*.
Can anyone tell hoe to get the watchlist status.
--
Prathap
Hai,
How can i set Watch List to particular user through the admin login.
(i am in admin login but i need to set watch list to particular User)
Regards
Rajasekar
Hi Vincent,
AFAIK, the conversion from xhtml to xwiki syntax is hard because many
things about how to render the html elements in xwiki syntax are still
not sure, like table, img, {style} macro. Furthermore, the xhtmlparser
is buggy, like <img> <link> list. I will try my best to make the
conversion work, but to make a option, I want develop a feature that
just convert office doument to xhtml. So the user can just use the
convert2html to get the xhtml and fill xhtml into xwiki page with
xwiki syntax 1.0. After we finish the new rendering and the
xhtmlparser, the use can change to convert2xwikisyntax.
The convert2html is easy but some thing to handle
* clean the html (htmlcleaner)
* remove the <style> in head (htmlcleaner)
* remove empty link (htmlcleaner)
* remove <p> in <li> (jdom)
* replace <img> with {img} (jdom)
* replace link <a> to [] (jdom)
* handle the ppt and odp to the single page
All these step is easy to implement. The convert2html may be not
perfect, but it can work for most conversion requirement for now. As I
am runnig for deadline, I think a workable feature is useful. However,
I will work on the finial gold "convert to xwiki syntax2.0"
continually.
WDYT?
--
Thanks
Wang Ning
Hi,
I just finished the implementation of OpenID authentication support
(http://jira.xwiki.org/jira/browse/XWIKI-2588). You can download a ZIP file
containing all the needed patches from here:
http://jira.xwiki.org/jira/secure/attachment/13049/openid-authentication-pa…
Make sure that you update the user profile page so that the "Attach OpenID"
button appears (it's included in the applications patch).
Please test it out and report me any errors you find. You shouldn't find
many since it's already well tested :-)
Cheers,
Markus
Good morning,
In my company we are using an XML structure which is a Tree on screen which
points on Html files that are the datas.
The XML tree has multiple levels and i would like to know how i could import
this structure in xwiki to make it editable more easily.
Xwiki is installed on Tomcat with an Oracle DB.
I tried to find out how Xwiki communicate with the DB and also installed
Xeclipse but i dont have much time and that's why i need your help to locate
important files that i have to use to do it.
Regards,
Jérémy GIAIME
Trace Solutions
Good morning
I instaled the Office Importer to import a .doc file saved in OpenOffice 2.4, into my XWiki. The result was
almost perfect, but where I should have this "[ ]" i have this "?", a link to an empty page.
For example:
listPojosByField(String field, Object value, ServiceContext ctx, String[][] optimizations) 21 - in the
original document
listPojosByField(String field, Object value, ServiceContext ctx, String][? optimizations) 21 - after
conversion
JSP [READ-ONLY] Página gerada com nome que segue a nomenclatura AREA_MODULO_Componente.jsp. - in the
original document
JSP READ-ONLY? Página gerada com nome que segue a nomenclatura AREA_MODULO_Componente.jsp. - after
conversion
Can you help me resolving this?
Best regards
Bruno Neves
Hi Ludovic,
I have been trying to mount xwiki-wedav on XP as a drive but couldn't get it
to work :(
I will explain my setup to you so that you can let me know what i'm doing
wrong.
1. I have integrated xwiki-webdav into an existing XE installation so that
xwiki-webdav root is located under /xwiki/webdav
2. I have written the ROOT servlet as bellow
<code>
protected void doOptions(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, IOException
{
response.setStatus(HttpServletResponse.SC_OK);
response.setHeader("MS-Author-Via", "DAV");
response.setHeader("Content-Language", "en");
response.setHeader("DAV", "1,2");
response.setHeader("Allow", "OPTIONS, GET, HEAD, PROPFIND, LOCK,
UNLOCK");
response.setHeader("Content-Length", "0");
response.flushBuffer();
}
protected void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
resp.sendRedirect("/xwiki");
}
</code>
3. I have following two webapps on jetty (XE Installation)
xwiki-enterprise-hsqldb-1.5/webapps/root <- root webapp
xwiki-enterprise-hsqldb-1.5/webapps/xwiki <- XE
3. And when i do OPTIONS request on "/" using telnet:
[asiri@asiri-desktop xwiki-enterprise-hsqldb-1.5]$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
OPTIONS / HTTP/1.1
Host: localhsot
HTTP/1.1 200 OK
Date: Sat, 16 Aug 2008 10:34:37 GMT
Server: Jetty/5.1.5 (Linux/2.6.22.14-72.fc6PAE i386 java/1.5.0_11
MS-Author-Via: DAV
Content-Language: en
DAV: 1,2
Allow: OPTIONS, GET, HEAD, PROPFIND, LOCK, UNLOCK
Content-Length: 0
This means that the root servlet is working.
4. I have modified the XP registry to include UseBasicAuth key and set it's
value to 1.
5. But When i try the command
net use * "http://mydavserver/xwiki/webdav/" /User:Admin admin
I get an Access Denied error on XP
6. In the back log of jetty, i get the following log message:
192.168.1.4 - - [16/ao�t/2008:10:27:54 +0000] "OPTIONS / HTTP/1.1" 200 0 14
192.168.1.4 - - [16/ao�t/2008:10:27:54 +0000] "PROPFIND /xwiki HTTP/1.1" 302
0 1
192.168.1.4 - - [16/ao�t/2008:10:27:54 +0000] "PROPFIND /xwiki/ HTTP/1.1"
405 1237 3
This means that the OPTIONS command on root is working but PROPFIND on
/xwiki/ fails (Method Not Implemented). But I can't do much about it because
that comes from the XE installation.
Please help me find the problem with this setup, I'm really stuck here. :`(
For the moment, i will start working on some other feature.
Thanks a lot.
- Asiri
Hi,
I am trying to invoke login method of
XWikiClient rpc = new SwizzleXWikiClient(url);
rpc.login("admin", "admin");
I get the following exceptions: RemoteClientException.
when i check server logs, I got information regarding version mismatch.
i am trying to open the URL: http://localhost:8080/xwiki/xmlrpc/xwiki. Here i found error: Document not found.
i am using Xwiki-core-1.3.2 version.
is it a version mismatch problem or i am missing something.
TIA
ac
Hello XWiki friends,
Considering files as being "static resources" within an installation
has the big advantage that it can be left to a serving infrastructure
that can honour all the optimized change management the web has
prepared for us (If-Modified-Since, caching at several levels, pre-
allocations thanks to Content-Length...).
I had done it for http://i2geo.net/, basically by guessing, and the
result was amazing, a huge speed-up perception factor. But now... I
need to redo this for our curriki instance.
How could I recognize a file as being subject of static serving?
- a picture file (pretty clear)
- a css or javascript that does not contain either a groovy or
velocity mark?
There are many examples of the second sort, e.g. all the gwt output
files, but I would like to be sure of them:
- is groovy-inside CSS or JavaScript ever done? (I've never seen it)
- what are "all the marks" of velocity? ( would \#[a-z]+ and \$[a-z]+
be regexps that would suffice?)
thanks in advance
paul
Hi,
Perhaps because I am too lazy to do the same job from version to version
(that is: to translate hard-coded english terms in german), I invested a bit
of time, looked through the templates in XWiki-enterprise-1.5-rc-1 and
replaced all hard-coded messages with msg.get().
ApplicationRecourses and ApplicationRecourses_de are respectively
customized.
Can I open only one Jira-issue for all changes and attach separate all
corrected .vm files (22 doc) + one document, describing all changes or
should I open 22 issues :confused: ?
If necessary, I can update the russian translation as well.
Best Regards,
Alla
--
View this message in context: http://n2.nabble.com/Replacing-hard-coded-messages-in-templates-tp534243p53…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
Just a quick note to say that I've just discovered Textile-J: https://textile-j.dev.java.net/
After a quick review:
* It looks similar in intent to WikiModel and Doxia
* It currently implements the following syntaxes: textile, trac,
confluence, mediawiki
* It generates HTML and DocBook (and Eclipse Help format)
* It has some Eclipse integration already
* It's moving into the Mylyn incubator. This is really important since
it'll get a lot of tractions and it's very likely it'll quickly
improve, support more outputs, more syntaxes.
When I get some time I'd like to create a quick bridge to it (as I've
done for wikimodel and doxia) to 1) validate that we can wrap it
easily and 2) since it has a confluence parser it may be better than
the doxia one which has several issues and doesn't seem to be very
actively maintained.
Thanks
-Vincent
Hi,
In the new component-based architecture we are creating lots of
specific apis that we need to make available to velocity. For example
the rendering module should make available it's XDO object so that
users can access any part of a document.
However there are some impedance mismatch.
For example in XDOM the method to find all blocks of a given type
today is: XDOM.getChildrenByType(SectionBlock.class).
This cannot be called from velocity since SectionBlock.class will not
work.
There are lots of other similar examples. One solution would be to
modify the API to be for example: XDOM.getChildrenByType(String
blockName) but this is ugly and type-unsafe.
So I was thinking about a different approach. What about intercepting
method calls in our velocity module and instead of calling the method
right away have some transformation to it. The idea would be for
modules to register method handlers to our velocity runtime so that it
can do the conversion.
For example when you'd call $xdom.getChildrenByType("section") it
would call the XDOMVelocityMethodHandler.convert(...) method and
transform "section" into SectionBlock.class and call the API method.
Thus the idea would be that modules that want to make their APIs more
velocity friendly would just create components implementing some
VelocityMethodHandler interface and automatically these would be used
by our velocity runtime.
The only downside I can think of is javadoc or rather how users will
know the method signature to use from velocity but I think we can find
solutions for this. One solution for example is to use annotations on
methods that need to have a velocity method hander. We'll need that
anyway I think. Something like:
@velocityMethodHandler("rendering"')
XDOM.getChildrenByType(...)
(where "rendering" is the component role-hint)
WDYT?
Sergiu, since you're the one to have manipulated this part of
Velocity, is this possible? (I think it is using uberspectors).
Thanks
-Vincent
PS: Since we don't want to make our code special for Velocity we
should check how we would do it for other templating engine like
FreeMarker for example.
Hi Vincent,
Input xhtml is :
<?xml version="1.0" encoding="UTF-8"?>
<html><head /><body>
<h1 class="western">Format Test</h1>
<p class="western">Text in a
line</p>
</body></html>
The rendering in firefox of this xhtml is as the same as
<?xml version="1.0" encoding="UTF-8"?>
<html><head /><body>
<h1 class="western">Format Test</h1>
<p class="western">Text in a line</p>
</body></html>
But the xwiki syntax generated by XWikiSyntaxRender is
--------------code begin-----------------
1 Format Test
Text in a
line
--------------code end-------------------
I think the expected should be
--------------code begin-----------------
1 Format Test
Text in a line
--------------code end-------------------
WDYT?
--
Thanks
Wang Ning
Hi,
How can i set admin rights for this page (*http://
<host>/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki*) to all the
registered users.
--
Prathap
Hi,
I need to call xwiki from a simple java client that i have made for university project (sitting outside the xwiki server). For this, the java client needs a jar file which can help to connect server using some specific parameters like URL, username, password etc. This is required to test the persistence of the same user data into xwiki so that I can use my own server's authertication (provided by university server) and no registration is required thru' the xwiki admin functionality.
Any help is appreciated.
ac
Hi,
Now I want to handle <font> tag which is deprecated in xhtml. I just
want to skip <font> tag, that's easy. But some font tag contain some
font info like size, color, etc,
<p><font size="2" style="font-size: 10pt" color="red">test</font></p>.
I want to change this to xhtml style, etc,
<p style="font-size: 10pt; color: red">test</p>
I want to know if now the wikimodelxhtmlparser and
xwikisyntaxrendering can handle <p style="color:red">test</p>
correctly.
What will be generated when change the style attribute in p tag to
xwiki syntax 2.0?
--
Thanks
Wang Ning
Hi,
In the new rendering implementation I need to implement section
editing. So far it was done in XWikiHeadingFilter (ie. in the
rendering). However I don't believe it should be done in the rendering
module since this is something that depends on the skin used. I think
the rendering should generate a placeholder only and it's up to the
skin or templates to replace this placeholder by an image+link to edit
a section.
Thus I'm asking how we could do this? I think this is what Interface
extensions are about, am I right?
Sergiu any idea? Anyone?
Thanks
-Vincent
Hi,
I am new with xwiki and Bonita.Is there any body who can give me some
suggestion to intigrate xwiki and bonita.
is there any document available.It would be really helpful for me if anyone
can provide me some information about it.
thanks,
Rupok
Hi,
How to display a URL links only for admins in the space.
#if ($xwiki.hasAdminRights())
* [Home>Main.WebHome1]
* [Index>Main.AllDocs]
#end
I tried with the above code, but it seems not working for me.
Any other way ...? OR This is wrong....?
--
Prathap