[xwiki-users] [XWiki Forum] [Help / Discuss] Users (Local or Global) cannot authenticate / log into a new Sub-wiki site

2017-05-16 Thread Mark



If you want to separately manage accounts that can access the subwiki, you need 
to install the LDAP application 
(http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Application/) on the 
subwiki and configure the LDAP settings for the subwiki.






---
[Visit 
Topic](https://discourse.xwiki.org/t/users-local-or-global-cannot-authenticate-log-into-a-new-sub-wiki-site/39/3)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discourse.xwiki.org/email/unsubscribe/6a25c2a96ab11412f0c16710391e4feee1f2df403d79404d7aa7423321d39e08).


[xwiki-users] Integrate mocca calendar and meeting application extensions

2016-06-22 Thread Mark Sack
Does anyone know of a way to integrate the meeting app and the mocca calendar
app? Or has anyone attempted to do this in the past? The idea is that, when
a meeting is created, the meeting would be automatically included in the
calendars of the participants. The appropriate updates would need to be made
when the meeting is modified, rescheduled or deleted of course.

Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Integrate-mocca-calendar-and-meeting-application-extensions-tp7600059.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] REST API ignores type parameter

2016-05-27 Thread Mark Sack
For some reason, I can't get the select query to work as HQL either. I picked
a simple query (as a test) from 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
and confirmed that it works in a velocity script in a test page.

But when I try to use the same query in the rest interface, the response is
as follows:

Not Found

The server has not found anything matching the request URI

You can get technical details here.
Please continue your visit at our home page. 

The rest url I used is as follows:

../rest/wikis/xwiki/query=q?select+obj.name+from+BaseObject+obj+where+obj.className%3D%27XWiki.XWikiUsers%27=hql

Regards
Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-tp7599586p7599695.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] REST API ignores type parameter

2016-05-25 Thread Mark Sack
You're right - I was missing the wiki name. But, for some reason, I still
can't get the queries to work. Here is what I've found so far.

There is only one wiki - confirmed by the following REST call:
http://10.1.16.192/wiki/rest/wikis/ which returns

http://10.1.16.192:8080/wiki/rest/wikis/query;
rel="http://www.xwiki.org/rel/query"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/spaces;
rel="http://www.xwiki.org/rel/spaces"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/classes;
rel="http://www.xwiki.org/rel/classes"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/modifications;
rel="http://www.xwiki.org/rel/modifications"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/search;
rel="http://www.xwiki.org/rel/search"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/query;
rel="http://www.xwiki.org/rel/query"/>xwikixwiki

I can get some information about the wiki using
http://10.1.16.192/wiki/rest/wikis/xwiki/ which returns

http://10.1.16.192:8080/wiki/rest/wikis/xwiki/spaces;
rel="http://www.xwiki.org/rel/spaces"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/classes;
rel="http://www.xwiki.org/rel/classes"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/modifications;
rel="http://www.xwiki.org/rel/modifications"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/search;
rel="http://www.xwiki.org/rel/search"/>http://10.1.16.192:8080/wiki/rest/wikis/xwiki/query;
rel="http://www.xwiki.org/rel/query"/>xwikixwiki

I can get a list of spaces in the wiki using
http://10.1.16.192/wiki/rest/wikis/xwiki/spaces/
I won't reproduce the results as it is quite long but it looks correct and
includes those that I've added.

But if I try to do a simple query such as 

.../rest/wikis/xwiki/query?q=select+obj.first_name+from+Document+doc%2C+doc.object%28XWiki.XWikiUsers%29+as+obj=xwql

the result is

http://10.1.16.192:8080/wiki/rest/wikis/xwiki/query?q={query}(={type})(={number})(={start})(={fieldname}(={asc|desc}))(=1)(={false|true})(={wikis})(={classname})"/>

whereas the same query executed in velocity (without the URL encoding)
returns the correct result.

This is again probably some simple item I've overlooked. I appreciate your
help in resolving this problem.

Regards
Mark Sack





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-tp7599586p7599636.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] REST API ignores type parameter

2016-05-24 Thread Mark Sack
I'm trying to use the REST API to retrieve some data but the API seems to be
ignoring the type parameter.
My environment is XWiki 7.4.2, Debian 8, PostgreSQL, Tomcat 8, Openjdk 8

If I try to fetch some data using the browser and the following URL:

http:// ...
/rest/wikis/query?q=select%20obj.first_name,obj.last_name%20from%20Document%20doc,%20doc.object%28XWiki.XWikiUsers%29%20as%20obj=xwql

the result is as follows (I'm reproducing here only the first few lines -
there are actually 10 items returned)

http://10.1.16.192:8080/wiki/rest?q={solrquery}(={number})(={start})(={fieldname}(={asc|desc}))(=1)(={false|true})(={wikis})(={classname})">http://10.1.16.192:8080/wiki/rest/wikis/xwiki/spaces/XWiki/pages/DocumentTreeMacros;
rel="http://www.xwiki.org/rel/page"/>pagexwiki:XWiki.DocumentTreeMacrosXWiki.DocumentTreeMacrosxwikiXWikiDocumentTreeMacros2016-02-15T12:14:34-03:00xwiki:XWiki.Admin4.10.75986093http://10.1.16.192:8080/wiki/rest/wikis/xwiki/spaces/Panels/pages/DocumentInformation;
rel="http://www.xwiki.org/rel/page"/>pagexwiki:Panels.DocumentInformationPanels.DocumentInformationxwikiPanelsDocumentInformation2016-01-12T09:56:52-03:00xwiki:XWiki.superadmin1.10.63381535

The result is not related in any way to the user data or their names. From
the template on the first line, it seems to think that the query is a SOLR
query not xwql. I've verified that the query is correct xwql syntax and
gives a valid result by trying it in a velocity script on an actual xwiki
page. The result is basically the same if I just query for the first name
instead of both the first name and last name.

How should I be executing xwql queries using the REST API?

Regards
Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-tp7599586.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] REST query to fetch filtered list of users and some of their attributes

2016-05-20 Thread Mark Sack
OK. I understand how to display the attributes on the web page with some more
velocity commands (i.e. a couple of for loops). But I'm still stuck on how
to translate that into a single REST call (in addition to the first problem
of the erroneous (perhaps my error) results in the REST call.

Thanks for the quick response. 
Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-query-to-fetch-filtered-list-of-users-and-some-of-their-attributes-tp7599550p7599552.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] REST query to fetch filtered list of users and some of their attributes

2016-05-20 Thread Mark Sack
In our Xwiki, I've added some fields such as birthday (of type Date) to the
user profile. I'd like to implement a REST call that retrieves all of the
non-hidden users with birthdays in a specific month (typically the current
month) and some specific attribute values. Right now the values I want are
the first name, last name, birthday and the link to the avatar image file. I
have bits and pieces of the solution but am having trouble with some parts -
specifically how to put it together into a single REST call.

PROBLEM 1: I can create a page with a script like the following to filter
some users and display their names.
{{velocity}}
#set ($tags=$services.query.xwql("select obj.first_name from Document doc,
doc.object(XWiki.XWikiUsers) as obj where (obj.first_name LIKE '%a%' and
(doc.hidden <> true OR doc.hidden is null))").execute())
$tags
{{/velocity}}

But if I try to execute that query in a REST call like the following, the
result is different
.../rest/wikis/query?q=select+obj.first_name+from+Document+doc%2C+doc.object%28XWiki.XWikiUsers%29+as+obj+where+%28obj.first_name+LIKE+%27%25a%25%27+and+%28doc.hidden+%3C%3E+true+OR+doc.hidden+is+null%29%29=xwql

The REST call returns some data completely unrelated to the users:
http://...rest?q={solrquery}(={number})(={start})(={fieldname}(={asc|desc}))(=1)(={false|true})(={wikis})(={classname})">http://...rest/wikis/xwiki/spaces/XWiki/pages/DocumentTreeMacros;
rel="http://www.xwiki.org/rel/page"/>pagexwiki:XWiki.DocumentTreeMacrosXWiki.DocumentTreeMacrosxwikiXWikiDocumentTreeMacros2016-02-15T12:14:34-03:00xwiki:XWiki.Admin4.10.62450576http://...rest/wikis/xwiki/spaces/XWiki/pages/DocumentTree;
rel="http://www.xwiki.org/rel/page"/>pagexwiki:XWiki.DocumentTreeXWiki.DocumentTreexwikiXWikiDocumentTree2016-01-27T10:23:05-03:00xwiki:XWiki.Admin2.10.5804536http://...rest/wikis/xwiki/spaces/Panels/pages/DocumentInformation;
rel="http://www.xwiki.org/rel/page"/>pagexwiki:Panels.DocumentInformationPanels.DocumentInformationxwikiPanelsDocumentInformation2016-01-12T09:56:52-03:00xwiki:XWiki.superadmin1.10.4841085

PROBLEM 2: If I try to implement a query that retrieves multiple fields from
the user profile like the following:
{{velocity}}
#set ($tags=$services.query.xwql("select obj.first_name, obj.last_name,
obj.birthday from Document doc, doc.object(XWiki.XWikiUsers) as obj where
(obj.first_name LIKE '%a%' and (doc.hidden <> true OR doc.hidden is
null))").execute())
$tags
{{/velocity}}

the data displayed in the xwiki page looks like the following instead the
actual attribute values:

[[Ljava.lang.Object;@723f4d95, [Ljava.lang.Object;@4054e1bb,
[Ljava.lang.Object;@436c8d04, [Ljava.lang.Object;@5c93ddc1,
[Ljava.lang.Object;@54c86023, [Ljava.lang.Object;@33760a38,
[Ljava.lang.Object;@14d5b5ff, [Ljava.lang.Object;@566a1f71,
[Ljava.lang.Object;@41b4b4e7, [Ljava.lang.Object;@42904123,
[Ljava.lang.Object;@7b536ec3, [Ljava.lang.Object;@7d44674f,
[Ljava.lang.Object;@1933e78c, [Ljava.lang.Object;@59ea34d0,
[Ljava.lang.Object;@392f7c58, [Ljava.lang.Object;@678f1a2d,
[Ljava.lang.Object;@61868ed7, [Ljava.lang.Object;@69426a83,
[Ljava.lang.Object;@2bcd164f, [Ljava.lang.Object;@340c3f69,
[Ljava.lang.Object;@6129ef09, [Ljava.lang.Object;@1b4587dd,
[Ljava.lang.Object;@58799594, [Ljava.lang.Object;@d5b1e85,
[Ljava.lang.Object;@2324f980, [Ljava.lang.Object;@1468f956,
[Ljava.lang.Object;@290b7a]

Regards
Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-query-to-fetch-filtered-list-of-users-and-some-of-their-attributes-tp7599550.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] REST query returns subset of results

2016-05-20 Thread Mark Sack
Created http://jira.xwiki.org/browse/XWIKI-13434



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-query-returns-subset-of-results-tp7599544p7599546.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] REST query returns subset of results

2016-05-20 Thread Mark Sack
I'm using the REST API to get the wiki users as per the example in
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
i.e.

http:///xwiki/rest/wikis/query?q=object:XWiki.XWikiUsers

This only returns 10 of the users in the wiki database. If I make the call
using curl, it returns 10 non-hidden users. If I make the call from a
browser, it returns almost the same set of 10 users except that 2 of them
are replaced with hidden users.

I can get around this by adding the start and number parameters to the query
and then repeating the call incrementing the start parameter until nothing
is returned.

This leads to a number of questions.
1. Is there a way to adjust the default limit of 10 results other than using
the number parameter?
2. Is there a way to get the count of the total number of users using the
REST API?
3. Is there an explanation for the different behaviour between curl and the
browser? Which behaviour should I expect if making the call from another
application (eg. Rails)?
4. Is there a more elegant way to get all of the users through the API?
5. Is this documented somewhere that I've missed or would it be useful to
add a comment to the RESTful API page?
6. Niggly point regarding the REST API page. In some places, the start
parameter is labeled as 'n' and in others as 'offset'. I assume this is
perhaps an artefact of updates by different authors. Should it really be
'offset' everywhere or is the distinction intentional?

Regards
Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-query-returns-subset-of-results-tp7599544.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] HTML file downloads instead of displaying in browser

2016-04-25 Thread Mark J. Bobak
HI Paul,

Ok, I'm feeling a little foolishI honestly have no idea what happened,
but it's working now.  The page is displayed rather than downloaded, which
is what I want.  Sorry fo the total waste of time here.sigh...

Thanks,

-Mark

On Mon, Apr 25, 2016 at 10:28 AM, Paul Libbrecht <p...@hoplahup.net> wrote:

> Mark,
>
> what causes it to be downloaded is a header called "Content-Disposition".
> If it's there and says "attachment" then the browser will present it as
> a download, whatever the media type.
> If it's not there, the browser will choose what to do depending on what
> it supports (png or html: can display, doc: will download ...).
>
> The html head element will not influence that.
>
> Can it be that the link you have has an extra parameter called
> "forceDownload=1". At least in earlier versions, this is what added the
> header. Removing it would be the trick.
>
> Note that offering html documents to upload and preview to "anybody" is
> a rather big security issue but probably this is not an issue here.
>
> paul
>
> > Mark J. Bobak <mailto:m...@bobak.net>
> > 25 April 2016 at 15:40
> > Hi all,
> >
> > I'm an XWiki newbie. I've written a script that generates an HTML file,
> > and then I upload it as an attachment to XWiki. When I create a link on
> > that file, and then click the link, I get the HTML file downloaded by the
> > browser, rather than displayed.
> >
> > From what I've read, this may be caused either by something in my HTML or
> > by an XWiki setting.
> >
> > In the HMTL, my headeer looks like this:
> >  > content="text/html; c
> > harset=utf-8" />NITS Solutions AWS Server
> > Listtable
> > , th, td { border: 2px solid black; border-collapse: collapse;
> > }
> >
> > My undedrstanding is that the 'text/html' should tell the browser to
> > display rather than download.
> >
> > Also, in the xwiki.properties file, in the Attachment section, I found
> the
> > 'attachment.download.whitelist' and 'attachment.download.blacklist', but
> > both were commented out, which I assume means this feature is disabled? I
> > even tried uncommenting the whitelist and making sure it contained
> > 'text/html', and then bouncing, but it made no difference.
> >
> > Can anyone offer me a clue? I just want my simple little document to
> > display rather than download.
> >
> > Thanks,
> >
> > -Mark
> > ___
> > 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


[xwiki-users] HTML file downloads instead of displaying in browser

2016-04-25 Thread Mark J. Bobak
Hi all,

I'm an XWiki newbie.  I've written a script that generates an HTML file,
and then I upload it as an attachment to XWiki.  When I create a link on
that file, and then click the link, I get the HTML file downloaded by the
browser, rather than displayed.

>From what I've read, this may be caused either by something in my HTML or
by an XWiki setting.

In the HMTL, my headeer looks like this:
NITS Solutions AWS Server
Listtable
, th, td { border: 2px solid black; border-collapse: collapse;
}

My undedrstanding is that the 'text/html' should tell the browser to
display rather than download.

Also, in the xwiki.properties file, in the Attachment section, I found the
'attachment.download.whitelist' and 'attachment.download.blacklist', but
both were commented out, which I assume means this feature is disabled?  I
even tried uncommenting the whitelist and making sure it contained
'text/html', and then bouncing, but it made no difference.

Can anyone offer me a clue?  I just want my simple little document to
display rather than download.

Thanks,

-Mark
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Delete my Wiki

2016-04-09 Thread Mark Andrew Bickford
No data to salvage, thanks.

And I really liked the Xwiki platform, and hope to use it again in the future. 
But in the meantime, my personal need for the wiki has come to an end.

> On Apr 9, 2016, at 12:31 AM, Vincent Massol <vinc...@massol.net> wrote:
> 
> Hi Mark,
> 
>> On 08 Apr 2016, at 23:18, Mark Bickford <mbickf...@gmail.com> wrote:
>> 
>> I am wondering if you are the correct person to contact regarding deleting 
>> my wiki: “mbickford.myxwiki.org”. If not, could point point me in the right 
>> direction? Thanks.
> 
> I can delete it for you. Anything you want to salvage? Do you need some XAR 
> export for it?
> 
> Also, may I ask if there’s any specific reason you wish to delete this wiki 
> for (for which we could do something about it)?
> 
> Thanks
> -Vincent
> 
> PS: cc-ing the users list since that’s the right place where to ask
> 
>> 
>> -Mark
> 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Display users that are not hidden

2016-04-07 Thread Mark Sack
Thanks for the pointer. The filter is a big improvement on what I had before.
However, it only excludes hidden users if the logged in user has not chosen
to display hidden documents. For this particular case, it would be
preferable to always exclude hidden users from the output of the script. Is
there a way to do that?

I had thought about using the 'active' property in the user profile (I'm not
sure what is its intended function within the Xwiki application). But if I
add it in for editing, then the users can set themselves as active/inactive.
In our situation, this would be exclusively an administrative function.

Regards
Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Display-users-that-are-not-hidden-tp7598831p7598850.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] Display users that are not hidden

2016-04-06 Thread Mark Sack
I have a script as follows that displays a list of users that meet some
criteria (the actual where clause I'm using is a bit more complicated than
shown below):

{{velocity}}
#set ($users=$services.query.xwql("FROM doc.object(XWiki.XWikiUsers) AS user
WHERE (user.first_name LIKE '%Mar%')").execute())
#set ($numUsers = $users.size())
#if ($numUsers > 0)
  #foreach ($user in $users)
#if (!$user.isHidden())
 [[$user]]
#end
  #end
#end
{{/velocity}}

My problem is that the isHidden method is filtering out the users whose
pages I've marked as hidden. How can I fix this script to list only the
users who are not hidden?

Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Display-users-that-are-not-hidden-tp7598831.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] Deleting admin user blocks execution of some pages

2016-04-05 Thread Mark Sack
Due to another issue, I had to recreate some users (including the one I had
been using as the administrator). Instead of just hiding the old users, I
decided to delete them. It was a mistake to delete the old admin user
because, now, scripts that were last modified by that user will not execute
(even by the new admin user). The new admin user needs make some new
modification to the script in order to execute it.

Is there a mechanism by which I could get a list of all the scripts that
were last modified by that old user so that I could go in and clean up this
problem at one go instead of one by one as I stumble onto those pages? Is
there another workaround a person can use when they shoot themselves in the
foot like this?

Note that I tried restoring the old admin user from the deleted documents.
He then appears in the user directory as expected. But the scripts will
still not execute. So it appears that restoring a user has the effect of
creating a new user with the same attributes as the old one instead of
actually recreating the old user. Could this be considered an issue (defect
or improvement) worthy of recording in JIRA?

Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Deleting-admin-user-blocks-execution-of-some-pages-tp7598812.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] Jasig CAS authentication and users with periods in the id

2016-03-29 Thread Mark Sack
Created   http://jira.xwiki.org/browse/AUTHCAS-1
  



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Jasig-CAS-authentication-and-users-with-periods-in-the-id-tp7598674p7598704.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] Jasig CAS authentication and users with periods in the id

2016-03-29 Thread Mark Sack
My bad. I am indeed using the extension
http://extensions.xwiki.org/xwiki/bin/view/Extension/Authenticator+Jasig+CAS
<http://extensions.xwiki.org/xwiki/bin/view/Extension/Authenticator+Jasig+CAS>  
I just assumed this extension would be the only choice for CAS
authentication. So I didn't explicitly mention it.

The CAS server has its own login page (at least in the Ruby implementation
that I am using). That server takes the ID and password entered on the login
page and passes it through to whatever service(s) (LDAP, database, etc.) it
is configured to authenticate against. The real value of CAS is that it
remembers the user's login status and doesn't ask the user to
re-authenticate if he wants to log in to to a different app but already has
a status of logged in. Since CAS is intended to handle login requests from
multiple applications, it isn't really the right place to do a mapping of
user IDs such as that required specifically by xwiki.

I'll continue to poke around for alternatives but it appears that, since my
programming skills aren't very deep, I'll need to fall back to recreating
the users.

In the long term, I can see two alternative enhancements to prevent users
from getting into this predicament:
- remove the restriction that xwiki user IDs cannot contain periods (which I
understand from previous posts is difficult and not on the list of
priorities)
- enhance the xwiki Jasig CAS extension to provide a mapping capability
similar to that of LDAPProfileClass (this would depend on the maintainer of
the extension, I suppose).

All of this is just my two cents worth. I can understand why fixing this
issue would not be a high priority since, in any system with a large number
of users, the users would not be created manually as I have done. I also
have the option of setting the system to create users when they first log
in, thus avoiding the problem when adding new users in future. (For now, I
need the database nicely populated to demonstrate its utility to the user
community and can't rely on them all logging in first.)

Thanks for your help in investigating the issue.

Regards
Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Jasig-CAS-authentication-and-users-with-periods-in-the-id-tp7598674p7598696.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] Jasig CAS authentication and users with periods in the id

2016-03-29 Thread Mark Sack
Thanks for the suggestion. Unfortunately, it looks like I will need a lot
more hand holding to figure out whether or not I can use the trusted ldap
authenticator as you suggest.

1. I found the following comment in xwiki.cfg
#-# Used by some authenticators (like
com.xpn.xwiki.user.impl.xwiki.AppServerTrustedAuthServiceImpl)
But I didn't find that the string anywhere else in the files in WEB-INF.
So I'm not sure if I'm using that particular
authenticator. Is it the default? How does one select a specific
authenticator?

2. In the readme for the extension
https://github.com/xwiki-contrib/xwiki-authenticator-trusted-ldap/blob/master/README.md
the configuration examples all seem to refer to authentication using
LDAP (and the name of the extension implies that
it is intended for LDAP). But in my configuration, xwiki isn't talking
to LDAP - it is instead talking to a CAS server which
in turn talks to Active Directory (using the LDAP protocol). As a
consequence, LDAP authentication is disabled in 
xwiki.cfg. Instead my xwiki.cfg file has the following line:

xwiki.authentication.authclass=org.xwiki.contrib.authentication.cas.XWikiCASAuthenticator
Is it true that this extension can be used for CAS authentication as
well as LDAP?

3. The extension appears to rely on regexp for transformation/translation of
the user ID. I inadvertently omitted one detail 
from my description of the problem. The mapping from LDAP/CAS user ID to
xwiki ID is not as simple as replacing a 
period with an underscore. Here, people sometimes have multiple surnames
or use a second given name in
to a surname. As an example, my name might be 'Mark Thomas Jones Sack'.
And in xwiki I might have created a 
user with the ID 'mark_sack'. But in Active Directory, the ID might be
'mark.thomas' or 'mark.jones'. For a mapping
such as this from 'mark.jones' to 'mark_sack', I think I would need a
separate field (like LDAPProfileClass provides)
instead of just a regexp expression.

Regards
Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Jasig-CAS-authentication-and-users-with-periods-in-the-id-tp7598674p7598689.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] PostgreSQL version downgraded for 8.0?

2016-03-29 Thread Mark Sack
Thanks for the all the clarifications. My previous experience is with an
organization that was much more strict about third party support. So I tend
to attach more significance to these kinds of details than is perhaps
necessary.

Regards
Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/PostgreSQL-version-downgraded-for-8-0-tp7598673p7598686.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] Jasig CAS authentication and users with periods in the id

2016-03-28 Thread Mark Sack
I have successfully configured our xwiki site to use LDAP authentication
against Active Directory. The convention for the user IDs in our Active
Directory is to use a period to separate the given name and surname as in
mark.sack. I added the LDAPProfileClass object to the user profiles to map
the Active Directory IDs to the internal wiki ones. I had created the users
before implementing the Active Directory authentication with the convention
of an underscore in between the given name and the surname.

Now I would like to implement a single signon solution for all of our
applications and have set up a CAS server to authenticate against Active
Directory. The authentication works fine but the CAS authentication in xwiki
seems to simply strip out the period in the Active Directory ID instead of
mapping to the existing user. I observed the following behaviour:
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 1 and login
as mark.sack (with my Active Directory password), the login is successful.
But xwiki creates a new user with id marksack instead of mapping to the
existing mark_sack user (mark_sack has the LDAPProfileClass set to
mark.sack).
- in xwiki.cfg, if I set xwiki.authentication.cas.create_user to 0 and login
as mark.sack, the login fails with a message that to the effect that the
user does not exist.

How could I achieve the mapping of xwiki users to Active Directory for CAS
authentication? 

Our system is relatively small (about 40 users so far) and has not yet
really been rolled out to the user community. So if need be, I could create
new xwiki users following the convention required by xwiki (no character
between the given name and surname). But I would prefr to avoid that if I
can.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Jasig-CAS-authentication-and-users-with-periods-in-the-id-tp7598674.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] PostgreSQL version downgraded for 8.0?

2016-03-28 Thread Mark Sack
I noticed that the supported version of PostgreSQL for XWiki 8.0 is 9.4.5.
But for 7.4.2 it is 9.5. Is there some significance to this, eg. there is
some function in 8.0 that was found not to work with PostgreSQL 9.5? Or is
this simply an artefact of the testing process? Is there a need to downgrade
PostgreSQL to 9.4.5 if I upgrade XWiki to 8.0?

The database support strategy page could be interpreted to indicate that all
PostgreSQL 9.x releases are supported. But I find it hard to believe that
you would be that generous (9.0 has reached its end of life milestone and
9.1 is almost there). 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/PostgreSQL-version-downgraded-for-8-0-tp7598673.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] Document tree branches not translated

2016-03-09 Thread Mark Sack
Created http://jira.xwiki.org/browse/XWIKI-13183

Just not sure if I got all the fields (priority, component) right.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Document-tree-branches-not-translated-tp7598383p7598388.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] Translation problems

2016-03-09 Thread Mark Sack
I've started doing that. But I could not figure out how to set multi-line
values in the translation wiki page - for example, the Sandbox test pages.
For those ones, I exported the Sandbox page in a xar file, added in the new
translation xml file, and then imported the new xar file.

Thank you for your patience in explaining all of this.

Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763p7598387.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] Document tree branches not translated

2016-03-08 Thread Mark Sack
Does anyone know how to get the branches of the document translated? As per
the attached image, the Sandbox page is translated at the top of the tree (I
guess because I updated the title in the translation page), but not at the
branch. Other pages such as Meetings and the Calendar are translated in both
places. Also the Attachments page is not translated in the expanded tree. I
am running Xwiki 7.4.2 localized to pt_BR.
 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Document-tree-branches-not-translated-tp7598383.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] Translation problems

2016-03-08 Thread Mark Sack
I have been updating the translations on the l10n site and then downloading
the resource files. My challenge is that, sometimes, I don't want to wait
for the next release. My perception is that, for extensions, the wait until
the next release can be quite long (not a surprise). Speaking in complete
ignorance of the implementation challenges, I think it would be ideal if the
translations could be updated separately from the releases.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763p7598380.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] New versions of attachments not recognized

2016-03-02 Thread Mark Sack
A colleague pointed me to the Ctrl-F5 shortcut in the browser which I guess
is what you meant by "force clear cache". That resolved the problem. I had
thought that clearing the browser history under the Privacy settings would
take care of clearing out all that data but it turns out they are different.

Thanks for your help.
Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/New-versions-of-attachments-not-recognized-tp7598189p7598269.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] Not able to create new skin

2016-03-02 Thread Mark Sack
Yes, appending WebHome works. The browser tab isn't wide enough to display
the full name of the page (had to hover on it to see the WebHome). I'll try
to remember and watch for that in future.

Thank you for your help.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Not-able-to-create-new-skin-tp7598159p7598242.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] New versions of attachments not recognized

2016-03-01 Thread Mark Sack
I started out with my system configured to use the hibernate attachment
storage and then later converted it to file storage using the Database to
Filesystem porter in the Admin Tools extension. Initially everything
appeared to work fine. Attached images reappeared on the pages after I ran
the porter. But now I'm finding that, if I load a new version of an
attachment image, the page continues to display the old version of the image
instead of the new one. If I edit the page, delete the image and then
reinsert it, the updated version is displayed in the WYSIWYG view. But after
I Save & View the page, the old version of the image is displayed. Even if I
delete the attachment completely from the list of attachments and the page
and then reload the new version (so that the old version is no longer
listed) and add it back to the page, the old version is still displayed.

My environment is as follows:
Debian 8, Java openjdk-7-jre-headless, postgresql 9.4.6, tomcat8

The problem occurs in both my production system on 7.4.1 and a new VM
created from scratch with 7.4.2.

Note that, in order to get the porter to work, I had to replace the groovy
script with the new version provided by Caleb as per
http://xwiki.475771.n2.nabble.com/Admin-Tools-database-to-filesystem-porter-error-td7597567.html



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/New-versions-of-attachments-not-recognized-tp7598189.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] Not able to create new skin

2016-02-29 Thread Mark Sack
In 7.4.1 (standalone installation) I'm trying to create a new skin using A.
and C. in http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins. I've a
couple of different variations but can't figure out what I'm doing wrong. 

The steps I followed are:

1. Login as Admin - URL is http://localhost:8080/xwiki/bin/view/Main/
2. Edit URL and go to http://localhost:8080/xwiki/bin/view/Main/MySkinPage/
3. I see that the page does not exist and follow the 'edit this page' to
create it.
4. Press the Create button and then Save & View.
5. Open the Objects editor and select the XWiki.XWikiSkins class - press Add
6. In the object properties, set the Name to 'My New Skin'
7. Set the base skin to 'flamingo' - Press Save & View.
8. Select the Test this skin link and everything looks fine.
9. Go to Administer Wiki -> Presentation.
10. Set both the Stylesheet and Stylesheets fields to Main.MySkinPage
11. Set the Skin field to 'My New Skin' and press Save.
12. This results in a Java error 
...
Caused by: java.net.URISyntaxException: Illegal character in path at index
9: /skins/My New Skin/admin.vm
...

I thought maybe the error was that spaces were not allowed. So I created a
new instance and followed the same steps but in steps 6 and 11 used
'MyNewSkin'. Then the browser showed the following:
Error
You are not allowed to view this page or perform this action.
The URL was
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin=Presentation=XWiki

I also thought that maybe in step 11 I need to use Main.MySkinPage instead.
This resulted in the same error, i.e.
Error
You are not allowed to view this page or perform this action.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Not-able-to-create-new-skin-tp7598159.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] Deleting Admin user causes document tree to not load

2016-02-24 Thread Mark Sack
I'm not sure if this is of more than academic interest since the alternative
of hiding the page works for me and, as per Thomas' comment, deleting Admin
apparently has some severe consequences. In any event, I think the behaviour
is specific to Postgres and not my environment as I reproduced it by
creating a new VM from scratch.

Here is the error message in catalina.out as per below. I've also included
below the output of the javascript console.

INFORMAÇÕES: Server startup in 51391 ms
2016-02-24 09:48:32,197 [XWiki initialization] INFO 
.HibernateDataMigrationManager - Storage schema updates and data migrations
are enabled 
2016-02-24 09:48:32,455 [XWiki initialization] INFO 
.HibernateDataMigrationManager - No data migration to apply for wiki [xwiki]
currently in version [73000] 
2016-02-24 09:48:32,456 [XWiki initialization] INFO 
.HibernateDataMigrationManager - Checking Hibernate mapping and updating
schema if needed for wiki [xwiki] 
2016-02-24 09:48:40,801 [XWiki initialization] INFO 
.a.DefaultAuthorizationManager - [programming] access has been denied for
user [xwiki:XWiki.Admin] on [Public]: security checkpoint 
2016-02-24 09:48:40,871 [XWiki initialization] ERROR
cumentTranslationBundleFactory - Failed to register translation bundle from
document [xwiki:WikiManager.Translations] 
org.xwiki.security.authorization.AccessDeniedException: Access denied when
checking [programming] access to [Main Wiki] for user [xwiki:XWiki.Admin]
at
org.xwiki.security.authorization.DefaultAuthorizationManager.checkAccess(DefaultAuthorizationManager.java:94)
~[DefaultAuthorizationManager.class:na]
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.checkRegistrationAuthorization(DocumentTranslationBundleFactory.java:439)
[DocumentTranslationBundleFactory.class:na]
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.registerTranslationBundle(DocumentTranslationBundleFactory.java:418)
[DocumentTranslationBundleFactory.class:na]
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.loadTranslations(DocumentTranslationBundleFactory.java:233)
[DocumentTranslationBundleFactory.class:na]
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleFactory.initialize(DocumentTranslationBundleFactory.java:207)
[DocumentTranslationBundleFactory.class:na]
at
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
[InitializableLifecycleHandler.class:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:322)
[EmbeddableComponentManager.class:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:424)
[EmbeddableComponentManager.class:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:392)
[EmbeddableComponentManager.class:na]
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
[EmbeddableComponentManager.class:na]
at
org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)
[GenericProvider.class:na]
at 
org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)
[GenericProvider.class:na]
at
org.xwiki.localization.wiki.internal.DocumentTranslationBundleInitializer.onEvent(DocumentTranslationBundleInitializer.java:82)
[DocumentTranslationBundleInitializer.class:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:304)
[DefaultObservationManager.class:na]
at
org.xwiki.observation.internal.DefaultObservationManager.notify(DefaultObservationManager.java:269)
[DefaultObservationManager.class:na]
at
com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:129)
[XWikiInitializerJob.class:na]
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205)
[AbstractJob.class:na]
at org.xwiki.job.AbstractJob.run(AbstractJob.java:188)
[AbstractJob.class:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_95]
2016-02-24 09:48:41,040 [XWiki Solr index job thread] INFO 
o.x.s.s.i.j.IndexerJob - Starting job of type [solr.indexer] with
identifier [[solr, indexer]] 
2016-02-24 09:48:43,529 [Active Installs Ping Thread] WARN 
a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping to
[http://extensions.xwiki.org/activeinstalls]. Error =
[SocketTimeoutException: Read timed out]. Will retry in [86400] seconds... 
2016-02-24 09:48:50,496 [XWiki Solr index job thread] INFO 
o.x.s.s.i.j.IndexerJob - 262 documents added, 261 deleted and 0
updated during the synchronization of the Solr index. 
2016-02-24 09:48:50,496 [XWiki Solr index job thread] INFO 
o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with

Re: [xwiki-users] Deleting Admin user causes document tree to not load

2016-02-23 Thread Mark Sack
A satisfactory alternative for our situation would be to hide the Admin user
from all but users in the Admin group. That is a feature that I can see
coming in handy for other scenarios as well (for example, someone leaves the
organization but for some reason we don't want to remove them from the user
directory). I would envision adding a 'Hide' flag or an 'Expiry Date' field
to the user profile to determine whether or not the user should be
displayed.

Does anyone have an idea as to how this could be accomplished?

A complementary feature of course would be to prevent the hidden user from
logging in. In our case, we are using Active Directory authentication so we
can take care of that outside of the xwiki software.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Deleting-Admin-user-causes-document-tree-to-not-load-tp7598099p7598102.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] Deleting Admin user causes document tree to not load

2016-02-23 Thread Mark Sack
My understanding is that I should be able to replace the Admin user with
another user that I've created and added to the Admin group. But when I
delete the Admin user using the other user in the Admin group, I find that
the document tree no longer loads.

My configuration is as follows:
XWiki Enterprise WAR 7.4.1
Debian Jessie
Java openjdk-7-jre-headless
Tomcat 8
Postgresql 9.4/9.5 - The release notes state that 9.5 is the supported
version for 7.4.1 but I could not find a 9.5 JDBC  driver so I tried it with
both 9.4 and 9.5 versions of Postgresql (in both cases using the 9.4 JDBC
driver).

This might be related to XWIKI-13025 'The document tree doesn't load on
Postgres' since the problem does not seem to occur with the standalone
installation.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Deleting-Admin-user-causes-document-tree-to-not-load-tp7598099.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] Convert existing xwiki instance to Active Directory authentication

2016-02-18 Thread Mark Sack
I have an existing instance of xwiki with some users and would like to
convert it to authenticate against an Active Directory server. I tried
setting up a new test instance of xwiki in a VM and was able to get it to
authenticate against AD. But in the test, the user directory was empty
(except for Admin) - so it created a new user at login. I'd appreciate some
help on the next step of configuring the system so that an existing xwiki
user authenticates against an existing AD entry.

I configured the test system as follows:

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=servername
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=subdomain\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=DC=subdomain,DC=domain
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1 
xwiki.authentication.ldap.trylocal=0

Other details that may or may not be relevant:
- the AD login IDs contain periods which are not allowed in the xwiki names.
For the xwiki users that already exist, the login names are the same as
those in AD except that the period is replaced by an underscore
- there are xwiki 'users' with no corresponding entry in AD. Those xwiki
entries should not be allowed to login.
- the exception to the above point is the Admin user. If I add one of the
users with a corresponding AD entry to the Admin group, would that user be
able to do everything that the Admin user can do?

A nice to have would be to also bring the AD groupings/organizational units
across to xwiki. Is their an easy way to do this?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Convert-existing-xwiki-instance-to-Active-Directory-authentication-tp7598029.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] Mocca Calendar and Meeting Calendar have different first days

2016-02-12 Thread Mark Sack
In the 7.4 release, the Mocca Calendar extension and the calendar view of the
Meeting Application extension use different first days of the week. I'd like
to have our site consistently use the same first day (Sunday). Can anyone
give me a pointer on how to do this?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-different-first-days-tp7597963.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] Mocca Calendar and Meeting Calendar have different first days

2016-02-12 Thread Mark Sack
Unfortunately, the default for Mocca Calendar is Sunday which is what I want.
I need to change the Meeting Application. The Meeting Application doesn't
seem to have a 'firstDayOfWeek' (or similar) translation key. So it seems
like I need to go a bit deeper to make the change.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-different-first-days-tp7597963p7597966.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] Mocca Calendar and Meeting Calendar have different first days

2016-02-12 Thread Mark Sack
I figured it out I think. I navigated to xwiki/bin/view/Meeting/calendarView
(as Admin) and edited it using the wiki editor.

In the macro, I changed the following line

{{calendar classname="Meeting.MeetingClass" startfield="startDate"
durationfield="duration" defaultView="agendaWeek" firstHour="8" minTime="8"
maxTime="21" language="fr" editable="true" timeFormat="HH:mm" /}}

to add a parameter firstDay="0"




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-different-first-days-tp7597963p7597968.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] Translation problems

2016-02-05 Thread Mark Sack
What is the easiest/standar process for incorporating new translation
resource files from the translation site before the next release of the core
or an extension? So far I've been downloading the source for the extension,
adding in or replacing the translation resource file downloaded from the
translation site, rebuilding the extension and importing the xar file. For
the core resources, I replaced the resources file in the jar.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763p7597804.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] Translation problems

2016-02-05 Thread Mark Sack
The workaround you suggested didn't have any effect. To analyse the problem a
bit further (and verify that I was creating the translation page correctly),
I inserted a spelling error in the Translations page. The spelling error was
displayed as expected if I deployed the app to a path other than ROOT. But
in ROOT that translation page is still not used. Maybe this one is a
candidate for Ripley's Believe It or Not.

I did all of the new translations via the 
http://l10n.xwiki.org/xwiki/bin/view/L10N/
<http://l10n.xwiki.org/xwiki/bin/view/L10N/>   site (logging in there and
making the edits on the forms). Then I downloaded the Application Resource
file. Do I still need to do a github pull request or send you the files?

I corrected one spelling error in the core resources before the 7.4 release
and noticed that the correction was automatically included in 7.4. I guess
the core is built using a different process than the extensions.

Regards
Mark



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763p7597793.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] Translation problems

2016-02-03 Thread Mark Sack
For the first problem, I tried setting the locale to pt and found that the
month does get translated to Portuguese. So it may be that this is a
consequence of  http://jira.xwiki.org/browse/XWIKI-10083
  . But if I append
?language=pt_BR to the URL, the month still shows up in English.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763p7597767.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] Translation problems

2016-02-03 Thread Mark Sack
I tried the search on "platform.livetable.paginationResults*" with xwiki
installed both in tomcat8/webapps/xwiki and in tomcat8/xwiki/ROOT. In both
cases, there was no result (or Nenhum resultado in Portuguese).

On the installed extensions page, it shows the following that I've installed
explicitly:
Mocca Calendar Application
Meeting Application
Admin Tools Application
XWiki Enterprise Flavor - Main Wiki

All of the other ones listed were installed as dependencies. There are a
couple of extensions that don't have pt_BR localization (such as Meeting and
Full Calendar). For those cases, I downloaded the source files, added in the
pt_BR resources file, rebuilt the extension and imported the resulting xar
file. 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763p7597772.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] Translation problems

2016-02-03 Thread Mark Sack
For the second problem, I discovered something that I can't quite understand
(perhaps because I am relatively new to this kind of development).
My setup is debian 8, openjdk 7, tomcat8, postgresql 9.4 (all installed from
the debian repositories).

The problem occurs when I have the xwiki application installed in
tomcat8/webapps/ROOT. I did this by first installing it in
tomcat8/webapps/xwiki, deleting the existing ROOT directory and then moving
the xwiki directory to ROOT. If I move the ROOT directory back to xwiki, the
problem goes away.

Note other phrases (including ones in the core resources translation file)
are being localized correctly.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763p7597771.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] Translation problems

2016-02-02 Thread Mark Sack
I'm setting up a XWiki 7.4 site with a pt_BR localization and am updating
empty translations as I go along according to our use cases. In the process
I've run into a couple of problems.

Firstly, on the Blog Archive panel, the months are being displayed in
English. If I log into l10.xwiki.org and do a search for existing
translation keys like the following:
Original text: January
Language: pt_BR
Status: Not dead
Other fields all blank
the result returned has two keys, both of which are translated.
How can I do the translation for the months in the blog panel? Note that if
I switch the localization to another language such as fr, I see that the
months are translated properly.

Secondly, on the live tables on my soon to be production instance, the range
phrase at the top of the live tables (such as the User Index) is showing up
half English/half Portuguese as 'Results 1-10 out of 40 por página de 10'.
If I switch the language to fr, the problem remains with the phrase showing
up as 'Results 1-10 out of 40 par page de 10'. But if I set up a clean
instance of XWiki, I see that the phrases are translated properly for both
pt_BR and fr. Clearly, I've been futzing with something(s) that I should not
have touched. Can anyone give me some pointers on how to diagnose the
problem and restore the system to its proper behaviour? 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Translation-problems-tp7597763.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] 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


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

2016-01-25 Thread Mark Sack
Yes, I can switch back and forth between the different languages using the
URL method. 

However, this functionality seems to be exhibiting some strange and
inconsistent behaviour. This time I created a new instance in a VM and
observed the following:

1. Logged in as Admin and set the Multilingual - Yes, Supported languages -
pt_BR,en and Default language - pt_BR
2. Saved the configuration with the result that the page was displayed in
French (I did not list fr as a supported language).
3. Tried switching between different languages (pt_BR, en and fr) and they
all were displayed as expected.

The languages shown on the side are English and French as in the attached
image.  

Another thing I noted is it appears that the list of supported languages
cannot contain spaces. If I put a space after the comma, there is an error
in catalina.out.

Also I don't quite understand is how to edit a page for a specific language
only. If I go to the first blog post page with language pt_BR and make some
edits, those same edits show up if I display the page with language en. I
read the Internationalization page 
http://http://platform.xwiki.org/xwiki/bin/view/Features/I18N
   But I
can't see a "Document Information" panel as it describes. The last item on
the ... drop down menu gives some information about the page but does not
say anything about the language.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problems-setting-up-multilingual-site-tp7597630p7597692.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] Problems setting up multilingual site

2016-01-20 Thread Mark Sack
With XWiki 7.4 I have a site setup in Brazilian Portuguese (pt_BR). I edited
the localization settings as follows:
Multilingual - Yes
Supported languages - pt_BR, en
Default language - pt_BR

After saving the settings, the site looks like it switches to the pt local
(European Portuguese?). I can tell this because the pt local is much more
sparsely translated. On the drop down menu on the right, I now see a
Languages item with Portuguese and English options and selecting English
switches the site to English.

I go back to the drop down menu and select languages. But now I only see
English - Portuguese is not listed as an available language.

I tried to repeat the above with a fresh install. This time I first set the
local to pt (no multilingual support) and verified that the site is switch
to pt. Then I set the multilingual support to yes and added the en local (pt
still the default). Now the site switches immediately to English and the
only language available on the drop down menu on the right is English.

I'd appreciate some help in setting up my site for multilingual support with
both English and Brazilian Portuguese. Is there something I'm doing wrong? 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problems-setting-up-multilingual-site-tp7597630.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] Mocca calendar - display 'short description' instead of title in month/week/day view

2016-01-20 Thread Mark Sack
You're right - I missed a step. After step 8 I edited the event class with
the wiki editor. The Test field appeared on the form in the editor without
me having to do anything explicitly. I selected Save with the Update
Class Template, Update Class Sheet, and Update Class Translation Bundle
options checked.

And running through the steps again, I confirmed that the Test field does
not appear on the form before I do the wiki edit.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Mocca-calendar-display-short-description-instead-of-title-in-month-week-day-view-tp7597592p7597624.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] Mocca calendar - display 'short description' instead of title in month/week/day view

2016-01-19 Thread Mark Sack
Clemens,
Your suggestion gets me part of the way there but still having some problems
(in steps 11 and 12 below). I thought maybe my earlier futzing around trying
to get it working on my own screwed things up. So I created a clean instance
on a VM and made the mods you suggested. Here are the steps I followed and
the results.

1. Created new XWiki 7.4 instance - distribution wizard doesn't start for
some reason so I installed the default pages using
xwiki-enterprise-ui-mainwiki-all-7.4.xar.
2. Installed MoccaCalendar extension and verified that version is 2.5 (full
calendar macro is version 2.0.2)
3. Logged in as Admin and created a new calendar (first to verify behaviour
without your suggested mods to JSON Service).
4. In the new calendar created an event - event is displayed as expected.
5. In the new calendar, tried to create another event with the same title -
event form displays 'An event with this name already exists.' under the
title field.
6. In the new calendar, tried to create another event with no title - event
form displays 'Title field is required'.
7. Deleted event created in step 4.
8. In class editor MoccaCalendarEvent class added new field 'Test' of type
String.
9. Navigated to /xwiki/bin/view/MoccaCalendar/JSONService -> Edit -> Source
and replaced $itemdoc.getPlainTitle() with $itemdoc.getValue('Test') in two
places as you suggested.
10. Returned to new calendar created in Step 3.
11. Invoked form to create an event - event form is displayed with new Test
field (blank). But the Title field is populated with a random string and the
Calendar drop down field where you can select which calendar the event
belongs to is missing from the form.
12. Entered a value in the Test field and saved the event - the form
disappears but the event is not displayed on the new calendar.
13. Navigated to Calendar Overview and observed that new event is displayed
there with the content of the Test field instead of the Title. Here the
event is displayed on the Month view the way I want it.




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Mocca-calendar-display-short-description-instead-of-title-in-month-week-day-view-tp7597592p7597610.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] Admin Tools database to filesystem porter error

2016-01-18 Thread Mark Sack
Solved
Thank you



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Admin-Tools-database-to-filesystem-porter-error-tp7597567p7597590.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] Mocca calendar - display 'short description' instead of title in month/week/day view

2016-01-18 Thread Mark Sack
In our use of the calendar extension, I expect to have situations where the
title is repeated (sometimes for what are really recurring events and
sometimes not). For this reason, we'll leave the randomly generated string
in the title field. I've added a 'short description' field to the event
class to use in place of the title. I would like to display the new field in
the calendar month/week/day view instead of the title. Does anyone have
suggestions on how to do this?

I'm using XWiki 7.4.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Mocca-calendar-display-short-description-instead-of-title-in-month-week-day-view-tp7597592.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] Admin Tools database to filesystem porter error

2016-01-15 Thread Mark Sack
When I try to execute the database to filesystem porter tool in xwiki 7.4, I
see the following error:

  Failed to execute the [groovy] macro. Click on this message
for details.

Can anyone suggest how to resolve or work around this problem? 
My environment is Debian jessie, Postgresql 9.4, WAR file running on tomcat8
and openjdk-7

The details are below.

org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Script
Macro for content [import com.xpn.xwiki.doc.XWikiAttachment;
import com.xpn.xwiki.doc.XWikiDocument;
import com.xpn.xwiki.doc.DeletedAttachment;
import org.xwiki.store.legacy.doc.internal.ListAttachmentArchive;
import com.xpn.xwiki.store.XWikiAttachmentStoreInterface;
import org.xwiki.store.legacy.store.internal.FilesystemAttachmentStore;
import com.xpn.xwiki.store.AttachmentVersioningStore;
import org.xwiki.store.legacy.store.internal.XWikiHibernateTransaction;
import com.xpn.xwiki.store.AttachmentRecycleBinStore;
import com.xpn.xwiki.web.Utils;
import com.xpn.xwiki.XWikiContext;
import com.xpn.xwiki.XWiki;
import com.xpn.xwiki.XWikiException;
import org.xwiki.store.filesystem.internal.FilesystemStoreTools;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.hibernate.ObjectNotFoundException;

private void printIntro(final XWiki wiki)
{
println("= Filesystem attachment storage porting script =");

println("== Step 1: Switch to Filesystem attachments. ==");

boolean ret = isFilesystemStore(wiki.getAttachmentStore()) \
&& isFilesystemStore(wiki.getAttachmentVersioningStore()) \
&& isFilesystemStore(wiki.getAttachmentRecycleBinStore());

println(getStoreLine(isFilesystemStore(wiki.getAttachmentStore()),
 wiki.getAttachmentStore()));
   
println(getStoreLine(isFilesystemStore(wiki.getAttachmentVersioningStore()),
 wiki.getAttachmentVersioningStore()));
   
println(getStoreLine(isFilesystemStore(wiki.getAttachmentRecycleBinStore()),
 wiki.getAttachmentRecycleBinStore()));

if (!ret) {
println("Please edit your xwiki.cfg file by modifying "
+ "the attachment store lines to read as follows:");
println("xwiki.store.attachment.hint = file");
println("xwiki.store.attachment.versioning.hint = file");
println("xwiki.store.attachment.recyclebin.hint = file");
println("Also make sure they are not commented out.");
}

println("== Step 2: Add this directory to your backup routine. ==");
println("This is your storage directory, "
+ "when filesystem attachments are enabled you have to back this up
"
+ "as part of your data backup routine.\n");
   
println(Utils.getComponent(FilesystemStoreTools.class).storageDir.getAbsolutePath());

println("== Step 3: Copy attachments from database to filesystem. ==");
println("Now you are ready to copy the data over from your database to
the filesystem. "
+ "It is prudent to leave the attachments in the database since this
is still experimental "
+ "and in most situations the attachment data is not bothersome just
sitting in the "
+ "database. As such, this script contains no facility to delete
entries from the database.");
println("If anything goes wrong in this function, it will fail with an
error message, "
+ "you should get the stack trace (probably in the log file) and
keep it to "
+ "confuse and humiliate the developers with. No harm should be done
since this only loads "
+ "from the database and only saves to the filesystem.");
}

main();
private void main()
{
final XWikiContext xc = xcontext.getContext();
final XWiki wiki = xc.getWiki();

int startAt = 0;
int seconds = 20;
boolean dryRun = true;
boolean verbose = false;
boolean go = request.getMethod().equals("POST") &&
request.getParameter("doIt") != null;
boolean ajax = "plain".equals(request.getParameter("xpage"));
int endedAt = 0;

if (!ajax) {
this.printIntro(wiki);
}

if (go) {
startAt = Integer.parseInt(request.getParameter("startAt"));
seconds = Integer.parseInt(request.getParameter("seconds"));
dryRun = "on".equals(request.getParameter("dryRun"));
verbose = "on".equals(request.getParameter("verbose"));
endedAt = this.doIt(startAt, seconds, dryRun, verbose, ajax);
if (ajax) {
if (endedAt == -1) {
this.printFooter();
} else {
println("\n{{html clean=false}}{{/html}}");
}
return;
}
}

this.printJs();

if (!go || endedAt > startAt) {
println("\n{{html clean=false}}");
println("");
println("");
println("");
println("");
println("");
println("Dry Run, don't save any
files.");
println("");

println("Verbose, show every
attachment.");
println("");

Re: [xwiki-users] new wiki request

2015-11-23 Thread Mark Bickford
I seem to be having log-in issues. Credentials are returning an “invalid 
credentials” error message. Email on file for my account is not recognized.

-Mark


> On Nov 20, 2015, at 1:59 AM, Thomas Mortagne <thomas.morta...@xwiki.com> 
> wrote:
> 
> You can access your new wiki on http://mbickford.myxwiki.org.
> 
> Enjoy !
> 
> On Thu, Nov 19, 2015 at 4:59 PM, Mark Bickford <mbickf...@gmail.com> wrote:
> 
>> Please delete the one with an underscore. Thank you.
>> 
>>> On Nov 19, 2015, at 5:16 AM, Thomas Mortagne <thomas.morta...@xwiki.com>
>> wrote:
>>> 
>>> There is two Mark Bickford used on myxwiki.org, which one is the right
>> one
>>> and do you want me to delete the other ?
>>> 
>>> http://www.myxwiki.org/xwiki/bin/view/XWiki/MarkBickford
>>> http://www.myxwiki.org/xwiki/bin/view/XWiki/Mark_Bickford
>>> 
>>>> On Tue, Nov 17, 2015 at 11:20 PM, Mark Bickford <mbickf...@gmail.com>
>> wrote:
>>>> 
>>>> description: personal research project
>>>> owner name: Mark Bickford
>>>> wiki name: mbickford.mywiki.org
>>>> ___
>>>> 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] new wiki request

2015-11-17 Thread Mark Bickford
description: personal research project
owner name: Mark Bickford
wiki name: mbickford.mywiki.org
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWIKI very slow after upgrade

2014-09-09 Thread Gardner, Mark
Started with 5.0.3.   The upgrade to 5.1 went splendid, performance was fine.

But to upgrade to any version   5.2, 5.2.2, 5.3, 5.4.5, 6.1 is very slow three 
times slower to render the home page.   Subsiquent visits to the page are 
equally slow.

I thought it might be a problem with the upgrade, but I did a clean install of 
6.1 and it is still three times slower than my 5.1 install.

ENVIRONMENT
SUSE Linux Enterprise 11 SP3 (SLES 11.3)

Java Version:
java version 1.7.0
Java(TM) SE Runtime Environment (build pxa6470sr7fp1-20140708_01(SR7 FP1))
**IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 
20140627_204598 (JIT enabled, AOT enabled)
[notice it's IBM JAVA]
java-1_7_0-ibm-1.7.0_sr7.1-0.5.1
java-1_6_0-ibm-1.6.0_sr16.1-0.3.1
java-1_7_0-ibm-devel-1.7.0_sr7.1-0.5.1

rpm -qa | grep tomcat
tomcat6-jsp-2_1-api-6.0.41-0.43.1
tomcat6-6.0.41-0.43.1
tomcat6-lib-6.0.41-0.43.1
jakarta-commons-pool-tomcat5-1.3-1.29.2
jakarta-commons-dbcp-tomcat5-1.2.2-88.34.4
tomcat6-servlet-2_5-api-6.0.41-0.43.1
jakarta-commons-collections-tomcat5-3.2-88.34.2

Mysql
mysql-5.5.39-0.7.1
libqt4-sql-mysql-32bit-4.6.3-5.29.2
libmysqlclient15-5.0.96-0.6.13
mysql-client-5.5.39-0.7.1
mysql-connector-java-5.1.6-1.27

Tomcat Options:

CATALINA_OPTS= -Xms800m -Xmx800m -XX:MaxPermSize=196m -Djava.awt.headless=true 
-XX:+UseParallelGC -XX:MaxGCPauseMillis=100
Also tired lowering the Xms (as recommended by IBM Java folks) but did not help
CATALINA_OPTS= -Xms256m -Xmx800m -XX:MaxPermSize=196m -Djava.awt.headless=true 
-XX:+UseParallelGC -XX:MaxGCPauseMillis=100

The part that is most puzzling is that a fresh install of 6.1 is still so 
much slower.
Tomcat uses near 100% of cpu for any page read, and mysql uses 25% for any page 
read

The tomcat logs don't have any errors (I turned the log4j debugging up to see 
if I could catch something odd)

Any Ideas.   I'm fresh out.

--
Mark Gardner

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] exporting an old XWiki to a new clean XWiki

2014-06-18 Thread Mark Elliot
Thanks to all that have responded on this subject.  What is starting to 
work for me is the extension that exports large (selectable) spaces. By 
exporting by space instead of the usual exports, I get the web content 
but not the widget bugs!  It is tedious to import each space but it is 
working.  I tried several (but not all) of the other suggested 
extensions.  So far this works.


On 6/18/2014 6:14 AM, walid yaich wrote:

Hi,

I tried this :
http://extensions.xwiki.org/xwiki/bin/view/Extension/Admin+Tools+Application
It's *Installable with the Extension Manager*, you can even select which
space/files to export...

Anyway i wasn't able to export the old content to a new fresh installation,
it erase some files which makes the new wiki not stable, but i didn't spent
enough time to try to make it stable...


Hope this helps :)


2014-06-18 8:15 GMT+01:00 Guillaume Louis-Marie Delhumeau 
gdelhum...@xwiki.com:


Maybe this could help:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+Wiki+Export
and
http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import

I hope it helps,
Guillaume


2014-06-18 1:21 GMT+02:00 Mark Elliot mell...@ranchsystems.com:


In my last e-mail I discussed a bug where widgets are not displayed in

the

administration web pages of our old XWiki.  In an effort to fix this

bug, I

have tried exporting the old XWiki into a new clean installation.  The
issue is the bug comes into the new XWiki on importing.

I can export the pages one at a time without getting the bug. However,

the

links do not come with them.  This is a very tedious effort to resort the
web site this way.  Does anyone have suggestions for tools for
systematically exporting and importing the web pages?  Also, what do we

do

about the users and other configured spaces?  Any other outside the box
thinking or solutions are welcome.
___
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


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] exporting an old XWiki to a new clean XWiki

2014-06-17 Thread Mark Elliot
In my last e-mail I discussed a bug where widgets are not displayed in 
the administration web pages of our old XWiki.  In an effort to fix this 
bug, I have tried exporting the old XWiki into a new clean 
installation.  The issue is the bug comes into the new XWiki on importing.


I can export the pages one at a time without getting the bug. However, 
the links do not come with them.  This is a very tedious effort to 
resort the web site this way.  Does anyone have suggestions for tools 
for systematically exporting and importing the web pages?  Also, what do 
we do about the users and other configured spaces?  Any other outside 
the box thinking or solutions are welcome.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] xwiki.home setup does not work for links in e-mails

2014-06-06 Thread Zimmermann, Mark
Dear all,

we are using XWiki 6.0.1 and I have to set a different hostname because of a 
proxy between Internet and our xwiki server.

I installed the server with a different name and it still appears unless I set 
xwiki.home to the correct new name.

I also changed the hostname of the server and restarted it. In bash everthing 
is fine.

The crazy thing is, in the form for sending a link there is the correct URL 
visible, but not in the email.

Thank you for answering!

Best regards,
Mark Zimmermann
___
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] Xwiki Upgrade question

2013-10-21 Thread Gardner, Mark
Can I do an upgrade from 5.03 to 5.2?Do I need to upgrade to 5.1 first?


--
Mark Gardner
KC Research Automation
mark.gard...@kc.frb.org
(816) 881-2957
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Toolbar on Source Editor

2013-05-22 Thread Gardner, Mark
When I'm logged in as the Administrator I see a toolbar in the source editor 
(not the full WYSIWYG).

However, my users don't see this toolbar,  Is this a permissions issue?  My 
WIKI is fairly locked down.

--
Mark Gardner
KC Research Automation
mark.gard...@kc.frb.org
(816) 881-2957
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Toolbar on Source Editor

2013-05-22 Thread Gardner, Mark

On 5/22/13 9:46 AM, Hamster teun...@hotmail.com wrote:

Couldit be that the Administrator is marked as an Advanced User and your
other users as Simple (User Type)

Profile: YourName -- Preferences
User Type


That was exactly the problem.   Next question.  How can I change the
default?  Can I have the members of a group be Advanced Users by default?

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error in inserting image (and creating link)

2013-05-16 Thread Gardner, Mark




On 5/16/13 3:20 PM, Chris Ward c...@yellowdave.co.uk wrote:

Hi Mark,

For the record...

I tried you suggestion an went to raw IP and yes it worked then.

Not sure how I can get my remote users to do that but I am open to
suggestions.

That would be unreasonable to make your external users type in an IP
addressŠ

The raw IP is just a gateway to the REAL default wiki. From here you can
install the Wiki Manager and make setup a virtual wiki that simply
points to what you want the alias to be.   Once the alias is setup, then
the xwiki engine knows how to map that URL to the correct wiki instance
internally. 

Please keep in mind I'm not an xwiki developer, I just happened to figure
this out last week and thought I'd share some wisdom. 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Can't access my WIKI

2013-05-08 Thread Gardner, Mark
I have a server named wikiServer01.company.com   There is a DNS alias to that 
server for wiki.company.com

I get all sorts of errors in the logs about The wiki [wiki] does not exist. 
When I try to attach pictures to a wiki page.

Caused by:
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki [wiki] does not 
exist
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505)

I can't seem to find how to set an alias for the server in the documentation.

Is this setup even  supported?  I'm using the latest 5.0.1 all in one 
application on Jetty  ( With the intention of when I figure this out We'll move 
it into tomcat)

--
Mark Gardner
KC Research Automation
mark.gard...@kc.frb.org
(816) 881-2957
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't access my WIKI

2013-05-08 Thread Gardner, Mark

On 5/8/13 11:01 AM, Marius Dumitru Florea
mariusdumitru.flo...@xwiki.com wrote:

On Wed, May 8, 2013 at 6:25 PM, Gardner, Mark mark.gard...@kc.frb.org
wrote:
 I have a server named wikiServer01.company.com   There is a DNS alias
to that server for wiki.company.com

 I get all sorts of errors in the logs about The wiki [wiki] does not
exist. When I try to attach pictures to a wiki page.

 Caused by:
 com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki [wiki] does
not exist
 at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505)


 I can't seem to find how to set an alias for the server in the
documentation.

I could find 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Applicat
ion+EditWikiAliases
.

SO that workedŠ. Kinda.   I was able to setup a new sub wiki with the
name wiki.   But now I have 2 wikis.   The wikiserver01 is separate from
wiki

I'm trying to figure out how to set the alias wiki to the instance at
wikiServer01. 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Error when inserting Macro

2013-05-01 Thread Gardner, Mark
I'm using the latest xwiki.war deployed into Tomcat6 with IBM Java

Whenever I try to use the insert macro into the WYSIWYG form I get the 
following error

500 htmlheadtitleApache Tomcat/6.0.18 - Error report/titlestyle!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}HR {color : #525D76;}--/style 
/headbodyh1HTTP Status 500 - /h1HR size=1 
noshade=noshadepbtype/b Exception report/ppbmessage/b 
u/u/ppbdescription/b uThe server encountered an internal error () 
that prevented it from fulfilling this request./u/ppbexception/b 
prejavax.servlet.ServletException: 
 Failed to initialize the XWiki context. 
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:153)
 
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:83)
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 /pre/ppbroot cause/b precom.xpn.xwiki.XWikiException: Error number 
2 in 0: The wiki [kcrnxwiki01] does not exist 
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:505) 
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.initializeXWikiContext(XWikiContextInitializationFilter.java:134)
 
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextIni
 tializationFilter.java:83) 
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 /pre/ppbnote/b uThe full stack trace of the root cause is 
available in the Apache Tomcat/6.0.18 logs./u/pHR size=1 
noshade=noshadeh3Apache Tomcat/6.0.18/h3/body/html

--
Mark Gardner
KC Research Automation
mark.gard...@kc.frb.org
(816) 881-2957
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

2013-03-18 Thread Mark Jas
I solved the SSO error in catalina.out. This was the result of an apache 
misconfiguration. (Limit GET POST instead of limit GET)
I'm now back to the trouble with the Tree view.
It still looks that authorization headers are missing in some requests. Does 
anybody know if this is a correct assumption? And if it is, how can I solve 
this?


-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Mark Jas
Verzonden: donderdag 14 maart 2013 13:43
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

Hi Marius,

There are a lot of AJAX requests, some work, some don't.
All requests have cookie headers.
But it looks like the failed requests have no authorization header, and the 
other requests do have one.
On the main page I see some failed requests (without authorization header) and 
right after, the same request again with authorization header that succeeds! 
Looks like some kind of retry. With the REST request, I do not see this 
duplicate requests.

Mark

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Marius 
Dumitru Florea
Verzonden: donderdag 14 maart 2013 12:52
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

Ok, so the problem is:
* either the AJAX requests don't have the necessary authentication information
* or the REST system doesn't understand or doesn't handle properly the 
authentication information from the request.

All AJAX requests should have all the cookies that the main request (for the 
edit mode) has. So if the authentication information is stored in cookies then 
it is send with the AJAX requests. The first thing to check is if the AJAX 
requests (logged in the Firebug console) have the authentication information.

I don't know how the Kerberos SSO works nor if it integrates well with REST. We 
need the help of a REST guru here :)

Thanks,
Marius

On Thu, Mar 14, 2013 at 1:37 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Forgot to mention:
 Catalina.out shows me this:

 2013-03-14 12:35:58,430 
 [http://xwiki/xwiki/bin/get/Main/WebHome?xpage=xpartvm=commentsinline.vm] 
 WARN  a.t.TrustedLDAPAuthServiceImpl - Failed to resolve remote user. It 
 usually mean that no SSO information has been provided to XWiki.

 -Oorspronkelijk bericht-
 Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens 
 Mark Jas
 Verzonden: donderdag 14 maart 2013 12:34
 Aan: XWiki Users
 Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

 Hi Marius,

 I used firebug like you said. Here my findings:
 -   Scheme is ok. (all http)
 -   hostname is ok (all xwiki)
 -   the console shows me a lot of request with a 401 authorization 
 required (not only on the tree page, but also on other pages)
 -   all the REST request on the tree page have 401 authorization 
 required responses.
 -   No authentication errors in apache logs
 -   http://xwiki/xwiki/rest/ with SSO gives me an Internal Server Error 
 (no error in apache logs)
 -   http://xwiki/xwiki/rest/ without SSO gives me some XML
 -   All REST requests I see in the console are the same: 
 http://xwiki/xwiki/rest/wikis/xwiki/spaces?r=221031

 Hope you can help.
 Thanks.
 Mark

 -Oorspronkelijk bericht-
 Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens 
 Marius Dumitru Florea
 Verzonden: donderdag 14 maart 2013 8:22
 Aan: XWiki Users
 Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

 On Wed, Mar 13, 2013 at 9:06 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hello,


 I get a popup with the error “Server returned TRANSPORT_ERROR with no error 
 message.” If I select the tree view in the document index.

 I’m using xwiki 4.5 with kerberos SSO. If I disable kerberos in apache and 
 use the normal login, everything works just fine.

 Is this a bug?

 Could be. TRANSPORT_ERROR normally happens when a request made by the tree 
 fails (usually because the URL is bad). The tree uses the REST system to 
 fetch its data, so all requests made by the tree are /rest/ requests. It 
 would be of great help if you could tell us what requests are failing (their 
 URL is important). In order to check this you can use Firefox with its 
 Firebug extension. This extension has a Console tab where you can see all the 
 (AJAX) requests made by the editor and its tree, if the console was opened 
 before the page was loaded, otherwise you need to reload the page. The failed 
 requests are displayed in red so they are easy to notice. You can click on 
 each request to get more information, but more importantly you can right 
 click to get the full URL with parameters. Post here the bad URLs and also 
 the URL for the edit mode.

 The things to check are:
 * are the REST URLs using the same scheme (HTTP/HTTPS) as the edit mode URL?
 * do they have the same domain?
 * is the REST system working when Kerberos SSO is enabled

Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

2013-03-14 Thread Mark Jas
Hi Marius,

I used firebug like you said. Here my findings:
-   Scheme is ok. (all http)
-   hostname is ok (all xwiki)
-   the console shows me a lot of request with a 401 authorization 
required (not only on the tree page, but also on other pages) 
-   all the REST request on the tree page have 401 authorization required 
responses.
-   No authentication errors in apache logs
-   http://xwiki/xwiki/rest/ with SSO gives me an Internal Server Error 
(no error in apache logs)
-   http://xwiki/xwiki/rest/ without SSO gives me some XML
-   All REST requests I see in the console are the same: 
http://xwiki/xwiki/rest/wikis/xwiki/spaces?r=221031

Hope you can help.
Thanks.
Mark

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Marius 
Dumitru Florea
Verzonden: donderdag 14 maart 2013 8:22
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

On Wed, Mar 13, 2013 at 9:06 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hello,


 I get a popup with the error “Server returned TRANSPORT_ERROR with no error 
 message.” If I select the tree view in the document index.

 I’m using xwiki 4.5 with kerberos SSO. If I disable kerberos in apache and 
 use the normal login, everything works just fine.

 Is this a bug?

Could be. TRANSPORT_ERROR normally happens when a request made by the tree 
fails (usually because the URL is bad). The tree uses the REST system to fetch 
its data, so all requests made by the tree are /rest/ requests. It would be of 
great help if you could tell us what requests are failing (their URL is 
important). In order to check this you can use Firefox with its Firebug 
extension. This extension has a Console tab where you can see all the (AJAX) 
requests made by the editor and its tree, if the console was opened before the 
page was loaded, otherwise you need to reload the page. The failed requests are 
displayed in red so they are easy to notice. You can click on each request to 
get more information, but more importantly you can right click to get the full 
URL with parameters. Post here the bad URLs and also the URL for the edit mode.

The things to check are:
* are the REST URLs using the same scheme (HTTP/HTTPS) as the edit mode URL?
* do they have the same domain?
* is the REST system working when Kerberos SSO is enabled?

Thanks,
Marius



 Mark

 ___
 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] TRANSPORT_ERROR with SSO in tree view

2013-03-14 Thread Mark Jas
Forgot to mention



-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Mark Jas
Verzonden: donderdag 14 maart 2013 12:34
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

Hi Marius,

I used firebug like you said. Here my findings:
-   Scheme is ok. (all http)
-   hostname is ok (all xwiki)
-   the console shows me a lot of request with a 401 authorization 
required (not only on the tree page, but also on other pages) 
-   all the REST request on the tree page have 401 authorization required 
responses.
-   No authentication errors in apache logs
-   http://xwiki/xwiki/rest/ with SSO gives me an Internal Server Error 
(no error in apache logs)
-   http://xwiki/xwiki/rest/ without SSO gives me some XML
-   All REST requests I see in the console are the same: 
http://xwiki/xwiki/rest/wikis/xwiki/spaces?r=221031

Hope you can help.
Thanks.
Mark

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Marius 
Dumitru Florea
Verzonden: donderdag 14 maart 2013 8:22
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

On Wed, Mar 13, 2013 at 9:06 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hello,


 I get a popup with the error “Server returned TRANSPORT_ERROR with no error 
 message.” If I select the tree view in the document index.

 I’m using xwiki 4.5 with kerberos SSO. If I disable kerberos in apache and 
 use the normal login, everything works just fine.

 Is this a bug?

Could be. TRANSPORT_ERROR normally happens when a request made by the tree 
fails (usually because the URL is bad). The tree uses the REST system to fetch 
its data, so all requests made by the tree are /rest/ requests. It would be of 
great help if you could tell us what requests are failing (their URL is 
important). In order to check this you can use Firefox with its Firebug 
extension. This extension has a Console tab where you can see all the (AJAX) 
requests made by the editor and its tree, if the console was opened before the 
page was loaded, otherwise you need to reload the page. The failed requests are 
displayed in red so they are easy to notice. You can click on each request to 
get more information, but more importantly you can right click to get the full 
URL with parameters. Post here the bad URLs and also the URL for the edit mode.

The things to check are:
* are the REST URLs using the same scheme (HTTP/HTTPS) as the edit mode URL?
* do they have the same domain?
* is the REST system working when Kerberos SSO is enabled?

Thanks,
Marius



 Mark

 ___
 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

2013-03-14 Thread Mark Jas
Forgot to mention:
Catalina.out shows me this:

2013-03-14 12:35:58,430 
[http://xwiki/xwiki/bin/get/Main/WebHome?xpage=xpartvm=commentsinline.vm] WARN 
 a.t.TrustedLDAPAuthServiceImpl - Failed to resolve remote user. It usually 
mean that no SSO information has been provided to XWiki.

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Mark Jas
Verzonden: donderdag 14 maart 2013 12:34
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

Hi Marius,

I used firebug like you said. Here my findings:
-   Scheme is ok. (all http)
-   hostname is ok (all xwiki)
-   the console shows me a lot of request with a 401 authorization 
required (not only on the tree page, but also on other pages) 
-   all the REST request on the tree page have 401 authorization required 
responses.
-   No authentication errors in apache logs
-   http://xwiki/xwiki/rest/ with SSO gives me an Internal Server Error 
(no error in apache logs)
-   http://xwiki/xwiki/rest/ without SSO gives me some XML
-   All REST requests I see in the console are the same: 
http://xwiki/xwiki/rest/wikis/xwiki/spaces?r=221031

Hope you can help.
Thanks.
Mark

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Marius 
Dumitru Florea
Verzonden: donderdag 14 maart 2013 8:22
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

On Wed, Mar 13, 2013 at 9:06 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hello,


 I get a popup with the error “Server returned TRANSPORT_ERROR with no error 
 message.” If I select the tree view in the document index.

 I’m using xwiki 4.5 with kerberos SSO. If I disable kerberos in apache and 
 use the normal login, everything works just fine.

 Is this a bug?

Could be. TRANSPORT_ERROR normally happens when a request made by the tree 
fails (usually because the URL is bad). The tree uses the REST system to fetch 
its data, so all requests made by the tree are /rest/ requests. It would be of 
great help if you could tell us what requests are failing (their URL is 
important). In order to check this you can use Firefox with its Firebug 
extension. This extension has a Console tab where you can see all the (AJAX) 
requests made by the editor and its tree, if the console was opened before the 
page was loaded, otherwise you need to reload the page. The failed requests are 
displayed in red so they are easy to notice. You can click on each request to 
get more information, but more importantly you can right click to get the full 
URL with parameters. Post here the bad URLs and also the URL for the edit mode.

The things to check are:
* are the REST URLs using the same scheme (HTTP/HTTPS) as the edit mode URL?
* do they have the same domain?
* is the REST system working when Kerberos SSO is enabled?

Thanks,
Marius



 Mark

 ___
 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

2013-03-14 Thread Mark Jas
Hi Marius,

There are a lot of AJAX requests, some work, some don't.
All requests have cookie headers.
But it looks like the failed requests have no authorization header, and the 
other requests do have one.
On the main page I see some failed requests (without authorization header) and 
right after, the same request again with authorization header that succeeds! 
Looks like some kind of retry. With the REST request, I do not see this 
duplicate requests.

Mark

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Marius 
Dumitru Florea
Verzonden: donderdag 14 maart 2013 12:52
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

Ok, so the problem is:
* either the AJAX requests don't have the necessary authentication information
* or the REST system doesn't understand or doesn't handle properly the 
authentication information from the request.

All AJAX requests should have all the cookies that the main request (for the 
edit mode) has. So if the authentication information is stored in cookies then 
it is send with the AJAX requests. The first thing to check is if the AJAX 
requests (logged in the Firebug console) have the authentication information.

I don't know how the Kerberos SSO works nor if it integrates well with REST. We 
need the help of a REST guru here :)

Thanks,
Marius

On Thu, Mar 14, 2013 at 1:37 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Forgot to mention:
 Catalina.out shows me this:

 2013-03-14 12:35:58,430 
 [http://xwiki/xwiki/bin/get/Main/WebHome?xpage=xpartvm=commentsinline.vm] 
 WARN  a.t.TrustedLDAPAuthServiceImpl - Failed to resolve remote user. It 
 usually mean that no SSO information has been provided to XWiki.

 -Oorspronkelijk bericht-
 Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens 
 Mark Jas
 Verzonden: donderdag 14 maart 2013 12:34
 Aan: XWiki Users
 Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

 Hi Marius,

 I used firebug like you said. Here my findings:
 -   Scheme is ok. (all http)
 -   hostname is ok (all xwiki)
 -   the console shows me a lot of request with a 401 authorization 
 required (not only on the tree page, but also on other pages)
 -   all the REST request on the tree page have 401 authorization 
 required responses.
 -   No authentication errors in apache logs
 -   http://xwiki/xwiki/rest/ with SSO gives me an Internal Server Error 
 (no error in apache logs)
 -   http://xwiki/xwiki/rest/ without SSO gives me some XML
 -   All REST requests I see in the console are the same: 
 http://xwiki/xwiki/rest/wikis/xwiki/spaces?r=221031

 Hope you can help.
 Thanks.
 Mark

 -Oorspronkelijk bericht-
 Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens 
 Marius Dumitru Florea
 Verzonden: donderdag 14 maart 2013 8:22
 Aan: XWiki Users
 Onderwerp: Re: [xwiki-users] TRANSPORT_ERROR with SSO in tree view

 On Wed, Mar 13, 2013 at 9:06 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hello,


 I get a popup with the error “Server returned TRANSPORT_ERROR with no error 
 message.” If I select the tree view in the document index.

 I’m using xwiki 4.5 with kerberos SSO. If I disable kerberos in apache and 
 use the normal login, everything works just fine.

 Is this a bug?

 Could be. TRANSPORT_ERROR normally happens when a request made by the tree 
 fails (usually because the URL is bad). The tree uses the REST system to 
 fetch its data, so all requests made by the tree are /rest/ requests. It 
 would be of great help if you could tell us what requests are failing (their 
 URL is important). In order to check this you can use Firefox with its 
 Firebug extension. This extension has a Console tab where you can see all the 
 (AJAX) requests made by the editor and its tree, if the console was opened 
 before the page was loaded, otherwise you need to reload the page. The failed 
 requests are displayed in red so they are easy to notice. You can click on 
 each request to get more information, but more importantly you can right 
 click to get the full URL with parameters. Post here the bad URLs and also 
 the URL for the edit mode.

 The things to check are:
 * are the REST URLs using the same scheme (HTTP/HTTPS) as the edit mode URL?
 * do they have the same domain?
 * is the REST system working when Kerberos SSO is enabled?

 Thanks,
 Marius



 Mark

 ___
 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

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] TRANSPORT_ERROR with SSO in tree view

2013-03-13 Thread Mark Jas
Hello,

 
I get a popup with the error “Server returned TRANSPORT_ERROR with no error 
message.” If I select the tree view in the document index.

I’m using xwiki 4.5 with kerberos SSO. If I disable kerberos in apache and use 
the normal login, everything works just fine.

Is this a bug?

 
Mark

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] kerberos SSO - strip domainname from username

2013-03-09 Thread Mark Jas
I managed to compile and activate the xwiki-authentication-trusted-ldap plugin. 
But still the same result: login works with login prompt, fails with SSO. 

Debugging showed me that the xwiki doesn't accept the SSO because username 
doesn't match. I suppose my xwiki.authentication.trustedldap.remoteUserParser 
settings is incorrect.
Can anyone tell me what this settings should be when my kerberos sso user is 
u...@domain.com and my sAMAccountName in ldap is just user?



On Fri, Mar 8, 2013 at 1:53 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hi Thomas,

 Thanks for your reply. I should have given you some more info.
 I'm using the default authenticator, because if I use the 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl, my 
 ldap stops working.

 If I use 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl 
 Kerberos works fine, but new users aren't created, and group sync isn't 
 working etc etc...

com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
only know about remote user and just create the user page, it's not connecting 
to LDAP to update informations or group membership like the LDAP authenticator 
do. There is no such authenticator by default but you can look at 
https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-authentication-trusted-ldap.


 Maybe my question should be: How do I get LDAP working with the Kerberos 
 authenticator?

 Mark


 On Tue, Mar 5, 2013 at 4:35 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hi all,


 I have configured xwiki with LDAP authentication and kerberos SSO.

 When I use a browser without automatic Kerberos SSO, I get a keberos login 
 page. When I fill in username and password manually it works great.

 But when I set the browser to use automatic logon, I get the xwiki 
 login page! (at least in FireFox, IE says “cannot show page”)

 I get the same results when I manually login with “username@DOMAIN”
 and “password”.  So I think the domain part is used in the automatic 
 logon. (and is the actual problem…)


 I see there is java code that strips the @DOMAIN part from the username. But 
 I have no idea how or where to implement this. I hope some can help me!

 I never used it myself but from what I see in the code it's supposed to do 
 that all the time. Maybe there is a bug.

 You can try to enable debug log[1] for class 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
 (that's the authenticator you are using, right ?) to see what's going on. At 
 least ou should get what remote user XWiki is getting if any.

 [1] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging



 Mark


 ___
 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] kerberos SSO - strip domainname from username

2013-03-09 Thread Mark Jas
Mailed to soon. Solved it. The default works just fine.
xwiki.authentication.trustedldap.remoteUserParser=(.+)@(.+)
xwiki.authentication.trustedldap.remoteUserMapping.1=login


-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Mark 
Verzonden: zaterdag 9 maart 2013 17:08
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] kerberos SSO - strip domainname from username

I managed to compile and activate the xwiki-authentication-trusted-ldap plugin. 
But still the same result: login works with login prompt, fails with SSO. 

Debugging showed me that the xwiki doesn't accept the SSO because username 
doesn't match. I suppose my xwiki.authentication.trustedldap.remoteUserParser 
settings is incorrect.
Can anyone tell me what this settings should be when my kerberos sso user is 
u...@domain.com and my sAMAccountName in ldap is just user?



On Fri, Mar 8, 2013 at 1:53 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hi Thomas,

 Thanks for your reply. I should have given you some more info.
 I'm using the default authenticator, because if I use the 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl, my 
 ldap stops working.

 If I use 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl 
 Kerberos works fine, but new users aren't created, and group sync isn't 
 working etc etc...

com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
only know about remote user and just create the user page, it's not connecting 
to LDAP to update informations or group membership like the LDAP authenticator 
do. There is no such authenticator by default but you can look at 
https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-authentication-trusted-ldap.


 Maybe my question should be: How do I get LDAP working with the Kerberos 
 authenticator?

 Mark


 On Tue, Mar 5, 2013 at 4:35 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hi all,


 I have configured xwiki with LDAP authentication and kerberos SSO.

 When I use a browser without automatic Kerberos SSO, I get a keberos login 
 page. When I fill in username and password manually it works great.

 But when I set the browser to use automatic logon, I get the xwiki 
 login page! (at least in FireFox, IE says “cannot show page”)

 I get the same results when I manually login with “username@DOMAIN”
 and “password”.  So I think the domain part is used in the automatic 
 logon. (and is the actual problem…)


 I see there is java code that strips the @DOMAIN part from the username. But 
 I have no idea how or where to implement this. I hope some can help me!

 I never used it myself but from what I see in the code it's supposed to do 
 that all the time. Maybe there is a bug.

 You can try to enable debug log[1] for class 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
 (that's the authenticator you are using, right ?) to see what's going on. At 
 least ou should get what remote user XWiki is getting if any.

 [1] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging



 Mark


 ___
 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

___
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] kerberos SSO - strip domainname from username

2013-03-08 Thread Mark Jas
Hi Thomas,

Thanks for your reply. I should have given you some more info.
I'm using the default authenticator, because if I use the 
com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl, my ldap 
stops working.

If I use com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl 
Kerberos works fine, but new users aren't created, and group sync isn't working 
etc etc...

Maybe my question should be: How do I get LDAP working with the Kerberos 
authenticator?

Mark


On Tue, Mar 5, 2013 at 4:35 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hi all,


 I have configured xwiki with LDAP authentication and kerberos SSO.

 When I use a browser without automatic Kerberos SSO, I get a keberos login 
 page. When I fill in username and password manually it works great.

 But when I set the browser to use automatic logon, I get the xwiki 
 login page! (at least in FireFox, IE says “cannot show page”)

 I get the same results when I manually login with “username@DOMAIN” 
 and “password”.  So I think the domain part is used in the automatic 
 logon. (and is the actual problem…)


 I see there is java code that strips the @DOMAIN part from the username. But 
 I have no idea how or where to implement this. I hope some can help me!

I never used it myself but from what I see in the code it's supposed to do that 
all the time. Maybe there is a bug.

You can try to enable debug log[1] for class 
com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
(that's the authenticator you are using, right ?) to see what's going on. At 
least ou should get what remote user XWiki is getting if any.

[1] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging



 Mark


 ___
 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] kerberos SSO - strip domainname from username

2013-03-08 Thread Mark Jas
Hi Thomas,

I think xwiki-authentication-trusted-ldap is exactly what I need. But I'm not 
that experienced to compiling java. Can I download it somewhere as a .jar file? 
Or can you point me the way to extract this from git and compile it myself?

Thanks,
Mark


On Fri, Mar 8, 2013 at 1:53 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hi Thomas,

 Thanks for your reply. I should have given you some more info.
 I'm using the default authenticator, because if I use the 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl, my 
 ldap stops working.

 If I use 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl 
 Kerberos works fine, but new users aren't created, and group sync isn't 
 working etc etc...

com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
only know about remote user and just create the user page, it's not connecting 
to LDAP to update informations or group membership like the LDAP authenticator 
do. There is no such authenticator by default but you can look at 
https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-authentication-trusted-ldap.


 Maybe my question should be: How do I get LDAP working with the Kerberos 
 authenticator?

 Mark


 On Tue, Mar 5, 2013 at 4:35 PM, Mark Jas m...@nieuwenborg.nl wrote:
 Hi all,


 I have configured xwiki with LDAP authentication and kerberos SSO.

 When I use a browser without automatic Kerberos SSO, I get a keberos login 
 page. When I fill in username and password manually it works great.

 But when I set the browser to use automatic logon, I get the xwiki 
 login page! (at least in FireFox, IE says “cannot show page”)

 I get the same results when I manually login with “username@DOMAIN”
 and “password”.  So I think the domain part is used in the automatic 
 logon. (and is the actual problem…)


 I see there is java code that strips the @DOMAIN part from the username. But 
 I have no idea how or where to implement this. I hope some can help me!

 I never used it myself but from what I see in the code it's supposed to do 
 that all the time. Maybe there is a bug.

 You can try to enable debug log[1] for class 
 com.xpn.xwiki.user.impl.xwiki.AppServerTrustedKerberosAuthServiceImpl
 (that's the authenticator you are using, right ?) to see what's going on. At 
 least ou should get what remote user XWiki is getting if any.

 [1] http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging



 Mark


 ___
 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] kerberos SSO - strip domainname from username

2013-03-06 Thread Mark Jas
Has anyone xwiki 4.5 with kerberos SSO working?


-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Mark Jas
Verzonden: dinsdag 5 maart 2013 16:35
Aan: users@xwiki.org
Onderwerp: [xwiki-users] kerberos SSO - strip domainname from username

Hi all,

 
I have configured xwiki with LDAP authentication and kerberos SSO.

When I use a browser without automatic Kerberos SSO, I get a keberos login 
page. When I fill in username and password manually it works great.

But when I set the browser to use automatic logon, I get the xwiki login page! 
(at least in FireFox, IE says cannot show page)

I get the same results when I manually login with username@DOMAIN and 
password.  So I think the domain part is used in the automatic logon. (and is 
the actual problem...)

 
I see there is java code that strips the @DOMAIN part from the username. But I 
have no idea how or where to implement this. I hope some can help me!

 
Mark

 
___
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


[xwiki-users] kerberos SSO - strip domainname from username

2013-03-05 Thread Mark Jas
Hi all,

 
I have configured xwiki with LDAP authentication and kerberos SSO.

When I use a browser without automatic Kerberos SSO, I get a keberos login 
page. When I fill in username and password manually it works great.

But when I set the browser to use automatic logon, I get the xwiki login page! 
(at least in FireFox, IE says “cannot show page”)

I get the same results when I manually login with “username@DOMAIN” and 
“password”.  So I think the domain part is used in the automatic logon. (and is 
the actual problem…)

 
I see there is java code that strips the @DOMAIN part from the username. But I 
have no idea how or where to implement this. I hope some can help me!

 
Mark

 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Notification on comment

2012-10-12 Thread Mark Zimmermann
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] AD group mapping problem

2012-06-20 Thread Mark Jas
Hello,

 
I’m using Xwiki enterprise 4.1 with LDAP authentication to an Active Directory 
server. Authentication works fine, but my group mappings don’t work.

 
I think the problem is that I’m using sAMAccountName as UID_attr, but the 
memberfields of my groups contain the full ldap-dn of the user. So this way, 
they do not match and users are not seen as members in the group.

Is my assumption correct? And is there a solution for this problem?

 
(I have an other site with an OpenLDAP server which has normal uid’s in the 
group memberfields. This one works fine!)

 
Regards,

 
Mark

 
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] AD group mapping problem

2012-06-20 Thread Mark Jas
The LDAP debugging log revealed that my group dn was incorrect. :-S
Thanks for your help!


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Page title bugs when using objects in XE 3.4?

2012-01-30 Thread Mark Wallace
Are these bugs in XE 3.4?  When I create a new class and then objects of 
that class, the page title is the name of the class sheet, not the name 
I entered for the page (which is what I'd expect and what you'd see in 
earlier versions such as XE 3.1).  I call this BUG 2 in the steps to 
reproduce, below.  While we're at it, there is also what I call BUG 1 in 
the steps below, where it appears the name of the class does not show up 
in the bread crumbs trail (or whatever you call that) at the top of 
the page.


Steps to reproduce:

1.Log in as Administrator

2.Go to /Data types/ page 
(http://localhost:8080/xwiki/bin/view/XWiki/XWikiClasses)


3.Enter class name /TitleTest/ and click /Create This Class/; (system 
shows an edit page)


4.Click /Save  View/; (system shows the class page)

5.Click on /class editor/ link; (system shows editing class page)

6.Enter property name /aString/ with type /String/ and click /ADD/ button

7.Click /Save  View/

8.*BUG 1*: Note that at top of page, says Wiki Home  XWiki Space  
Data Types  (blank).Shouldn't there be the class name here?)


9.Click /Create the Document Sheet/

10.Click /Bind the sheet to the class/

11.Click /Create the Class Template/

12.Click /Add a TitleTest object to the template/

13.Under /Create a new document/, enter Document name /TestDoc1/ and 
click /Create this Document/


14.Enter the value /some value/ for the /aString/ property and click 
/Save  View/


15.*BUG 2*(?): Note that the largest text on the page is /TitleTestClass 
Sheet/ --shouldn't this be the page name we used to create the new 
document, the same name that is at the end of the URL 
(http://localhost:8080/xwiki/bin/view/Main/TestDoc1), which is TestDoc1??


16.Click /Edit  Wiki/, and enter the title /TestDoc1/ and click /Save  
View/.


17.Note that the largest text on the page still says /TitleTestClass 
Sheet/ --shouldn't this be the title we just entered??




--
Mark Wallace
Principal Engineer, Semantic Applications
Modus Operandi, Inc.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] how to set Join separator (for display) to be newline?

2011-12-14 Thread Mark Wallace
In a multiple select item in a class definition, how do you set the 
Join separator (for display) to be a newline?


--
Mark Wallace
Principal Engineer, Semantic Applications
Modus Operandi, Inc.

CONFIDENTIALITY NOTICE: The information transmitted (including 
attachments) is covered by the Electronic Communications Privacy Act, 18 
U.S.C. 2510-2521. This transmission is intended only for the person(s) 
or entity/entities to which it is addressed and may contain confidential 
and/or proprietary material. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient or 
have received this transmission in error, please contact the sender by 
reply e-mail and destroy all copies of the original message.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Antw: Re: Linking images in the wysiwyg editor

2011-05-31 Thread Mark Zimmermann
Hi,
i get another error in the console on all pages, maybe it helps:

Script (
https://intranet.trox.de/xwiki/wiki/intranet/jsx/AnnotationCode/Script?language=de
)GET
https://intranet.trox.de/xwiki/wiki/intranet/jsx/AnnotationCode/Script?language=de
403 (Forbidden)
Settings (
https://intranet.trox.de/xwiki/wiki/intranet/jsx/AnnotationCode/Settings?language=de
)GET
https://intranet.trox.de/xwiki/wiki/intranet/jsx/AnnotationCode/Settings?language=de
403 (Forbidden)
Settings (
https://intranet.trox.de/xwiki/wiki/intranet/ssx/AnnotationCode/Settings?language=de
)GET
https://intranet.trox.de/xwiki/wiki/intranet/ssx/AnnotationCode/Settings?language=de
403 (Forbidden)
Style (
https://intranet.trox.de/xwiki/wiki/intranet/ssx/AnnotationCode/Style?language=de
)GET
https://intranet.trox.de/xwiki/wiki/intranet/ssx/AnnotationCode/Style?language=de
403 (Forbidden)

These errors are not there when a admin user is used.

We are using Apache/2.2.3 (Linux/SUSE) with Single-Sign-On for local
users by ldap. But Single-Sign-On is not integrated into xwiki.
Java is done by the Trifork Application Server.

Usernames are like zimmermann or mzimmer or eb-zimmer. Nothing
special.

I can only see a cookie for xwiki with the JSESSIONID.

Yours,
Mark

 


Von: Sergiu Dumitriu ser...@xwiki.com
An:XWiki Users users@xwiki.org
Datum: 31.05.2011 02:44
Betreff: Re: [xwiki-users] Antw: Re:  Linking images in the wysiwyg
editor
On 05/30/2011 04:20 PM, Mark Zimmermann wrote:
 Hello,

 authentification is done with ldap. We only customized the skin.
 Changing the skin by adding ?skin=toucan does not help.

So it should work. I just tried it on xwiki.org, and the behavior was
as 
expected.

 Here some output:

https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/ASIM/

 --  The request requires user authentication

Hm, somehow the authentication cookies don't make it to the REST 
component...

Assuming you're using an Apache httpd frontend, is there anything 
special happening in there?

Is there something special with the username?

Can you check with Firebug if the authentication cookies are sent when

requesting this page?


https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/

 --  works, XML File output

https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/

 --  works, XML File
 https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/ -- 
works,
 XML File
 https://intranet.trox.de/xwiki/rest/wikis/intranet/ The server has
not
 found anything matching the request URI
 https://intranet.trox.de/xwiki/rest/wikis/ --  works, XML File

 Thanks for any advice!



 Von: Sergiu Dumitriuser...@xwiki.com
 An:XWiki Usersusers@xwiki.org
 Datum: 26.05.2011 19:21
 Betreff: Re: [xwiki-users] Antw: Re:  Linking images in the wysiwyg
 editor
 On 05/26/2011 04:26 PM, Mark Zimmermann wrote:
 Hi Marius,

 thanks for the manual to get nearer to the failure.

 As a normal user i get this response:


https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/ASIM/attachments?undefined=nullr=628499


 401 Unauthorized
 As admin:
 ... 200 OK

 This means that the REST requests are not properly authenticated.
Are
 you using a custom authenticator or rights manager, or are you on a
 default XE?

 Can you try going up the hierarchy of that URL, removing one by one
the

 pieces at the end, like:


https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/ASIM/



https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/



https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/


 https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/ 
 https://intranet.trox.de/xwiki/rest/wikis/intranet/ 
 https://intranet.trox.de/xwiki/rest/wikis/ 

 Do they all return a 401 response?

 I suppose the list of attachments is empty for a regular user and
 not
 empty for an admin, right? Yes
 All pages are edited and filled by regular users. Admins are only
 for
 administration, they do not work in the pages.

 Do you have any suggestions?

 Yours,
 Mark





 Von: Marius Dumitru Floreamariusdumitru.flo...@xwiki.com
 An:users@xwiki.org
 Datum: 26.05.2011 11:59
 Betreff: Re: [xwiki-users] Antw: Re:  Linking images in the wysiwyg
 editor
 On 05/26/2011 08:46 AM, Mark Zimmermann wrote:
 Hi Marius,

 here you find the picture in a better place.

 http://www.trox.de/service/Dialog.png 

 What happend:
 - An attachment is already uploaded and linked to a wiki page
 - FYI: Files are stored in DB
 - Open a wiki page
 - Choose WYSIWYG Editor
 - Mark a word, click Link in the Menu
 - The Link Dialog opens
 - I browse through all Pages in the XWIKI tree
 - I can not find my files (any file in the whole tree)

 Note: If the attachments are on the same page, they are displayed,
 like
 on the left side, but can not be seen in the tree on the right
side

 And if I am logged in as an Administrator

Re: [xwiki-users] Antw: Re: Linking images in the wysiwyg editor

2011-05-30 Thread Mark Zimmermann
Hello,
 
authentification is done with ldap. We only customized the skin.
Changing the skin by adding ?skin=toucan does not help.
 
Here some output:
https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/ASIM/
-- The request requires user authentication
https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/
-- works, XML File output
https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/
-- works, XML File
https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/ -- works,
XML File
https://intranet.trox.de/xwiki/rest/wikis/intranet/ The server has not
found anything matching the request URI
https://intranet.trox.de/xwiki/rest/wikis/ -- works, XML File
 
Thanks for any advice!


 
Von: Sergiu Dumitriu ser...@xwiki.com
An:XWiki Users users@xwiki.org
Datum: 26.05.2011 19:21
Betreff: Re: [xwiki-users] Antw: Re:  Linking images in the wysiwyg
editor
On 05/26/2011 04:26 PM, Mark Zimmermann wrote:
 Hi Marius,

 thanks for the manual to get nearer to the failure.

 As a normal user i get this response:

https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/ASIM/attachments?undefined=nullr=628499

 401 Unauthorized
 As admin:
 ... 200 OK

This means that the REST requests are not properly authenticated. Are 
you using a custom authenticator or rights manager, or are you on a 
default XE?

Can you try going up the hierarchy of that URL, removing one by one the

pieces at the end, like:

https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/ASIM/

https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/

https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/

https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/ 
https://intranet.trox.de/xwiki/rest/wikis/intranet/ 
https://intranet.trox.de/xwiki/rest/wikis/ 

Do they all return a 401 response?

 I suppose the list of attachments is empty for a regular user and
not
 empty for an admin, right? Yes
 All pages are edited and filled by regular users. Admins are only
for
 administration, they do not work in the pages.

 Do you have any suggestions?

 Yours,
 Mark





 Von: Marius Dumitru Floreamariusdumitru.flo...@xwiki.com
 An:users@xwiki.org
 Datum: 26.05.2011 11:59
 Betreff: Re: [xwiki-users] Antw: Re:  Linking images in the wysiwyg
 editor
 On 05/26/2011 08:46 AM, Mark Zimmermann wrote:
 Hi Marius,

 here you find the picture in a better place.

 http://www.trox.de/service/Dialog.png 

 What happend:
 - An attachment is already uploaded and linked to a wiki page
 - FYI: Files are stored in DB
 - Open a wiki page
 - Choose WYSIWYG Editor
 - Mark a word, click Link in the Menu
 - The Link Dialog opens
 - I browse through all Pages in the XWIKI tree
 - I can not find my files (any file in the whole tree)

 Note: If the attachments are on the same page, they are displayed,
 like
 on the left side, but can not be seen in the tree on the right side

 And if I am logged in as an Administrator, everything works
 perfectly.

 This suggests that you're having a rights issue. I tested both
locally

 with a fresh XWiki Enterprise 2.7 and also on a 2.7 XWiki Enterprise
 Manager (which you're using) and I couldn't reproduce your problem.
It

 would be great if you can use Firefox browser with its Firebug
 extension
 to check the response received to the REST request that is supposed
to

 retrieve the list of attachments:

 * open Firebug and go to the console tab (enable it if it is
disabled)
 * open the link dialog and browse the tree to a document that you
know

 it has attachments.
 * expand the Attachments node
 * the last request logged in the console should look like:


http://server/xwiki/rest/wikis/subwiki/spaces/spaceName/pages/pageName/attachments

 Check the XML response. I suppose the list of attachments is empty
for
 a
 regular user and not empty for an admin, right? You can copy the URL
 and
 try it in a separate browser tab/window, once for a regular user and
 once for an admin. Does it happen for all pages, even for pages
created

 by the regular user and which have files attached by the regular
user?

 Is there anything logged in the server console when the
Attachments
 node is expanded?

 Hope this helps,
 Marius


 Thanks,
 Mark




 Von: Marius Dumitru Floreamariusdumitru.flo...@xwiki.com
 An:users@xwiki.org
 Datum: 26.05.2011 00:48
 Betreff: Re: [xwiki-users] Linking images in the wysiwyg editor
 Hi Mark,

 This mailing list forbids mail attachments. Could you upload your
 image

 on a public site? Also, can you detail a bit the steps need to
 reproduce
 the problem? I suppose you are attaching the file to the currently
 edited page, so from the Current page tab. Is that right?

 Thanks,
 Marius

 On 05/25/2011 01:25 PM, Mark Zimmermann wrote:
 Hello,
 we are using XWIKI ENTERPRISE 2.7.33656. Attaching of files to a
 wiki
 page is working properly

Re: [xwiki-users] Antw: Re: Linking images in the wysiwyg editor

2011-05-26 Thread Mark Zimmermann
Hi Marius,
 
thanks for the manual to get nearer to the failure.
 
As a normal user i get this response:
https://intranet.trox.de/xwiki/rest/wikis/intranet/spaces/EB%20Knowledge%20Base/pages/ASIM/attachments?undefined=nullr=628499
401 Unauthorized
As admin:
... 200 OK
 
I suppose the list of attachments is empty for a regular user and not
empty for an admin, right? Yes
All pages are edited and filled by regular users. Admins are only for
administration, they do not work in the pages.
 
Do you have any suggestions?
 
Yours,
Mark


 


Von: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com
An:users@xwiki.org
Datum: 26.05.2011 11:59
Betreff: Re: [xwiki-users] Antw: Re:  Linking images in the wysiwyg
editor
On 05/26/2011 08:46 AM, Mark Zimmermann wrote:
 Hi Marius,

 here you find the picture in a better place.

 http://www.trox.de/service/Dialog.png

 What happend:
 - An attachment is already uploaded and linked to a wiki page
 - FYI: Files are stored in DB
 - Open a wiki page
 - Choose WYSIWYG Editor
 - Mark a word, click Link in the Menu
 - The Link Dialog opens
 - I browse through all Pages in the XWIKI tree
 - I can not find my files (any file in the whole tree)

 Note: If the attachments are on the same page, they are displayed,
like
 on the left side, but can not be seen in the tree on the right side

 And if I am logged in as an Administrator, everything works
perfectly.

This suggests that you're having a rights issue. I tested both locally

with a fresh XWiki Enterprise 2.7 and also on a 2.7 XWiki Enterprise 
Manager (which you're using) and I couldn't reproduce your problem. It

would be great if you can use Firefox browser with its Firebug
extension 
to check the response received to the REST request that is supposed to

retrieve the list of attachments:

* open Firebug and go to the console tab (enable it if it is disabled)
* open the link dialog and browse the tree to a document that you know

it has attachments.
* expand the Attachments node
* the last request logged in the console should look like:

http://server/xwiki/rest/wikis/subwiki/spaces/spaceName/pages/pageName/attachments

Check the XML response. I suppose the list of attachments is empty for
a 
regular user and not empty for an admin, right? You can copy the URL
and 
try it in a separate browser tab/window, once for a regular user and 
once for an admin. Does it happen for all pages, even for pages created

by the regular user and which have files attached by the regular user?

Is there anything logged in the server console when the Attachments 
node is expanded?

Hope this helps,
Marius


 Thanks,
 Mark




 Von: Marius Dumitru Floreamariusdumitru.flo...@xwiki.com
 An:users@xwiki.org
 Datum: 26.05.2011 00:48
 Betreff: Re: [xwiki-users] Linking images in the wysiwyg editor
 Hi Mark,

 This mailing list forbids mail attachments. Could you upload your
image

 on a public site? Also, can you detail a bit the steps need to
 reproduce
 the problem? I suppose you are attaching the file to the currently
 edited page, so from the Current page tab. Is that right?

 Thanks,
 Marius

 On 05/25/2011 01:25 PM, Mark Zimmermann wrote:
 Hello,
 we are using XWIKI ENTERPRISE 2.7.33656. Attaching of files to a
 wiki
 page is working properly with the WYSIWYG editor.
 If I want to link to the attached file another time from the same
 location or another location i do not see the file in the document
 tree
 of the link window. No file is displayed here, but if the file is
 stored
 on the same page it is only displayed in the first tab of this
 dialog.
 For better understanding, there is an image of these dialogs
 attached.
 Thanks for any help.
 Yours, Mark

 ___
 TROX GmbH
 Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
 Amtsgericht Kleve, HRB 4997

 Geschäftsführung:
 Udo Brinkmann, Lutz Reuter

 Aufsichtsrat:
 Dr. Wilhelm Dettmering (Vorsitzender)



 ___
 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

 ___
 TROX GmbH
 Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
 Amtsgericht Kleve, HRB 4997

 Geschäftsführung:
 Udo Brinkmann, Lutz Reuter

 Aufsichtsrat:
 Dr. Wilhelm Dettmering (Vorsitzender)
 ___
 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

___
TROX GmbH
Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
Amtsgericht Kleve, HRB 4997

Geschäftsführung:
Udo Brinkmann, Lutz Reuter

Aufsichtsrat:
Dr. Wilhelm Dettmering (Vorsitzender)
___
users mailing list
users

[xwiki-users] Linking images in the wysiwyg editor

2011-05-25 Thread Mark Zimmermann
Hello,
we are using XWIKI ENTERPRISE 2.7.33656. Attaching of files to a wiki
page is working properly with the WYSIWYG editor.
If I want to link to the attached file another time from the same
location or another location i do not see the file in the document tree
of the link window. No file is displayed here, but if the file is stored
on the same page it is only displayed in the first tab of this dialog.
For better understanding, there is an image of these dialogs attached.
Thanks for any help.
Yours, Mark

___
TROX GmbH
Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
Amtsgericht Kleve, HRB 4997

Geschäftsführung:
Udo Brinkmann, Lutz Reuter

Aufsichtsrat:
Dr. Wilhelm Dettmering (Vorsitzender)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Antw: Re: Linking images in the wysiwyg editor

2011-05-25 Thread Mark Zimmermann
Hi Marius,
 
here you find the picture in a better place.
 
http://www.trox.de/service/Dialog.png
 
What happend:
- An attachment is already uploaded and linked to a wiki page
- FYI: Files are stored in DB
- Open a wiki page
- Choose WYSIWYG Editor
- Mark a word, click Link in the Menu
- The Link Dialog opens
- I browse through all Pages in the XWIKI tree
- I can not find my files (any file in the whole tree)
 
Note: If the attachments are on the same page, they are displayed, like
on the left side, but can not be seen in the tree on the right side
And if I am logged in as an Administrator, everything works perfectly.
 
Thanks,
Mark

 


Von: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com
An:users@xwiki.org
Datum: 26.05.2011 00:48
Betreff: Re: [xwiki-users] Linking images in the wysiwyg editor
Hi Mark,

This mailing list forbids mail attachments. Could you upload your image

on a public site? Also, can you detail a bit the steps need to
reproduce 
the problem? I suppose you are attaching the file to the currently 
edited page, so from the Current page tab. Is that right?

Thanks,
Marius

On 05/25/2011 01:25 PM, Mark Zimmermann wrote:
 Hello,
 we are using XWIKI ENTERPRISE 2.7.33656. Attaching of files to a
wiki
 page is working properly with the WYSIWYG editor.
 If I want to link to the attached file another time from the same
 location or another location i do not see the file in the document
tree
 of the link window. No file is displayed here, but if the file is
stored
 on the same page it is only displayed in the first tab of this
dialog.
 For better understanding, there is an image of these dialogs
attached.
 Thanks for any help.
 Yours, Mark

 ___
 TROX GmbH
 Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
 Amtsgericht Kleve, HRB 4997

 Geschäftsführung:
 Udo Brinkmann, Lutz Reuter

 Aufsichtsrat:
 Dr. Wilhelm Dettmering (Vorsitzender)



 ___
 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

___
TROX GmbH
Heinrich-Trox-Platz, 47504 Neukirchen-Vluyn
Amtsgericht Kleve, HRB 4997

Geschäftsführung:
Udo Brinkmann, Lutz Reuter

Aufsichtsrat:
Dr. Wilhelm Dettmering (Vorsitzender)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] problem displaying empty list as property in class sheet velocity script

2011-03-11 Thread Mark Wallace
I am having a velocity script problem with a class sheet when I try to 
display an empty list on an object.

My goal is for the class sheet to render class properties that start 
with a _ as hot-links, and those that don't to just be rendered as text.


The class sheet is for PersonClass, and looks like this:

{{velocity}}
#set ($obj = $doc.getObject('XWiki.PersonClass'))
#set($class = $obj.xWikiClass)
#foreach($prop in $class.properties)
   ; $prop.prettyName
   #set ($propName = $prop.getName())
   #set ($propVal = $obj.get($propName) )
   #if ($propName.startsWith(_))
 : $propVal  (why does this one not show?)
 : [[$propVal$propVal]]  (but this one does show?)
   #else
 : $doc.display($prop.getName())
   #end
#end
{{/velocity}}


The PersonClass has two properties:

(1)  name (a string)

(2)  _knows (a DatabaseList with multiple select and XWiki Class Name of 
XWiki.PersonClass)


I create an object using this class, with name set to C S Lewis and 
with no selection for the _knows field (empty list).

The problem is, the velocity line:

 : $propVal  (why does this one not show?)

works properly... not displaying anything for property _knows (empty 
list), but the line:

 : [[$propVal$propVal]]  (but this one does show?)

which is the line I really want to use in the class sheet, because it 
creates the hot links, shows the value from the previous property as a 
hot link.  I.e. it looks like this:

name
C S Lewis

_knows
 (why does this one not show?)
C S Lewis  (but this one does show?)


Not what I wanted.  Why does it do this?  How can I get empty lists to 
show no page links, but lists with one or more items to display them as 
a bunch of hot links?

Thanks,
  -Mark


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] how to not show watchlist items in 'recently modified' panel?

2011-02-24 Thread Mark Wallace
I tried doing it this way... by editing the Recently Modified documents 
panel and changing the first line to:

#set($recentlyModified = $xwiki.searchDocuments(where doc.fullName
not like 'Scheduler%' and doc.fullName not like 'XWiki%'  order by
doc.date desc, 5, 0))

I.e., I added some filters to omit pages from the Scheduler and XWiki 
spaces.

Other ideas?

  -Mark

On 2/23/2011 8:12 AM, Mark Wallace wrote:
 Is there a way to avoid showing pages such as Watchlist hourly email
 notifier in the Recently Modified panel on the wiki?  I'd like to
 avoid showing, in the Recently Modified panel,  any system page (for
 lack of a better name... ), i.e., pages that are not normally edited by
 a user.

 E.g. my Recently Modified panel currently shows

  * Watchlist hourly email notifier
  * Watchlist daily email notifier
  * Data Source Implementation Questions
  * jpascual
  * Skin

 I'd consider all but the middle one Data Source Implementation
 Questions to be system pages that aren't interesting to the typical
 user.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] how to not show watchlist items in 'recently modified' panel?

2011-02-23 Thread Mark Wallace
Is there a way to avoid showing pages such as Watchlist hourly email 
notifier in the Recently Modified panel on the wiki?  I'd like to 
avoid showing, in the Recently Modified panel,  any system page (for 
lack of a better name... ), i.e., pages that are not normally edited by 
a user.

E.g. my Recently Modified panel currently shows

* Watchlist hourly email notifier
* Watchlist daily email notifier
* Data Source Implementation Questions
* jpascual
* Skin

I'd consider all but the middle one Data Source Implementation 
Questions to be system pages that aren't interesting to the typical 
user.

-- 
Mark Wallace
Principal Engineer, Semantic Applications
Modus Operandi, Melbourne, FL, USA

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] meaning of milestone 1 of XE 3.0?

2011-01-30 Thread Mark D. Anderson
Thanks a bunch to Sergiu and Marius.
I just wish my consulting clients had as mature and explicit a process :)

-mda
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] meaning of milestone 1 of XE 3.0?

2011-01-29 Thread Mark D. Anderson
Hi -

I see that XWiki Enterprise 3.0 Milestone 1 was just released a week ago.
I also found the roadmap at 
http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap

I can't tell from the announcement however what the intended use is...
Is this something that is likely to blow up (alpha quality)?
At what point in the roadmap does it make
sense for a new install to try a 3.0.x release instead of 2.x release?

In addition to stability of the software, what about stability of any
APIs - are those frozen in M1?
If I adopt M1, will M2 automatically upgrade from M1, or are automatic
upgrades only assured for migration from a stable 2.x release?

When 3.0 final is out, will work on 2.7 basically stop?

Will the current release of XWord work with XE 3.0M1?

Regarding extensions, the listing at 
http://extensions.xwiki.org/xwiki/bin/view/Main/
says nothing about version compatibility. I'm guessing that because of the 
velocity upgrade,
trying any extension with heavy velocity usage would be a gamble with XE 3.0M1 ?
Or is there an automatic smoke test report somewhere of what extensions are
certain to not work?

Sorry for all the questions, but I seem to have hit xwiki at a cusp in its 
lifecycle
so I'm in a quandary about which version to start with.

-mda
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Mediawiki syntax

2010-12-13 Thread Mark Diggory
How do I enable Mediawiki syntax in the latest snapshot of XWiki?

thanks,
Mark
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Mediawiki syntax

2010-12-13 Thread Mark Diggory
Thanks , that did work to enable it and I'm now able to add pages from
Mediawiki.  There are some formatting discrepancies with out code blocks,
numbered lists and links to prefixed (User:Blaa) mediawiki pages are
rendered, but overall seems very close

Cheers,
Mark

On Mon, Dec 13, 2010 at 11:42 AM, Ricardo Rodriguez [eBioTIC.] 
ricardo.rodrig...@ebiotic.net wrote:

 Hi Mark,

 Mark Diggory wrote:
  How do I enable Mediawiki syntax in the latest snapshot of XWiki?
 
  thanks,
  Mark
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 I' have not checked if there is any change in the way available syntaxes
 are set, I don't think so. I've tried to add Mediawiki/1.0 syntax to a
 XE 2.7-SNAPSHOT.33319 and it works without a glitch. Just edit xwiki.cfg
 and add this syntax to xwiki.rendering.syntaxes list of values.

 HTH,

 Ricardo

 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Mark R. Diggory
@mire - www.atmire.com
2888 Loker Avenue East - Suite 305 - Carlsbad - CA - 92010
Technologielaan 9 - 3001 Heverlee - Belgium
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Mediawiki syntax

2010-12-13 Thread Mark Diggory
Thanks , that did work to enable it and I'm now able to add pages from
Mediawiki.  There are some formatting discrepancies with out code blocks,
numbered lists and links to prefixed (User:Blaa) mediawiki pages are
rendered, but overall seems very close

Cheers,
Mark

On Mon, Dec 13, 2010 at 11:42 AM, Ricardo Rodriguez [eBioTIC.] 
ricardo.rodrig...@ebiotic.net wrote:

 Hi Mark,

 Mark Diggory wrote:
  How do I enable Mediawiki syntax in the latest snapshot of XWiki?
 
  thanks,
  Mark
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 I' have not checked if there is any change in the way available syntaxes
 are set, I don't think so. I've tried to add Mediawiki/1.0 syntax to a
 XE 2.7-SNAPSHOT.33319 and it works without a glitch. Just edit xwiki.cfg
 and add this syntax to xwiki.rendering.syntaxes list of values.

 HTH,

 Ricardo

 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 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] Mediawiki syntax

2010-12-13 Thread Mark Diggory
Is there a quick means to convert the page to XWiki Syntax once I've added
it?

On Mon, Dec 13, 2010 at 12:35 PM, Vincent Massol vinc...@massol.net wrote:

 Hi Mark,

 We're using the mediawiki parser from wikimodel (
 http://code.google.com/p/wikimodel/). There are some known issues, see:
 http://code.google.com/p/wikimodel/issues/list

 Feel to report new issues you find there or in the XWiki JIRA project at
 http://jira.xwiki.org.

 Note that compared to the XWiki Syntax there are quite a lot of things you
 cannot do with the mediawiki syntax. That's why we recommend using the XWiki
 Syntax 2.0 as much as possible.

 Thanks
 -Vincent

 On Dec 13, 2010, at 9:22 PM, Mark Diggory wrote:

  Thanks , that did work to enable it and I'm now able to add pages from
  Mediawiki.  There are some formatting discrepancies with out code blocks,
  numbered lists and links to prefixed (User:Blaa) mediawiki pages are
  rendered, but overall seems very close
 
  Cheers,
  Mark
 
  On Mon, Dec 13, 2010 at 11:42 AM, Ricardo Rodriguez [eBioTIC.] 
  ricardo.rodrig...@ebiotic.net wrote:
 
  Hi Mark,
 
  Mark Diggory wrote:
  How do I enable Mediawiki syntax in the latest snapshot of XWiki?
 
  thanks,
  Mark
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
  I' have not checked if there is any change in the way available syntaxes
  are set, I don't think so. I've tried to add Mediawiki/1.0 syntax to a
  XE 2.7-SNAPSHOT.33319 and it works without a glitch. Just edit xwiki.cfg
  and add this syntax to xwiki.rendering.syntaxes list of values.
 
  HTH,
 
  Ricardo
 ___
 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


[xwiki-users] evaluation questions: sorted document tree; XOO; other topics

2010-12-06 Thread Mark D. Anderson
hi -

I'm one of the stranded former users of the free hosted service wik.is
which mindtouch precipitously cancelled, forcing all users to either go
to one of their paid plans (which don't match my usage), or leave.

I'm going to host it myself this time, and have been looking through
the alternatives. I'm attracted to xwiki for several reasons:
full ACL support; ldap authentication; good open source license without
a bunch of proprietary features; Balsamiq and Word integrations;
wysiwyg editing; and strong REST api.

From my first glance I do still have some reservations:


1. One concern is convenient maintenance of sorted children.
I see that in xwiki's own documentation wiki, this isn't done:
   http://platform.xwiki.org/xwiki/bin/view/AdminGuide/
is just maintained manually as an index page.

As far as I can tell, by default children are just sorted by creation order.
With the http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin
they can instead be sorted by name.
Lastly, there is 
http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin
But I really don't understand the instructions for importing a class to get
an additional sortable attribute.

Also I don't know if these plugins support sort order of spaces too, or not.

Ideally, however it is done, when a page is created, the form would have not
only the page title and parent title, but a place for an optional sort value.


2. I'd like to be able to export an entire space as a big PDF.
I can't tell if this plugin will do that:
http://code.xwiki.org/xwiki/bin/view/Applications/PDFExportPanelApplication
For example, suppose I wanted the whol xwiki AdminGuide as a single PDF,
what would I do?


3. I'd like a real bare bones look -- even slimmer than Confluence or MediaWiki,
and both of those are a little less cluttered than the Toucan skin.
I'm not finding any example skins that are like that.


4. I like the idea of supporting office app clients. 
But it seems there is some clumsiness with XOffice specifying a parent:
   http://jira.xwiki.org/jira/browse/XOFFICE-243
And I can't find any documentation on editing/creating content from OpenOffice
and/or via any webdav client. Things like URL conventions, etc.
This page http://platform.xwiki.org/xwiki/bin/view/DevGuide/Architecture
mentions XOO (Xwiki OpenOffice) but there is nothing else about it:
  http://www.xwiki.org/xwiki/bin/view/Main/Search?text=XOOwikinames=space=


5. I might be blind but I can't find any documentation for the blogging support.


6. The page http://code.xwiki.org/xwiki/bin/view/Plugins/
says Components are preferred over plugins but the link to Components goes 
nowhere.
In general the documentation wiki is pretty confusing. The Enterprise docs link 
to basically
all the same places as the platform docs. There seems to be a mixture of 
information that is
years out of date and information about ideas not yet implemented. Sadly it is 
an example
of the dangers of using a wiki :(.

-mda


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] evaluation questions: sorted document tree; XOO; other topics

2010-12-06 Thread Mark D. Anderson
Thanks Ricardo and Vincent.

I think I have some answer on my questions except this one:

  4. I like the idea of supporting office app clients. 
  But it seems there is some clumsiness with XOffice specifying a parent:
http://jira.xwiki.org/jira/browse/XOFFICE-243
  And I can't find any documentation on editing/creating content from 
  OpenOffice
  and/or via any webdav client. Things like URL conventions, etc.
  This page http://platform.xwiki.org/xwiki/bin/view/DevGuide/Architecture
  mentions XOO (Xwiki OpenOffice) but there is nothing else about it:
   http://www.xwiki.org/xwiki/bin/view/Main/Search?text=XOOwikinames=space=

also, http://code.xwiki.org/xwiki/bin/view/Plugins/SortedDocumentTreePlugin
says:
   use imported class (section Installation step 3) called 
XWiki.SortedTreePageClass
where can i read what that means? (what is importing a class?)

btw, it occurs to me that the support for section editing makes it viable to 
use longer pages, which will help with both page ordering and with export to 
PDF.

-mda
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xwiki Enterprise 2.6 Apache2 + Tomcat6 + AJP connector + ProxyPass results in Infinite redirect loop on login page

2010-11-30 Thread Mark Blokpoel
Dear all, 

I have recently installed Xwiki Enterprise 2.6 on our server (Ubuntu 10), 
deployed in Tomcat6. For this server we use two domains: domain1.example.com 
and domain2.example.com. By default Tomcat (and the XWiki) can be accessed via 
http://domain1.example.com:8080/xwiki/, but for security and easy-access we 
need the xwiki to be accessed from http://domain2.example.com/xwiki. 

This is why Tomcat is fronted by Apache2 using the AJP connector via a proxy 
pass which is configured in Apache sites-enabled: 

VirtualHost *:80 
ServerAdmin r...@example.com 
DocumentRoot /var/www 
ServerName domain2.example.com 

Proxy * 
 AddDefaultCharset Off 
 Order deny,allow 
 Allow from all 
   /Proxy 

ProxyPass /xwiki ajp://localhost:8009/xwiki/ 
ProxyPassReverse /xwiki ajp://localhost:8009/xwiki/ 
/VirtualHost 

This configuration works, the xwiki can be accessed from domain1 and domain2 
however there are some problems. The first thing I noticed is that the same 
wiki has has a different skin on each domain (no xar loaded, no user logged 
in). Second whereas I can access the login page 
athttp://domain1.example.com:8080/xwiki/bin/login/XWiki/XWikiLogin, trying to 
access the login page 
athttp://domain2.example.com/xwiki/bin/login/XWiki/XWikiLogin fails with an 
infinite http redirect (redirecting to the same login page, HTTP/1.1 302 Moved 
Temporarily). 

My questions are: is this type of configuration supported? If so, why is xwiki 
generating a redirect on the login page to the login page on domain2 and not on 
domain1? Thank you for the help. 

Best, 
Mark
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users