Re: [xwiki-users] D3js not working on XWiki 5.4

2014-04-04 Thread Flavius Olaru
Hi,

I've just uploaded a new version of d3js macro/extension. Tested on 5.4.2.
It should now be fixed.

Thanks,
Flavius


On Fri, Apr 4, 2014 at 5:01 PM, Hamster teun...@hotmail.com wrote:

 Thanks for pinging :-)



 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/D3js-not-working-on-XWiki-5-4-tp7589145p7590008.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Glossar and Forum

2010-02-18 Thread Flavius Olaru
There is already a Bulleting Board Application. You just need to install it
to your xwiki.
You can check the existing application at
http://code.xwiki.org/xwiki/bin/view/Applications/ .

On Mon, Feb 15, 2010 at 9:39 PM, stefan bachert stefanbach...@yahoo.dewrote:

 Did some programmed a glossar for xwiki?
 My impression is, this is not to complicated.

 Did some programmed a forum for xwiki?
 This looks much more complex to me.
 However, maybe the commenting facility is suffient for a simple forum.

 If yes, are you willing to share code?

 Stefan Bachert

 __
 Do You Yahoo!?
 Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
 gegen Massenmails.
 http://mail.yahoo.com
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


Thanks,
-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] DeleteProperty

2010-02-18 Thread Flavius Olaru
Hi Stefan,

You could also recreate your document that defines your class from scratch,
or if you don't need to change the property type you can always rename it.

Thanks
-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Custom Skin doesn't apply to unregistered users

2010-01-27 Thread Flavius Olaru
Hi all,

I have an XE 2.1.1 instance installed, developed a custom skin, applied it
in XWikiPreferences, it works on registered users but doesn't  for
unregistered users.
The skin is in a custom space, I tried to set view rights on that skin
document to XWikiAllGroup but still doesn't work.
Can anyone help me enable the custom skin for unregistered users too?

Thanks
-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Custom Skin doesn't apply to unregistered users

2010-01-27 Thread Flavius Olaru
On Wed, Jan 27, 2010 at 1:55 PM, Thomas Mortagne
thomas.morta...@xwiki.comwrote:

 On Wed, Jan 27, 2010 at 12:34, Flavius Olaru flavius.ol...@gmail.com
 wrote:
  Hi all,
 
  I have an XE 2.1.1 instance installed, developed a custom skin, applied
 it
  in XWikiPreferences, it works on registered users but doesn't  for
  unregistered users.
  The skin is in a custom space, I tried to set view rights on that skin
  document to XWikiAllGroup but still doesn't work.
  Can anyone help me enable the custom skin for unregistered users too?

 Guest is not part of XWikiAllGroup, XWikiAllGroup contains all real
 users. You have to give view right to Unregistered Users (click on
 Users to show user in rights manager UI).

 If guest already have view right at wiki level you should simply
 remove all the view configuration from your space, it will inherit
 from wiki configuration.

 
  Thanks
  --
  Flavius Olaru
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 


 --
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



Thanks ThomasM,

Your solution worked great.

-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Bad HQL queries

2010-01-17 Thread Flavius Olaru
Hi,

I've done a installation on my localhost (Windows XP machine) of XE
2.1.1, Tomcat 6 and MySQL 5.1.
After this i wrote a bad hql query and executed it which brought MySQL
to spyke the CPU usage to 100% and even more rendering both the
localhost and database unusable.

{{velocity}}
#set($badhql = , BaseObject obj, StringProperty stringprop,
LargeStringProperty largestringprop where (doc.name like '%$text%' or
doc.content like '%$text%') or (obj.name=doc.fullName and
stringprop.id.id=obj.id and stringprop.value like '%$text%') or
(obj.name=doc.fullName and largestringprop.id.id=obj.id and
largestringprop.value like '%$text%'))
  #set($ok = $list.addAll(0, $xwiki.searchDocuments($badhql)))

  {{include document=XWiki.Results/}}
{{/velocity}}

The bad thing is that $xwiki.searchDocuments brought me to this state
(no programming rights.).
Now my question is: Are there any remedies against this? MySQL
configuration statements that prevent this kind of behaviour?

-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Lucene defaultpage fails

2010-01-17 Thread Flavius Olaru
On Sun, Jan 17, 2010 at 1:35 PM, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
 Navigating to the Main.LuceneSearch page brings up the following error?

 Failed to execute macro: velocity
 org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate 
 Velocity Macro for content [$xwiki.jsfx.use(uicomponents/search/search.js, 
 true)##
 $xwiki.ssfx.use(uicomponents/search/search.css, true)##
 The page has worked, but what can be wrong now.
 The page itself is not changed from the distribution?

 Gerritjan
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

Hi Gerritjan,

Can you paste in more information about the error?

-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Showing HTML in a page from a field

2010-01-16 Thread Flavius Olaru
Jeremie,

The first method uses Object.display() while the other
Object.getProperty().value retrieves the value without rendering.

On Fri, Jan 15, 2010 at 6:37 PM, Jeremie BOUSQUET
jeremie.bousq...@gmail.com wrote:
 Wow, super thanks Marius, it works perfectly !
 I'm not sure to understand why, but it did the trick :)

 Jeremie
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


-- 
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] printing something or using it in a logic flow

2009-12-04 Thread Flavius Olaru
If you want not to print the results of the a method you can use #set($ok =
$var.method()). This way the results goes into the variable $ok that you can
also use it to test if the method was successful.

Best regards,
Flavius


On Thu, Dec 3, 2009 at 10:59 PM, Bubulina nohin...@yahoo.com wrote:


 evening,
 out of curiosity, is it possible to make something, to write a line of code
 without the #set( but to not show the result on the page?
 for instance:
 - if i #set($list = $util.arrayList)
 and then
  $list.add($x) -just add x to the list, but in the same time shows true
 printed on the page. i would like to avoid this, and still keep the logic?
 :working:
 --
 View this message in context:
 http://n2.nabble.com/printing-something-or-using-it-in-a-logic-flow-tp4108817p4108817.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Cu stima,
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] simple declare a list in velocity

2009-12-03 Thread Flavius Olaru
In velocity you don't have the keywork *new*. You should use the variable
$util to declare a list.

#set($dateList = $util.arrayList)
$dateList.add($dateD)

And on operations with lists you use $listttool.
$listtool.size($dateList)

Best regards,
Flavius Olaru

On Thu, Dec 3, 2009 at 10:50 AM, Bubulina nohin...@yahoo.com wrote:


 hello
 this is by far the most easiest thing ... but
 i have some data that i want to simple add in a list
 #set($dateList = new ArrayList() )
 $dateList.add($dateD)


 whyyy is this wrong? how do i else declare a list ? cause it does not work
 thank you
 --
 View this message in context:
 http://n2.nabble.com/simple-declare-a-list-in-velocity-tp4104854p4104854.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [xwiki-devs] Can XWiki benefit from Google AJAX Libraries API ?

2009-12-01 Thread Flavius Olaru
Google CDN server hosts also different versions of each javascript
framework.
http://code.google.com/apis/ajaxlibs/documentation/#prototype

By using google.load() function and google.setOnLoadCallback(function(){ })
we have the advantage of executing the custom code after all javascript
libraries are loaded, instead of using that framework onload function.
http://webmuch.com/how-why-you-should-use-google-cdn/

I think even if the option of using the google CDN servers to load the
javascript frameworks the should always be an fallback option. Here is an
nice article on how google load works. We could hack something to make sure
if google servers are down, it loads the libraries from XWiki servers.
http://onwebdevelopment.blogspot.com/2008/07/hacking-google-loader-and-ajax.html


On caching issues i found this article. I think it needs testing.
http://soupgiant.com/blog/browsers/caching-on-the-google-ajax-libraries-api/

On Tue, Dec 1, 2009 at 1:18 PM, Sergiu Dumitriu ser...@xwiki.com wrote:

 On 12/01/2009 06:10 AM, Asiri Rathnayake wrote:
  Link: http://code.google.com/apis/ajaxlibs/
 
  Article about how it can make websites fast:
  http://radar.oreilly.com/2009/11/steve-souders-making-web-sites.html
 
  XWiki web gurus, can XWiki benefit from this? Is it worth considering?
 

 Maybe. Its main advantages are that:
 - it increases the chance of having the prototype and scriptaculous
 scripts in the cache.
 - it downloads them from Google's fast CDN, reducing the load on our
 servers

 I don't know how does it work with the rest of our scripts, which assume
 that Prototype is already loaded. It probably doesn't which means that
 we'll need lots of changes in all our js code to integrate it.
 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Cu stima,
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [myxwiki] new wiki request

2009-10-08 Thread Flavius Olaru
On Wed, Oct 7, 2009 at 7:07 PM, Thomas Mortagne
thomas.morta...@xwiki.comwrote:

 On Wed, Oct 7, 2009 at 17:27, Jean-Vincent Drean jean-vinc...@drean.org
 wrote:
  On Wed, Oct 7, 2009 at 11:51 AM, Flavius Olaru flavius.ol...@gmail.com
 wrote:
  Hi,
 
  I am interested in having a wiki hosted at myxwiki.org for personal
 purpose,
  like daily blogging regarding my discoveries using XWiki, velocity etc.,
  some testing using the XWiki platform.
  The username for administration should be FlaviusOlaru.
 
  Hi, AFAICS the user does not exist, could you create it please ?

  create it=register on http://www.myxwiki.org

 
  Thanks,
  JV.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 



 --
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


Thanks. I created the user on http://www.myxwiki.org

-- 
Regards,
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [myxwiki] new wiki request

2009-10-07 Thread Flavius Olaru
Hi,

I am interested in having a wiki hosted at myxwiki.org for personal purpose,
like daily blogging regarding my discoveries using XWiki, velocity etc.,
some testing using the XWiki platform.
The username for administration should be FlaviusOlaru.
The domain should be flavius. (flavius.myxwiki.org).

PS: I am currently employed at XWiki Offices in Iasi.
-- 
Regards,
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users