Re: [xwiki-users] 4-byte UTF and XWiki (MySQL utf8mb4 encoding)

2016-04-08 Thread Debajit Adhikary
hars * maximum number of bytes > that such a char could have (3 for utf8, 4 for utf8mb4). > > You could make it work if you change the schema to reduce the length of > several fields, but you would do that at your own risk. > > On 04/06/2016 08:58 PM, Debajit Adhikary wrote: > > Some mor

Re: [xwiki-users] 4-byte UTF and XWiki (MySQL utf8mb4 encoding)

2016-04-06 Thread Debajit Adhikary
also https://mathiasbynens.be/notes/mysql-utf8mb4 ). On Wed, Apr 6, 2016 at 5:17 PM, Debajit Adhikary <debajit.w...@gmail.com> wrote: > I have an XWiki installation, and I noticed that emoji's were not getting > saved correctly and were rendering as question marks in XWiki. This is

[xwiki-users] 4-byte UTF and XWiki (MySQL utf8mb4 encoding)

2016-04-06 Thread Debajit Adhikary
I have an XWiki installation, and I noticed that emoji's were not getting saved correctly and were rendering as question marks in XWiki. This is caused by MySQL's default encoding which is "utf8" and not "utf8mb4" (4-byte UTF to store the full unicode character set) To fix this, I am in the

[xwiki-users] Moving an XWiki page under source control

2016-03-15 Thread Debajit Adhikary
Hi For my XWiki deployment, I need the search results to be customized. I would like to move the contents of the search results page under source control, so that I can use our continuous deployment system. What is the best way to do this? I've tried to move the search result page (and its

[xwiki-users] "XWiki is initializing" message

2015-10-16 Thread Debajit Adhikary
I am in the process of writing an extension for XWiki. Each time I make some code changes, and then refresh my local instance of XWiki I see the message "XWiki is initializing..." which takes some time to finish. For small code changes, I feel like this "initialization" step slows down my

Re: [xwiki-users] ScriptService issue --- Cannot access @Named ScriptService object through $services object

2015-10-14 Thread Debajit Adhikary
t 09:00:15, vinc...@massol.net (vinc...@massol.net > (mailto:vinc...@massol.net)) wrote: > > > >> > >> > >> On 14 Oct 2015 at 06:43:36, Marius Dumitru Florea ( > mariusdumitru.flo...@xwiki.com(mailto:mariusdumitru.flo...@xwiki.com)) > wrote: > &g

[xwiki-users] Making an HTTP POST call from an XWiki extension

2015-10-14 Thread Debajit Adhikary
What is the easiest/recommended way to make an HTTP POST or GET call from within an XWiki extension? Should I use Restlet? (I am guessing XWiki comes with Restlet support) ___ users mailing list users@xwiki.org

[xwiki-users] ScriptService issue --- Cannot access @Named ScriptService object through $services object

2015-10-13 Thread Debajit Adhikary
I created an XWiki component which is available as a jar file. I have a ScriptService class for the component too: @Role public interface SearchClient { String search(); } @Component @Singleton public class InternalSearchClient implements SearchClient { public String

[xwiki-users] ScriptService issue --- Cannot access @Named ScriptService object through $services object

2015-10-13 Thread Debajit Adhikary
I created an XWiki component which is available as a jar file. I have a ScriptService class for the component too: @Role public interface SearchClient { String search(); } @Component @Singleton public class InternalSearchClient implements SearchClient { public String

Re: [xwiki-users] Modifying the Search results page?

2015-10-09 Thread Debajit Adhikary
Thanks. On Fri, Oct 9, 2015 at 4:21 AM, Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com> wrote: > On Fri, Oct 9, 2015 at 5:04 AM, Debajit Adhikary <debaj...@gmail.com> > wrote: > > > I am trying to connect my XWiki to a third-party search engine. > >

[xwiki-users] Modifying the Search results page?

2015-10-08 Thread Debajit Adhikary
I am trying to connect my XWiki to a third-party search engine. How can I modify the search results page? I am trying to modify this page: http://localhost:8443/bin/view/Main/Search What file corresponds to this? In general, how can I find out what file serves a URL path? (I looked in

[xwiki-users] LDAP group mapping not working with Trusted LDAP

2015-09-24 Thread Debajit Adhikary
I have XWiki set up with Trusted LDAP (Kerberos + LDAP), and I am able to log in and see that my LDAP information (like full name and email) is populated in my user profile. Group mapping, however, does not work. Here is the relevant parts of my xwiki.cfg file: (Notes: - I have changed the real

Re: [xwiki-users] LDAP group mapping not working with Trusted LDAP

2015-09-24 Thread Debajit Adhikary
The issue appears to be solved now. (There was an error in my regex) On Thu, Sep 24, 2015 at 12:20 PM, Debajit Adhikary <debaj...@gmail.com> wrote: > I have XWiki set up with Trusted LDAP (Kerberos + LDAP), and I am able to > log in and see that my LDAP information (like full na

Re: [xwiki-users] Using LDAP for page access rights with Kerberos auth

2015-09-23 Thread Debajit Adhikary
work with Trusted LDAP in the first place) On Tue, Sep 22, 2015 at 11:59 PM, Thomas Mortagne <thomas.morta...@xwiki.com > wrote: > On Wed, Sep 23, 2015 at 4:42 AM, Debajit Adhikary <debaj...@gmail.com> > wrote: > > Thanks, I was able to set it up successfully.

Re: [xwiki-users] Using LDAP for page access rights with Kerberos auth

2015-09-22 Thread Debajit Adhikary
: > If you have an authenticator in front of XWiki that populate the > REMOTE_USER request property you could use > > http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Authenticator+Trusted+LDAP > which has been designed specifically for this use case. > > On Fri, Sep 18, 201

[xwiki-users] Using LDAP for page access rights with Kerberos auth

2015-09-17 Thread Debajit Adhikary
I have an XWiki setup that uses Kerberos for authentication. I would like to continue using Kerberos, but use LDAP groups for controlling page access rights. How could I do this? (If you could point me in the right direction, or to any appropriate documentation, that would be a big help)

Re: [xwiki-users] Configuration setting to force reading from database?

2015-05-11 Thread Debajit Adhikary
be interesting to implement in the future, you could create a jira issue about this if you’re interested. Thanks-Vincent On 8 May 2015 at 20:12:25, Debajit Adhikary (deba...@outlook.com) wrote: Is there a configuration setting to force all hosts in a cluster to read from the database (instead

[xwiki-users] Configuration setting to force reading from database?

2015-05-08 Thread Debajit Adhikary
Is there a configuration setting to force all hosts in a cluster to read from the database (instead of reading from the cache) each time a wiki page is requested? ___ users mailing list users@xwiki.org

[xwiki-users] Slow cache sync with JGroups / S3 in an EC2 cluster

2015-05-07 Thread Debajit Adhikary
We have deployed XWiki over a two-node EC2 cluster. We are using JGroups over S3 for cluster messaging as multicast does not work in EC2. I have noticed that if I edit a page on host A, and then refresh the same page from host B, it shows stale content — it takes up to a minute for the caches

[xwiki-users] Moving a page and its hierarchy

2015-03-05 Thread Debajit Adhikary
I have a page hierarchy of the following form: + Parent1- Child1- Child2- Child2 Where one parent page has three children pages. I would like to move this entire hierarchy rooted at Parent1 to another space. If I rename Parent1, then only Parent1 gets moved to the new space, and not

Re: [xwiki-users] Flagging a page in XWiki?

2015-03-05 Thread Debajit Adhikary
: vinc...@massol.net To: deba...@outlook.com; users@xwiki.org Subject: Re: [xwiki-users] Flagging a page in XWiki? Hi, On 5 Mar 2015 at 01:22:40, Debajit Adhikary (deba...@outlook.com(mailto:deba...@outlook.com)) wrote: Is there any way for a user to flag a page in XWiki? Do you mean bookmarking

[xwiki-users] How to hide Click here to force editing link for restricted pages?

2015-03-04 Thread Debajit Adhikary
When an unauthorized user visits a restricted page, they see the message Click here to force editing — do users need to belong to a particular group to see this message? What specifically is the intent behind this feature? (I'm curious as it appears to allow other users to, in a way, bypass

[xwiki-users] Flagging a page in XWiki?

2015-03-04 Thread Debajit Adhikary
Is there any way for a user to flag a page in XWiki? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] CSRF Error when trying to edit access rights

2015-03-03 Thread Debajit Adhikary
I am trying to set up access rights for a page that I created, and when I try to revoke view permissions for a particular user, I see the following error: 2015-03-04 01:29:42 - CSRFToken: Secret token verification failed, token: xykyhIj3uArxuDcDQU9JsA, stored token: ncSmP4I2YiP6QkKCMAguDw Why

Re: [xwiki-users] CSRF Error when trying to edit access rights

2015-03-03 Thread Debajit Adhikary
I am trying to set up access rights for a page that I created, and when I try to revoke view permissions for a particular user, I see the following error: 2015-03-04 01:29:42 - CSRFToken: Secret token verification failed, token: xykyhIj3uArxuDcDQU9JsA, stored token: ncSmP4I2YiP6QkKCMAguDw

[xwiki-users] Search for all documents in a space?

2015-03-02 Thread Debajit Adhikary
What should I type in the Search field to list all the documents in a space? I tried typing in where doc.space='SpaceName' but that does not give me the expected results. I know that I can filter from the right sidebar, but how can I do this from the search field itself? (I am using XWiki 6.4)