Re: [xwiki-users] change EmperorofIceCream.mywiki.org to LifeintheOffworldColonies.mywiki.org

2016-04-04 Thread Vincent Massol
FTR if you’re looking for a hosted solution for XWiki, please see
http://www.xwiki.org/xwiki/bin/view/Hosted/

Thanks
-Vincent

> On 05 Apr 2016, at 01:34, Jesse Bright  wrote:
> 
> I tried Jelastic. The set up was very simple, all preconfigured and 
> everything worked fine. In the end I did not stay with Jelastic only because 
> I did not find that that they were competitively priced. Your mileage may 
> vary.
> 
> Regards,
> 
> Jesse
> 
>> On Apr 4, 2016, at 9:12 AM, Raymond Lai  wrote:
>> 
>> Thx Thomas!
>> 
>> 
>> Hey have either of u ever installed xwiki on the Google cloud platform or 
>> other cloud platform? Jelastic?
>> Ray
>> 
>> Sent from my iPhone
>> 
>>> On Apr 4, 2016, at 6:10 AM, Eduard Moraru  wrote:
>>> 
>>> Typo ("mywiki.org").
>>> 
>>> The new (alternative) URL that Thomas created is
>>> http://lifeintheoffworldcolonies.myxwiki.org
>>> 
>>> -Eduard
>>> 
>>> On Mon, Apr 4, 2016 at 4:03 PM, Thomas Mortagne 
>>> wrote:
>>> 
 hmm renaming a wiki is not very easy and probably risky too.
 
 What I did is to make "lifeintheoffworldcolonies.mywiki.org" the new
 default domain for you wiki (http://emperoficecream.myxwiki.org is
 still working, it's just not the default). Its technical id is still
 be emperorofIcecream but it's probably not a big deal for you.
 
 On Sat, Apr 2, 2016 at 12:51 PM, Raymond Lai 
 wrote:
> Hello is it possible to change the name of my wiki? I am registered as
 Ray
> Lai to the xwiki community.
> 
> thank you,
> Ray
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] change EmperorofIceCream.mywiki.org to LifeintheOffworldColonies.mywiki.org

2016-04-04 Thread Jesse Bright
I tried Jelastic. The set up was very simple, all preconfigured and everything 
worked fine. In the end I did not stay with Jelastic only because I did not 
find that that they were competitively priced. Your mileage may vary.

Regards,

Jesse

> On Apr 4, 2016, at 9:12 AM, Raymond Lai  wrote:
> 
> Thx Thomas!
> 
> 
> Hey have either of u ever installed xwiki on the Google cloud platform or 
> other cloud platform? Jelastic?
> Ray
> 
> Sent from my iPhone
> 
>> On Apr 4, 2016, at 6:10 AM, Eduard Moraru  wrote:
>> 
>> Typo ("mywiki.org").
>> 
>> The new (alternative) URL that Thomas created is
>> http://lifeintheoffworldcolonies.myxwiki.org
>> 
>> -Eduard
>> 
>> On Mon, Apr 4, 2016 at 4:03 PM, Thomas Mortagne 
>> wrote:
>> 
>>> hmm renaming a wiki is not very easy and probably risky too.
>>> 
>>> What I did is to make "lifeintheoffworldcolonies.mywiki.org" the new
>>> default domain for you wiki (http://emperoficecream.myxwiki.org is
>>> still working, it's just not the default). Its technical id is still
>>> be emperorofIcecream but it's probably not a big deal for you.
>>> 
>>> On Sat, Apr 2, 2016 at 12:51 PM, Raymond Lai 
>>> wrote:
 Hello is it possible to change the name of my wiki? I am registered as
>>> Ray
 Lai to the xwiki community.
 
 thank you,
 Ray
 ___
 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
>> ___
>> 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

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


[xwiki-users] Adding items from pages into an app

2016-04-04 Thread dullfig
I don't have that much experience with XWiki, so I just need a gentle nudge
in the right direction 

I use XWiki to write internal procedures in the company. I also want to do a
yearly audit to verify compliance to the procedures. So what I want to do is
have in each procedure one section called "audit items", and have any items
in that section show up in a master audit list. Also, I want the main audit
list to be a live table, so I can check "yes" or "no" each item.

Can this be done with the "app in minutes" wizard somehow? 

Dan



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Adding-items-from-pages-into-an-app-tp7598806.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


Re: [xwiki-users] change EmperorofIceCream.mywiki.org to LifeintheOffworldColonies.mywiki.org

2016-04-04 Thread Raymond Lai
Thx Thomas!


Hey have either of u ever installed xwiki on the Google cloud platform or other 
cloud platform? Jelastic?
Ray

Sent from my iPhone

> On Apr 4, 2016, at 6:10 AM, Eduard Moraru  wrote:
> 
> Typo ("mywiki.org").
> 
> The new (alternative) URL that Thomas created is
> http://lifeintheoffworldcolonies.myxwiki.org
> 
> -Eduard
> 
> On Mon, Apr 4, 2016 at 4:03 PM, Thomas Mortagne 
> wrote:
> 
>> hmm renaming a wiki is not very easy and probably risky too.
>> 
>> What I did is to make "lifeintheoffworldcolonies.mywiki.org" the new
>> default domain for you wiki (http://emperoficecream.myxwiki.org is
>> still working, it's just not the default). Its technical id is still
>> be emperorofIcecream but it's probably not a big deal for you.
>> 
>> On Sat, Apr 2, 2016 at 12:51 PM, Raymond Lai 
>> wrote:
>>> Hello is it possible to change the name of my wiki? I am registered as
>> Ray
>>> Lai to the xwiki community.
>>> 
>>> thank you,
>>> Ray
>>> ___
>>> 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
> ___
> 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] Macro Parameter as Array

2016-04-04 Thread Jesse Bright
Thomas and Vincent, thank you both for the feedback. If parameters supported 
data type it would open up a lot of nice options for wiki macros but I can 
manage without. It's easy enough to fake the Boolean type and the macro I 
wanted to use arrays is just for building the site pages and not for production 
use, so I can hard code my lists easy enough. Thanks again!

Regards,

Jesse

> On Apr 3, 2016, at 8:59 AM, Vincent Massol  wrote:
> 
> 
>> On 03 Apr 2016, at 02:02, Personal  wrote:
>> 
>> Is it possible to pass an array as a macro parameter? So far my attempts 
>> have failed.
> 
> no, it’s not really possible to pass typed parameters to macros in wiki 
> syntax.
> 
> However, if the macro is written in Java and it expects a List, and 
> you pass a comma-separated list, XWiki will convert the string to List 
> automatically. Example:
> 
> {{someMacro listParam=“val1, val2, val3”/}}
> 
> This is not possible in a wiki macro though.
> 
> Thanks
> -Vincent
> 
>> Macro code:
>> #set( $a = $xcontext.macro.params.array)
>> $a
>> 
>> #foreach($i in $a)
>> $i
>> #end
>> 
>> 
>> Page code:
>> #set( $array = ['Chapter 1', 'Chapter 2', 'Chapter 3'])
>> $array
>> 
>> #foreach($i in $array)
>> $i
>> #end
>> 
>> {{test array=$array/}}
>> 
>> 
>> The array processed in the page works as expected. The array passed to the 
>> macro only prints up to the first space between Chapter and 1. I have also 
>> tried to enter the array as a string which passes the string but the macro 
>> does not treat it as an array, which doesn’t surprise me. The comments from 
>> Stefan and Vincent on 
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial seem to 
>> touch on this issue but I do not understand the answer provided. Thank you 
>> for any clarification to this issue you can provide.
>> 
>> Regards,
>> 
>> Jesse Bright
> ___
> 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] change EmperorofIceCream.mywiki.org to LifeintheOffworldColonies.mywiki.org

2016-04-04 Thread Eduard Moraru
Typo ("mywiki.org").

The new (alternative) URL that Thomas created is
http://lifeintheoffworldcolonies.myxwiki.org

-Eduard

On Mon, Apr 4, 2016 at 4:03 PM, Thomas Mortagne 
wrote:

> hmm renaming a wiki is not very easy and probably risky too.
>
> What I did is to make "lifeintheoffworldcolonies.mywiki.org" the new
> default domain for you wiki (http://emperoficecream.myxwiki.org is
> still working, it's just not the default). Its technical id is still
> be emperorofIcecream but it's probably not a big deal for you.
>
> On Sat, Apr 2, 2016 at 12:51 PM, Raymond Lai 
> wrote:
> > Hello is it possible to change the name of my wiki? I am registered as
> Ray
> > Lai to the xwiki community.
> >
> > thank you,
> > Ray
> > ___
> > 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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] change EmperorofIceCream.mywiki.org to LifeintheOffworldColonies.mywiki.org

2016-04-04 Thread Thomas Mortagne
hmm renaming a wiki is not very easy and probably risky too.

What I did is to make "lifeintheoffworldcolonies.mywiki.org" the new
default domain for you wiki (http://emperoficecream.myxwiki.org is
still working, it's just not the default). Its technical id is still
be emperorofIcecream but it's probably not a big deal for you.

On Sat, Apr 2, 2016 at 12:51 PM, Raymond Lai  wrote:
> Hello is it possible to change the name of my wiki? I am registered as Ray
> Lai to the xwiki community.
>
> thank you,
> Ray
> ___
> 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


Re: [xwiki-users] Reopening wiki

2016-04-04 Thread Vincent Massol

> On 04 Apr 2016, at 12:57, Thomas Mortagne  wrote:
> 
> Should be ok now. I had to reinstall most standard pages since it was
> not in a very good shape (probably too many changes) so it's possible
> you have to put back some configuration/customization (any page that
> was overwritten can be restored frm its history if needed).
> 
> You have what seems to be a lot of spam users, you should clean that
> up ASAP. 
> https://www.xwiki.org/xwiki/bin/view/FAQ/How+do+I+remove+spam+from+my+wiki
> should help.

Actually the official page is now:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/AntiSpam

I’ll clean up the FAQ entry.

Thanks
-Vincent

> 
> On Fri, Apr 1, 2016 at 8:09 PM, Joe L  wrote:
>> Hello, can someone please re-open the wiki at mcdev.myxwiki.org?  It's been
>> flagged as spam.. Maybe it had free registration on?
>> 
>> Thanks in advance!
>> -Joe
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Reopening wiki

2016-04-04 Thread Thomas Mortagne
Should be ok now. I had to reinstall most standard pages since it was
not in a very good shape (probably too many changes) so it's possible
you have to put back some configuration/customization (any page that
was overwritten can be restored frm its history if needed).

You have what seems to be a lot of spam users, you should clean that
up ASAP. 
https://www.xwiki.org/xwiki/bin/view/FAQ/How+do+I+remove+spam+from+my+wiki
should help.

On Fri, Apr 1, 2016 at 8:09 PM, Joe L  wrote:
> Hello, can someone please re-open the wiki at mcdev.myxwiki.org?  It's been
> flagged as spam.. Maybe it had free registration on?
>
> Thanks in advance!
> -Joe
> ___
> 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


Re: [xwiki-users] Error with groovy script from a page but not in scheduler

2016-04-04 Thread Pascal BASTIEN
My bad, with that, it is working well in my xwiki page :-)
xc = xcontext.getContext()
gArch.removeVersions(gArch.getLatestVersion(), 
gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())),xc)



En date de : Lun 4.4.16, Pascal BASTIEN  a écrit :

 Objet: Error with groovy script from a page but not in scheduler
 À: "XWiki Users" 
 Date: Lundi 4 avril 2016, 11h46
 
 Hi,
 
 I can't understand an error when I launch a groovy script
 from a wiki page but I haven't error when my groovy script
 is launched in scheduler...
 
 My nice script delete previous version of MyPage with
 removeVersions methods:
 
     MyGroupAuto =
 xwiki.getDocument("Space.MyPage")
     // remove last version
     gArch = MyGroupAuto.getDocumentArchive()
    
 gArch.removeVersions(gArch.getLatestVersion(),
 gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())),
 context)
     MyGroupAuto.save()
 
 ***
 public void removeVersions(org.suigeneris.jrcs.rcs.Version
 newerVersion,
                
   org.suigeneris.jrcs.rcs.Version olderVersion,
                
   XWikiContext context)
                
     throws XWikiException
 
 Remove document versions from vfrom to vto, inclusive.
 ***
 
 When I launch same script in a wiki page (betwwen {{groovy}}
 tags and page recorded by Admin with PR), I obtain this
 error and my script stopped but same script working well in
 scheduler:
 
 Caused by: javax.script.ScriptException:
 javax.script.ScriptException:
 groovy.lang.MissingMethodException: No signature of method:
 com.xpn.xwiki.doc.XWikiDocumentArchive.removeVersions() is
 applicable for argument types:
 (org.suigeneris.jrcs.rcs.Version,
 org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.api.Context)
 values: [29.1, 27.1, com.xpn.xwiki.api.Context@3f45ea13]
 Possible solutions:
 removeVersions(org.suigeneris.jrcs.rcs.Version,
 org.suigeneris.jrcs.rcs.Version,
 com.xpn.xwiki.XWikiContext)
     at
 
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:151)
 
 All ideas why this behavours is welcome :-)
 
 thxs
 
 Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Error with groovy script from a page but not in scheduler

2016-04-04 Thread Pascal BASTIEN
Hi,

I can't understand an error when I launch a groovy script from a wiki page but 
I haven't error when my groovy script is launched in scheduler...

My nice script delete previous version of MyPage with removeVersions methods:

MyGroupAuto = xwiki.getDocument("Space.MyPage")
// remove last version
gArch = MyGroupAuto.getDocumentArchive()
gArch.removeVersions(gArch.getLatestVersion(), 
gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())), context)
MyGroupAuto.save()

***
public void removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion,
  org.suigeneris.jrcs.rcs.Version olderVersion,
  XWikiContext context)
throws XWikiException

Remove document versions from vfrom to vto, inclusive.
***

When I launch same script in a wiki page (betwwen {{groovy}} tags and page 
recorded by Admin with PR), I obtain this error and my script stopped but same 
script working well in scheduler:

Caused by: javax.script.ScriptException: javax.script.ScriptException: 
groovy.lang.MissingMethodException: No signature of method: 
com.xpn.xwiki.doc.XWikiDocumentArchive.removeVersions() is applicable for 
argument types: (org.suigeneris.jrcs.rcs.Version, 
org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.api.Context) values: [29.1, 
27.1, com.xpn.xwiki.api.Context@3f45ea13]
Possible solutions: removeVersions(org.suigeneris.jrcs.rcs.Version, 
org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.XWikiContext)
at 
org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:151)

All ideas why this behavours is welcome :-)

thxs

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


Re: [xwiki-users] DBLists and Relational Storage

2016-04-04 Thread Marius Dumitru Florea
On Sun, Apr 3, 2016 at 4:32 PM, Peter Huisman  wrote:

> Hi,
>
> A few short questions:
>
> What is the storage limit when NOT using Relational Storage for each
> selected item? - I assume this is 255 but I’m not sure.
> What is the storage limit when NOT using Relational Storage for all
> selected items in total? - I do not know what to make of this.
>

I think the quote you pasted is pretty clear: if you're not using
Relational Storage then all the selected items (values) are saved in the
same VARCHAR field which is limited, normally, to 255 characters. So
there's no per-selected-item limit but only for-all-selected-items limit
(i.e. for the concatenation).

Hope this helps,
Marius


>
> The only reference I could find is a quote in an XWiki-devs mail in 2011:
>
> > Make sure you select the Multiple Select and Relational Storage
> > checkboxes. Multiple Select allows you to select and store multiple
> > values from the list, while Relational Storage makes it easier to
> > integrate that property into other queries by storing each selected item
> > in its own entry in the database (without it all the selected values are
> > stored in one row, concatenated into a VARCHAR column), and to store
> > more than a few selected values (since the column allows at most 255
> > characters in total).
> With kind regards,
>
> Peter
> ___
> 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