Hello, XWikiers!
Sorry for offtopic, but I feel my message will reach correct
audience :-D
As a member of Latvian Open Technology Association (LATA) I'm pleased to
invite you to the conference "Open Europe: Open Data for Open Society"
which will take place 18th-19th of February, 2015, Riga & Jelgava.
More info about program and registration:
http://lata.org.lv/conference-2015/
Please note, that the conference is free of charge and for few
participants from each unique (European) country there is a possibility
to apply for the coverage of travel and/or accommodation costs, if
necessary (you can note this in registration form or contact at
lata(a)lata.org.lv).
Sincerely,
Valdis Vitolins
Good morning!
I've just updated a 6.3 installation to 6.4 and it seems to me that something went wrong... I think I followed the same steps I successfully did in previous upgrades of the 6.x series, but this time it doesn't work. The process is outlined in the first comment of this page...
http://atriumkm.idisantiago.es/bin/ICT/XWikiUpgrade
This time, the last line was not true...
"The upgrade of the interface will be launched once an administrator log in."
Nothing happened once I've restarted the server. Thus, I've tried to import the 6.4 xar file. After a number of "bad gateway errors", I managed to import all new files selecting only some pages in a series of import actions. Then, change default Admin password, remove login right to Guest and config again All and Admin groups.
Almost all seems OK now, but there are at least a couple of issues here...
1) The installation keeps telling that it is a 6.3 release. This means that $xwiki.getVersion() is not aware of the update, or that the update has not succeed! You can check it here...
http://portal.idisantiago.eshttp://portal.idisantiago.es/xwiki/bin/view/ICT/GetVersion
2) All top level links at http://portal.idisantiago.es/xwiki/bin/admin/XWiki/XWikiPreferences (Configuration, Email, Look & Feel, ), led to this error...
http://portal.idisantiago.es/xwiki/bin/download/ICT/Error/UpgradeTo6.4.Rele…
Please, could you help me with this issues?
Thanks!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
I tried to follow the example code given in:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+a+component+usi…
Saving and Viewing a page with the code without changes, I got a Groovy macro error with the following exception in the stack trace:
java.lang.RuntimeException: The Context Component Manager should only be used for read access. Write operations should be done against specific Component Managers.
Could anyone explain what this means, and why this error now appears? I'm using 6.3. I notice that the same error also currently shows up at http://platform.xwiki.org/xwiki/bin/view/SRD/ running 6.2.2
Thanks,
Bryn
The XWiki development team is proud to announce the availability of XWiki
6.2.5.
This version is mostly a stabilization release which fix many bugs we have
discovered since XWiki 6.2.4. But it also brings some improvements on the
screen-width-responsiveness of the livetable in Flamingo.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki625
Thanks
-The XWiki dev team
Hi all!
My collaborators ask me if XWiki give the possibility to view wiki as user or group (like Facebook). I think this feature don’t exist. Could you confirm that?
Thank you
Marc Audefroy
On 15 Jan 2015 at 11:17:11, ICLED (c.ledermann@interact-consulting.com(mailto:c.ledermann@interact-consulting.com)) wrote:
> Hi Vincent, thanks to point me to this entry in the extensions.
> BTW I made a search with "list macros" and drew a blank, "all macros" and
> "list all" would have given me my answer!
I added this snippet after you asked, to help you, that’s why you drew a blank before ;)
> I played around with your snipet, I found most of the attibutes I want, but
> I don't know how to get the source document full name (wiki:space.doc) or a
> reference to the document's object.
A macro is some java code so the notion of source document doesn’t exist in the macro descriptor.
When you create a wiki macro we generate java code (using Dynamic Proxies).
However, you can simply look for documents containing MacroClass xobjects. This is what this page does in your wiki:
http://<server>/xwiki/bin/view/XWiki/WikiMacros
> I also want to know thw scope of the macro; global, local to the wiki or the
> user.
You can also get that from the XWiki.WikiMacroClass class.
At the java level, the visibility corresponds to the ComponentManager in which the macro component is registered but this cannot be retrieved from the Macro Descriptor.
Hope it helps,
-Vincent
> Any way to get the source document full name (wiki:space.doc) or (better) a
> reference to the document's object?
>
> The rationale behind this, is that I must migrate a XWIKI from 5.2.1 to
> current, and the WIKI is in a very poor condition, so there is a lot of
> cleaning&repair work to do.
>
> {{groovy}}
> import org.xwiki.rendering.macro.Macro
>
> println "| Name | Id | Description | DefaultCategory | Priority | InlineMode
> |"
>
> services.component.componentManager.getInstanceList(Macro.class).each() {
> def descriptor = it.descriptor
> println "| ${descriptor.name} | ${descriptor.getId()} |
> ${descriptor.description} | ${descriptor.getDefaultCategory()} |
> ${it.getPriority()} | ${it.supportsInlineMode()} |"
> }
> {{/groovy}}
>
Hello all,
I've changed the columns that are rendered in my space index by adding a "columns" attribute as described by the article here http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro and the column I added does show up as expected (doc.creator), but the header column for my added columns label is "platform.index.doc.creator" I'd like to change it to "Creator" but nothing I do seems to work..any help is greatly appreciated.
The XWiki development team is proud to announce the availability of XWiki 6.4.
The 6.4 release is the last major release of the 6.x development Cycle and as such was mainly dedicated to improvements and bugfixes on things introduced during 6.X.
This version introduces some developer oriented improvements: allow wiki based skins to overwrite macro.vm template, allow filesystem skins indicating explicitly the skin they are inheriting from, allow any component to be injected with its ComponentDescriptor, Panels and UI extensions are now executed with the right of their author so among other things they can use APIs requiring Programming rights.
It also brings UI improvements in the Menu application, a new Mail application (and Mail-related improvements, such as the ability to send massive number of emails) and lots of Flamingo skin improvements (Mobile-friendliness to mention one), while offering developers the ability to write LESS in Skin Extensions, and a cool icon picker.
Last but not least, this version provides the ability to rate Extensions inside the Extension Repository and visualise them inside the Extension Manager.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki64
Thanks
-The XWiki dev team
Description: Growing Home is a forming intentional community. For
more information visit http://www.ic.org/directory/growing-home/
We need a wiki to organize all information during our formation process!
Owner Name: Kyndel Love
Wiki Name: growinghome
If you could do this ASAP we would appreciate it greatly because we
already have a great need for organization. Thank you very much xWiki
community!
In PHP it is acceptable for forms to have arrays. For example, from http://php.net/manual/en/faq.html.php#faq.html.arrays the following form could be submitted:
<form action="" method="post">
<input name="MyArray[]" value=1 />
<input name="MyArray[]" value=2 />
<input name="MyArray[]" value=3 />
<input name="MyArray[]" value=4 />
<input type="Submit" />
</form>
And in PHP the submitted inputs would be available as an array at $_POST['MyArray']
Out of curiosity, does XWiki have any similar support for form arrays? I tried a simple example, for which the returned result was a single value ("1"). Does this mean XWiki ignores multiple request parameters of the same name, or is there another way?
{{groovy}}
def values = request.get('MyArray[]')
println "${values.getClass()}"
println "${values}"
{{/groovy}}
{{html}}
<form action="" method="post">
<input name="MyArray[]" value=1 />
<input name="MyArray[]" value=2 />
<input name="MyArray[]" value=3 />
<input name="MyArray[]" value=4 />
<input type="Submit" />
</form>
{{/html}}
Hi Xwiki users
I am testing the Xwiki product for my company
And I will need to check few things :
1. Give view only permissions to all team members
2. Give edit permissions to specific wiki to all team members
3. Give edit permissions for specific users to all wikis
4. Check the best option to integrate with active directory
So users will be able to login with the AD accounts
I am not sure how to integrate ad permissions and xwiki permissions
Please send me example file with the proper ad intergration to xwiki
Thanks in advance
Israel
I am very interested about putting my own xwiki but I've been messing
with it and some problems came out.
At first i thought it would be good to make subwiki's for "Programming",
"Linux", "Mathematics". I could make template wiki and derive extensions
and settings from it but how can I install additional extension to all
of wiki's then?
I have also modified my "Preview" page when I made my first article.
I've clicked preview, saw typo, and clicked edit.. After some struggle
with editing this article I've modified this preview page unwittingly.
After some modifications I removed all previous revisions. What can I do
in such cases besides reinstalling everything? I would like to solve
such problems by myself in the future so if it's possible, please, give
me workflow, not a single solution.
I want also to have navigation for entire wiki with subwikis like:
#Programming
-> Language Scala
-> Design patterns
#Linux
-> Settings
-> Tools
#Mathematics
-> Linear algebra
-> Calculus
where ("#" -> wiki), ("->" -> space)
I think I could make "Navbar" panel in global wiki and add
"xwiki:Panels.Navbar" to all subwiki's.
But now the work needed to add it everywhere is overwhelming. Is it
possible to do it in config file?
I do not like cms such as drupal for the problems with configuration by
clicking. I could spend days to make everything ticking in my way. From
the other way it's good for giving power to the users.
Best wishes,
for community and developers
xwiki seems to be professional and awesome.
We want to use this wiki for a non-profit organisation, a fab lab located
in Quebec City (see www.espace-lab.org). A fab lab is a place where
everyone can meet and build objects in common.
This wiki will be used for exchanging ideas and synchronise our projects
and activities, it will also be used for the machine/tooling reservation.
The owner name is espacelab or my name if not possible (Benoit Debaque).
wiki name: espacelab.myxwiki.org
Thank you for your support !
--
Benoit Debaque
www.espace-lab.org
On 19 Jan 2015 at 09:15:32, Thanh Hong Dai (hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn)) wrote:
>
> Hi,
>
>
>
>
>
> Sorry, but I can’t see how it would help in my use case.
>
>
>
>
>
> My code currently generates a list of links and the title of the page:
>
>
>
>
>
> * [[name >> fullname]]
>
>
>
>
>
> Adding the {{{…}}} outside the link syntax [[…]] doesn’t make sense, and placing it inside breaks everything (it doesn’t pass any of my hard test cases).
It will work in the label but not in the reference obviously…
Thanks
-Vincent
PS: Please use the list
> From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
> Sent: Monday, 19 January, 2015 2:23 PM
> To: Thanh Hong Dai; XWiki Users
> Subject: Re: [xwiki-users] Is there an escape tool to escape text in XWiki syntax?
>
>
>
>
>
>
>
> Hi,
>
>
>
>
>
>
>
> If you want to make sure to output verbatim text (ie not interpreted) you can use the {{{…}}} syntax when using XWiki Syntax 2.0+
>
>
>
>
>
>
>
> See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVerbatim
>
>
>
>
>
>
>
> However this may not be enough for your needs. We’re currently lacking an escape tool for wiki syntax AFAIK and I remember seeing a JIRA issue about this (can’t find it right now). I agree that we should push for this since it’s becoming something more and more asked for.
>
>
>
>
>
>
>
> Thanks
>
>
>
> -Vincent
>
>
>
>
>
> On 19 Jan 2015 at 08:15:16, Thanh Hong Dai (hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn))(mailto:hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn))) wrote:
>
> > Currently, I'm using something like this to generate a list of pages whose
> > prefix is "Prefix:" and link to them:
> >
> >
> >
> > {velocity}} (((
> >
> > #foreach ($row in $services.query.hql("select doc.name, doc.fullName from
> > XWikiDocument doc where doc.space.hidden = false and doc.space not in
> > ('XWiki', 'Sandbox', 'Main', 'Macros') and doc.name like
> > 'Prefix:%'").execute())
> >
> > * **[[$row[0].replaceFirst("Prefix: *", "").replaceAll("~",
> > "~~~~").replaceAll("[\x20-\x7f&&[^a-zA-Z0-9 ~]]",
> > "~~$0")>>doc:$row[1].replaceAll("~", "~~").replaceAll("[\x5b\x5d|]", "\\$0
> >(file://///$0%0b%3e%20) ")]]**
> >
> > #end
> >
> > ))) {{/velocity}}
> >
> >
> >
> > I have tested with some heavy test cases like
> >
> >
> >
> > Prefix:
> > ~~~!!!```@@@$$$%%%^^^&&&***((()))___----+++==={{{}}}[[[]]]\\\|||:::;;;'''"""
> > ???///...>>>,,,<<<
> >
> >
> >
> > And what I have above works correctly (both showing the title and linking to
> > the document). I only work on a few hard test cases, though, so I'm not sure
> > if I missed anything.
> >
> >
> >
> > Is there a method that does all this automatically? Or is there a better
> > approach to this?
> >
>
>
>
>
>
>
I'd like to be able to generate pure JSON from a wiki page, to use in other pages via AJAX. To that end I created a page with the following content:
{{velocity wiki="false"}}
$response.setContentType('application/json')
{
"greeting" : "Hello",
"location": "World"
}
{{/velocity}}
Calling this via /xwiki/bin/get/Sandbox/JsonTest I get the following code (as reported by FireBug):
<p><br/>{<br/>"greeting" : "Hello",<br/>"location": "World"<br/>}</p>
I get the same via /xwiki/bin/view/AlertDB/JsonTest?xpage=plain (as suggested in http://jira.xwiki.org/browse/XWIKI-3413). Is there a way to produce pure JSON by a velocity script by some variation of my approach?
Hello,
To make it work I add this new property in XWiki.XWikiUsers class:
/bin/edit/XWiki/XWikiUsers?editor=class
Name: doc.creationDate Type: String
PrettyName: Creation date
Custom Display:
{{velocity}}
{{html}}<i>$value</i>{{/html}}
{{/velocity}}
The problem is that "Custom display" is not taking into account and not rendering.
I know HTML is not interpreted but I want to remove time of "Creation date" field but "Custom Display" is apparently not used on a database field.
Here a screenshot on what I want: http://snag.gy/bWnu9.jpg
Do you have an idea how I must do it?
Is it normal than "Custom Display" is not used?
Thxs for any help
Pascal BASTIEN
The XWiki development team is proud to announce the availability of
XWiki 6.4 Release Candidate 1.
This release brings many improvements to the Mail Application and its
API, including support for mail throttling. A new 'Wikis' category is
available in the administration that groups together sections with
wiki-related configuration options. Other smaller improvements (23)
and a few bug fixes (15) complete this release. Would be great if you
can give it a try and report whatever issues you may find so that we
can fix them before the 6.4 final release.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki64RC1
Thanks
-The XWiki dev team
Je serai absent(e) à partir du 15/01/2015 de retour le 19/01/2015.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Hi.
I have googled this a bit but have found no clear instructions either way.
I have XWiki 6.2.3 installed from the graphical Windows native installer.
Is the upgrade procedure just to grab the latest version of the EXE and run
it?
--
Regards/Mvh
Daniel Lundh
Hi,
I use XWiki 6.3 on ubuntu 14.04 LTS using Tomcat 7 and MySQL (XWiki .deb version).
I want to know how to log some specific stuff like user creation or registration, pages modification, login/logout, forbidden acces to a page...
I understand that i can do it with the administration interface of the wiki or by editing the logback.xml file. But i can't find any information on which "Logger" i have to configure to log specific events.
For example, i found that if i set the "com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator" to INFO level, i can see failed and successful login in the catalina.out file. But for other specific action i don't know!
I tried some logger but with no result for what i want to log.
Thanks for help.
Hello,
I want to know if there are a wiki syntax to add an hyperlink to your own user profile in wiki syntax (without velocity/grovy tags).With velocity it is:{{velocity}}
Here your own profile : [[$context.user]]
{{/velocity}}
Thxs.
Pascal B
Does it work if you change...
{{context document="wiki1:Main.WebHome"}}#if
($hasEdit){{/context}}[[Wiki1>>wiki1:Main.WebHome]]#end
..to:
{{context document="wiki1:Main.WebHome"}}#if
($hasEdit)[[Wiki1>>wiki1:Main.WebHome]]#end{{/context}}
--
View this message in context: http://xwiki.475771.n2.nabble.com/Context-Macro-Broken-tp7593647p7593648.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.