[xwiki-users] Repository Extension: How to import an extension from a maven repository
Hi, I like to use the Extension Repository Application in XWiki 4.2 to host our homemade XWiki extensions. For this purpose I configured our Apache archiva instance in xwiki.properties as extension repository: extension.repositories=ourmaven:maven:http://ourmaven:8081/archiva/repository/main I am struggling now with importing the extensions in the http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension page. What is the syntax of an extension id for maven artifacts? Our extensions are normal XAR Files. Do we have to enhance the XAR Files with additional information? Richard ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Notification on comment
Hi, I am looking for some code, an extension or something else to get a notification if there is a new comment written. This notification should be send by email to the creator or the Space abonents. Maybe someone has an idea. Thank you very much! Best regads Mark ___ TROX GmbH Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn Amtsgericht Kleve, HRB 4997 Geschäftsführung: Lutz Reuter, Vorsitzender Torsten Jagdt Prof. Dr.-Ing. Dirk Müller Aufsichtsrat: Heinz C. Trox, Vorsitzender ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] macros and wiki links in xhtml
Hi all, I'm trying to import xhtml pages from an existing site into wiki pages. Parts of these pages have dynamically generated content which I want to keep dynamic in the wiki. I've created macros that can replicate the dynamic bits, but I'm having trouble getting the pages themselves across. At first I tried doing a naive transformation to xwiki syntax beforehand and importing that, but the resulting pages aren't modifiable with the WYSIWYG editor because of my heavy reliance on the {{html}} macro. So, now I'm thinking I should just keep them in plain xhtml, which the editor seems to handle fairly well. How can I use macros and create wiki links with this approach though? The XWiki website mentions in a number of places that round-trip conversions between xwiki/2.1 and xhtml/1.0 syntaxes is a feature, so this must be possible, right? I've seen a couple mentions of annotations using comments in the xhtml to achieve this, but haven't been able to find any concrete examples or documentation of the syntax. Assuming this is possible, will I be able to use the macros I created with XWiki.WikiMacroClass, or are these only available in the xwiki/2+ syntax? If not, how can I make macros that _are_ usable in the xhtml syntax? Am I approaching this problem in entirely the wrong way? Any guidance would be appreciated! Sincerely, --Maxwell Terpstra ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] programming rights in xwiki farm
Hi, I don't know AppWithinMinutes very well but I don't really see exactly what it has to do with the rest of the mail. AFAIK you don't need PR to use AppWithinMinutes. Also what I said is that a user from subwiki does not have programming right but you can save a page from any wiki using a global user (user from main wiki). You just need to log in the subwiki with your global user. Please to send direct mail, better use the mailing list. On Thu, Oct 11, 2012 at 11:08 PM, poppa...@yahoo.com wrote: Hi Thomas, I am a bit perplexed. The AppWithinMinutes won't run in a sub-wiki then? I created an app in the main wiki, but in a sub wiki I am getting that macro error. quote author='Thomas Mortagne' On Sat, Apr 28, 2012 at 2:52 PM, Bob Egolf ego...@gmail.com wrote: I have been running a simple xwiki farm with 2 sub wikis for some time and I recently tried to add a macro with a groovy script in the sub-wiki and got the You don't have the right to execute this script. I tried to grant programming to the user by logging into the wiki farm site and granting programming to the group and to the user I am using in the sub-wiki. I imported the Admin tools application and ran the Programming rights Check and applied the config. I still am not able to grant the user programming rights and my macro with the script will not run, same permissions error. I have tried to create a new user in the wiki farm and grant programming to it, but when I login to the subwiki it has no permissions so I don't believe I have him setup quite right. This is running XWiki Enterprise 2.3.1.29183 build, not sure where to go from here. Users from subwikis don't have programming right, never. There is nothing you can do to make them have it. So you will have to use a user from main wiki to save your macro document. Any help appreciated. Bob ___ 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 /quote Quoted from: http://xwiki.475771.n2.nabble.com/programming-rights-in-xwiki-farm-tp7508804p7516299.html -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Notification on comment
Here is some documentation about events http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Local. You will find some examples in there. The event you need to listen to in your case is com.xpn.xwiki.internal.event.CommentAddedEvent (located in xwiki-platform-oldcore module). On Fri, Oct 12, 2012 at 8:54 AM, Mark Zimmermann m.zimmerm...@trox.de wrote: Hi, I am looking for some code, an extension or something else to get a notification if there is a new comment written. This notification should be send by email to the creator or the Space abonents. Maybe someone has an idea. Thank you very much! Best regads Mark ___ TROX GmbH Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn Amtsgericht Kleve, HRB 4997 Geschäftsführung: Lutz Reuter, Vorsitzender Torsten Jagdt Prof. Dr.-Ing. Dirk Müller Aufsichtsrat: Heinz C. Trox, Vorsitzender ___ 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] Repository Extension: How to import an extension from a maven repository
On Fri, Oct 12, 2012 at 8:39 AM, Richard Hierlmeier rhierlme...@googlemail.com wrote: Hi, I like to use the Extension Repository Application in XWiki 4.2 to host our homemade XWiki extensions. For this purpose I configured our Apache archiva instance in xwiki.properties as extension repository: extension.repositories=ourmaven:maven:http://ourmaven:8081/archiva/repository/main I am struggling now with importing the extensions in the http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension page. What is the syntax of an extension id for maven artifacts? groupid:artifactId as in org.xwiki.platform:xwiki-platform-oldcore Our extensions are normal XAR Files. Do we have to enhance the XAR Files with additional information? Nop, nothing is needed. The importer will only look at the pom.xml in your case. Richard ___ 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] [myxwiki] new wiki request
You can access your new wiki on http://utopia.myxwiki.org. Enjoy ! On Thu, Oct 11, 2012 at 12:08 PM, Fabien-Kenzo Sato kenz...@gmail.com wrote: Hi, I would like to use XWiki for the members of the citizen association Utopia. We coproduce a lot of documents with our members and a wiki would be useful. Thanks a lot, Fabien-Kenzo Sato http://www.mouvementutopia.org --- username: kenzo subdomain: utopia ___ 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] [myxwiki] new wiki request
Thanks! 2012/10/12 Thomas Mortagne thomas.morta...@xwiki.com You can access your new wiki on http://utopia.myxwiki.org. Enjoy ! On Thu, Oct 11, 2012 at 12:08 PM, Fabien-Kenzo Sato kenz...@gmail.com wrote: Hi, I would like to use XWiki for the members of the citizen association Utopia. We coproduce a lot of documents with our members and a wiki would be useful. Thanks a lot, Fabien-Kenzo Sato http://www.mouvementutopia.org --- username: kenzo subdomain: utopia ___ 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] Notification on comment
Hi Mark, On Oct 12, 2012, at 8:54 AM, Mark Zimmermann m.zimmerm...@trox.de wrote: Hi, I am looking for some code, an extension or something else to get a notification if there is a new comment written. This notification should be send by email to the creator or the Space abonents. Maybe someone has an idea. Thank you very much! What you can do too is just watch the page (watchlist feature) and you'll get a notification with the diff in the email when the page is modified (the page is modified when a comment is added). Now if you want to only get some notification when a comment is added and not when the page content is modified then you'll need something custom as Thomas has mentioned. It would be a nice new extension for someone to build to be able to get notifications just on comments IMO :) More generally speaking, ability to watch xobjects in the wiki would be a nice feature (ie get some notification whenever a page is having a specific object added/modified/deleted). Could be an improvement to the watchlist. You could create a jira issue for this idea if you wish. Thanks -Vincent Best regads Mark ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Repository Extension: How to import an extension from a maven repository
Hi Thomas, thank you for your fast reply. Am 12.10.2012 09:26, schrieb Thomas Mortagne: On Fri, Oct 12, 2012 at 8:39 AM, Richard Hierlmeier rhierlme...@googlemail.com wrote: Hi, I like to use the Extension Repository Application in XWiki 4.2 to host our homemade XWiki extensions. For this purpose I configured our Apache archiva instance in xwiki.properties as extension repository: extension.repositories=ourmaven:maven:http://ourmaven:8081/archiva/repository/main I am struggling now with importing the extensions in the http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension page. What is the syntax of an extension id for maven artifacts? groupid:artifactId as in org.xwiki.platform:xwiki-platform-oldcore OK, it works! I imported our XARs into the repository. However they are not installable with the Extension Manager. What are the prequisites for an extension to become installable with the Extension Manager? Thank you in advance Richard ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Repository Extension: How to import an extension from a maven repository
On Fri, Oct 12, 2012 at 10:51 AM, Richard Hierlmeier rhierlme...@googlemail.com wrote: Hi Thomas, thank you for your fast reply. Am 12.10.2012 09:26, schrieb Thomas Mortagne: On Fri, Oct 12, 2012 at 8:39 AM, Richard Hierlmeier rhierlme...@googlemail.com wrote: Hi, I like to use the Extension Repository Application in XWiki 4.2 to host our homemade XWiki extensions. For this purpose I configured our Apache archiva instance in xwiki.properties as extension repository: extension.repositories=ourmaven:maven:http://ourmaven:8081/archiva/repository/main I am struggling now with importing the extensions in the http://localhost:8080/xwiki/bin/view/ExtensionCode/ImportExtension page. What is the syntax of an extension id for maven artifacts? groupid:artifactId as in org.xwiki.platform:xwiki-platform-oldcore OK, it works! I imported our XARs into the repository. However they are not installable with the Extension Manager. What are the prequisites for an extension to become installable with the Extension Manager? Actually the importer generally do everything needed for it to be installable so not sure what's wrong in your case. Do you have any error in the log ? The required minimum is: * proper id * a valid download associated to each version Thank you in advance Richard ___ 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] mail server error in 4.2?
Hi All! XE 3.5.1 - sends mail via Share mail option in XWiki's top menu. XE XEM 4.2 - gives an error The message could not be sent to haru_mamb...@mail.ru: email server error. All tests done at the same server: Ubuntu 12.x XE 3.5.1 standalone XE 4.2 standalone XEM 4.2 + MySQL clean installation. Any fast solution available? Is it worth Jira's bugreport or am I missing something? Kind regards, Dmitry ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] mail server error in 4.2?
On 10/12/2012 11:39 AM, Dmitry Bakbardin wrote: Hi All! XE 3.5.1 - sends mail via Share mail option in XWiki's top menu. XE XEM 4.2 - gives an error The message could not be sent to haru_mamb...@mail.ru: email server error. All tests done at the same server: Ubuntu 12.x XE 3.5.1 standalone XE 4.2 standalone XEM 4.2 + MySQL clean installation. Any fast solution available? Is it worth Jira's bugreport or am I missing something? Kind regards, Dmitry This is a know bug that has been solved already, see http://jira.xwiki.org/browse/XWIKI-8264 -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Dynamic number of fields in Class
This post has NOT been accepted by the mailing list yet. Hello all, if this has already been answered, please let me know where, I have searched all over the place!! I want to have a class that contains a dynamic number of multiple fields. Think of it like say a shopping cart. You have one ShoppingCart class that can contain x number of items. When you edit the shopping cart, you can click add to add another item, or delete to delete an item from the list. Or maybe another example would be a RecipeClass, in which you would add in ingredients and stuff. So you would have a SesameChickenRecipe, and it would contain maybe 1 chicken, 2 tablespoons of salt, 4 bat wings, and so on. Is it possible, and if so is there any documentation you can point me to, or a tutorial, or example?? Also, is it appropriate to post this question in the Xwiki-Users forum or the Xwiki-Dev forum? Thanks so much in advance! -- View this message in context: http://xwiki.475771.n2.nabble.com/Dynamic-number-of-fields-in-Class-tp7581779.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] Dynamic number of fields in Class
Hi, The scenarios you describe are definitely possible to achieve with XWiki. The way to realize what you want is to have a several objects per item type (and not several fields of the same object). For example, for a shopping cart you would have for each page with a cart : - An object of class MyApp.Cart - N number of objects of class MyApp.CartItem Then adding/removing items in the cart is simply a matter of adding/removing cart item objects from the page. And yes, users list is the right place for this kind of question. The dev list concerns the development of the XWiki software itself. Hope this helps, Jerome On 10/12/2012 10:15 PM, poppakap wrote: This post has NOT been accepted by the mailing list yet. Hello all, if this has already been answered, please let me know where, I have searched all over the place!! I want to have a class that contains a dynamic number of multiple fields. Think of it like say a shopping cart. You have one ShoppingCart class that can contain x number of items. When you edit the shopping cart, you can click add to add another item, or delete to delete an item from the list. Or maybe another example would be a RecipeClass, in which you would add in ingredients and stuff. So you would have a SesameChickenRecipe, and it would contain maybe 1 chicken, 2 tablespoons of salt, 4 bat wings, and so on. Is it possible, and if so is there any documentation you can point me to, or a tutorial, or example?? Also, is it appropriate to post this question in the Xwiki-Users forum or the Xwiki-Dev forum? Thanks so much in advance! -- View this message in context: http://xwiki.475771.n2.nabble.com/Dynamic-number-of-fields-in-Class-tp7581779.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 -- Peace, —Jerome ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Dynamic number of fields in Class
Thank you so much. I am ALMOST able to understand, sorry for being a newbie here... but I have an AppWithinMinutes application. There is a ShoppingCartHome with a livetable containing multiple ShopptingCarts. The livetable works great, and allows you to edit a shopping cart in its list. When you edit a ShoppingCart, you have all of the fields defined in the ShoppingCartClass, all of which are a fixed quantity of each. My ShoppingCart.ShoppingCartClass contains: ShoppingCart.ShoppingCartTemplate and a ShoppingCart.ShoppingCart If I edit the class of ShoppingCart.ShoppingCartClass, I can add in various Field Types, such as Long text, short text, date picker... etc. There isn't an option to add in a field type of my ShoppingCartItemClass If I edit the objects of ShoppingCart.ShoppingCartClass, I can add in objects such as ClassSheetBinding, DocumentSheetBinding... etc. If I were to add in a ShoppingCartItem object on this page, I am only allowed to enter a specific number of them. I don't see where to add in the option of one-to-many ShoppingCartItem classes. -- View this message in context: http://xwiki.475771.n2.nabble.com/Dynamic-number-of-fields-in-Class-tp7581779p7581781.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