Re: [xwiki-users] A tool to convert terminal pages to Nested Pages

2016-01-26 Thread Guillaume Delhumeau
No opinion ?

Thanks,

2016-01-20 9:53 GMT+01:00 Guillaume "Louis-Marie" Delhumeau <
gdelhum...@xwiki.com>:

> Hello, users of XWiki!
>
> I just have released the first version (alpha) of a new application to
> help you convert your existing (terminal) pages to nested pages after an
> upgrade to a recent wiki (7.4.x is the targeted version).
>
> This tool is available and can be installed directly with Extension
> Manager. All informations are there:
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+Application
>
> The application *does not currently apply the migration*. It only
> computes a plan which say what actions should be done. The purpose, right
> now, is only to test the tool without affecting any wiki.
>
> There is an option to simply convert your pages to nested pages
> (Space.Page => Space.Page.WebHome) so they can have children (which they
> cannot while being terminal). But, by default, the migrator tries to
> preserve the existing hierarchy of pages (based on the "parent" field of
> each page) by moving the pages under their parent page. So if you have
> SpaceA.PageA with SpaceB.PageB as parent, the proposed migration will be
> SpaceA.PageA => SpaceB.PageB.PageA.WebHome.
>
> In the future, the plan will also contain actions for preserving the
> configured preferences (right now, if a page is moved, all the preferences
> from its previous space are not applied to it anymore), and rights.
>
> This version is a first step in order to have a very complete tool. A
> design document have been written with more informations (
> http://design.xwiki.org/xwiki/bin/view/Proposal/UpgradeToNestedPages).
>
> I would love to see some of you testing this application, the user
> interface, and judging the proposed plans. Don't hesitate to give your
> feedbacks. Please tell me if you have other ideas that I have not listed in
> the design document, like features that I have not think about.
>
> Thanks a lot,
> --
> Guillaume Delhumeau (gdelhum...@xwiki.com)
> Research & Development Engineer at XWiki SAS
> Committer on the XWiki.org project
>



-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-26 Thread Clemens Klein-Robbenhaar
 
I have to admit that I have been running out of ideas why the wiki cannot get a 
connection while "curl" can.

One last try: has the gateway connecting the local network to the internet an 
application firewall or the like ?
Something that sniffs user-agents for http connections and only allows "known 
ones" ?

The java client used by the XWiki installation wizard might be emulated with:

  curl --user-agent "history" http://extensions.xwiki.org

if this works, too, I have to admit I have no clue why it does not work.
(Btw, there should be an error message in the log files. Is there anything like 
that?)

Clemens

- Ursprüngliche Nachricht -
From: Frank Thommen
On:  Saturday, 23.01.2016, 16:13
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't 
find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' 
and version '7.4'."


> On 22.01.16 15:12, Clemens Klein-Robbenhaar wrote:
>>
>> some random ideas:
>>
>>   - in WEB-INF/xwiki.properties: are any settings for 
>> extension.repositories=...  enabled
>> or are they all commented?
> 
> They are all commented
> 
> 
>> They should be all commented, of if there are active ones (even empty 
>> ones),
>> at least the two "defaults" must be defined, too:
>>
>> extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
>>
>> extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
> 
> There are only the following - commented - settings:
> 
> $ grep extension\.repositories xwiki.properties
> # extension.repositories=privatemavenid:maven:http://host.com/private/maven/
> # extension.repositories.privatemavenid.auth.user=someuser
> # extension.repositories.privatemavenid.auth.password=thepassword
> # extension.repositories=local:maven:file://${sys:user.home}/.m2/repository
> # 
> extension.repositories=maven-xwiki-snapshot:maven:http://nexus.xwiki.org/nexus/content/groups/public-snapshots
> # 
> extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
> # 
> extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
> # extension.repositories=
> $
> 
> I will try with uncommenting the two proposed defaults next week.
> 
> 
>> If I uncomment just a lone 'extension.repositories=' I get exactly the 
>> error in the screenshot
>>
>>   - Another idea: any chance there is a name resolution problem on the 
>> server?
>>
>>  extensions.xwiki.org should resolve to 5.135.240.206 (currently)
> 
> works fine:
> 
> $ host extensions.xwiki.org
> extensions.xwiki.org has address 5.135.240.206
> $
> 
> 
>>  "curl http://extensions.xwiki.org; -> should return a 302 to the Start 
>> page
> 
> fine, too:
> 
> $ curl http://extensions.xwiki.org
> 
> 
> 302 Found
> 
> Found
> The document has moved  href="http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome;>here.
> 
> $
> 
> 
> frank
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

mit freundlichen Grüßen
Clemens Klein-Robbenhaar

-- 
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenh...@espresto.com
www.espresto.de

HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems setting up multilingual site

2016-01-26 Thread Mark Sack
I understand this better now. 

Another question related to the blog feature. In the current pt_BR
localization, the months under the archive blog panel are still in English
although the titles, etc. of the blog panels are in Portuguese. I was able
to update the pt_BR localization for some of the other apps (eg. full
calendar) but haven't figured out where to do this for the months on the
blog panel. I did a search on the translations web site but didn't find
anything that worked for this case. Can you point me in the right direction?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problems-setting-up-multilingual-site-tp7597630p7597696.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] Custom display for computed field which is list of users

2016-01-26 Thread Mark Sack
In 7.4, I've created an app within minutes. One of the properties in the app
is a computed field that returns a list of users that meet some specific
criteria. If I leave the custom display field for the property blank, the
contents are displayed as follows:

[XWiki.john_smith, XWiki.mark_sack]

What I would really like to do is display them as hyperlinks to the
corresponding user page. I thought that I could use a script in the custom
display field to accomplish this. Reading the following note
http://www.xwiki.org/xwiki/bin/view/FAQ/Which+variables+I+can+use+in+%22Custom+Display%22+field
there are some variables available. It looks like the $value variable should
contain the computed list of users. But if I put a script like the following
into the custom display field:

{{velocity}}
$name
$prefix
$object
$type
$value
{{/velocity}}

the result is as follows

Usuarios
Secti.Admin.Setores.Code.SetoresClass_0_
com.xpn.xwiki.api.Object@543f3466
view
$value

The first four values are correct as far as I can tell. But the $value
variable does not appear to be populated. Does anyone have a suggestion as
to how I can achieve my desired result with the hyperlinks?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Custom-display-for-computed-field-which-is-list-of-users-tp7597697.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