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

2016-06-22 Thread Mark Sack
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

Re: [xwiki-users] REST API ignores type parameter

2016-05-27 Thread Mark Sack
+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

Re: [xwiki-users] REST API ignores type parameter

2016-05-25 Thread Mark Sack
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:

[xwiki-users] REST API ignores type parameter

2016-05-24 Thread Mark Sack
ity 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-AP

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

[xwiki-users] REST query to fetch filtered list of users and some of their attributes

2016-05-20 Thread Mark Sack
ang.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-

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

[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

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

[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

[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

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

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 I just assumed this extension would be the only choice for CAS authentication. So I didn't

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

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:

[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

[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

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

Re: [xwiki-users] Translation problems

2016-03-09 Thread Mark Sack
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

[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

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

Re: [xwiki-users] New versions of attachments not recognized

2016-03-02 Thread Mark Sack
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. ___ use

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:

[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

[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

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

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

[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

[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

[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

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

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"

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

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

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

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

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

[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

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

[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]

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

[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

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

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

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

[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

[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