This is sort of a random shot, just hoping someone has implemented something similar before. There is a C++ API used to securely connect to and query a database. The database is maintained by IT, so I need to go through this API rather than directly accessing the database (in which case I would use JDBC with groovy).
I was wondering if there is a way to write groovy bindings for C++ functions. I know this can be done with Java for C++ (JNI/Jace/etc), but does anyone have any experience doing such a thing with groovy or in a wiki context?
Thanks,
-Mike
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:…
Unless I'm doing something very stupid I'd think the HTML macro shows
some weird browser dependent behaviour:
{{html}}
<div id="header">
<a href="/docs/Test/"
<span class="someClass">SomeText</span>
</a>
</div>
{{/html}}
Works as expected with firefox 3.x / Safari
Doesn't work in IE 7/8 and Chrome.
The {{html}}-embedded code is missing in the page output for these browsers.
When examining the page with Firebug I also noticed that the *listItem*
example on
http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
renders unexpectedly.
Firebug reveals
<table>
<tbody>
...
<ul class="star">
<li>listitem>/li>
</ul>
...
</tbody>
</table>
Neither <tbody> nor 'class="star" ' are part of the example source so
this example is either a fake or the macro shows undocumented behaviour.
IMHO the macro should just write its raw output to the page not
depending on any other circuumstances.
The macro example page and I guess all of
http://code.xwiki.org are looking crippled on IE7 as the content area is
clipped.
Wiki version is 2.3 M1
thanks
Andreas
hello !!
i want to work on Xwiki Workspace and when i'm trying to invit users by
Mail i got this message:
*Error number 101007 in 101: Sending notification email failed Wrapped
Exception: Could not connect to SMTP host: 587, port: 25*
I am a beginner and i have no idea of what i have to do .
by the way, i'm working on MAc OSX 10.5.8, and my FAI is FREE. i don't know
if it change something.
2 questions :
1-how can i fix this and send mail invitatation to new users?
2-can you explain me how to go from the intranet to the internet?
thanks and long life to Xwiki ;)
--
Ucka Ludovic Ilolo
Directeur Artistique de la compagnie LES GENS DE ...
www.lesgensde.comhttp://perceptionlgd.blogspot.com/http://www.myspace.com/lesgensde
Hi,
I try to configuring Open Office server. I'm not sure of the parameters so I
made some changes to test, but I have a very strange "bug".
I explain : I changed the data once in xwiki.properties, but since, even if
I put some new parameters in xwiki.properties, when I'm connecting in Xwiki
on the OfficeImporterAdmin page, the data seems to be the same of the first
time...
For exemple, I tested by writing this :
# openoffice.homePath=E:\Program Files (x86)\OpenOffice.org 3\
# openoffice.profilePath=E:\Users\bet\AppData\Roaming\OpenOffice.org\3
And I still see this :
Server path
C:Program FilesOpenOffice.org 3
Server profile
D:UsersbetAppDataRoamingOpenOffice.org3
and I can see the same problem in the log (it's not a refreshing display
problem)
(furthermore, sometimes I have the message "Error while connecting /
starting openoffice." and sometimes "Inadequate privileges."....)
Thanks
Regards
Ben
--
View this message in context: http://xwiki.475771.n2.nabble.com/Configuring-Open-Office-server-tp5018359p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is pleased to announce the release of XWiki
Office 1.1.1.
This is a bug fix release of version 1.1. All active XOffice instances
will be automatically updated.
Bugs fixed in version 1.1.1
- Styles not preserved after multiple edits
- Image upload and download on localized versions of Microsoft Office
- Image upload on pages containing white characters
- Grammar markup filtering when on non-English language default settings
- Refreshing published documents
Detailed release notes are available at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice111
For more information about XOffice please visit: http://xoffice.xwiki.org
Thanks,
- The XWiki dev team
Hello,
I forgot my password to connect myself to the site www.xwiki.org, s I tried
to reset my password, but when I click on the link I received I get this
error message;
This page requires programming rights to work, which currently isn't the
case. Please notify an administrator of this problem and try again later.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Password-reset-impossible-on-XWiki-tp5018…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello!
Last week I was able to configure the XWiki authentication against an Windows 2008 AD. Everything worked. Now I transferred the wiki from the test system to the working environment and now the authentication do not work anymore. If I try to log in with an AD User I get the message "invalid Credentials". The strange thing is that if I use a user which has not ever entered the XWiki I get the same message. But if I log in with the admin account and look on the user list the user exists and all datas a correctly transferred from the AD, therefore the connection works but I cannot enter. What can be the reason for that, I do not understand this!
Thanks,
Florian
Hi everybody
I'm using XWiki Enterprise, version 2.2.6.28645, out of the box with
the HSQLDB.
I've enabled LDAP authentication, and I want it to be the only means for
a user to edit content in the Wiki.
Therefore, I want to disable the "Register" link, so that users that are
not in the LDAP can't register themselves.
I've already removed the "Register" right from XWikiAllGroup, but
the "Register" link is still there and everybody can use it.
Is there another approach for this?
I can't find any useful information in the documentation regarding this.
When creating or editing a blog i cant see the toolbar icons on the editor
window. Is there a way to enable this? And also, how do i write a link on a
blog that points to a wiki article?
I tried this [[SRxxx-5>>SRxxx-5||title="SRxxx-5"]] but it cant find the
wiki article SRxxx-5 even though it does exist. so when i click on the link
it creates a new article even though it exists.
Hi everybody
I'm having a really hard time to change the default home for my XWiki
installation.
I'm using version 2.2 out of the box with HSQLDB.
I've edited the web.xml to enable the Redirect Servlet and make it redirect
the user to a specific space WebHome.
<servlet>
<servlet-name>redirectHomeServlet</servlet-name>
<servlet-class>com.xpn.xwiki.web.HomePageRedirectServlet</servlet-class>
<init-param>
<description>The address to redirect to when the client hits the root
of the application.</description>
<param-name>homePage</param-name>
<param-value>bin/MySpace/WebHome</param-value>
</init-param>
</servlet>
This works fine, when I reach the root of the container
(http://myhost:8080/), but when I click the logo.png (with the XWiki.org
logo) it still points to view/Main.
As an attempt to make the logo point to my specific space and WebHome I
tried to set the following properties in xwiki.cfg:
xwiki.defaultweb=MySpace
xwiki.defaultpage=WebHome
But it had absolutely no effect.
I just can't believe there isn't a simpler way to change the home. It seems
to me, that it's something every XWiki user would want to do.
Any ideas?
I know this has been asked before but I can't find an answer. Can one
customize the notification email format? For a non-wiki user those email
look confusing. I'd like to have that a document was changed, link to the
document and who changed it.
Thank you
Daniel
--
View this message in context: http://xwiki.475771.n2.nabble.com/Watch-list-email-format-tp5019921p5019921…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello there!
I would like to know if it's possible to downgrade the XWiki. My friend is
willing to uninstall and install an old version, but he wasn't able to find
any old version to download.
Any clues?
Thank you,
Wilson
Hi,
i'm looking for a possibility to display links to childpages
the child page snipet depends on the doctree plugin (is that available on
myxwiki.org?) so is there a nother way?
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://xwiki.475771.n2.nabble.com/display-childpages-tp5013284p5013284.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I would like to have a specific color theme for my users depending of the
groups. So I modified the colorThemeInit.vm to check the user group and
apply a specific theme.
My problem is after logging, I have to refresh the page manually to see the
new theme, even if I click on a link in the wiki.
How can I force a refresh automatically after logging? Should I call the
template colorThemeInit somewhere else ?
Thanks
Regards
Ben
--
View this message in context: http://xwiki.475771.n2.nabble.com/colorThemeInit-and-updating-theme-problem…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm trying to program some groovy scrips which works fine when I use my local xwiki installation, but when I try this on my myxwiki account I cannot set the Programming rights, no matter which account I use Roemer or StephanRoemer.
Greetings Stephan
--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
Hello all!
I'm working with XWiki and I'm a newbie... I've read the tutorial available
on http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule and the
customization part of the pdf export. I'm still clueless on how to do it
properly... I have java experience, so I can code what is necessary, I just
don't know where to go.
All I want to do is change the default template. Changing the footer,
header, TOC and breaking a page on every h1 found.
I would be glad if someone could give me a hint.
Thank you,
Wilson
In the 2.3 timeframe, a serious security bug was fixed. Hibernate treats backslashes differently from some
database management systems and as a result native SQL can be injected through the searchDocuments function.
This means members of a wiki can finish an SQL query, also this means that badly written searchDocuments or
search queries go from small security issues to larger ones.
NOTE: Passwords are hashed (encrypted) so they cannot easily be read from the database.
Who's at risk?
Database systems which treat backslash as an escape character and allow stacked queries are susceptible to
arbitrary SELECT, INSERT, UPDATE, DELETE, and DROP statements.
These include:
MS-SQL
Postgres
Database systems which treat backslash as an escape character but disallow stacked queries are susceptible
only to arbitrary SELECT statements.
These include:
MySql
Oracle
Database systems which do not treat backslash as an escape character are not vulnerable these include:
HSQLDB (default XWiki zip/exe installation)
You can get a small groovy snippet to test your database and see if it supports stacked queries here:
http://dev.xwiki.org/xwiki/bin/view/Drafts/SecuringXWiki#HMitigationMethods…
What can be done:
#1: XWiki-2.3 and XWiki-2.2.6 Are patched to convert \ to \\ in search queries so upgrading to them will
negate the threat. You can download them here: http://www.xwiki.org/xwiki/bin/Main/Download
#2: If you compile your own branch of XWiki and are unable to upgrade, you can integrate the patch which
was used to fix the problem The patch is here:
http://dev.xwiki.org/xwiki/bin/download/Drafts/SecuringXWiki/XWIKI%2D4755%2…
Since the database controller has changed, you will likely have to port this patch to your version, what's
important is that api.XWiki.searchDocuments and api.XWiki.search have their input filtered.
#3: You can and should make sure to log unexpected SQL at the database level. XWiki doesn't usually use
the backslash character and queries containing backslashes should be logged specially. Also it is a good
idea to log (or block if possible) any SQL comment syntax. Hibernate does not support comments and comment
syntax is central to almost all SQL injection.
Caleb
Hello!
while I've been frustrated form installing mediawiki... I found XWIKI....The
installation was easy and straight-forward then I encountered with an
excellent tool for my job:
I am not a administrating and I don't want Online wiki so much (at least for
1-2 year)... currently I just need a wiki for my personal use:
1) is XWIKI a good choice for someone like me?
2) I need LaTeX support is it available?
3) I'm a newbie ( I just know a little HTML...) is XWIKI a good alternative
for my personal DMS?
4) I've installed my XWIKI on Fedora 11 in /home/user/.XWiki folder is it
possible to reinstall it?
5) I can't access my xwiki via menu's shortcut I've to cd .XWiki and "sh
start....sh" It works but I want a total solution
6) where do my pages store?
excuxe me for this long list question
Thanks!
Hello,
I installed XEM (version 2.3) from a distribution with Tomcat 6.0.26 and
MySQL 5.1 on Windows XP. I followed the guide installation. After creating a
new wiki instance, I tried to access it but unsuccessfully... I have some
delay timeout expiration and wiki can't be displayed. I can only access to
the main wiki.
I don't know where to look for and what to do, do you have any suggestions ?
When I imported the xem application xar, I had these error messages in
Tomcat console :
ERROR util.JDBCExceptionReporter - Incorrect string value: '\xC5\xABs va...'
for column 'XWD_CONTENT' at row 1
ERROR .AbstractFlushingEventListener - Could not synchronize database state
with session
and after those, some like this one :
ERROR packaging.Package - Failed to save document Sandbox.WebHome
Do you think it's linked ?
Marine
Hi,
I have a "security" problem in the document tree. People who doesn't have
access to a specific space shouldn't even see his name in the tree results.
I'm looking for the parameter which has to be modify to solve this problem
but unfortunetely, it's very hard to find it. Can somebody help me?
=> there is a condition to had a link in the space name to see documents
inside, I think it's here that I have to modify something but I can't find
this code...
Thanks
Regards
Ben
--
View this message in context: http://xwiki.475771.n2.nabble.com/Document-Tree-visibility-tp4996738p499673…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a strange situation in my wiki. Some of elements at a standart
wiki-pages are damaged. For example - Main.Spaces, all user profiles,
Blogs.WebHome and many-many others (but not all). You can see how they are
damaged on a attached images.
http://n2.nabble.com/forum/FileDownload.jtp?type=n&id=4992332&name=UserProf…http://n2.nabble.com/forum/FileDownload.jtp?type=n&id=4992332&name=Spaces_d…
This situation exists on fresh XWiki installations on all versions (I tried
XWiki starting from 2.0), different servlets (I tried jetty & glassfish),
different DB (I tried Oracle & HSQLDB & MySQL).
I started to analyze situation. Interest, but when I use local server
address (http://localhost:8080/xwiki) - all is ok, problem shows ONLY if I
connecting through my internet domain name (http://mysite.com/xwiki).
I started to compare html-generated code and found, that function getURL
returns different strings! When I addresses through
http://localhost:8080/xwiki getURL returns /xwiki/bin/view/ColorThemes/ with
class="wikilink". But when I adresses through my site getURL returns
http://mysite.com/xwiki/bin/view/Main/SpaceIndex?space=ColorThemes with
class="wikiexternallink".
If I put option {{html wiki="false"}} - these links are ok, but another
portions of code (where using wiki-syntax inside of html) started to
damaged.
Ok - I can one-by-one for all pages put {{html wiki="false"}} and change
wiki-syntax inside of html for a truly html ... I already did it
successfully for a Main.Spaces. But pages with same problems quite enough
...
Maybe exists another variant? How to say absolutely for a getURL function to
returns internal link? Or maybe problem with my site config? Unfortunately,
site-configuration is not under my control ... My Xwiki server placed inside
internal local network domain, and exists "link" between my XWiki-Server and
address on a external site (which is hosted on another server, another
network). How this "link" is configured - I don't no. I only said for
external-site administrators internal path (http://servername:8080/xwiki) -
and they did link. If it is problem with external-site address config - I
need to say something for administrators what need to change, because now
all looks like that problem is with programming code of XWiki ...
Thanks beforehand!
Eugen
--
View this message in context: http://xwiki.475771.n2.nabble.com/Damaged-wiki-pages-because-of-getURL-retu…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Sorry for the stupid question, but I am good programmer ...
I have some velocity script. It makes some changes on current page, copies
some other page, etc. How I can load created page (shows for the user) at
the end of the script? Or other possibility - I need simply reload content
of a current page ... I searched XWiki API but didn't find something proper
function ...
Thanks beforehand!
Eugen
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-I-can-refresh-wikipage-or-load-anothe…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I made two Forum with the Bulletin Board. I wondered if it's possible to
display the twice Forum (the Webhome?) on a same page, and not just a link.
Like this, it's possible to create different forum/space with different
rights for users.
I tried these solutions but it doesn't work
{{velocity}}
#includeInContext("Forum1.WebHome")
#includeInContext("Forum2.WebHome")
#includeForm("Forum1.WebHome")
#includeForm("Forum2.WebHome")
#includeTopic("Forum1.WebHome")
#includeTopic("Forum2.WebHome")
{{/velocity}}
Thanks
Regards.
Ben
--
View this message in context: http://xwiki.475771.n2.nabble.com/Include-pages-in-an-other-one-tp4986033p4…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Recently I have enabled statistics module which works pretty nice.
One thing though I have noticed in xwiki log file is the following
exception occurring periodically
> 2010-04-28 23:35:34,679 [http://myhost/xwiki/bin/view/MySpace/]
> [Statistics storing daemon] ERROR xwiki.DocumentStatsStoreItem - Failed
> to save visit statictics object [class
> com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem XWiki.XWikiGuest
> 209.47.111.5Mozilla/4.0 (compatible; MSIE 8.0; Wind
> ows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
> 3.0.04506.30; .NET CLR 3.0.04506.648; InfoPath.2; .NET CLR 3.0.4506.2152;
> .NET CLR 3.
> 5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
> 7WR28YZF6YHUMMIUZKZJ96HUOWDAFLSK]
> 2010-04-28 23:35:51,141 [http://myhost/xwiki/bin/view/MySpace/]
> [Statistics storing daemon] WARN util.JDBCExceptionReporter - SQL
> Err
> or: 0, SQLState: 22001
> 2010-04-28 23:35:51,141 [http://myhost/xwiki/bin/view/MySpace/]
> [Statistics storing daemon] ERROR util.JDBCExceptionReporter - Data
> tr
> uncation: Data too long for column 'XWV_UNIQUE_ID' at row 1
> 2010-04-28 23:35:51,141 [http://myhost/xwiki/bin/view/MySpace/]
> [Statistics storing daemon] ERROR .AbstractFlushingEventListener - Could
> n
> ot synchronize database state with session
> org.hibernate.exception.DataException: Could not execute JDBC batch update
> at
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
> at
> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
> at
> org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
> at
> org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
> at
> org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
> at
> org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
> at
> org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
> at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
> at
> org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
> at
> org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:855)
> at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:826)
> at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:999)
> at
> com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem.storeInternal(VisitStatsStoreItem.java:110)
> at
> com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem.store(AbstractStatsStoreItem.java:99)
> at
> com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.register(XWikiStatsStoreService.java:167)
> at
> com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.runInternal(XWikiStatsStoreService.java:119)
> at
> com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99)
> at java.lang.Thread.run(Thread.java:636)
> Caused by: java.sql.BatchUpdateException: Data truncation: Data too long
> for column 'XWV_UNIQUE_ID' at row 1
> at
> com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:1669)
> at
> com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1085)
> at
> org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
> at
> org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
> at
> org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
> at
> org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
> ... 16 more
>
Could someone tell if it's a serious issue and which type of error it
identifies: configuration error or bug in statistics module?
We are running XWiki Enterprise 2.2.4.28034
Regards,
Roman
--
View this message in context: http://xwiki.475771.n2.nabble.com/Data-too-long-for-column-XWV-UNIQUE-ID-er…
Sent from the XWiki- Users mailing list archive at Nabble.com.