Re: [xwiki-users] Importing a blog from Blogger

2010-06-04 Thread Caleb James DeLisle
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

Re: [xwiki-users] Warning at the start

2010-06-04 Thread Caleb James DeLisle
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 > > __

Re: [xwiki-users] Using XWiki to create large and structured documentation

2010-06-02 Thread Caleb James DeLisle
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

Re: [xwiki-users] Captcha for comments

2010-05-27 Thread Caleb James DeLisle
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

Re: [xwiki-users] Captcha for comments

2010-05-27 Thread Caleb James DeLisle
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

Re: [xwiki-users] Captcha for comments

2010-05-26 Thread Caleb James DeLisle
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

Re: [xwiki-users] Captcha for comments

2010-05-26 Thread Caleb James DeLisle
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

Re: [xwiki-users] Dinamically create an xwiki page and add content to it

2010-05-18 Thread Caleb James DeLisle
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

Re: [xwiki-users] XE 2.3 and search

2010-05-14 Thread Caleb James DeLisle
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

Re: [xwiki-users] XE 2.3 and search

2010-05-13 Thread Caleb James DeLisle
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

Re: [xwiki-users] XE 2.3 and search

2010-05-13 Thread Caleb James DeLisle
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

Re: [xwiki-users] XE 2.3 and search

2010-05-13 Thread Caleb James DeLisle
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

Re: [xwiki-users] preventing registration on workspaces under xem

2010-05-13 Thread Caleb James DeLisle
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

Re: [xwiki-users] C++ bindings

2010-05-10 Thread Caleb James DeLisle
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

[xwiki-users] Invitation application is running on incubator.myxwiki.org, come check it out.

2010-05-10 Thread Caleb James DeLisle
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

Re: [xwiki-users] LDAP Autentication do not work anymore

2010-05-08 Thread Caleb James DeLisle
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

Re: [xwiki-users] Banish PR pages from XE (was Re: Password reset impossible on XWiki)

2010-05-07 Thread Caleb James DeLisle
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

Re: [xwiki-users] Hello! Newly Installed XWIKI

2010-05-03 Thread Caleb James DeLisle
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

Re: [xwiki-users] [Security Advisory] SQL injection issue.

2010-05-03 Thread Caleb James DeLisle
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

Re: [xwiki-users] Document Tree - visibility

2010-05-03 Thread Caleb James DeLisle
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

Re: [xwiki-users] Hello! Newly Installed XWIKI

2010-04-30 Thread Caleb James DeLisle
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

Re: [xwiki-users] [Security Advisory] SQL injection issue.

2010-04-30 Thread Caleb James DeLisle
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

[xwiki-users] [Security Advisory] SQL injection issue.

2010-04-29 Thread Caleb James DeLisle
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

Re: [xwiki-users] XE 2.3 new deployment fails...

2010-04-28 Thread Caleb James DeLisle
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

Re: [xwiki-users] New to XWiki

2010-04-27 Thread Caleb James DeLisle
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

Re: [xwiki-users] Newbie questions - on-line training

2010-04-23 Thread Caleb James DeLisle
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

Re: [xwiki-users] Setting a group as the default for all new users

2010-04-19 Thread Caleb James DeLisle
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

Re: [xwiki-users] Creating class properties with groovy

2010-04-12 Thread Caleb James DeLisle
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

Re: [xwiki-users] XWiki Logo Challenge, Round 2

2010-04-08 Thread Caleb James DeLisle
+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

Re: [xwiki-users] captcha plugin use

2010-04-02 Thread Caleb James DeLisle
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

Re: [xwiki-users] users Digest, Vol 32, Issue 67

2010-03-31 Thread Caleb James DeLisle
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

Re: [xwiki-users] https

2010-03-31 Thread Caleb James DeLisle
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

Re: [xwiki-users] XWiki Logo Challenge

2010-03-26 Thread Caleb James DeLisle
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

Re: [xwiki-users] newbie question - unable to import .xar file

2010-03-20 Thread Caleb James DeLisle
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

Re: [xwiki-users] Registration

2010-03-17 Thread Caleb James DeLisle
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

Re: [xwiki-users] XWiki -> Tomcat problem

2010-03-15 Thread Caleb James DeLisle
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

Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?

2010-03-10 Thread Caleb James DeLisle
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, >> >> >> >

Re: [xwiki-users] Problems logigging in

2010-03-10 Thread Caleb James DeLisle
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

Re: [xwiki-users] Is there a way to dynamically change the values on a static list or on any other property of a xwiki class?

2010-03-05 Thread Caleb James DeLisle
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

Re: [xwiki-users] Is there a way to dynamically change the values on a static list or on any other property of a xwiki class?

2010-03-04 Thread Caleb James DeLisle
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

Re: [xwiki-users] Selectively Disabling Comments for users

2010-03-04 Thread Caleb James DeLisle
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

Re: [xwiki-users] profile in a pop up

2010-03-04 Thread Caleb James DeLisle
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

Re: [xwiki-users] Is there a way to dynamically change the values on a static list or on any other property of a xwiki class?

2010-03-02 Thread Caleb James DeLisle
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

Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Caleb James DeLisle
+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

Re: [xwiki-users] Scheduler not executing job correctly (or at all)

2010-02-24 Thread Caleb James DeLisle
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

Re: [xwiki-users] Registering an event listener automatically

2010-02-24 Thread Caleb James DeLisle
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

Re: [xwiki-users] Macro in html-macro

2010-02-23 Thread 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. > &

Re: [xwiki-users] Macro in html-macro

2010-02-22 Thread Caleb James DeLisle
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

Re: [xwiki-users] Rights

2010-02-21 Thread Caleb James DeLisle
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

Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Caleb James DeLisle
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

Re: [xwiki-users] Changed upload_maxsize but still can't attach larger than 10 MB

2010-02-18 Thread Caleb James DeLisle
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

Re: [xwiki-users] Method that returns list of groups for a page

2010-02-16 Thread Caleb James DeLisle
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

Re: [xwiki-users] 2.2.rc2 new user registration security

2010-02-11 Thread Caleb James DeLisle
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

Re: [xwiki-users] [xwiki-devs] [ANN] XWiki Enterprise 2.2 Milestone 2 Released

2010-01-27 Thread Caleb James DeLisle
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

Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g

2010-01-20 Thread Caleb James DeLisle
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

Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g

2010-01-19 Thread Caleb James DeLisle
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. >> >>

Re: [xwiki-users] Problem with getting Xwiki to work with Oracle10g

2010-01-19 Thread Caleb James DeLisle
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

Re: [xwiki-users] Bad HQL queries

2010-01-17 Thread Caleb James DeLisle
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

Re: [xwiki-users] Bad HQL queries

2010-01-17 Thread Caleb James DeLisle
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

Re: [xwiki-users] Observer

2010-01-15 Thread Caleb James DeLisle
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

Re: [xwiki-users] How can I include a page in another page ?

2010-01-10 Thread Caleb James DeLisle
#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

Re: [xwiki-users] Virtual wiki doesn't work

2010-01-05 Thread Caleb James DeLisle
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

Re: [xwiki-users] Access to Bindings in Python

2010-01-02 Thread Caleb James DeLisle
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

Re: [xwiki-users] Registered Users

2010-01-02 Thread Caleb James DeLisle
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

Re: [xwiki-users] How do i know what's methods in $xwiki

2009-12-29 Thread Caleb James DeLisle
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) >>

Re: [xwiki-users] How do i know what's methods in $xwiki

2009-12-29 Thread Caleb James DeLisle
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:/

Re: [xwiki-users] Virtual wiki doesn't work

2009-12-25 Thread Caleb James DeLisle
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

Re: [xwiki-users] renaming caused an unreachable page

2009-12-24 Thread Caleb James DeLisle
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

Re: [xwiki-users] renaming caused an unreachable page

2009-12-23 Thread Caleb James DeLisle
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

Re: [xwiki-users] renaming caused an unreachable page

2009-12-23 Thread Caleb James DeLisle
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

Re: [xwiki-users] PLS HELP! wich is the best way to adapt a look and feel made in html, css to velocity?

2009-12-14 Thread Caleb James DeLisle
/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

Re: [xwiki-users] [Vote] New colors for the XWiki.org websites

2009-10-13 Thread Caleb James DeLisle
+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

Re: [xwiki-users] The missing quality of xwiki?

2009-10-09 Thread Caleb James DeLisle
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

Re: [xwiki-users] how to mask those elements

2009-10-05 Thread Caleb James DeLisle
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) : >>> >

Re: [xwiki-users] [xwiki-devs] [Discussion] XWiki Enterprise 2.1 Roadmap

2009-10-02 Thread Caleb James DeLisle
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

Re: [xwiki-users] [xwiki-devs] Who can design nice and unique color themes for xwiki.org

2009-09-29 Thread Caleb James DeLisle
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

Re: [xwiki-users] [XWIKI-4375] xwiki paper cuts

2009-09-19 Thread Caleb James DeLisle
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 >> &

Re: [xwiki-users] Selective space export

2009-09-07 Thread Caleb James DeLisle
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

Re: [xwiki-users] Selective space export

2009-09-07 Thread Caleb James DeLisle
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

Re: [xwiki-users] (solved) getting "contenttype" from an object property

2009-09-04 Thread Caleb James DeLisle
.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

[xwiki-users] getting "contenttype" from an object property

2009-09-04 Thread Caleb James DeLisle
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

Re: [xwiki-users] viewer=code

2009-08-26 Thread Caleb James DeLisle
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

Re: [xwiki-users] Is there a permanent ID of xwiki doc?

2009-08-24 Thread Caleb James DeLisle
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:

Re: [xwiki-users] Receiving Watch list notifications.

2009-08-23 Thread Caleb James DeLisle
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! > > ___

Re: [xwiki-users] what are the advanced and simple user types?

2009-08-23 Thread Caleb James DeLisle
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

<    1   2   3