[xwiki-users] [ANN] XWebIDE - Working prototype of Application Development Environment in XWiki !

2015-07-02 Thread Caleb James DeLisle
ra.xwiki.org/browse/XWEBIDE or write to me. Thanks, Caleb -- Caleb James DeLisle XWiki SAS calebjamesdeli...@xwiki.com irc.freenode cjd 9:00-18:00 GMT+1 http://bit.ly/1suU0Lh Satire is the escape hatch from the cycle of sorrow, hatred and violence. #JeSuisCharlie -- Satire is the escape hatch fr

Re: [xwiki-users] Error html5: Video file not found

2015-07-06 Thread Caleb James DeLisle
It looks like the problem is you're trying to play an AVI on a wiki page and the video macro is only designed to embed players such as youtube or dailymotion. Ping Mohamed, looks like your project has a potential user :) On 07/07/15 07:31, Григорий Стренин wrote: > Hi all. > > I try to add vid

Re: [xwiki-users] Is there option...

2015-07-24 Thread Caleb James DeLisle
XWiki has a statistics module http://extensions.xwiki.org/xwiki/bin/view/Extension/Statistics+Application which is disabled by default for performance reasons. When we encounter a similar issue, we install Piwik and use that with the Piwik Extension http://extensions.xwiki.org/xwiki/bin/view/Exte

[xwiki-users] [myxwiki] Request for new wiki

2015-09-24 Thread Caleb James DeLisle
Hi, I'd like to start a wiki for documenting a small sociological project which I'm doing with a few friends. It will be closed while the project is ongoing but we intend to make our findings usable to the outside world when the project is complete. My username is CalebJamesDeLisle and I'd like

Re: [xwiki-users] [xwiki-devs] [Idea] Make Markdown syntax available as an optional subset of the XWiki 2.1 syntax

2015-11-27 Thread Caleb James DeLisle
I had just imagined an extension to the markdown standard, not sure exactly how macros ought to be implemented... One possibility: or ?> Thanks, Caleb On 27/11/15 14:28, Paul Libbrecht wrote: I'm trying to find "comparable tools" that we could document there as being comparable experienc

Re: [xwiki-users] [xwiki-devs] [Idea] Make Markdown syntax available as an optional subset of the XWiki 2.1 syntax

2015-11-27 Thread Caleb James DeLisle
attempt at making it more familiar to people and thus more intuitive. Thanks, Caleb On 27/11/15 16:54, vinc...@massol.net wrote: On 27 Nov 2015 at 16:41:34, Paul Libbrecht (p...@hoplahup.net(mailto:p...@hoplahup.net)) wrote: Caleb James DeLisle wrote: I had just imagined an exten

Re: [xwiki-users] Admin Tools database to filesystem porter error

2016-01-18 Thread Caleb James DeLisle
Hi Mark, My estimation of the problem is that a newer version of Groovy forbids the use of a function called `main()`. I've updated the script to use a different name for the main entry point function and you can access the new version here. http://extensions.xwiki.org/xwiki/bin/download/Extensi

Re: [xwiki-users] [xwiki-devs] [VOTE] Move to Java 8 as minimal version for XWiki 8.0+

2016-02-09 Thread Caleb James DeLisle
+1 because better the developers and the users run the same major version of the JVM and I think most of the devs are already running 8. Thanks, Caleb On 10/02/16 07:17, Manuel Smeria wrote: +1 Thanks, Manuel On Tue, Feb 9, 2016 at 10:53 PM, Paul Libbrecht wrote: vinc...@massol.net wrot

Re: [xwiki-users] Filesystem porter issue (VoidAttachmentVersioningStore)

2016-04-25 Thread Caleb James DeLisle
Hmm, I don't recall whether VoidAttachmentVersioningStore was supported but in any case you should have little difficulty if you switch attachment versioning store to file and then switch to void after making the migration. Thanks, Caleb On 25/04/16 11:47, m...@ow2.org wrote: Hi, Like describ

Re: [xwiki-users] Filesystem porter issue (VoidAttachmentVersioningStore)

2016-04-27 Thread Caleb James DeLisle
his is why I'm asking for help :) Le 25/04/2016 12:17, Caleb James DeLisle a écrit : Hmm, I don't recall whether VoidAttachmentVersioningStore was supported but in any case you should have little difficulty if you switch attachment versioning store to file and then switch to void after

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] 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] 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-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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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-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] [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] 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] 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] 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] 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] 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] 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] 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] 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] 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] [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] 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] 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] 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] 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] 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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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

[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] [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

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] 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] [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] 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] 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] 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

[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] 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

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] 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] 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
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-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] 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] 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] 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-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-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] 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] 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] 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] Installation issue / import function

2010-06-08 Thread Caleb James DeLisle
What happens when you try to import (how far do you get?) Importing is part of the automated tests which are run on firefox, are you using a different browser? We have had issues with Microsoft browsers in the past. Caleb Dalluege, Pierre (extern) wrote: > Hello xwiki users, > > After installin

Re: [xwiki-users] [xwiki-devs] [Proposal] Rights Management UI

2010-06-08 Thread Caleb James DeLisle
It would appear that you have set up a custom skin and accidently removed the button. http://noddle.myxwiki.org/xwiki/bin/view/Main/?skin=toucan shows the login button. Caleb Philip Brunetti wrote: > Hey guys, > > Let me apologize No need, the problems which only happen on a Tuesday every othe

Re: [xwiki-users] List of groups that a user belongs to

2010-06-08 Thread Caleb James DeLisle
I am not sure if there is anything in the API but if you want access to the core and you have programming permission you can get it by following the instructions here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting#HXWikiCoreAccess Once you have the core XWiki object and the XWikiCon

Re: [xwiki-users] Having the "edit" right, the user has the right to change access rights

2010-06-10 Thread Caleb James DeLisle
Yes. Permissions are just objects in the page, if you are allowed to modify the page then you are allowed to modify it's objects. This makes logical sense because the worst you can do by modifying the permissions on a page is to allow everyone to modify the page which you could have done anyway

Re: [xwiki-users] Disappearing attachments

2010-06-11 Thread Caleb James DeLisle
I know there is some sort of cache, somebody was having a problem with attachments which worked for a little while then disappeared. It turned out the max_packet_size was too small and the cache was holding the pictures for a while. Caleb Ivan Levashew wrote: > I have increased max_packet_size in

Re: [xwiki-users] Yet another thread on file-based attachments

2010-06-11 Thread Caleb James DeLisle
Ivan Levashew wrote: > I have seen another threads, but I didn't noticed any good idea. I have > only seen JCR project in the sandbox. > > http://dev.xwiki.org/xwiki/bin/view/Design/JcrStore > > I have no idea what is JCR. «JCR» sounds very different from > «filesystem». Installing and mainta

Re: [xwiki-users] Searching workaround for HTML in title-field

2010-06-12 Thread Caleb James DeLisle
This is not a problem only with the search field. It's a security policy that XWiki allows it's users to run script. In syntax 1.0 you are allowed to type HTML (and thus script) into the document, in syntax 2.0 you can use HTML in the document by invoking the HTML macro. My opinion is that to prev

Re: [xwiki-users] Searching workaround for HTML in title-field

2010-06-12 Thread Caleb James DeLisle
Ivan Levashew wrote: > James DeLisle wrote: > >> This is not a problem only with the search field. It's a security policy that >> XWiki allows it's users to run script. In syntax 1.0 you are allowed to type >> HTML (and thus script) into the document, in syntax 2.0 you can use HTML in >> the doc

[xwiki-users] [Proposal] How about extending EscapeTool to add XWiki 1.0 and 2.0 escaping? Re: XWiki/1.0 and XWiki/2.0 escaping

2010-06-13 Thread Caleb James DeLisle
Right now $escapetool is included via velocity configuration. I don't see any reason why we couldn't change to a VelocityContextInitializer which adds an extension of escapetool which has: $escapetool.xwiki1(String) $escapetool.xwiki2(String) Although it would be cleaner I'm resistant to: $escapet

Re: [xwiki-users] [xwiki-devs] [Proposal] How about extending EscapeTool to add XWiki 1.0 and 2.0 escaping? Re: XWiki/1.0 and XWiki/2.0 escaping

2010-06-14 Thread Caleb James DeLisle
Thomas Mortagne wrote: > On Sun, Jun 13, 2010 at 11:51, Caleb James DeLisle > wrote: >> Right now $escapetool is included via velocity configuration. >> I don't see any reason why we couldn't change to a VelocityContextInitializer >> which adds an

Re: [xwiki-users] Permission problems after XAR import

2010-06-14 Thread Caleb James DeLisle
Mike Jakubik wrote: > Hi, > > I've recently updated my Xwiki using the same process as always, however > some Administration pages are showing the following error at the bottom now. > > --- > Customize XWiki.RegistrationConfig: > > This configuration cannot be displayed because it was last ed

Re: [xwiki-users] Newline after include macro

2010-06-18 Thread Caleb James DeLisle
Try something like this: {{include document="Invitation.InvitationCommon" output="false" /}} {{include document="Invitation.InvitationMembersCommon" output="false" /}} {{velocity}} This has worked for me, if using the output="false" attribute fixes it then the problem is that there is some conte

Re: [xwiki-users] Newline after include macro

2010-06-18 Thread Caleb James DeLisle
I was informed that output is not a parameter for include macros, sorry about the incorrect information. Caleb Caleb James DeLisle wrote: > Try something like this: > {{include document="Invitation.InvitationCommon" output="false" /}} > > {{include document=&qu

Re: [xwiki-users] Resize images and keep aspect ratio

2010-06-21 Thread Caleb James DeLisle
If think if you specify the image width and not the height, it will scale maintaining ratio. It is scaling in the browser not on the server. [[image:myImg.png||width=800px]] Caleb Abel Solórzano Astorga wrote: > Hi, > > I am currently working with big images on my xwiki site. Is there a way to

Re: [xwiki-users] User Screening at registration

2010-06-26 Thread Caleb James DeLisle
This feature is not officially supported yet (but plans are in the works) What you can do is use the verified registration mechanism and set the verification email to not have the link for verifying the user but rather tell them that they will recieve word when their application is reviewed. See

Re: [xwiki-users] User Screening at registration

2010-06-28 Thread Caleb James DeLisle
unts. The steps are: > > 1 - The user registers > 2 - The system sends me an e-mail (this is already working) > 3 - I get the e-mail, login as an admin and confirm the user > 4 - The user logs in > > How can I perform step 3? > > Thank you for your valuable help. > &

Re: [xwiki-users] User Screening at registration

2010-06-28 Thread Caleb James DeLisle
value > <> 1"))) > > > #foreach($d in $results) > $xwiki.getUserName($d.fullName) (activate) > #end > > {{/html}} > > #if($results.empty) > No users lacking activation. > #end > {{/velocity}} > > Not sure if it is the best solution, but it see

Re: [xwiki-users] Need clarity: programming rights

2010-07-07 Thread Caleb James DeLisle
Ivan Levashew wrote: > Hello! > > I am thinking about the purpose of this extension: > > http://code.xwiki.org/xwiki/bin/view/Extensions/ProgrammingRightTestGreasemonkeyExtension > >> It is easy to forget and save pages with programming permission I wrote that extension because it is very eas

Re: [xwiki-users] xwiki import questions

2010-07-12 Thread Caleb James DeLisle
Ponder Muse wrote: > Hi, > > I have a few questions about the xwiki's 'import' function and was wondering > if I could get answer to any if not all of the following: > > 1. I have done an 'export' on an xwiki server instance and I then stripped > the generated .xar to remove some unwanted space

  1   2   3   >