Re: [xwiki-users] Can't install Column Macro due to lack of Programming Rights
-bump- -- View this message in context: http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589641.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] different database name and user
On Mon, Mar 17, 2014 at 6:02 PM, Fiete Botschen fie...@me.com wrote: Dear Thomas, first of all thanks for your reply. It seems like I totally misunderstood this ;( According to this snippet: xwiki.db -- name of database schema for the main wiki (including the name of the wiki in a non-virtual environment, otherwise the database name comes from the hibernate configuration file). it is enough if I specify my database and username which both differ from xwiki in the hibernate.cfg.xml right? It used to but, since 5.0, XWiki is always in virtual mode which mean you have to also indicate the right name in xwiki.db property (we need to improve that to extract it from hibernate.cfg.xml by default). Cheers, Fiete Am 17. März 2014 um 17:45 schrieb Thomas Mortagne thomas.morta...@xwiki.com: Nop, you are not right :) See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigurethenamesofdatabaseschemas28since1.6M129 for indicating a different main wiki database name or prefix. As for the user and the initial database name to connect (yes you have to duplicate this information) to you will find it in /WEB-INF/hibernate.cfg.xml file. In fact unless you use the Debian installer or the standalone distribution you generally have to configuring it since the one in the WAR is for hsqldb. On Mon, Mar 17, 2014 at 5:15 PM, Fiete Botschen fie...@me.com wrote: Hi all, am I right that it is a fixed requirement that the database is called xwiki and the user is called xwiki as well? To say it differently: I would like to run a fresh version of xwikiusing a database named foo and a user named bar - this is not possible, right? Cheers, Fiete ___ 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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Blocking jobs
Yes there is only a single queue right now. See http://jira.xwiki.org/browse/XCOMMONS-400, did not had time to work on it yet. On Mon, Mar 17, 2014 at 9:40 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Hello, I designed my mail archive to use the nice Job module, but seems I just realized an unexpected side-effect of it ... The job module queues jobs in a blocking queue. The unexpected, is that only one job (of any kind) can run at a time in an xwiki instance (unless I misunderstood something which is always possible). Currently, the mail archive creates jobs for loading emails, and these jobs can be long-lived (say, 15min, 30min, or more...). It means that during this time, you cannot install any extension anymore with EM, and anything you do with EM (like, compute an extension plan, install an extension, etc) is blocked until the mail archive job ends. Do you see any way around this ? (I could shorten the life duration of mail archive jobs, but I don't think it's a correct workaround). Note that the default job manager is actually not doing much, most of the work is done by the job itself generally so the meantime solution is to do its job yourself. In the meantime there is two possibility used in other modules: 1) you just want to run a single job in it's own thread: take care yourself of the threading. Here is an example: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java#L542 2) you need a queue too but your own queue: extends DefaultJobManager in your own manager. Here is an example: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java#L542t Seems logical to restrict one job at a time per job type for example, but jobs of different types may execute concurrently with no harm I think ... It's been first implemented for Extension Manager needs and then moved to commons, this is why it's a single queue. But there is no doubt that it's not enough, just did not had time to work on it and wanted to review the new JBatch jsr before going further in Job module (see jira.xwiki.org/browse/XCOMMONS-443) but did not had much time either on that subject. By the way the other side-effect is that my mailarchive jobs (which purpose are to be scheduled periodically), can stack on each other, if periodicity is shorter than job duration. My intent was to just reject a job if another is running for the mail archive to avoid this stack effect, but as it's locked before getting a chance to execute, it's Job module does not yet support scheduling (but yes it's a goal) so not sure job manager is the best fit right now. What you could do for now maybe is to use something like quartz internally to call you when you need to do 1) basically. useless. Thanks, Jeremie ___ 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] Howto access a static groovy class method from velocity
You can also use $xwiki.parseGroovyFromPage(). Here an example: http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial LM 2014-03-17 17:38 GMT+01:00 Thomas Mortagne thomas.morta...@xwiki.com: The cleanest is probably to write a script service in Groovy, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+a+component+using+Groovy for an example. On Mon, Mar 17, 2014 at 5:31 PM, Matthias Albert matthias.alb...@gmx.de wrote: Thanks for your response. But how can I create o global binding to an instance of my class? The background is: I would like to avoid programming rights required, and so I believe, I need Velocity and not a bit of Groovy in the referencing page. In fact, I need one instance of the groovy class and references in Velocity from several pages. How is this possible? Matthias Am 16.03.2014 12:20, schrieb Thomas Mortagne: It's not really relayed to Groovy, Velocity cannot work with statics. You will have to work with non static methods and assign one script binding to an instance of your groovy class like in: {{groovy}} class MyClass { myFunction(out) { out.println hello world } mytool = new MyClass() {{/groovy}} {{velocity}} $mytool.myFunctionnction(out) {{/velocity}} On Sat, Mar 15, 2014 at 9:12 PM, Matthias Albert matthias.alb...@gmx.de wrote: Hi all, after I managed to write a groovy class with a static method within a groovy block: {{groovy}} class MyClass { static myFunction(out) { out.println hello world } MyClass.myFunction(out) {{/groovy}} I would like to invoke thos static groovy class function from within a Velocity block: ${MyClass.myFunction(out)} But unfortunately, this does not work. Nothing will be displayed. Has anybody an idea for help? Thanks Matthias ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Matthias Albert Rastatter Straße 26 76199 Karlsruhe Tel. +49 (0)721 885744 Email: matthias.alb...@posteo.de ___ 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] Include section doesn't work or wich documentation I must read for xwiki 5.4.2?
The include function is hard to use with some non-us special character like french: éèà'ç ... By example, if I want to include this section: Séct-io'n 4 I must use this include {{include reference=Pagefille2 section=HSE9ct-io27n4/}} I must replace special character with unicode code: http://www.utf8-chartable.de/ Is this a bug? I can use another way? NB: anchor doesn't work with include. Thxs Pascal B De : Pascal BASTIEN pbasnews-xw...@yahoo.fr À : Ecaterina Moraru (Valica) vali...@gmail.com; XWiki Users users@xwiki.org Envoyé le : Mercredi 12 mars 2014 10h25 Objet : Re: [xwiki-users] Include section doesn't work or wich documentation I must read for xwiki 5.4.2? Yes but this one {{include reference=Pagefille2 section=MonAncre3/}} doesn't working. I try anchor because some documentation talking about that (xwiki syntax version 1 or 2) Thxs anyway De : Ecaterina Moraru (Valica) vali...@gmail.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Mercredi 12 mars 2014 10h11 Objet : Re: [xwiki-users] Include section doesn't work or wich documentation I must read for xwiki 5.4.2? Hi, If you look at the {{include}} macro documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro you'll see that there is no 'anchor' parameter, only 'section'. That's why you get the macro error. Don't use 'anchor', replace it with 'section'. Thanks, Caty and My Parent page Sandbox » PageParent contain: *** et le contenu de [[Pagefille2 section3doc:Pagefille2]]: Accès direct à la section: [[Pagefille2 section3doc:Pagefille2||anchor=MonAncre3]] {{include document=Pagefille2 anchor=MonAncre3/}} {{include reference=Pagefille2 section=MonAncre3/}} {{include reference=Pagefille2 anchor=MonAncre3/}} {{include document=Pagefille2 section=MonAncre3/}} {{include reference=Pagefille2 section=HSection3/}} *** Only this link working well {{include reference=Pagefille2 section=HSection3/}} :-/ The include macro in wysiwyg editor return: Failed to execute the [include] if we indicate anchor Include Macra asking Document and reference. Is it the same? I must fill both textbox? Some documentation indicate anchor instruction, another section... Thx for your help. ___ 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] Blocking jobs
Hello Thomas, 2014-03-18 8:49 GMT+01:00 Thomas Mortagne thomas.morta...@xwiki.com: Yes there is only a single queue right now. See http://jira.xwiki.org/browse/XCOMMONS-400, did not had time to work on it yet. Sorry, forgot to check JIRA about this ... On Mon, Mar 17, 2014 at 9:40 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Hello, I designed my mail archive to use the nice Job module, but seems I just realized an unexpected side-effect of it ... The job module queues jobs in a blocking queue. The unexpected, is that only one job (of any kind) can run at a time in an xwiki instance (unless I misunderstood something which is always possible). Currently, the mail archive creates jobs for loading emails, and these jobs can be long-lived (say, 15min, 30min, or more...). It means that during this time, you cannot install any extension anymore with EM, and anything you do with EM (like, compute an extension plan, install an extension, etc) is blocked until the mail archive job ends. Do you see any way around this ? (I could shorten the life duration of mail archive jobs, but I don't think it's a correct workaround). Note that the default job manager is actually not doing much, most of the work is done by the job itself generally so the meantime solution is to do its job yourself. In the meantime there is two possibility used in other modules: 1) you just want to run a single job in it's own thread: take care yourself of the threading. Here is an example: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java#L542 2) you need a queue too but your own queue: extends DefaultJobManager in your own manager. Here is an example: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java#L542t Thanks I think I'll go for something like that ... If I'm in the mood I may try to make a multi-queue job manager with a different hint. Seems logical to restrict one job at a time per job type for example, but jobs of different types may execute concurrently with no harm I think ... It's been first implemented for Extension Manager needs and then moved to commons, this is why it's a single queue. But there is no doubt that it's not enough, just did not had time to work on it and wanted to review the new JBatch jsr before going further in Job module (see jira.xwiki.org/browse/XCOMMONS-443) but did not had much time either on that subject. By the way the other side-effect is that my mailarchive jobs (which purpose are to be scheduled periodically), can stack on each other, if periodicity is shorter than job duration. My intent was to just reject a job if another is running for the mail archive to avoid this stack effect, but as it's locked before getting a chance to execute, it's Job module does not yet support scheduling (but yes it's a goal) so not sure job manager is the best fit right now. What you could do for now maybe is to use something like quartz internally to call you when you need to do 1) basically. Well currently I just use the Scheduler for this purpose, the Scheduler job calls the API of my component that in turns runs the job from job manager. That part fits my needs already :) useless. Thanks, Jeremie ___ 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] Can't install Column Macro due to lack of Programming Rights
You need to: - give PR right to the GLOBAL Admin user, or to your administrative user (not on XWiki space specifically, but globally for that user) - be logged with this GLOBAL user when you try to install the extension For the first part, you need to check that you are in the global administration section of your main wiki (not in a space admin, not in a subwiki). For the second part, you can check if your user is local or global by going to the profile (top-right), and check the url. If that url targets a subwiki your user is a local user and it's no good. Logout, browse to the main wiki, and login again. 2014-03-18 7:57 GMT+01:00 Hamster teun...@hotmail.com: -bump- -- View this message in context: http://xwiki.475771.n2.nabble.com/Can-t-install-Column-Macro-due-to-lack-of-Programming-Rights-tp7589568p7589641.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] Blocking jobs
On Tue, Mar 18, 2014 at 11:55 AM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Hello Thomas, 2014-03-18 8:49 GMT+01:00 Thomas Mortagne thomas.morta...@xwiki.com: Yes there is only a single queue right now. See http://jira.xwiki.org/browse/XCOMMONS-400, did not had time to work on it yet. Sorry, forgot to check JIRA about this ... On Mon, Mar 17, 2014 at 9:40 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Hello, I designed my mail archive to use the nice Job module, but seems I just realized an unexpected side-effect of it ... The job module queues jobs in a blocking queue. The unexpected, is that only one job (of any kind) can run at a time in an xwiki instance (unless I misunderstood something which is always possible). Currently, the mail archive creates jobs for loading emails, and these jobs can be long-lived (say, 15min, 30min, or more...). It means that during this time, you cannot install any extension anymore with EM, and anything you do with EM (like, compute an extension plan, install an extension, etc) is blocked until the mail archive job ends. Do you see any way around this ? (I could shorten the life duration of mail archive jobs, but I don't think it's a correct workaround). Note that the default job manager is actually not doing much, most of the work is done by the job itself generally so the meantime solution is to do its job yourself. In the meantime there is two possibility used in other modules: 1) you just want to run a single job in it's own thread: take care yourself of the threading. Here is an example: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java#L542 2) you need a queue too but your own queue: extends DefaultJobManager in your own manager. Here is an example: https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-api/src/main/java/org/xwiki/search/solr/internal/DefaultSolrIndexer.java#L542t Thanks I think I'll go for something like that ... If I'm in the mood I may try to make a multi-queue job manager with a different hint. Seems logical to restrict one job at a time per job type for example, but jobs of different types may execute concurrently with no harm I think ... It's been first implemented for Extension Manager needs and then moved to commons, this is why it's a single queue. But there is no doubt that it's not enough, just did not had time to work on it and wanted to review the new JBatch jsr before going further in Job module (see jira.xwiki.org/browse/XCOMMONS-443) but did not had much time either on that subject. By the way the other side-effect is that my mailarchive jobs (which purpose are to be scheduled periodically), can stack on each other, if periodicity is shorter than job duration. My intent was to just reject a job if another is running for the mail archive to avoid this stack effect, but as it's locked before getting a chance to execute, it's Job module does not yet support scheduling (but yes it's a goal) so not sure job manager is the best fit right now. What you could do for now maybe is to use something like quartz internally to call you when you need to do 1) basically. Well currently I just use the Scheduler for this purpose, the Scheduler job calls the API of my component that in turns runs the job from job manager. That part fits my needs already :) Ok then you probably don't really need a manager but just execute a job when the scheduler plugin calls you and make it available. useless. Thanks, Jeremie ___ 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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] PDF import via office importer: which versions work?
Hi, Has someone lately used the Office Import for PDFs ? I remember it used to work, but with my current Ubuntu/libreoffice setup it fails. I am using: - XWiki 5.4.2 - Ubuntu 12.04 - LibreOffice 3.5 (ubuntu package version 1:3.5.7-0ubuntu5) - libreoffice-pdfimport (ubunu package version 1.0.5+LibO3.5.7-0ubuntu5) (After some debugging it looks like the libreoffice-pdfimport package reads the PDF into in DRAWING format and that does not support saving them in HTML format ...) Before I go and try different kind of openoffice/libreoffice versions I wanted to ask if someone has a version where it works - it would be kind to tell me as it will save me some wrong turns Cheers, Clemens ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Wrong french translation
Hello, Here a wrong french translation when 2 user try to edit a document in a same time: Ce document est couramment édité par xxx It must be: Ce document est actuellement édité par Can you tell me where is the french translation file to correct this? Did you interessted by other mistake? Thxs you ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Wrong french translation
You can search and correct the translation in http://l10n.xwiki.org/xwiki/bin/view/L10N/ which is the reference for translations. It's exported when we release. On Tue, Mar 18, 2014 at 4:18 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, Here a wrong french translation when 2 user try to edit a document in a same time: Ce document est couramment édité par xxx It must be: Ce document est actuellement édité par Can you tell me where is the french translation file to correct this? Did you interessted by other mistake? Thxs you ___ 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] Wrong french translation
Hi, Nice to ear that someone (else) is interested in the french translation ;-). Direct link to this translation for french: http://l10n.xwiki.org/xwiki/bin/inline/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr I personnaly suggest Ce document est en cours de modification par XXX. best regards, 2014-03-18 16:21 GMT+01:00 Thomas Mortagne thomas.morta...@xwiki.com: You can search and correct the translation in http://l10n.xwiki.org/xwiki/bin/view/L10N/ which is the reference for translations. It's exported when we release. On Tue, Mar 18, 2014 at 4:18 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, Here a wrong french translation when 2 user try to edit a document in a same time: Ce document est couramment édité par xxx It must be: Ce document est actuellement édité par Can you tell me where is the french translation file to correct this? Did you interessted by other mistake? Thxs you ___ 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] Wrong french translation
I finally found the way to correct ... I think. I edit with object mode: http://l10n.xwiki.org/xwiki/bin/view/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr How can I correct it on my xwiki without waiting the next release? And, how do you found the document to correct? You use the search translation tool and you add fr at the end of the page PlatformXWikiCoreResources_-579177959_doclockedby_en? Am I right? NB: If you want I translated the first post of the blog application. I must use same tools? De : ldmpub ldm...@gmail.com À : XWiki Users users@xwiki.org Envoyé le : Mardi 18 mars 2014 16h26 Objet : Re: [xwiki-users] Wrong french translation Hi, Nice to ear that someone (else) is interested in the french translation ;-). Direct link to this translation for french: http://l10n.xwiki.org/xwiki/bin/inline/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr I personnaly suggest Ce document est en cours de modification par XXX. best regards, 2014-03-18 16:21 GMT+01:00 Thomas Mortagne thomas.morta...@xwiki.com: You can search and correct the translation in http://l10n.xwiki.org/xwiki/bin/view/L10N/ which is the reference for translations. It's exported when we release. On Tue, Mar 18, 2014 at 4:18 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, Here a wrong french translation when 2 user try to edit a document in a same time: Ce document est couramment édité par xxx It must be: Ce document est actuellement édité par Can you tell me where is the french translation file to correct this? Did you interessted by other mistake? Thxs you ___ 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] Wrong french translation
The search is more an advanced view. Usually you go to the application you want to translate, for the blog it's part of http://l10n.xwiki.org/xwiki/bin/view/Platform/XWikiCoreResources?language=fr (everything used to be part of this translation resource but we are starting to separate all this). On Tue, Mar 18, 2014 at 4:55 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: I finally found the way to correct ... I think. I edit with object mode: http://l10n.xwiki.org/xwiki/bin/view/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr How can I correct it on my xwiki without waiting the next release? And, how do you found the document to correct? You use the search translation tool and you add fr at the end of the page PlatformXWikiCoreResources_-579177959_doclockedby_en? Am I right? NB: If you want I translated the first post of the blog application. I must use same tools? De : ldmpub ldm...@gmail.com À : XWiki Users users@xwiki.org Envoyé le : Mardi 18 mars 2014 16h26 Objet : Re: [xwiki-users] Wrong french translation Hi, Nice to ear that someone (else) is interested in the french translation ;-). Direct link to this translation for french: http://l10n.xwiki.org/xwiki/bin/inline/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr I personnaly suggest Ce document est en cours de modification par XXX. best regards, 2014-03-18 16:21 GMT+01:00 Thomas Mortagne thomas.morta...@xwiki.com: You can search and correct the translation in http://l10n.xwiki.org/xwiki/bin/view/L10N/ which is the reference for translations. It's exported when we release. On Tue, Mar 18, 2014 at 4:18 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, Here a wrong french translation when 2 user try to edit a document in a same time: Ce document est couramment édité par xxx It must be: Ce document est actuellement édité par Can you tell me where is the french translation file to correct this? Did you interessted by other mistake? Thxs you ___ 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 -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Wrong french translation
On Tue, Mar 18, 2014 at 5:25 PM, Thomas Mortagne thomas.morta...@xwiki.com wrote: The search is more an advanced view. Usually you go to the application you want to translate, for the blog it's part of http://l10n.xwiki.org/xwiki/bin/view/Platform/XWikiCoreResources?language=fr (everything used to be part of this translation resource but we are starting to separate all this). On Tue, Mar 18, 2014 at 4:55 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: I finally found the way to correct ... I think. I edit with object mode: http://l10n.xwiki.org/xwiki/bin/view/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr Actually you just need to click on Edit but there was an issue I fixed. How can I correct it on my xwiki without waiting the next release? And, how do you found the document to correct? You use the search translation tool and you add fr at the end of the page PlatformXWikiCoreResources_-579177959_doclockedby_en? Am I right? NB: If you want I translated the first post of the blog application. I must use same tools? De : ldmpub ldm...@gmail.com À : XWiki Users users@xwiki.org Envoyé le : Mardi 18 mars 2014 16h26 Objet : Re: [xwiki-users] Wrong french translation Hi, Nice to ear that someone (else) is interested in the french translation ;-). Direct link to this translation for french: http://l10n.xwiki.org/xwiki/bin/inline/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr I personnaly suggest Ce document est en cours de modification par XXX. best regards, 2014-03-18 16:21 GMT+01:00 Thomas Mortagne thomas.morta...@xwiki.com: You can search and correct the translation in http://l10n.xwiki.org/xwiki/bin/view/L10N/ which is the reference for translations. It's exported when we release. On Tue, Mar 18, 2014 at 4:18 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, Here a wrong french translation when 2 user try to edit a document in a same time: Ce document est couramment édité par xxx It must be: Ce document est actuellement édité par Can you tell me where is the french translation file to correct this? Did you interessted by other mistake? Thxs you ___ 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 -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] $doc.display for Radio Button
On Mon, Mar 17, 2014 at 8:54 PM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, If, in App Within Minutes, you select an attribute of type Static List with multiple options and you set the selection type to Radio Button the : $doc.display('SL1') shows the radio buttons in Edit mode, but not in Display mode. I feel radio buttons should always display all the options and highlight the 'selected' one. But now, in view mode the user has nu clue what he/she can choose. It's a but odd to select EDIT before he/she can see the options. I don't agree. When I'm in view mode I'm interested in the selected value. There can be many options and so displaying all of them clutters the UI and distracts the user. In the sheet i've modified the generated code from; : $doc.display('SL1') - : $doc.display('SL1', 'edit') But this allows the user to select another option (the control is active) Is there a more elegant way to have the control show the radio buttons and the one currently selected highlighted but that the control is not active? You either make the radio buttons generated by $doc.display read-only with JavaScript or you generate the radio buttons read only by yourself. Hope this helps, Marius Gerritjan ___ 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] Wrong french translation
Ok I understand better now :-) By the way, how can I correct my french translation on my xwiki without waiting the next release? Thxs. De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Mardi 18 mars 2014 17h45 Objet : Re: [xwiki-users] Wrong french translation ... I edit with object mode: http://l10n.xwiki.org/xwiki/bin/view/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr Actually you just need to click on Edit but there was an issue I fixed. How can I correct it on my xwiki without waiting the next release? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Wrong french translation
You can overwrite any translation using a wiki translation, see http://extensions.xwiki.org/xwiki/bin/view/Extension/Localization+Module#HRegisterawikitranslation. On Tue, Mar 18, 2014 at 6:05 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Ok I understand better now :-) By the way, how can I correct my french translation on my xwiki without waiting the next release? Thxs. De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Mardi 18 mars 2014 17h45 Objet : Re: [xwiki-users] Wrong french translation ... I edit with object mode: http://l10n.xwiki.org/xwiki/bin/view/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr Actually you just need to click on Edit but there was an issue I fixed. How can I correct it on my xwiki without waiting the next release? -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Attachments: upload from Dropbox
Hi everyone, Did anyone manage to add Dropbox API integration to Attachments. Instead of uploading a local file to upload a file from Dropbox. Is there any pluging doing something similar to Attachments ? Thank you! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Wrong french translation
Thxs Vincent and Thomas. I corrected my file (extracted/ fixed and reinject) About the french translation there a bug in the tip of the blog with apostroph. Here the problem: http://snag.gy/U4E8I.jpg I replaced: xe.blog.code.notpublished=Cet article de blog n'a pas encore \u00E9t\u00E9 publi\u00E9. Publier l'article. by xe.blog.code.notpublished=Cet article de blog n\u0027a pas encore \u00E9t\u00E9 publi\u00E9. Publier l\u0027article. without success (I obtain the same things) De : vinc...@massol.net vinc...@massol.net À : Thomas Mortagne thomas.morta...@xwiki.com Cc : Pascal BASTIEN pbasnews-xw...@yahoo.fr Envoyé le : Mardi 18 mars 2014 18h17 Objet : Re: [xwiki-users] Wrong french translation Hi Pascal, On 18 Mar 2014 at 18:06:01, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: Ok I understand better now :-) By the way, how can I correct my french translation on my xwiki without waiting the next release? Thxs. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications Thanks -Vincent De : Thomas Mortagne À : Pascal BASTIEN ; XWiki Users Envoyé le : Mardi 18 mars 2014 17h45 Objet : Re: [xwiki-users] Wrong french translation ... I edit with object mode: http://l10n.xwiki.org/xwiki/bin/view/Platform/PlatformXWikiCoreResources_-579177959_doclockedby_fr Actually you just need to click on Edit but there was an issue I fixed. How can I correct it on my xwiki without waiting the next release? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] $doc.display for Radio Button
Verstuurd vanaf mijn iPhone Op 18 mrt. 2014 om 17:56 heeft Marius Dumitru Florea mariusdumitru.flo...@xwiki.com het volgende geschreven: On Mon, Mar 17, 2014 at 8:54 PM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, If, in App Within Minutes, you select an attribute of type Static List with multiple options and you set the selection type to Radio Button the : $doc.display('SL1') shows the radio buttons in Edit mode, but not in Display mode. I feel radio buttons should always display all the options and highlight the 'selected' one. But now, in view mode the user has nu clue what he/she can choose. It's a but odd to select EDIT before he/she can see the options. I don't agree. When I'm in view mode I'm interested in the selected value. There can be many options and so displaying all of them clutters the UI and distracts the user. I do not want to be a 'wise' guy but there is a choice in the type of controls Few (10) mutually exclusive: radio Few options , more choices possible: check box Many options: select - dropdown Radio buttons serve a specific UI purpose The mutually exclusiveness is special and should also be clear from view perspective especially if the viewer is not the owner of the record In the sheet i've modified the generated code from; : $doc.display('SL1') - : $doc.display('SL1', 'edit') But this allows the user to select another option (the control is active) Is there a more elegant way to have the control show the radio buttons and the one currently selected highlighted but that the control is not active? You either make the radio buttons generated by $doc.display read-only with JavaScript or you generate the radio buttons read only by yourself. Ok, thanks Hope this helps, Marius Gerritjan ___ 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