This post has NOT been accepted by the mailing list yet.
I can manually add if I edit the class (but then I get a ton of errors) but
its not in the field pallet (assume it would be in the advanced section
under Database List).
Does it need to be added to the pallet? if so how would I go about that?
Thx
HH
--
View this message in context: http://xwiki.475771.n2.nabble.com/Databasetree-seems-to-be-missing-tp759604…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have an XWiki setup that uses Kerberos for authentication.
I would like to continue using Kerberos, but use LDAP groups for
controlling page access rights.
How could I do this?
(If you could point me in the right direction, or to any appropriate
documentation, that would be a big help)
Thanks in advance
—Debajit
Hi,
Is there a way to generate XAR’s using XWiki’s scheduling function? I’m not looking for a DB based backup but merely for a backup of spaces / pages.
With kind regards,
Peter
The XWiki development team is proud to announce the availability of XWiki
7.2 Release Candidate 1.
This release candidate brings many Flamingo skin improvements to better
present Nested Documents on top of the Nested Spaces concept. Similar
improvements were made in applications like Solr Search, AWM, FAQ, Activity
Stream and the Skin editor in order to be compatible with Nested Spaces.
On the developers side, a new Select widget and a document picker were
added to allow richer UIs to be created.
Last but not least, 41 bugs were fixed in this release on the road towards
the coming final 7.2 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/ReleaseNotesXWiki72RC1
The following people have contributed code to this release:
Denis Gervalle
Ecaterina Moraru (Valica)
Eduard Moraru
Gabriela Smeria
Guillaume Delhumeau
Marius Dumitru Florea
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Hello,
I try to resolve an right access issu with our xwiki 7.0.1.
I use LDAP authentication to access at our xwiki. Everyone have read access and a main group have write access on a space (unfortunaly big boss is "afraid?" about wiki spirit: 'everyone can edit').
Main editor group contains some subgroup (like manager, comm, etc.) with users in it.
I encountered a strange behaviours: on my developpment platform, rights access work well but on production platform (behind a reverse proxy), right acces working randomly: sometimes main group editors lose write access.
I tested with a test ldap user with exactly same rights/groups on same space with same rights access, on my developpment platform and on production platform. Main editor group can write only on my developpment platform :-(
Do you have an idea of my problem or a way to identify the source of this problem?
I can try to restart production platform in last resort... Maybe the poblem come from some wrong cache on web server?
Note: If I don't use sub group and fill main editors groups with users account I haven't problems.
Thxs for any help
Pascal B
Hi Aaron,
Feel free to create a jira issue at http://jira.xwiki.org if you think it’s important that getURLContent() supports HTTPS. This can be done since under the hood we’re using Http Client and it supports HTTPS.
Thanks
-Vincent
On 16 Sep 2015 at 01:01:41, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)) wrote:
> Yep, that's it. Changed it to HTTP and it worked fine. I must have changed the URL in otherwise working code at some point and forgotten about it. Oddly, using https://google.com still works for me, but not using https with my actual API URL. Either way, good to know that HTTPS isn't supported.
>
> Thanks much for the help,
>
> aaron
>
> On Tue, Sep 15, 2015 at 6:02 PM, vincent@massol.net(mailto:vincent@massol.net) wrote:
> > Hi Aaron,
> >
> > On 15 Sep 2015 at 19:12:06, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)) wrote:
> >
> > > I've updated that playground page with the actual URL of the API I'm using - you'll see that the page comes back blank, but if you follow the link in the browser, you get a page full of XML. So there must be something about the data that the API is returning that XWiki doesn't like?
> >
> > This is because you’ve used HTTPS. If you use HTTP it works fine.
> >
> > ATM getURLContent() doesn’t support HTTPS.
> >
> > Thanks
> > -Vincent
> >
> > > Agreed on using final releases - a full upgrade to 7.x is actually planned soon. If I remember correctly, we got stuck on RC1 during the last production upgrade cycle because there was some feature in 6.2 that we really needed but the final release was still a few weeks out by our deadline so we rolled the dice. Fortunately we haven't run into many issues - which is probably why we're running behind on the upgrade :)
> > >
> > >
> > > On Tue, Sep 15, 2015 at 12:56 PM, vincent@massol.net(mailto:vincent@massol.net)(mailto:vincent@massol.net) wrote:
> > > > Seems to be working fine on http://playground.xwiki.org/xwiki/bin/view/Main/Aaron
> > (http://playground.xwiki.org/xwiki/bin/view/Main/Aaron) > >
> > > >
> > > >
> > > > Maybe there was a problem specifically on 6.2RC1 (BTW better use some final releases…:)). I’d recommend 6.4.5 for the 6.x cycle.
> > > >
> > > > Thanks
> > > > -Vincent
> > > >
> > > >
> > > > On 15 Sep 2015 at 18:53:16, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)) wrote:
> > > >
> > > > > Page syntax is XWiki 2.1 and the velocity is wrapped. Sorry, I didn't include the full code for simplicity's sake. Here's a minimal example cut and pasted from the editor (only thing changed is the actual URL):
> > > > >
> > > > > *******************************
> > > > > {{velocity}}
> > > > >
> > > > > #set($getURL = "https://www.example.com/api/example.mhtml?param=123")
> > > > > $getURL
> > > > >
> > > > > #set($content = $xwiki.getURLContent($getURL))
> > > > > $content
> > > > >
> > > > > {{/velocity}}
> > > > >
> > > > > If I set $getURL to "https://google.com", it prints $content to the page. With my API URL, I get nothing but the link in $getURL. But if I follow that link, I get the expected XML page from the API, so I know the URL is working correctly.
> > > > >
> > > > > I figured it was because $content is XML from the API, and HTML from google, but using $services.xml.parse on the response doesn't work either.
> > > > >
> > > > > The strange part is that this is code that I haven't touched in quite some time, and used to be working. The full code parses the XML response and saves various elements to an HTML table on the page - but it doesn't appear to be getting that far.
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Sep 15, 2015 at 12:41 PM, vincent@massol.net(mailto:vincent@massol.net)(mailto:vincent@massol.net) wrote:
> > > > > > Hi Aaron,
> > > > > >
> > > > > > On 15 Sep 2015 at 18:38:17, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)) wrote:
> > > > > >
> > > > > > > XWiki 6.2RC1. I have some velocity code using getURLContent() to access an
> > > > > > > external API that appears to not be working after a server move, despite
> > > > > > > working in the past.
> > > > > > >
> > > > > > > Something like this used to work:
> > > > > > >
> > > > > > > *****************************
> > > > > > > #set($url = "https://www.example.com/api/example.mhtml?param=123")
> > > > > > > #set($response = $xwiki.getURLContent($url))
> > > > > > >
> > > > > > > #if ($response)
> > > > > > > #set($tags = $services.xml.parse($response).getElementsByTagName('TAG'))
> > > > > > > $tags.length
> > > > > > > #end
> > > > > > > *****************************
> > > > > > >
> > > > > > > Now, $response appears to be empty (nothing appears when written to the
> > > > > > > page). Going directly to the API URL returns properly formatted XML, so I
> > > > > > > know the API itself is working. And changing $url to http://google.com also
> > > > > > > returns data.
> > > > > > >
> > > > > > > Any ideas?
> > > > > >
> > > > > > What is the syntax of your page? Are you sure it’s XWiki Syntax 2.0+ and you’re wrapping the velocity content with the {{velocity}} macro for example (you didn’t show it in your example).
> > > > > >
> > > > > > $response is still there
> > > > > >
> > > > > > Thanks
> > > > > > -Vincent
> > > > > >
> > > > > > > aaron
> > > > > >
> > > > >
> > >
> >
>
Seems to be working fine on http://playground.xwiki.org/xwiki/bin/view/Main/Aaron
Maybe there was a problem specifically on 6.2RC1 (BTW better use some final releases…:)). I’d recommend 6.4.5 for the 6.x cycle.
Thanks
-Vincent
On 15 Sep 2015 at 18:53:16, Aaron Hardy at AC (ashtarcommunications(a)gmail.com) wrote:
Page syntax is XWiki 2.1 and the velocity is wrapped. Sorry, I didn't include the full code for simplicity's sake. Here's a minimal example cut and pasted from the editor (only thing changed is the actual URL):
*******************************
{{velocity}}
#set($getURL = "https://www.example.com/api/example.mhtml?param=123")
$getURL
#set($content = $xwiki.getURLContent($getURL))
$content
{{/velocity}}
If I set $getURL to "https://google.com", it prints $content to the page. With my API URL, I get nothing but the link in $getURL. But if I follow that link, I get the expected XML page from the API, so I know the URL is working correctly.
I figured it was because $content is XML from the API, and HTML from google, but using $services.xml.parse on the response doesn't work either.
The strange part is that this is code that I haven't touched in quite some time, and used to be working. The full code parses the XML response and saves various elements to an HTML table on the page - but it doesn't appear to be getting that far.
On Tue, Sep 15, 2015 at 12:41 PM, vincent(a)massol.net <vincent(a)massol.net> wrote:
Hi Aaron,
On 15 Sep 2015 at 18:38:17, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)) wrote:
> XWiki 6.2RC1. I have some velocity code using getURLContent() to access an
> external API that appears to not be working after a server move, despite
> working in the past.
>
> Something like this used to work:
>
> *****************************
> #set($url = "https://www.example.com/api/example.mhtml?param=123")
> #set($response = $xwiki.getURLContent($url))
>
> #if ($response)
> #set($tags = $services.xml.parse($response).getElementsByTagName('TAG'))
> $tags.length
> #end
> *****************************
>
> Now, $response appears to be empty (nothing appears when written to the
> page). Going directly to the API URL returns properly formatted XML, so I
> know the API itself is working. And changing $url to http://google.com also
> returns data.
>
> Any ideas?
What is the syntax of your page? Are you sure it’s XWiki Syntax 2.0+ and you’re wrapping the velocity content with the {{velocity}} macro for example (you didn’t show it in your example).
$response is still there
Thanks
-Vincent
> aaron
XWiki 6.2RC1. I have some velocity code using getURLContent() to access an
external API that appears to not be working after a server move, despite
working in the past.
Something like this used to work:
*****************************
#set($url = "https://www.example.com/api/example.mhtml?param=123")
#set($response = $xwiki.getURLContent($url))
#if ($response)
#set($tags = $services.xml.parse($response).getElementsByTagName('TAG'))
$tags.length
#end
*****************************
Now, $response appears to be empty (nothing appears when written to the
page). Going directly to the API URL returns properly formatted XML, so I
know the API itself is working. And changing $url to http://google.com also
returns data.
Any ideas?
aaron
Hello there,
I am trying to export a whole XWiki space to PDF for several hours now. And
it seems like it is not possible.
I am running XWiki 7.1.1 and I did try the following ways:
1.
built-in via
http://localhost:8080/xwiki/bin/export/Space/Page?format=pdf&pages=MyTestSp…
or similar approaches.
Is there any way to use the "%25" with this approach like it is possible
for HTML and XAR exports?
2.
PDF Export Collection Application (
http://extensions.xwiki.org/xwiki/bin/view/Extension/PDF+Export+Collection+…
)
It writes an error to the export pdf file. (Failed to execute the
[velocity] macro. Click on this message for details.)
3.
XWiki Multipage PDF Export (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+PDF+Export)
Did not get it to run, but the docu seems like i need to add any specific
page on my own, which is not what i want.
4.
XWiki MultipagePdfExport Application - Space Export (
http://extensions.xwiki.org/xwiki/bin/view/Extension/MultipagePdfExport+App…
)
It is possible to select what to export in the current space, but it does
not get exported to the final PDF file.
5. Admin Tools Application (
http://extensions.xwiki.org/xwiki/bin/view/Extension/PDF+Export+Panel+Appli…
)
Did not get it to run, but it seems to be a GUI for the first approach. So
I do not expect it to work better.
If there are any tricks I should know of with any of those approaches you
are welcome to tell me. Totally new ideas/solutions are welcome as well of
course.
Hopefully any one can solve this problem since i could not find a solution
yet.
Yours
Daniel