I would write a groovy script to pull the files in. You can run the script
on an XWiki installation on your desktop computer. Maybe use use java's
File to get the directory containing all of the pages and then file.listFiles
to get the files inside of the directory. Use standard java fileIO code to
When XWikiPreferences is saved, all of the components are reloaded with new
settings.
This is the reason for the component override warnings.
Caleb
Ben Stuggler wrote:
> Nobody have a clue if these warning are a big problem?
>
> Regards
>
> Ben
>
>
__
Radek Terber wrote:
> Hi all
>
> I test the XWiki, and I thing this is the best wiki software freely
> available this days.
:)
> But I have such idea how to use XWiki to create
> documentation.
>
> My idea is to create similar document's structure, as Office programs
> allows: to have one "mas
Gregor Schneider wrote:
> Caleb,
>
> I got no idea why that exception occured. What I do see now is that
> the notification ("watch") no works.
>
> The exception, however, comes up every few seconds, and this behaviour
> started after I added the property to the XWikiPreferences-class, so
> my
Looks like it's failing while checking if you have comment access on
AnnotationCode.WebHome.
Was this introduced by turning on captcha? I can't see how the two could be
related.
Gregor Schneider wrote:
> Caleb,
>
> as I wrote b4, almost everything works fine, however, it seemd that I
> cant wat
Gregor Schneider wrote:
> Hi Caleb,
>
> I'm pretty sure:
>
> Xwiki -> Administer Wiki -> Rights
>
> Alternativley:
>
> Space -> Administer Space -> Rights
>
> Can't find saif checkbox neither in the groups nor users-tab
>
> Is a possible reason for this behaviour, that I did *not* import th
It's not in those files. Are you sure you are looking at the administration
page and clicking the rights icon (with the no parking sign) rather than
the rights for a single page
(where you click access rights in the drop down menu.)
This got me a few times.
Caleb
Gregor Schneider wrote:
> Hi Gui
nxdoc = xwiki.getDocument("some.nonexistentDocument");
gives you a brand new document to work with. It won't be put in the database
until you call
nxdoc.save() or nxdoc.saveAsAuthor()
You can put content in the document with nxdoc.setContent("some content");
See: http://platform.xwiki.org/xwiki/b
The only thing I can think of short of stepping through the
javascript with firebug is to make sure you're doing searches which
are not going to return any results lest one of the results is
somehow causing javascript to be executed.
The offending clause is probably a
window.location.reload()
or m
Daniel Johansson wrote:
> Ok,
> I actually copied and pasted the code from your sample site. I diffed both
> the search.js and the search.css between mine and the sample. Exactly the
> same.
>
> I have no idea why it flashes the results and then disappears?
I am most suspicious of javascript mi
Using Firefox 3.6.3 I have observed correct behavior here:
http://code.xwiki.org/xwiki/bin/view/Main/WebSearch
after fixing the html macro issue.
This site is running 2.3
You can compare your code to the code here:
http://code.xwiki.org/xwiki/bin/view/Main/WebSearch?viewer=code
Also check to make
The {{html}} issue is because the rendering engine was completely
rewritten which eliminated some bugs which had been relied upon.
Your report sounds like an Internet Explorer related Javascript bug.
If so, you can work around it by using Firefox and we will look
into the problem.
Sorry for the t
The user object has a field for setting whether the user name is
activated. If you're using XWiki Enterprise you can edit
XWiki.Registration and there is an example of how to add a "favorite
color" field which contains a "doAfterRegistration" option for code
to do something to the user after regist
No experience with it, If you don't need fancy stuff like nested classes you
can probably just write your java code into the groovy macro, most java code
works in groovy. Otherwise you could write the java code, compile to a jar, put
the jar in the WEB-INF/lib folder, then in groovy just:
import
Hello all,
The partially completed invitation application is up and running on the
incubator.
http://incubator.myxwiki.org/xwiki/bin/view/InvitationMail/
Right now the actual sending of the email is disabled until we can decide who's
allowed to send.
Anyone who's a member of myxwiki.org (
htt
Hi Florian,
Where the log is stored is dictated by the line:
log4j.appender.file.File=xwiki.log
I found a copy of the log on my machine at /usr/local/jetty-6.1.3/xwiki.log
so it looks like the default path is the jetty/tomcat main directory.
you might be able to specify a path in the line: (I haven
Big +1
I suggest we change the author field on those pages to XWikiGuest or similar so
that they will fail
tests if they require PR. Also the code will be sandboxed by default.
I proposed this earlier:
http://www.mail-archive.com/d...@xwiki.org/msg14352.html
Vincent Massol wrote:
> On May 7, 20
Vincent Massol wrote:
> On Apr 30, 2010, at 4:15 PM, Caleb James DeLisle wrote:
>
>>
>> Giuseppe Vallarelli wrote:
>>> Hi Sadid
>>>
>>> 2010/4/30 sadid sahami
>>>
>>>> Hello!
>>>> while I've been frustrated fo
Vincent Massol wrote:
> On Apr 30, 2010, at 3:56 PM, Caleb James DeLisle wrote:
>
>> We do and users should, but there is a function which allows script authors
>> to construct queries for document names
>> so they are allowed to finish an HQL query. If the script autho
There is a list called $blacklistedSpaces it is set statically in xwikivars.vm
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/webapp/templates/xwikivars.vm
Spaces on this list will not be shown in the table and I think the same is true
for the tree.
You could add a $xwiki.s
Giuseppe Vallarelli wrote:
> Hi Sadid
>
> 2010/4/30 sadid sahami
>
>> Hello!
>> while I've been frustrated form installing mediawiki... I found
>> XWIKIThe
>> installation was easy and straight-forward then I encountered with an
>> excellent tool for my job:
>> I am not a administrating an
We do and users should, but there is a function which allows script authors to
construct queries for document names
so they are allowed to finish an HQL query. If the script author is malicious
or if they don't properly use
prepared statements then SQL can be injected into the HQL.
see XWiki.sear
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
I have tested a fresh installation with the 2.3 WAR using:
mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i386) using readline 5.1
using jetty-6.1.3 on:
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, shari
I think that is the way it works now.
In order for a user or group to view a page they must be allowed the permission
either in the page, space, or wiki.
Permissions for the page take precedent over permissions for the space and
space permissions
take precedent over wiki wide permissions so allowe
Hello Chris,
I think most of these things will require some development but with XWiki
scripting support and API it should be minimal in most cases.
Chris Haynes wrote:
> Hello all,
>
> I'm a newbie to XWiki, but have used and developed plugins for another
> Java-based wiki. I've got a few days
Check out your xwiki.cfg file specifically:
xwiki.users.initialGroups
It's referred to here but we should document it better.
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HSamplexwikicfg
Caleb
gordon xwiki wrote:
> Hi All
>
> I'm still new to xwiki. Was wondering how to con
It wouldn't work to copy the document with the class into each space?
If I were to go about creating classes, I would use the same technique that the
XWiki core
uses to create the comments class.
Note that you will have to have programming rights and in groovy or velocity
you will need to
call d
+1 12E
Caleb
Sergiu Dumitriu wrote:
> Hello XWiki Community,
>
> We're still looking for the new XWiki.org logo. First of all, many
> thanks to all those who submitted their ideas (
> http://dev.xwiki.org/xwiki/bin/Community/LogoChallenge ). After the
> first round of votes (digest here:
> ht
Since 2.2, The captcha plugin has been removed and replaced with a module which
uses a
newer version of jcaptcha and makes better quality captchas.
Try using the guide here
http://code.xwiki.org/xwiki/bin/view/Modules/CaptchaModule
Sorry about the confusion introduced by the snippet, I will add
Mike Davis wrote:
> I want to parse XML attachments to a page and display the data in a
>>> table or list on the page. Does this functionality exist? Just checking
>>> before I write my own code.
So you have attachments which are XML files and you want to parse them
>>> and display their
I think you can check to see if the connection is https using the
HttpServletRequest ($request) in velocity then send a redirect or simply
refuse to display the page.
Caleb
stefan bachert wrote:
> Hi,
>
> My wiki has public and protected pages.
> The public page may be access with http
> However
Not sure what I like yet but I wanted to make a few notes.
12 & 13 bear a strong resemblance to an American telephone company.
http://wigab.com/images/site/2007-01/blog/44-Cingular_Dropped_Out.jpg
7 looks like barbed wire which isn't very inviting. I think only a slight
change would be necessary
If you could send some of the errors from the tomcat log that would be helpful.
If there is nothing in the log, try running tomcat from the command line and see
if it outputs the messages there (I'm not sure on that I use jetty).
It's probably a good idea to wipe the database first:
dropdb -Upostgr
I don't think the view access is denied by default, maybe you disabled access
to XWikiAllGroup for
viewing the XWiki space?
If you want to do specific things to each user after they are registered and it
is acceptable to save
the registration page with programming access, you can add an attribut
hel-o wrote:
> Hi,
>
> my xwiki server was down now for a week
This is not good.
(trying to figure out what had
> happened), started it again today, after about an hour same problem -> (see
So it starts and runs for long enough to run tests or try to fix the problem?
I looked over your log and
Jean-Vincent Drean wrote:
> You can use the following notation in the static list values
> definition: "1=Value 1|2=Value 2|3=Value 3"
> The generated HTML will look like:
> Value 1
> Value 2
> Value 3
>
> JV.
>
> On Wed, Mar 10, 2010 at 6:24 PM, Abel Solórzano Astorga
> wrote:
>> Hi,
>>
>>
>>
>
I cannot repeat your trouble either, verified with 2.1.2 2.2.1 2.2.2 and 2.3
trunk
My process is start xwiki, mouse over upper left corner where it says "xwiki",
observe dropdown menu click "administration", follow steps to import package.
My installation is jetty with postgres and mysql
Maybe yo
doc.getDocument().getxWikiClass().toString()*
>
> and the result is
>
> *
> ValidationSample.TestClass_6
>
>
>
>
>
>
>
> *
>
> I was expecting to see the properties on the XML.
>
> Abel
>
> On Fri, Mar 5, 2010 at 1:45 AM, Caleb Jame
tring name : valdoc.getDocument().getxWikiClass().fields.keySet()) {
println(name);
}
Also if you want to change the prettyName of a class property (for example),
you would have to cast the field to PropertyClass (didn't test this but it
should work.)
((PropertyClass)
valdoc.getDoc
Comments, tags and other extras are handled in the docextra.vm template.
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HControllingWhichSectionstoDisplay
You can create a velocity script to test if the user is a member of a given
group and disable comments if not.
Caleb
Sunil Khia
By popup you mean lightbox?
(the whole screen gets dark with the page displayed in the middle)
The pencil icon next to each user in the table on the admin users section is
javascript injected by
http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/standard/src/main/webapp/resources/js/xwiki/user
I can tell you that it can be done, anything which can be done by
the user can be done with groovy.
document.getxWikiClass().get("propertyName") returns an object of
type element.
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/Element.html
I think you need to d
+1
I believe in making XWiki as friendly as possible to application
developers so I think we should cater to people who are new to XWiki
but have experience in development. As an example I found the FAQ
Tutorial confusing and patronizing but I was at home with the object
editor.
Anyway just an id
esn't have edit right on the eventLog
page. Try eventLog.saveWithProgrammingRights() to override that
possible problem.
Caleb James DeLisle
Rieken, Joshua wrote:
>
>> -Original Message-
>> From: users-boun...@xwiki.org
>> [mailto:users-boun...@xwiki.org] On Be
If you're talking about an eventListener in a groovy script, I think
it's done with a scheduler. You can look at Vincent's IRC bot which
does that very thing.
http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/
Caleb James DeLisle
nal script language.
Caleb James DeLisle
stefan bachert wrote:
> Hi Vincent,
>
> Technical you are surely totally right in the context of xwiki
> But try to see that stuff from an users point of view, not from a developers
> one.
> An user want to use xwiki not to analyse it.
>
&
Something like that?
{{html}}
Italics
{{warning}} This is a warning {{/warning}}
some text
{{/html}}
{{html wiki=false}} will turn off further wiki parsing and inner macros will be
displayed verbatim.
Caleb James DeLisle
stefan bachert wrote:
> Hi,
>
> is there a way to include
tion. Make sure you
check for rights in /bin/admin/XWiki/XWikiPreferences and also in
/bin/admin//WebPreferences
Rights can be denied in a space even if they are allowed globally.
Rights can also be denied for a single page
so check /bin/edit//?editor=rights
Caleb James DeLisle
stefan bach
remember trying to import a large file not only was troublesome
uploading the attachment but doing the actual import took a long time and
was prone to failure.
Thanks,
Caleb James DeLisle
Vincent Gerris wrote:
> hi Caleb James,
>
> As my previous post shows, it does not work for me
t.
Thanks,
Caleb James DeLisle
Vincent Gerris wrote:
> According to a post i read, the number is in bytes.
> So for 200 mb, you would need to add 00 so 2.
>
> Does that work for you?
> Because I did set the value on that, but still get:
> XWiki heeft standaard
Hello Felix,
I think you're looking for:
$xwiki.hasAccessLevel("edit", "XWiki.SomeUser", "Main.DocumentInQuestion"))
see:
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#hasAccessLevel(java.lang.String,%20java.lang.String,%20java.lang.String)
It say
roduct version: 6.1
> Service pack: 0
> Kernel build number:7600
>
>
> I will be glad to find any error, or try any suggestions. I have logging
> on, and I did try debugging once also. What other information would be
> helpful?
Thanks
Caleb James DeLisle
>
> Jo
Guillaume Lerouge wrote:
> Hi,
>
> On Wed, Jan 27, 2010 at 7:36 PM, Thomas Mortagne
> wrote:
>
>> The XWiki development team is pleased to announce the release of XWiki
>> Enterprise 2.2 Milestone 2.
>>
>> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>>
>> Changes from 2.2 Mile
The problem is definitely that XWiki can't get at the jdbc connector so I don't
think creating the database will help, also XWiki uses a complicated schema
so creating the tables manually is not really an option.
I would go into the WEB-INF/lib and find the jdbc connector jar you added,
open it wi
rek Rzepinski
>
>> We have now some meetings, after them we will try once again with the jetty
>> pack.
>>
>> @Caleb James DeLisle
>> The steps I mentioned already we have done with the war file. We deployed
>> it with the geronimo console.
>>
>>
XWiki is built differently for the war installation than the jetty/HSQL pack
I think If you download the war file and install that way it will work.
Caleb
PERINAUD Christophe wrote:
> Here what we did is that we installed Xwiki from the pack jetty/HSQL.
> Once it work, we modified the hibernate
wrote:
> Caleb,
>
> Very interesting but...
> The last release is of 2004, are you using this with a contemporary
> mysql?
>
> paul
>
>
> Le 17-janv.-10 à 16:49, Caleb James DeLisle a écrit :
>
>> I think at the database level you can tell it to cease if
I think at the database level you can tell it to cease if there is a query
which goes on for more than x milliseconds.
http://mtop.sourceforge.net/
mkill can kill long running mysql queries.
In postgres it's a configuration parameter:
http://www.postgresql.org/docs/8.3/static/runtime-config-clien
listener = new IRCEventListener(bot, xwiki, xcontext)
observation.addListener(listener)
Best of luck,
Caleb James DeLisle
J. Allen Santos wrote:
> Hi
> Sorry, I'm having a hard time understanding how to do it. May I request for a
> sample program/code for the remote observation m
#includeForm("space.page")
also
#includeTopic("space.page")
you can read about the difference here:
http://code.xwiki.org/xwiki/bin/view/Macros/IncludeFormMacro
Caleb James DeLisle
Jean-François Bonbhel wrote:
> I would like to include blogs in Home page.
> This cod
ource code) and following the instructions for
manually setting up virtual wikis works for me.
You might try opening your sub1 database and using \dt to see if any tables
have been created but I suspect they haven't.
My advice is use the war version if you are using postgres.
Caleb James DeLisl
code here
{{/python}}
Good Luck,
Caleb James DeLisle
Thomas Mortagne wrote:
> On Thu, Dec 10, 2009 at 20:51, Josh Eastburn
> wrote:
>> Thomas,
>>
>> {{python}}
>> try:
>>from com.xpn.xwiki.web import Utils
>>from org.xwiki.context import
user.isNew() || !$user.getObject("XWiki.XWikiUsers"))
The user named $userName does not exist.
#else
The user named $userName exists.
#end
Good luck.
Caleb James DeLisle
J. Allen Q. Santos wrote:
> Hi!
>
> Given a username, how do I know if a user with that username i
start), $context.context))
With $start rather than $mathtool.toInteger($start) it failed.
Caleb
Sergiu Dumitriu wrote:
> On 12/29/2009 10:33 AM, Caleb James DeLisle wrote:
>> Good luck, remember that velocity converts everything to Strings so
>> something like
>> #set($x = 1)
>>
r string
I think $mathtool has a way to convert it back.
Caleb James DeLisle
tomcatlee wrote:
> Hi, can anybody help me ?
>
> How do i know what's methods in $xwiki? Is there any api doc?
___
users mailing list
users@xwiki.org
http:/
will modify the page to
list
it as a common "got-ya".
Caleb James DeLisle
Paolo Rizzi wrote:
> But reading the Virtualization guide I was under the impression that
> PostgreSQL is not supported
> only by XEM, in fact the guide says virtual mode can only be setup "By
rk in a wiki farm ...)
>
> Thanks
> mb
>
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
> Caleb James DeLisle
> Sent: Donnerstag, 24. Dezember 2009 08:10
> To: XWiki Users
> Subject: Re: [xwiki-users] renaming cause
Worked! [[Blog.safeDocName]] #else
> Failed to get doc do you have enough permissions?
> #end
> {{/velocity}}
>
> -Original Message-
> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
> Caleb James DeLisle
> Sent: Donnerstag, 24
You should be able to get hold of the Document using velocity
or groovy code, something like:
{{velocity}}
#set($renamedDoc = $xwiki.getDocument("Blog.AB5/CD6"))
#if(renamedDoc)
$renamedDoc.rename("Blog.safeDocName")
Looks like it Worked! [[Blog.safeDocName]]
#else
Failed to get doc do
/xwiki/bin/view/Main/XWikiSyntax#HHTML
Velocity is not a requirement, just a feature :)
Caleb James DeLisle
AlonsoIR wrote:
> hi everybody,
>
> i have a problem and less time. Tomorrow i have to release a xwiki portal
> with a custom look and feel. Its made with html and css and
+1 for [2]
Professional but not onerous.
Also good color contrast for bad eyesight.
Sergiu Dumitriu wrote:
> Note: this is not a final vote for the final themes, but a choice of a
> general aspect. After we choose the direction that we want to follow,
> each theme will be properly polished and e
Like a Reddit engine?
That would be easy to write as an xar application.
I think there is already a "poll" application, but without the forum style and
auto sort.
Caleb James DeLisle
Jeremie BOUSQUET wrote:
> Hi,
>
> 2009/9/23 Vincent Massol
>
>>> 1. The &q
field in the skin.
You may find this helpful.
http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiNewSkin
Caleb James DeLisle
Bodin Grégory wrote:
>
> Re- hello !
>
>>> I want to hide some elements of wiki users (but accessible for
>>> administrator) :
>>>
>
Guillaume Lerouge wrote:
> Hi,
> I've added a couple items below.
>
> On Tue, Sep 29, 2009 at 11:39 AM, Guillaume Lerouge
> wrote:
>
>> Hi XWiki Devs & Users,
>>
>> It's roadmap time again!
>> Based on the previous roadmap, feedback on the lists and the results of the
>> survey we conducted (see
I would suggest the links should have as much contrast to their
background as possible. Links are important and they should be easy
to read.
Other than that, I think they all look nice, then I'm not a very
good judge of style :)
Caleb James DeLisle
Vincent Massol wrote:
> On Sep 29, 20
ich are trivial to repair, but very
difficult to detect, definitely not in the first day :)
Those are my thoughts.
Caleb James DeLisle
Vincent Massol wrote:
> On Sep 19, 2009, at 11:25 PM, Ecaterina Valica wrote:
>
>> The "original" Ubuntu paper cut definition
>>
&
Oops, the mail client bungled my code. You can download it as an
application here:
http://code.xwiki.org/xwiki/bin/download/Applications/LargeExportBySpaceApplicationDownloads/Main.largeExportBySpace.xar
Caleb James DeLisle wrote:
> I modified the large export script to support individual spa
I modified the large export script to support individual spaces. With my
modded version, you can also export to a directory rather than zip
compressing the export (you can then zip the contents of the dir
manually), hopefully skipping the zip compression will save enough ram
to prevent running out
.getObject()
.getxWikiClass(context)
.getField(thisProperty.getName())
)
.getContentType();
}catch(Exception e){}
it might not be the best, but It seems to work.
Caleb James DeLisle wrote:
> hi,
> I'm stumped on this, I have an
hi,
I'm stumped on this, I have an object property and I can't figure out
how to get hold of the class to get the contenttype field for that property.
Any help would be much appreciated.
Caleb James DeLisle
___
users mailing list
users@xwik
and the exact error (eg
StringIndexOutOfBoundsException -1) will be shown, but not the groovy code.
I have tested this and it works. A user without any special permissions
can copy the velocity code and run it themselves, but I can't see any
way for them to read the groovy code.
Hope this helps,
C
At the moment, no.
http://platform.xwiki.org/xwiki/bin/preview/DevGuide/DsXWikiDoc
(bottom of the first paragraph)
Each document has a tags object which has a GUID number that does stay
the same and could be called with a database query, but this is far from
an elegant solution.
flyisland wrote:
to you.
Caleb James DeLisle
clay wrote:
> Greetings,
>
> Is there a way to have notifications posted to a panel for the interested
> user rather than through email?
>
> If so, is there a way to choose one, the other or both?
>
> Thanks!
>
> ___
Hi Clay,
I'm relatively new here myself,
I searched for: xwiki advanced user mode
the word 'mode' was a bit of a guess, but I found this page.
http://code.xwiki.org/xwiki/bin/view/Skins/AlbatrossSkin#HSimple2FAdvancedMode
it's a description of the albatross skin, but the user type info seems
to
201 - 285 of 285 matches
Mail list logo