Hi,
I've started thinking with Thomas about the new front end architecture and here's our current idea (without details) for the future:
http://dev.xwiki.org/xwiki/bin/view/Design/FrontEndArchitecture
If you have ideas about this please send them.
This message is there so that we can share a common vision for the future.
Thanks
-Vincent
Hi,
Please provide feedback for the Selective Export UI:
http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal
PS. The HTML+CSS is not final and it's tested only in Firefox. It will be
improved if it gets positive feedback.
If it doesn't display correctly, please use the IMG to visualize.
Thanks,
Caty
On Jun 24, 2010, at 5:47 PM, tmortagne (SVN) wrote:
> Author: tmortagne
> Date: 2010-06-24 17:47:52 +0200 (Thu, 24 Jun 2010)
> New Revision: 29713
>
> Modified:
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java
> Log:
> [misc] More useful debug log
>
> Modified: platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java
> =====================================…
[View More]==============================
> --- platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java 2010-06-24 15:47:15 UTC (rev 29712)
> +++ platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java 2010-06-24 15:47:52 UTC (rev 29713)
> @@ -417,7 +417,7 @@
> String passwordField = config.getLDAPParam("ldap_password_field", "userPassword", context);
> if (!connector.checkPassword(ldapDn, password, passwordField)) {
> LOG.debug("Password comparision failed, are you really sure you need validate_password ?" +
> - " If you don't enable it it does not mean use credentiel are not validated." +
> + " If you don't enable it it does not mean user credentiels are not validated." +
typo: credentials
:)
-Vincent
> " The goal of this property is to bypass standard LDAP bind.");
>
> throw new XWikiException(XWikiException.MODULE_XWIKI_USER, XWikiException.ERROR_XWIKI_USER_INIT,
>
>
[View Less]
On Jun 24, 2010, at 5:47 PM, tmortagne (SVN) wrote:
> Author: tmortagne
> Date: 2010-06-24 17:47:15 +0200 (Thu, 24 Jun 2010)
> New Revision: 29712
>
> Modified:
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java
> Log:
> [misc] More useful debug log
>
> Modified: platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java
> =====================================…
[View More]==============================
> --- platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java 2010-06-24 15:43:19 UTC (rev 29711)
> +++ platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/impl/LDAP/XWikiLDAPAuthServiceImpl.java 2010-06-24 15:47:15 UTC (rev 29712)
> @@ -416,6 +416,10 @@
> if ("1".equals(config.getLDAPParam("ldap_validate_password", "0", context))) {
> String passwordField = config.getLDAPParam("ldap_password_field", "userPassword", context);
> if (!connector.checkPassword(ldapDn, password, passwordField)) {
> + LOG.debug("Password comparision failed, are you really sure you need validate_password ?" +
typo: comparison.
-Vincent
> + " If you don't enable it it does not mean use credentiel are not validated." +
> + " The goal of this property is to bypass standard LDAP bind.");
> +
> throw new XWikiException(XWikiException.MODULE_XWIKI_USER, XWikiException.ERROR_XWIKI_USER_INIT,
> "LDAP authentication failed:" + " could not validate the password: wrong password for " + ldapDn);
> }
[View Less]
Hi all,
I wanted to insert a macro in a page using the wysiwyg and I noticed
that the macros filter (search box on top right) is not searching in the
macro ids.
For example, if I try to write "toc" I get no results. If I write
"table" I get the "Table of contents" macro as result, since its name
matches. I found this a bit annoying in my case, since i know the
macroid (if I were to write it in the wiki syntax) and I cannot find the
macro (still, I'm using the wysiwyg because I can never …
[View More]remember macro
params). Also, I use the search function because it's far easier to
filter it out then scroll for it in the list.
WDYT about searching in the macro ids as well? (1)
Also, the macro id is not displayed. This is good for simple users for
which it has no meaning, but there can be a situation when 2 macros have
the same name and same description (e.g. void description) and users
would want to be able to differentiate one from the other in the macros
list, even the simple users, I would say (for example because they
always want to use one macro of the 2 and they can never tell one from
the other only by name).
WDYT about displaying the macro is as well? (2) of course pretty small
and greyed out, like some advanced metadata.
Marius said it's no big deal to implement neither, as long as we agree.
My +1 for both (1) and (2).
Thanks,
Anca
[View Less]
Hello,
Since the invitation application is in XE, I was wondering if anyone wanted to try putting together an icon for
the invitation section in the administration interface. Sorry about the short notice, if you're all busy that's
fine, I can slap something together but it won't be nearly as good as some of the stuff I've seen (search icon).
Any takers?
Thanks,
Caleb
On Jun 23, 2010, at 12:40 PM, mflorea (SVN) wrote:
> Author: mflorea
> Date: 2010-06-23 12:40:12 +0200 (Wed, 23 Jun 2010)
> New Revision: 29668
>
> Modified:
> enterprise/trunk/distribution-test/wysiwyg-tests/src/test/it/com/xpn/xwiki/it/selenium/EditInlineTest.java
> enterprise/trunk/distribution-test/wysiwyg-tests/src/test/it/com/xpn/xwiki/it/selenium/framework/AbstractWysiwygTestCase.java
> enterprise/trunk/distribution-test/wysiwyg-tests/src/test/it/com/xpn/…
[View More]xwiki/it/selenium/framework/WysiwygTestSetup.java
> Log:
> Fixed WYSIWYG Selenium tests due to changes in the class editor.
[snip]
> +
> + /**
> + * Clicks the add property button in the class editor.
> + */
> + public void clickEditAddProperty()
> + {
> + getSelenium().click("//input[@value = 'Add']");
> + waitForCondition("(window.document.getElementsByClassName('xnotification-done')[0] != null "
> + + "&& window.document.getElementsByClassName('xnotification-done')[0].innerHTML == 'Property added')");
> + }
Shouldn't this go in the general framework in selenium-tests? Is there anything specific to the wysiwyg?
Thanks
-Vincent
[snip]
[View Less]
Hi devs,
I'm proposing to have org.xwiki.it.ui.elements.<application name> where <application name> is the name of the application containing the page.
WDYT?
Thanks
-Vincent
Hello,
I was able to create a wiki page through API but got stuck while trying to
create a wiki user following same way.
Here is the code on how I created the wiki page.
Can you advise me how to create the wiki user in the similiar manner?
public void myAddMethod()
{
final String CONTENT = "Content 101";
final String TITLE = "Title 101";
final String PARENT = "Private.WebHome";
ObjectFactory objectFactory = new ObjectFactory();
Page page …
[View More]= objectFactory.createPage();
page.setContent(CONTENT);
page.setTitle(TITLE);
page.setParent(PARENT);
HttpClient httpClient = new HttpClient();
httpClient.getState().setCredentials(AuthScope.ANY, new
UsernamePasswordCredentials("admin", "admin"));
httpClient.getParams().setAuthenticationPreemptive(true);
JAXBContext context;
try {
context =
JAXBContext.newInstance("org.xwiki.rest.model.jaxb");
Marshaller marshaller = context.createMarshaller();
Unmarshaller unmarshaller = context.createUnmarshaller();
PutMethod putMethod = new
PutMethod("http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/Private/pages/NewPage01");
putMethod.addRequestHeader("Accept",
MediaType.APPLICATION_XML.toString());
StringWriter writer = new StringWriter();
marshaller.marshal(page, writer);
RequestEntity entity;
entity = new StringRequestEntity(writer.toString(),
MediaType.APPLICATION_XML.toString(), "UTF-8");
putMethod.setRequestEntity(entity);
httpClient.executeMethod(putMethod);
} catch (JAXBException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (HttpException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
--
View this message in context: http://xwiki.475771.n2.nabble.com/Create-User-in-XWiki-from-REST-Api-tp5209…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
[View Less]