[xwiki-users] Attachements description field

2014-06-05 Thread Megrem Lingroar
Is there a way to add extra fields to uploaded attachements ? Essentially,
a description field

Also, can this description be searchable (search results), and would it
show in the file  manager extension ?

Best

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


Re: [xwiki-users] Attachements description field

2014-06-05 Thread vinc...@massol.net
Hi Ram,

On 5 Jun 2014 at 08:40:51, Megrem Lingroar 
(gremlinshe...@gmail.com(mailto:gremlinshe...@gmail.com)) wrote:

 Is there a way to add extra fields to uploaded attachements ? Essentially,
 a description field

Short answer is no.

Longer answer:

Ït seems Attachments can have a “comment” from what I see in the source code.

All that’s missing is a UI to set it and that’s modifiable by editing the 
proper *.vm files from your templates/ or skin directories.

It’s actually something that we could expose since we support it at the storage 
level.

 Also, can this description be searchable (search results),

It could be added to the SOLR index I guess (if it’s not already). Marius?

 and would it
 show in the file manager extension ?

I have no idea, I don’t know how this extension works.

Thanks
-Vincent


 Best
  
 Ram

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


[xwiki-users] openoffice configuration

2014-06-05 Thread Moens Patrick
Hello,



I'm preparing a migration of 3 xwiki, actually installed on 2 servers. ( xwiki 
version 2.4, 5.4  3.4)



The new environment is a server with 3 tomcat 7 and 3 Oracle DBs.



The question is , do I need to install 3 OpenOffice on the server ?, because 
when I tried to deploy the second war (1st installation is ok) , I got a 
permgen space exception. Openoffce is configured on the same port (default 
8100) on both installation.



BR



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


Re: [xwiki-users] IllegalArgumentException

2014-06-05 Thread Daniel Ebanja
Hi,
just wanted to ask if someone has an idea for me.
I'll appreciate any help.
Thanks
Am 03.06.2014 05:16 schrieb Daniel Ebanja danieleba...@googlemail.com:

 Hi,
 i am receiveing the following exception:
 Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex
 characters in escape (%) pattern - For input string: !

 My scenario:
 Users can create space by using a URL that looks like:
 mydomain.com/xwiki/bin/...?space=
 %C3%A4%C3%B6%C3%BC%C3%9F%C2%A7%25%21%3C%3E_helloworld

 i then try to decode this spacename and create the space without success.
 String decodedspacename = URLDecoder.decode(space, UTF-8);

 How should i deal with this?
 thanks for your help in advance.


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


[xwiki-users] Custom display

2014-06-05 Thread Gerritjan Koekkoek
Hi

We are trying to develop questionnaires within xwiki.
In order to get clear answers from people we prefer static lists above text
fields which would be more difficult to analyze.

As a approach we start with appWithinMinutes and add attributes of type
static list

Use case 1:
When we want the user to select one of a limited set of options we typical
use radio button as input control.

In edit mode this works fine.
But in collaborative mode this does not work very well for us.
What we mean by collaborative mode?
We have patients discussing the questionnaire with the expert.
Over the internet they both look at the page which holds the questionnaire
already completed by the patient...
But since default XWiki is showing only the value selected discussions
about why the patient chose the one option above the other are too
difficult.
We would like the radiobuttons view in edit mode, but disabled for
modification; especially since in view mode changing the elected option...

Would it be possible to modify the class and add something in the Custom
Display?
Is there a useful document on how the custom display option for classes
works?

Use case 2:
Some questions are of the type How much would you agree
Then the user can select between totally disagree, somewhat disagree,
neutral, somewhat agree totally agree.
We have now selected a static list with 5 options labeled as above...
But on the internet we often see sliders that can be put in 5 positions
(from left to right or from top to bottom)

Would it be possible to use such sliders via Custom Display. As a base
attribute we would then probably switch from static list to a numeric field
holding the value of the slider.
Same as in use case 1; can we also show the slider disabled in
'collaborative mode'

Many thanks for suggestions or links to documents that describe the 'custom
display'

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


Re: [xwiki-users] IllegalArgumentException

2014-06-05 Thread Jeremie BOUSQUET
Hi,

I think more details would be needed about what you do actually ...

I tested the following groovy script in a page :

{{groovy}}

def space = %C3%A4%C3%B6%C3%BC%C3%9F%C2%A7%25%21%3C%3E_helloworld

println ENCODED ${space}

String decodedspacename = URLDecoder.decode(space, UTF-8);

println DECODED ${decodedspacename}

def spaceFromUrl = request.space

println From URL ENCODED ${spaceFromUrl}

String decodedspacenameFromUrl = URLDecoder.decode(space, UTF-8);

println From URL DECODED ${decodedspacenameFromUrl}


{{/groovy}}

I pass space=%C3%A4%C3%B6%C3%BC%C3%9F%C2%A7%25%21%3C%3E_helloworld as a
parameter to the page.
The output is then :

ENCODED %C3%A4%C3%B6%C3%BC%C3%9F%C2%A7%25%21%3C%3E_helloworld
DECODED äöüߧ%!_helloworld
From URL ENCODED äöüߧ%!_helloworld
From URL DECODED äöüߧ%!_helloworld

So in this case, it works for me.

If I add this additional line to my script:

decodedspacenameFromUrl = URLDecoder.decode(decodedspacenameFromUrl ,
UTF-8);

Then I get the exception you got, as Clemens.


BR,
Jeremie



2014-06-05 9:59 GMT+02:00 Daniel Ebanja danieleba...@googlemail.com:

 Hi,
 just wanted to ask if someone has an idea for me.
 I'll appreciate any help.
 Thanks
 Am 03.06.2014 05:16 schrieb Daniel Ebanja danieleba...@googlemail.com:

  Hi,
  i am receiveing the following exception:
  Caused by: java.lang.IllegalArgumentException: URLDecoder: Illegal hex
  characters in escape (%) pattern - For input string: !
 
  My scenario:
  Users can create space by using a URL that looks like:
  mydomain.com/xwiki/bin/...?space=
  %C3%A4%C3%B6%C3%BC%C3%9F%C2%A7%25%21%3C%3E_helloworld
 
  i then try to decode this spacename and create the space without success.
  String decodedspacename = URLDecoder.decode(space, UTF-8);
 
  How should i deal with this?
  thanks for your help in advance.
 
 
 ___
 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] Attachements description field

2014-06-05 Thread Thomas Mortagne
On Thu, Jun 5, 2014 at 9:36 AM, vinc...@massol.net vinc...@massol.net wrote:
 Hi Ram,

 On 5 Jun 2014 at 08:40:51, Megrem Lingroar 
 (gremlinshe...@gmail.com(mailto:gremlinshe...@gmail.com)) wrote:

 Is there a way to add extra fields to uploaded attachements ? Essentially,
 a description field

 Short answer is no.

 Longer answer:

 Ït seems Attachments can have a “comment” from what I see in the source code.

This comment is actually supposed to be a save comment (exactly like
the one you have in document) so not sure it's exactly what is asked
here.


 All that’s missing is a UI to set it and that’s modifiable by editing the 
 proper *.vm files from your templates/ or skin directories.

 It’s actually something that we could expose since we support it at the 
 storage level.

 Also, can this description be searchable (search results),

 It could be added to the SOLR index I guess (if it’s not already). Marius?

 and would it
 show in the file manager extension ?

 I have no idea, I don’t know how this extension works.

 Thanks
 -Vincent


 Best

 Ram

 ___
 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] I need help about new version of XWiki

2014-06-05 Thread Thomas Mortagne
What happen here is actually that the blog is not part of the default
UI anymore. I just installed it in your wiki using extension manager.

On Thu, Jun 5, 2014 at 4:43 AM, Lumar V. Bertoli Jr luma...@gmail.com wrote:
 Dear Thomas Mortagne,

 Thank you very much for your help. After you helped me, everything worked
 well, only the Blog space isn't working.

 Before the problem, the user could see all the Blog's posts in the blog
 space, but now the main page of the blog space is empty. All the blog's
 posts are available by the search tool.

 Could you please fix that too?

 Thanks a lot!


 Lumar





 Em 02-Jun-14 9:27 AM, Thomas Mortagne escreveu:

 I just upgraded your wiki, all seems OK (did not really got much
 conflict).


 On Mon, Jun 2, 2014 at 12:20 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:

 Hmm your wiki does not seems to be upgraded actually, most admin UI is
 broken. Looking at your upgrade status.

 On Mon, Jun 2, 2014 at 12:19 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:

 Or are you talking about the Sandbox space ?

 On Mon, Jun 2, 2014 at 12:19 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:

 Do you still have an issue with your wiki ? lumarjr.myxwiki.org home
 page seems to be there.

 On Mon, May 26, 2014 at 12:01 AM, Lumar V. Bertoli Jr
 luma...@gmail.com wrote:

 Dear,

 I stored all my informations on: lumarjr.myxwiki.org. Recently, when I
 logged at the site, I received the information that was necessary to
 upgrade
 to the new version of XWiki.

 I tried to follow the wizard, but in one of the steps occurred a
 error. So,
 I tried to fix the problem by myself, but I couldn't. I think that
 some
 important files from template was deleted.

 Now, when I log at lumarjr.myxwiki.org, I  receive the follow message:

 /Notice//
 //The requested document could not be found.//
 //You can edit this page to create it.//
 //The following versions are in the recycle bin://
 //Deleter Delete date Actions//
 //Lumar Bertoli 2014/05/19 02:59 Restore Delete /

 I would like to fix this problem because I have a lot of informations
 at
 this wiki. Can you help me to go to a stable version or to downgrade
 to the
 version that was working?

 Thanks a lot,

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



 --
 Thomas Mortagne



 --
 Thomas Mortagne



 --
 Thomas Mortagne




 ___
 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] Attachements description field

2014-06-05 Thread vinc...@massol.net
 



On 5 Jun 2014 at 10:44:49, Thomas Mortagne 
(thomas.morta...@xwiki.com(mailto:thomas.morta...@xwiki.com)) wrote:

 On Thu, Jun 5, 2014 at 9:36 AM, vinc...@massol.net wrote:
  Hi Ram,
 
  On 5 Jun 2014 at 08:40:51, Megrem Lingroar 
  (gremlinshe...@gmail.com(mailto:gremlinshe...@gmail.com)) wrote:
 
  Is there a way to add extra fields to uploaded attachements ? Essentially,
  a description field
 
  Short answer is no.
 
  Longer answer:
 
  Ït seems Attachments can have a “comment” from what I see in the source 
  code.
  
 This comment is actually supposed to be a save comment (exactly like
 the one you have in document) so not sure it's exactly what is asked
 here.

Indeed, my bad…

So one solution you have is to create an AttachmentClass xclass in your wiki 
with all the additional metadata you wish to have and have an xproperty in it 
that points to the attachment reference.

Then you can add a UI to create this xclass automatically when you add an 
attachment. 

And you can create a new Suggest Source that indexes these xobjects.

Thanks
-Vincent

  All that’s missing is a UI to set it and that’s modifiable by editing the 
  proper *.vm files from your templates/ or skin directories.
 
  It’s actually something that we could expose since we support it at the 
  storage level.
 
  Also, can this description be searchable (search results),
 
  It could be added to the SOLR index I guess (if it’s not already). Marius?
 
  and would it
  show in the file manager extension ?
 
  I have no idea, I don’t know how this extension works.
 
  Thanks
  -Vincent
 
 
  Best
 
  Ram
 

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


Re: [xwiki-users] improve SpaceIndex

2014-06-05 Thread Pascal BASTIEN

Thxs
Anyway, someone can help me to add my new parameter declaration in 
spaceindex.xml?

https://github.com/xwiki/xwiki-platform/pull/280/files
I must use eclipse/egit/Mylyn GitHub Connector to provide the guid ?


Pascal B




 De : vinc...@massol.net vinc...@massol.net
À : XWiki Users users@xwiki.org 
Cc : Pascal BASTIEN pbasnews-xw...@yahoo.fr 
Envoyé le : Mercredi 4 juin 2014 14h57
Objet : Re: [xwiki-users] improve SpaceIndex
 


Hi Pascal, 
On 4 Jun 2014 at 10:12:56, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 Hello,
 
 If I found a patch to resolve a bug. I must create a JIRA issue AND a pull 
 request on GitHub, or can I only pull request? 

Yes both...

 By the way, if I pull request I must indicate the link to JIRA issue number ? 
 If yes how? In comment?

Ideally in the git commit you should use the following format:

JIRA ISSUE ID, e.g. XWIKI-1000 : summary from JIRA
* extra comment, optional

Thanks!
-Vincent

 Thxs. 
 
 De : vinc...@massol.net 
 À : XWiki Users 
 Cc : Pascal BASTIEN 
 Envoyé le : Mardi 3 juin 2014 15h41
 Objet : Re: [xwiki-users] improve SpaceIndex
 
 Thanks Pascal 
 
 Would be great if you could create 1) a JIRA issue and 2) a Pull Request on 
 https://github.com/xwiki/xwiki-platform for this! 
 
 That would increase the likelihood of getting this in the platform :) 
 
 Thanks 
 -Vincent
 
 
 
 On 3 Jun 2014 at 14:07:41, Pascal BASTIEN 
 (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:
 
  Hello,
 
  Here, I add sort parameter to SpaceIndex function to display the list of 
  document with another ... sort:
 
  http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro#Comments
 
  Have fun :-)
 
  It will be nice to add that at xwiki engine...
 
 
  Pascal B
 
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Acces denied when upgrade

2014-06-05 Thread barbeliboba
Hello,

I'm upgrading xwiki from 5.4.4 to 6.0.1 and i've got this (yes it's in
french) :

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
2 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? O
Paramétrage de xwiki-enterprise-mysql-common (6.0.1) ...
dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
dbconfig-common: flushing administrative password
*ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: NO)*
dpkg: erreur de traitement de xwiki-enterprise-mysql-common (--configure) :
 le sous-processus script post-installation installé a retourné une erreur
de sortie d'état 1
dpkg: des problèmes de dépendances empêchent la configuration de
xwiki-enterprise-tomcat7-mysql :
 xwiki-enterprise-tomcat7-mysql dépend de xwiki-enterprise-mysql-common (=
6.0.1) ; cependant :
 Le paquet xwiki-enterprise-mysql-common n'est pas encore configuré.

dpkg: erreur de traitement de xwiki-enterprise-tomcat7-mysql (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 xwiki-enterprise-mysql-common
 xwiki-enterprise-tomcat7-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)


Where do I configure this access ?
When i look into etc/dbconfig-common/xwiki.conf :

[...]
#   don't change this value unless you know for certain that this
#   package supports multiple database types
dbc_dbtype='mysql'

# dbc_dbuser: database user
#   the name of the user who we will use to connect to the database.
dbc_dbuser='myuser'

# dbc_dbpass: database user password
#   the password to use with the above username when connecting
#   to a database, if one is required
dbc_dbpass='mypassword'

# dbc_dbserver: database host.
#   leave unset to use localhost (or a more efficient local method
#   if it exists).
dbc_dbserver=''

# dbc_dbport: remote database port
#   leave unset to use the default.  only applicable if you are
#   using a remote database.
dbc_dbport=''

# dbc_dbname: name of database
#   this is the name of your application's database.
dbc_dbname='xwiki'

# dbc_dbadmin: name of the administrative user
#   this is the administrative user that is used to create all of the
above
*dbc_dbadmin='root'*

# dbc_basepath: base directory to hold database files
#   leave unset to use the default.  only applicable if you are
[...]

Is it dbc_dbadmin ? because i dont see any dbc_admin_password or else...

Can you help me ?
Thank you very much.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Acces-denied-when-upgrade-tp7590906.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] improve SpaceIndex

2014-06-05 Thread Pascal BASTIEN
Ok: guid seem to be random uuid:
http://lists.xwiki.org/pipermail/devs/2010-January/041224.html




 De : Pascal BASTIEN pbasnews-xw...@yahoo.fr
À : vinc...@massol.net vinc...@massol.net; XWiki Users users@xwiki.org 
Envoyé le : Jeudi 5 juin 2014 11h13
Objet : Re: [xwiki-users] improve SpaceIndex
 



Thxs
Anyway, someone can help me to add my new parameter declaration in 
spaceindex.xml?

https://github.com/xwiki/xwiki-platform/pull/280/files
I must use eclipse/egit/Mylyn GitHub Connector to provide the guid ?


Pascal B




 De : vinc...@massol.net vinc...@massol.net
À : XWiki Users users@xwiki.org 
Cc : Pascal BASTIEN pbasnews-xw...@yahoo.fr 
Envoyé le : Mercredi 4 juin 2014 14h57
Objet : Re: [xwiki-users] improve SpaceIndex
 


Hi Pascal, 
On 4 Jun 2014 at 10:12:56, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 Hello,
 
 If I found a patch to resolve a bug. I must create a JIRA issue AND a pull 
 request on GitHub, or can I only pull request? 

Yes both...

 By the way, if I pull request I must indicate the link to JIRA issue number ? 
 If yes how? In comment?

Ideally in the git commit you should use the following format:

JIRA ISSUE ID, e.g. XWIKI-1000 : summary from JIRA
* extra comment, optional

Thanks!
-Vincent

 Thxs. 
 
 De : vinc...@massol.net 
 À : XWiki Users 
 Cc : Pascal BASTIEN 
 Envoyé le : Mardi 3 juin 2014 15h41
 Objet : Re: [xwiki-users] improve SpaceIndex
 
 Thanks Pascal 
 
 Would be great if you could create 1) a JIRA issue and 2) a Pull Request on 
 https://github.com/xwiki/xwiki-platform for this! 
 
 That would increase the likelihood of getting this in the platform :) 
 
 Thanks 
 -Vincent
 
 
 
 On 3 Jun 2014 at 14:07:41, Pascal BASTIEN 
 (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:
 
  Hello,
 
  Here, I add sort parameter to SpaceIndex function to display the list of 
  document with another ... sort:
 
  http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro#Comments
 
  Have fun :-)
 
  It will be nice to add that at xwiki engine...
 
 
  Pascal B
 
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Acces denied when upgrade

2014-06-05 Thread Oleksii Krykun
This is a bug.
I temporarily remove root password to finish upgrade. But I'm not sure this is 
a best solution.

05.06.2014 12:47, barbeliboba charline.fe...@u-bourgogne.fr
Hello,
 
 I'm upgrading xwiki from 5.4.4 to 6.0.1 and i've got this (yes it's in
 french) :
 
 Lecture des listes de paquets... Fait
 Construction de l'arbre des dépendances
 Lecture des informations d'état... Fait
 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
 2 partiellement installés ou enlevés.
 Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
 Souhaitez-vous continuer [O/n] ? O
 Paramétrage de xwiki-enterprise-mysql-common (6.0.1) ...
 dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
 dbconfig-common: flushing administrative password
 *ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
 password: NO)*
 dpkg: erreur de traitement de xwiki-enterprise-mysql-common (--configure) :
 le sous-processus script post-installation installé a retourné une erreur
 de sortie d'état 1
 dpkg: des problèmes de dépendances empêchent la configuration de
 xwiki-enterprise-tomcat7-mysql :
 xwiki-enterprise-tomcat7-mysql dépend de xwiki-enterprise-mysql-common (=
 6.0.1) ; cependant :
 Le paquet xwiki-enterprise-mysql-common n'est pas encore configuré.
 
 dpkg: erreur de traitement de xwiki-enterprise-tomcat7-mysql (--configure) :
 problèmes de dépendances - laissé non configuré
 Des erreurs ont été rencontrées pendant l'exécution :
 xwiki-enterprise-mysql-common
 xwiki-enterprise-tomcat7-mysql
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 
 Where do I configure this access ?
 When i look into etc/dbconfig-common/xwiki.conf :
 
 [...]
 # don't change this value unless you know for certain that this
 # package supports multiple database types
 dbc_dbtype='mysql'
 
 # dbc_dbuser: database user
 # the name of the user who we will use to connect to the database.
 dbc_dbuser='myuser'
 
 # dbc_dbpass: database user password
 # the password to use with the above username when connecting
 # to a database, if one is required
 dbc_dbpass='mypassword'
 
 # dbc_dbserver: database host.
 # leave unset to use localhost (or a more efficient local method
 # if it exists).
 dbc_dbserver=''
 
 # dbc_dbport: remote database port
 # leave unset to use the default. only applicable if you are
 # using a remote database.
 dbc_dbport=''
 
 # dbc_dbname: name of database
 # this is the name of your application's database.
 dbc_dbname='xwiki'
 
 # dbc_dbadmin: name of the administrative user
 # this is the administrative user that is used to create all of the
 above
 *dbc_dbadmin='root'*
 
 # dbc_basepath: base directory to hold database files
 # leave unset to use the default. only applicable if you are
 [...]
 
 Is it dbc_dbadmin ? because i dont see any dbc_admin_password or else...
 
 Can you help me ?
 Thank you very much.
 
 
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Acces-denied-when-upgrade-tp7590906.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] improve SpaceIndex

2014-06-05 Thread Pascal BASTIEN

Ok, I'm begin to understand a simple way to do it:
use xwiki to edit my SpaceIndex document, export in xar format and unzip to 
catch xml file with my nice new guid :-)
I will pull this afternoom (I'm hungry)





 De : Pascal BASTIEN pbasnews-xw...@yahoo.fr
À : vinc...@massol.net vinc...@massol.net; XWiki Users users@xwiki.org 
Envoyé le : Jeudi 5 juin 2014 11h47
Objet : Re: [xwiki-users] improve SpaceIndex
 


Ok: guid seem to be random uuid:
http://lists.xwiki.org/pipermail/devs/2010-January/041224.html




 De : Pascal BASTIEN pbasnews-xw...@yahoo.fr
À : vinc...@massol.net vinc...@massol.net; XWiki Users users@xwiki.org 
Envoyé le : Jeudi 5 juin 2014 11h13
Objet : Re: [xwiki-users] improve SpaceIndex
 





Thxs
Anyway, someone can help me to add my new parameter declaration in 
spaceindex.xml?

https://github.com/xwiki/xwiki-platform/pull/280/files
I must use eclipse/egit/Mylyn GitHub Connector to provide the guid ?


Pascal B




 De : vinc...@massol.net vinc...@massol.net
À : XWiki Users users@xwiki.org 
Cc : Pascal BASTIEN pbasnews-xw...@yahoo.fr 
Envoyé le : Mercredi 4 juin 2014 14h57
Objet : Re: [xwiki-users] improve SpaceIndex
 


Hi Pascal, 
On 4 Jun 2014 at 10:12:56, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

 Hello,
 
 If I found a patch to resolve a bug. I must create a JIRA
 issue AND a pull request on GitHub, or can I only pull request? 

Yes both...

 By the way, if I pull request I must indicate the link to JIRA issue number ? 
 If yes how? In comment?

Ideally in the git commit you should use the following format:

JIRA ISSUE ID, e.g. XWIKI-1000 : summary from JIRA
* extra comment, optional

Thanks!
-Vincent

 Thxs. 
 
 De : vinc...@massol.net 
 À : XWiki Users 
 Cc : Pascal BASTIEN 
 Envoyé le : Mardi 3 juin 2014 15h41
 Objet : Re: [xwiki-users] improve SpaceIndex
 
 Thanks Pascal 
 
 Would be great if you could create 1) a JIRA issue and 2) a Pull Request on 
 https://github.com/xwiki/xwiki-platform for this! 
 
 That would increase the likelihood of getting this in the platform :) 
 
 Thanks 
 -Vincent
 
 
 
 On 3 Jun 2014 at 14:07:41, Pascal BASTIEN 
 (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:
 
  Hello,
 
  Here, I add sort parameter to SpaceIndex function to display the list of 
  document with another ... sort:
 
  http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro#Comments
 
  Have fun :-)
 
  It will be nice to add that at
 xwiki engine...
 
 
  Pascal B
 
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Acces denied when upgrade

2014-06-05 Thread Thomas Mortagne
See http://jira.xwiki.org/browse/XE-1396.

On Thu, Jun 5, 2014 at 11:57 AM, Oleksii Krykun kr...@bigmir.net wrote:
 This is a bug.
 I temporarily remove root password to finish upgrade. But I'm not sure this 
 is a best solution.

 05.06.2014 12:47, barbeliboba charline.fe...@u-bourgogne.fr
Hello,

 I'm upgrading xwiki from 5.4.4 to 6.0.1 and i've got this (yes it's in
 french) :

 Lecture des listes de paquets... Fait
 Construction de l'arbre des dépendances
 Lecture des informations d'état... Fait
 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
 2 partiellement installés ou enlevés.
 Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
 Souhaitez-vous continuer [O/n] ? O
 Paramétrage de xwiki-enterprise-mysql-common (6.0.1) ...
 dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
 dbconfig-common: flushing administrative password
 *ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
 password: NO)*
 dpkg: erreur de traitement de xwiki-enterprise-mysql-common (--configure) :
 le sous-processus script post-installation installé a retourné une erreur
 de sortie d'état 1
 dpkg: des problèmes de dépendances empêchent la configuration de
 xwiki-enterprise-tomcat7-mysql :
 xwiki-enterprise-tomcat7-mysql dépend de xwiki-enterprise-mysql-common (=
 6.0.1) ; cependant :
 Le paquet xwiki-enterprise-mysql-common n'est pas encore configuré.

 dpkg: erreur de traitement de xwiki-enterprise-tomcat7-mysql (--configure) :
 problèmes de dépendances - laissé non configuré
 Des erreurs ont été rencontrées pendant l'exécution :
 xwiki-enterprise-mysql-common
 xwiki-enterprise-tomcat7-mysql
 E: Sub-process /usr/bin/dpkg returned an error code (1)


 Where do I configure this access ?
 When i look into etc/dbconfig-common/xwiki.conf :

 [...]
 # don't change this value unless you know for certain that this
 # package supports multiple database types
 dbc_dbtype='mysql'

 # dbc_dbuser: database user
 # the name of the user who we will use to connect to the database.
 dbc_dbuser='myuser'

 # dbc_dbpass: database user password
 # the password to use with the above username when connecting
 # to a database, if one is required
 dbc_dbpass='mypassword'

 # dbc_dbserver: database host.
 # leave unset to use localhost (or a more efficient local method
 # if it exists).
 dbc_dbserver=''

 # dbc_dbport: remote database port
 # leave unset to use the default. only applicable if you are
 # using a remote database.
 dbc_dbport=''

 # dbc_dbname: name of database
 # this is the name of your application's database.
 dbc_dbname='xwiki'

 # dbc_dbadmin: name of the administrative user
 # this is the administrative user that is used to create all of the
 above
 *dbc_dbadmin='root'*

 # dbc_basepath: base directory to hold database files
 # leave unset to use the default. only applicable if you are
 [...]

 Is it dbc_dbadmin ? because i dont see any dbc_admin_password or else...

 Can you help me ?
 Thank you very much.



 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Acces-denied-when-upgrade-tp7590906.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



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


[xwiki-users] Building XWiki from sources (Workin with eclipse)

2014-06-05 Thread wafid
hello.

to build xwiki from sources ( Working with eclipse ), I followed the steps
mentioned in the link:

http://dev.xwiki.org/xwiki/bin/view/Community/DebugXEWithEclipse;.

but in step debugging an error appears:

2014-06-05 15:10:27,471 [XWiki initialization] ERROR
c.x.x.i.XWikiInitializerJob- Exception thrown during job execution 
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document [xwiki:XWiki.GlobalRedirect]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:957)
~[xwiki-platform-oldcore-6.1-SNAPSHOT.jar:na]
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:291)
~[xwiki-platform-oldcore-6.1-SNAPSHOT.jar:na]
..
*Caused by: org.hibernate.HibernateException: Can't find
[/WEB-INF/hibernate.cfg.xml] for hibernate configuration*
at
com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory$1.getConfigurationInputStream(DefaultHibernateSessionFacto..



help!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Building-XWiki-from-sources-Workin-with-eclipse-tp7590915.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


[xwiki-users] RES: RES: Differences between extensions (observation Module)

2014-06-05 Thread Danilo Amaral de Oliveira
Hello Vincent,

I could reproduce all examples, ty!
But the asynchronously challenge I am thinking about, When you say 
asynchronously, you mean use the 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Job+Module? Or use some 
java library?


Thanks!


Danilo








Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


-Mensagem original-
De: users [mailto:users-boun...@xwiki.org] Em nome de Danilo Amaral de Oliveira
Enviada em: quinta-feira, 29 de maio de 2014 14:40
Para: vinc...@massol.net; XWiki Users
Assunto: [xwiki-users] RES: Differences between extensions (observation Module)

Vicent,
Awsome!

I was exploring XWiki documentation and this page appeared to me, and I asked 
myself, how I could not find this page before, It could avoid unnecessarily 
question in the mail list. Now I see that was created today. Hahaha

Thank you very much.

Just one question. I have noticed that your are using the EventListener class.

It was not replaced with the AbstractEventListener class?

Thanks,
Danilo


De: Vincent Massol [mailto:vmas...@gmail.com] Em nome de vinc...@massol.net 
Enviada em: quinta-feira, 29 de maio de 2014 13:41
Para: XWiki Users
Cc: Danilo Amaral de Oliveira
Assunto: Re: [xwiki-users] Differences between extensions (observation Module)

I’ve created the following for you:

http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingEventListenerTutorial#HSendamailwheneveracommentisadded

;-)

-Vincent

On 29 May 2014 at 15:31:33, Danilo Amaral de Oliveira 
(danilo.olive...@energisa.com.br(mailto:danilo.olive...@energisa.com.br)) wrote:

 Hello People,

 I am needing to create an observation module In my XWiki to monitor the 
 comments creation actions of a specific space. All time that someone put a 
 comment I need to send an email to a specific group.

 I have found these two instructions:
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Modul
 e+Local
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI


 When I use one or other?
 What is the event that the XWiki generates when someone input a comment? 
 DocumentUpdatedEvent?

 Thanks!
 Danilo


 Grupo Energisa
 Danilo Oliveira
 Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
 e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel:
 (32) 8452-9478

 Esta mensagem contém informação confidencial. Se você a recebeu por engano, 
 não divulgue ou copie seu conteúdo. Por favor, avise ao remetente 
 imediatamente e apague-a do computador.
 Privileged and confidential. If this message has been received by mistake, do 
 not disclose or copy its contents. Please notify sender and delete 
 immediately.




Grupo Energisa
Danilo Oliveira
Analista Suporte Aplicacao TI - DPTO CORP. DE INFRAESTR. TI
e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 | cel: (32) 
8452-9478

Esta mensagem contém informação confidencial. Se você a recebeu por engano, não 
divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e 
apague-a do computador.
Privileged and confidential. If this message has been received by mistake, do 
not disclose or copy its contents. Please notify sender and delete immediately.


___
 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] I need help about new version of XWiki

2014-06-05 Thread Lumar V. Bertoli Jr

Thomas Mortagne,

Thank you very much.

Lumar



Em 05-Jun-14 5:48 AM, Thomas Mortagne escreveu:

What happen here is actually that the blog is not part of the default
UI anymore. I just installed it in your wiki using extension manager.

On Thu, Jun 5, 2014 at 4:43 AM, Lumar V. Bertoli Jr luma...@gmail.com wrote:

Dear Thomas Mortagne,

Thank you very much for your help. After you helped me, everything worked
well, only the Blog space isn't working.

Before the problem, the user could see all the Blog's posts in the blog
space, but now the main page of the blog space is empty. All the blog's
posts are available by the search tool.

Could you please fix that too?

Thanks a lot!


Lumar





Em 02-Jun-14 9:27 AM, Thomas Mortagne escreveu:

I just upgraded your wiki, all seems OK (did not really got much
conflict).


On Mon, Jun 2, 2014 at 12:20 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:

Hmm your wiki does not seems to be upgraded actually, most admin UI is
broken. Looking at your upgrade status.

On Mon, Jun 2, 2014 at 12:19 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:

Or are you talking about the Sandbox space ?

On Mon, Jun 2, 2014 at 12:19 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:

Do you still have an issue with your wiki ? lumarjr.myxwiki.org home
page seems to be there.

On Mon, May 26, 2014 at 12:01 AM, Lumar V. Bertoli Jr
luma...@gmail.com wrote:

Dear,

I stored all my informations on: lumarjr.myxwiki.org. Recently, when I
logged at the site, I received the information that was necessary to
upgrade
to the new version of XWiki.

I tried to follow the wizard, but in one of the steps occurred a
error. So,
I tried to fix the problem by myself, but I couldn't. I think that
some
important files from template was deleted.

Now, when I log at lumarjr.myxwiki.org, I  receive the follow message:

/Notice//
//The requested document could not be found.//
//You can edit this page to create it.//
//The following versions are in the recycle bin://
//Deleter Delete date Actions//
//Lumar Bertoli 2014/05/19 02:59 Restore Delete /

I would like to fix this problem because I have a lot of informations
at
this wiki. Can you help me to go to a stable version or to downgrade
to the
version that was working?

Thanks a lot,

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



--
Thomas Mortagne



--
Thomas Mortagne



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