Hi everyone,
I am new to Xwiki, although fairly used to the J2EE environment.
I have searched Xwiki/Bontia/eXo sites and 3rd parties for answers to the
following questions, without limited success so far. The context is that of
a single Xwiki instance and multiple Bonita webapps.
1- Can Xwiki and Bonita integrate without using the eXo platform?
I guess the answer is Yes; and one of obvious method is to simply integrate
multiple Bonita webapps within the webapps directory of the Xwiki. Which
leads me to question 2.
2- Assuming that Bonita webapps all contain a common set of libs (starting
with the Bonita engine itself), is there a way to "factor in" these libs in
the Xwiki libs (as opposed to have them embedded in every single Bonita
webapp)?
Many thanks,
Eric
Hi!
My name is Mihai Paun, a final year, soon-to-be Bachelor of Science
student at the Faculty of Computer Science – Iasi and I would like to
apply to GSoC 2011. I am interested in the proposed project, “Mobile
Skin for XWiki Enterprise”.
I am also a web developer with ~3 years experience working with a wide
variety of technologies, both server-side and frontend”-side”. My
weapons of choice have been PHP, Ruby on Rails, Velocity & Groovy
(recently, since working on top of XWiki), writing cross-browser
compliant code with HTML & CSS and enhancing the user experience with
jQuery and prototype JS libraries.
Mobile design & development has been the focus of my spare time research
during the last year so I believe I have enough knowledge about the
particularities and pitfalls of mobile web-apps, design constraints,
platform variations and even device fragmentation.
I am both an iOS and Android user, a fanboy of none, but a follower of
good design principles and good usability, interaction and user
experience guidelines.
In few simple words, I have what it takes to build the best possible
mobile web application for the XWiki platform.
Thank you,
Mihai Paun
Hi guys, I have a problem running XE and can't solve it by myself. I have
checked out the source, and did mvn install, and if I understand the
Building documentation correctly this should be enough to run XE (I'm new to
maven). But after the building ends (with status BUILD SUCCESSFUL), I have
no jetty running. Also, near the end of build process such message shows up
4 times:
[WARNING] Cannot include project artifact:
org.xwiki.enterprise:xwiki-enterprise-jetty-hsqldb:pom:3.0-SNAPSHOT; it
doesn't have an associated file or directory.
I also tried to deploy the generated WAR but after opening up the webroot in
browser a hibernate exception shows up about error in configuration file (I
believe it can be related to the above).
Also, when I tried to build XWiki Platform, it also succeeded, but when
trying to quickly deploy app as in instructions (mvn install -Pjettyrun), I
got a message about missing archetype, with name looking like not-processed
or something:
${xwiki.db.jdbc.groupId}:${xwiki.db.jdbc.artifactId}:jar:${xwiki.db.jdbc.version}
I followed the wiki instructions exactly, what am I doing wrong?
Sometimes there is a grey area between a security vulnerability and a really nice feature. I think
it is important that everyone understand what a user should be able to do and what a user should not
be able to do since "that's not a bug, that's a feature" is cold comfort to a user who just
discovered that his security requirements were not met. Also, having a standard laid down will allow
us to better classify security issues if they are discovered (I can proudly say that we have
improved here by leaps and bounds) I have a draft document which attempts to detail that line
between bug and feature and I think it is time to move it into main space.
http://dev.xwiki.org/xwiki/bin/view/Drafts/Security+Specifications
WDYT?
Caleb
The XWiki development team is pleased to announce the release of XWiki
Enterprise 3.0 RC 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first and hopefully the last release candidate for the 3.0
version. It brings several improvements to the features introduced in
the previous milestones. The final release is planned for the beginning
of the next week.
The highlights of this release are:
* Administration section for the WYSIWYG content editor
* Attachment Selector Macro
* Improvements to the message stream, dashboard, gallery macro, search
suggest, extension manager and the administration application
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise30RC1
Thanks
-The XWiki dev team
Hi,
>> Are you sure wikiname (not a very good variable name ;) ) includes the
>> "XWiki." prefix?
When I try to use createEmptyUser(xwikiname, userRights, context) from an XWiki object (context.getWiki()) if I manually add "XWiki." in the "xwikiname" it creates an "XWiki.mynewuser", but on the Admin Users page it doesn't looks like a normal user, it lacks many of the the user properties and doesn't have the XWiki.XWikiUserSheet in it's content, also when I try to get it's XWikiDocument it appears as XWiki.XWiki.mynewuser.
I'm working with XWiki version 2.4 (xwiki-core-2.4.jar
Currently, I'm checking how XWikiSunSSOAuthenticator does it, checking what I do wrong.
Thank you,
Marco A. Gonzalez
Date: Fri, 25 Mar 2011 11:44:30 +0200
From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Subject: Re: [xwiki-devs] CAS Integration + new User creation
Hi Marco,
On 03/25/2011 10:40 AM, Marco Antonio Gonz?lez wrote:
> Hi all,
>
> I'm new developing with XWiki, and I'm not sure this list is the correct to post this, so sorry in advance for any inconvenience and my bad english.
>
> I'm trying to get an integration with CAS Auth instead of own XWiki Auth, but when I try to create a user on my own implementation of XWikiAuthServiceImpl, the user is created on XWiki space, but when i log into XWiki and Main is my default Space, the Profile link on top points to /xwiki/bin/view/Main/mynewuser instead of /xwiki/bin/view/XWiki/mynewuser where I can edit his first name, surname, etc. Is this the default behaviour? If not, any suggestions of what I do wrong?
>
> The autentication code is, in my CASAuthServiceImpl class:
>
> public XWikiUser checkAuth(XWikiContext context) throws XWikiException {
> String remoteUser = context.getRequest().getRemoteUser();
> String wikiname = "";
> if ((remoteUser == null) || remoteUser.equals("")) {
> getLogger().warn("checkAuth: User cannot be authenticated (REMOTE_USER is null)");
> try {
> context.getResponse().sendRedirect("/cas/login");
> } catch (IOException ioe) {
> getLogger().warn("checkAuth: CAS Error. Let XWiki handle it. ");
> return super.checkAuth(context);
> }
> } else if (remoteUser.equalsIgnoreCase("xwiki")) {
> getLogger().warn("checkAuth: User is XWIKI (superadmin)");
> wikiname = "XWiki.superadmin";
> } else {
> XWiki wiki = context.getWiki();
> wikiname = wiki.clearName(remoteUser, true, true, context);
Are you sure wikiname (not a very good variable name ;) ) includes the
"XWiki." prefix?
> this.context.getWiki().createEmptyUser(wikiname, "edit", context);
> }
> context.setUser(wikiname);
References are resolved relative to the current context:
Foo -> currentWiki:currentSpace.Foo
Bar.Foo -> currentWiki:Bar.Foo
wiki:Bar.Foo -> wiki:Bar.Foo
Hope this helps,
Marius
> return new XWikiUser(wikiname);
> } catch (XWikiException e) {
> getLogger().error("checkAuth: Cannot validate user. " + e.getMessage());
> throw e;
> }
>
> Thank you,
> Marco A. Gonzalez
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
Thank you, i'll check it.
Regards,
Marco A. González
----- Reply message -----
De: "Kevin Foote" <kpfoote(a)iup.edu>
Para: "Marco Antonio González" <magonzalez(a)grupointermark.com>, "Developers at xwiki. org (devs(a)xwiki.org)" <devs(a)xwiki.org>
Asunto: [xwiki-devs] CAS Integration + new User creation
Fecha: vie., mar. 25, 2011 10:06
Marco,
I followed the sun-sso example here.
It should get you pointed in the right direction.
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/authenticators/
Sent from mobile
----- Reply message -----
From: "Marco Antonio González" <magonzalez(a)grupointermark.com>
Date: Fri, Mar 25, 2011 4:40 am
Subject: [xwiki-devs] CAS Integration + new User creation
To: "Developers at xwiki. org (devs(a)xwiki.org)" <devs(a)xwiki.org>
Hi all,
I'm new developing with XWiki, and I'm not sure this list is the correct to post this, so sorry in advance for any inconvenience and my bad english.
I'm trying to get an integration with CAS Auth instead of own XWiki Auth, but when I try to create a user on my own implementation of XWikiAuthServiceImpl, the user is created on XWiki space, but when i log into XWiki and Main is my default Space, the Profile link on top points to /xwiki/bin/view/Main/mynewuser instead of /xwiki/bin/view/XWiki/mynewuser where I can edit his first name, surname, etc. Is this the default behaviour? If not, any suggestions of what I do wrong?
The autentication code is, in my CASAuthServiceImpl class:
public XWikiUser checkAuth(XWikiContext context) throws XWikiException {
String remoteUser = context.getRequest().getRemoteUser();
String wikiname = "";
if ((remoteUser == null) || remoteUser.equals("")) {
getLogger().warn("checkAuth: User cannot be authenticated (REMOTE_USER is null)");
try {
context.getResponse().sendRedirect("/cas/login");
} catch (IOException ioe) {
getLogger().warn("checkAuth: CAS Error. Let XWiki handle it. ");
return super.checkAuth(context);
}
} else if (remoteUser.equalsIgnoreCase("xwiki")) {
getLogger().warn("checkAuth: User is XWIKI (superadmin)");
wikiname = "XWiki.superadmin";
} else {
XWiki wiki = context.getWiki();
wikiname = wiki.clearName(remoteUser, true, true, context);
this.context.getWiki().createEmptyUser(wikiname, "edit", context);
}
context.setUser(wikiname);
return new XWikiUser(wikiname);
} catch (XWikiException e) {
getLogger().error("checkAuth: Cannot validate user. " + e.getMessage());
throw e;
}
Thank you,
Marco A. Gonzalez
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
I don't see any reason that would force us to support 2.2.x (if you
can run 2.2 there is no reason you can't run 3.0, it's not like 3.0
was working on minimum Java 6 or something) and that would improve our
ci build.
Plus I pref having a build detified working on 3.0 than 2.2 and I
don't want to build everything twice with both maven versions on our
ci build just for that.
WDYT ?
--
Thomas Mortagne
Hi all,
I'm new developing with XWiki, and I'm not sure this list is the correct to post this, so sorry in advance for any inconvenience and my bad english.
I'm trying to get an integration with CAS Auth instead of own XWiki Auth, but when I try to create a user on my own implementation of XWikiAuthServiceImpl, the user is created on XWiki space, but when i log into XWiki and Main is my default Space, the Profile link on top points to /xwiki/bin/view/Main/mynewuser instead of /xwiki/bin/view/XWiki/mynewuser where I can edit his first name, surname, etc. Is this the default behaviour? If not, any suggestions of what I do wrong?
The autentication code is, in my CASAuthServiceImpl class:
public XWikiUser checkAuth(XWikiContext context) throws XWikiException {
String remoteUser = context.getRequest().getRemoteUser();
String wikiname = "";
if ((remoteUser == null) || remoteUser.equals("")) {
getLogger().warn("checkAuth: User cannot be authenticated (REMOTE_USER is null)");
try {
context.getResponse().sendRedirect("/cas/login");
} catch (IOException ioe) {
getLogger().warn("checkAuth: CAS Error. Let XWiki handle it. ");
return super.checkAuth(context);
}
} else if (remoteUser.equalsIgnoreCase("xwiki")) {
getLogger().warn("checkAuth: User is XWIKI (superadmin)");
wikiname = "XWiki.superadmin";
} else {
XWiki wiki = context.getWiki();
wikiname = wiki.clearName(remoteUser, true, true, context);
this.context.getWiki().createEmptyUser(wikiname, "edit", context);
}
context.setUser(wikiname);
return new XWikiUser(wikiname);
} catch (XWikiException e) {
getLogger().error("checkAuth: Cannot validate user. " + e.getMessage());
throw e;
}
Thank you,
Marco A. Gonzalez
Hi devs,
I'd like to start moving very old plugins out of the core and into the
contrib/retired repository.
For the moment, this includes:
- PatternPlugin (regexp based text replacements when running the old
rendering engine)
- TablePlugin (pre-Radeox support for wiki table syntax)
- GooglePlugin (search and spelling suggestions)
- GraphViz (graph drawing, unmaintained for a long time; should be
replaced with a component)
- MailPlugin (unmaintained mailbox reading plugin)
- QueryPlugin (old, unused precursor of the query service)
- SVG (old, unmaintained plugin; should be replaced with a component)
- testPlugin (test plugin, writen as a test plugin to test the plugin
functionality :) )
- XWikiUserManagementTools (precursor for the invitation application,
unmaintained)
The remaining plugins must be rewritten as components first, since they
still provide useful functionality.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Marco,
I followed the sun-sso example here.
It should get you pointed in the right direction.
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/authenticators/
Sent from mobile
----- Reply message -----
From: "Marco Antonio González" <magonzalez(a)grupointermark.com>
Date: Fri, Mar 25, 2011 4:40 am
Subject: [xwiki-devs] CAS Integration + new User creation
To: "Developers at xwiki. org (devs(a)xwiki.org)" <devs(a)xwiki.org>
Hi all,
I'm new developing with XWiki, and I'm not sure this list is the correct to post this, so sorry in advance for any inconvenience and my bad english.
I'm trying to get an integration with CAS Auth instead of own XWiki Auth, but when I try to create a user on my own implementation of XWikiAuthServiceImpl, the user is created on XWiki space, but when i log into XWiki and Main is my default Space, the Profile link on top points to /xwiki/bin/view/Main/mynewuser instead of /xwiki/bin/view/XWiki/mynewuser where I can edit his first name, surname, etc. Is this the default behaviour? If not, any suggestions of what I do wrong?
The autentication code is, in my CASAuthServiceImpl class:
public XWikiUser checkAuth(XWikiContext context) throws XWikiException {
String remoteUser = context.getRequest().getRemoteUser();
String wikiname = "";
if ((remoteUser == null) || remoteUser.equals("")) {
getLogger().warn("checkAuth: User cannot be authenticated (REMOTE_USER is null)");
try {
context.getResponse().sendRedirect("/cas/login");
} catch (IOException ioe) {
getLogger().warn("checkAuth: CAS Error. Let XWiki handle it. ");
return super.checkAuth(context);
}
} else if (remoteUser.equalsIgnoreCase("xwiki")) {
getLogger().warn("checkAuth: User is XWIKI (superadmin)");
wikiname = "XWiki.superadmin";
} else {
XWiki wiki = context.getWiki();
wikiname = wiki.clearName(remoteUser, true, true, context);
this.context.getWiki().createEmptyUser(wikiname, "edit", context);
}
context.setUser(wikiname);
return new XWikiUser(wikiname);
} catch (XWikiException e) {
getLogger().error("checkAuth: Cannot validate user. " + e.getMessage());
throw e;
}
Thank you,
Marco A. Gonzalez
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
On Mar 24, 2011, at 8:28 AM, tmortagne (SVN) wrote:
> Author: tmortagne
> Date: 2011-03-24 08:28:33 +0100 (Thu, 24 Mar 2011)
> New Revision: 35963
>
> Modified:
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-code/src/main/java/org/xwiki/rendering/internal/parser/pygments/PygmentsParser.java
> Log:
> XWIKI-6164: PyGments: Failed to highlight content when web server is rendering another page in the same time
>
> Modified: platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-code/src/main/java/org/xwiki/rendering/internal/parser/pygments/PygmentsParser.java
> ===================================================================
> --- platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-code/src/main/java/org/xwiki/rendering/internal/parser/pygments/PygmentsParser.java 2011-03-24 02:11:29 UTC (rev 35962)
> +++ platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-code/src/main/java/org/xwiki/rendering/internal/parser/pygments/PygmentsParser.java 2011-03-24 07:28:33 UTC (rev 35963)
> @@ -210,7 +210,7 @@
> * @return the highlighted version of the provided source.
> * @throws ParseException the highlighting failed.
> */
> - private List<Block> highlight(String syntaxId, String code) throws ParseException
> + private synchronized List<Block> highlight(String syntaxId, String code) throws ParseException
> {
> PythonInterpreter interpreter = getPythonInterpreter();
Cool that we fixed this one!
IMO we need a comment mentioning that getPythonInterpreter() is not thread safe (if that's the problem).
Thanks
-Vincent
> BlocksGeneratorPygmentsListener listener = new BlocksGeneratorPygmentsListener(this.plainTextParser);
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications
On Wed, Mar 23, 2011 at 15:31, mflorea <platform-notifications(a)xwiki.org> wrote:
> Author: mflorea
> Date: 2011-03-23 15:31:42 +0100 (Wed, 23 Mar 2011)
> New Revision: 35841
>
> Modified:
> platform/core/trunk/pom.xml
> Log:
> [release] release plugin fails to create branch for xwiki-core. Try to set commons.version to an explicit value.
>
> Modified: platform/core/trunk/pom.xml
> ===================================================================
> --- platform/core/trunk/pom.xml 2011-03-23 14:12:57 UTC (rev 35840)
> +++ platform/core/trunk/pom.xml 2011-03-23 14:31:42 UTC (rev 35841)
> @@ -39,7 +39,7 @@
> <properties>
> <!-- Versions of XWiki dependencies used in Core modules -->
> <rendering.version>${project.version}</rendering.version>
> - <commons.version>${project.version}</commons.version>
> + <commons.version>3.0-SNAPSHOT</commons.version>
It's more correct that way anyway but I did not expected it to fail to
branch/release because of that.
> <!-- The previous stable version of this project, used to catch API breakages. -->
> <clirr.previous.version>2.7</clirr.previous.version>
> </properties>
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications
>
--
Thomas Mortagne
Dear Thomas Mortagne
I am very excited to contribute in open source community through the
platform of Google Summer of Code 2011. I have visited the ideas page
of “XWiki” at http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/ for
GSoC 2011. I am interested in working on “Google Android client” for XWiki.
The reason being is my interest in smartphone development. I have previously
worked in Windows Phone 7 and to some extent in Blackberry. I want to
experience development in other platforms such as Android. I've worked in
Java, CSS, HTML and Javascript.
I am writing to let you know my understanding of the project and would like
your feedback on it. My understanding of the requirements is as follows:
- To develop a smartphone application for XWiki.
- The application should be able to navigate wiki spaces and pages.
- The application should allow offline editing of wiki space and pages
and synchronise results on connecting with the repository.
- The application should also allow users an option to launch a browser
window.
I have some knowledge of XML-RPC client/server communication. However, you
mentioned you are interested in using REST API for such communication. Does
XWiki already have REST API or this API needs to be created as part of this
project. Would you please refer me some material to study in this regard?
I look forward to your response.
Regards
Rauf
University of Gloucestershire
Hello All,
I am writing this to be a self introductory mail to the XWiki community. I
am a Computer Engineering student at the University of Duisburg Essen,
Germany.
I am interested in the undertaking the Android related project for Summer of
Code,I am interested primarily in the long term project of building a
library to be used in XWiki android clients.
In the area of programming capabilities, I have experience with the tools
and technologies as detailed on the xwiki development wiki, I primarily use
Eclipse and have used Maven, Ant, Git and others for several school and
personal project (Android applications).
(I am looking forward though to getting more exposure on these and others by
joining and using them in an open source community).
I have been able to checkout the source, but kinda in a jungle now, because
there are a lot of projects. Will be glad if any one can point me in the
right direction, with regards to where I should look first in relationship
to the project I want to undertake.
Regards.
--
Chris Pels
On 03/23/2011 05:59 PM, nikhil gupta wrote:
> Hello,
> I have gone though the form editing part of the xwiki,where we can include
> the fields according to the requirement.
> As per the requirement of our project (AJAX FORM EDITOR) we have to provide
> one USER INTERFACE for the user through which he can drag /drop the fields
> according to his form requirement.
>
> We can extend this idea a little bit .We will not only provide the form
> generation part but also include its action part i.e user will give the
> name of the database where the action has to take place(if have to insert
> the record or update the record in the database).
That's not needed. The application logic is already handled by XWiki,
this is by definition what XWiki applications do. I suggest reading and
following the FAQ tutorial in order to understand better how structured
data works in XWiki, and to see in which context the form editor is
needed: http://platform.xwiki.org/xwiki/bin/DevGuide/FAQTutorial
> Moreover, we can also add
> style for each field where user can define its style according to its choice
> and we can also provide the style sheet for the whole form also.
The form editor should not be too complex, it should offer an easy way
of editing simple forms. This allows the UI to remain easy to use and
understand, and also ensures a consistent look of different applications
in the same wiki. For more complex forms, there's the lower-level class
editor and the scripting support in the class sheet. For styling support
in XWiki, you should take a look at SkinExtensions:
http://platform.xwiki.org/xwiki/bin/DevGuide/SkinExtensionsTutorial
> User will select the type of the field for example in the form there are
> certain fields which get insert ,some gets updated when the form gets
> submitted,so according to the nature and requirement, user will enter the
> type of the field.Types can be "INSERT","UPDATE","VIEW" etc.
Again, follow the FAQ tutorial to see that there's no need for such
low-level database operations. See also a bit more documentation about
the data model: http://platform.xwiki.org/xwiki/bin/DevGuide/DataModel
> So for this we can use the resources which is present in the xwiki,in that
> we have all the fully functional fields , we can make any field , so our
> work will now to provide the interface for the user where he can drag/drop
> the fields and also provide the interface for the style part and also to
> create the action file and rendering file which would render the
> requirement.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hello,
I have gone though the form editing part of the xwiki,where we can include
the fields according to the requirement.
As per the requirement of our project (AJAX FORM EDITOR) we have to provide
one USER INTERFACE for the user through which he can drag /drop the fields
according to his form requirement.
We can extend this idea a little bit .We will not only provide the form
generation part but also include its action part i.e user will give the
name of the database where the action has to take place(if have to insert
the record or update the record in the database).Moreover, we can also add
style for each field where user can define its style according to its choice
and we can also provide the style sheet for the whole form also.
User will select the type of the field for example in the form there are
certain fields which get insert ,some gets updated when the form gets
submitted,so according to the nature and requirement, user will enter the
type of the field.Types can be "INSERT","UPDATE","VIEW" etc.
So for this we can use the resources which is present in the xwiki,in that
we have all the fully functional fields , we can make any field , so our
work will now to provide the interface for the user where he can drag/drop
the fields and also provide the interface for the style part and also to
create the action file and rendering file which would render the
requirement.
Thnx
Nikhil Gupta
--
Nikhil Gupta
BTech CSE III yr
IIIT Hyderabad
Hyderabad 500032
Note that this not correct and you've just removed one test which was to check that the current tab is the Comments tab.
This needs to be rolled-back (or another test that verifies that the comments tab is the first one needs to be added) and the comments tab needs to be put back as the first tab (this was discussed on IRC yesterday).
Thanks
-Vincent
On Mar 23, 2011, at 4:49 AM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2011-03-23 04:49:01 +0100 (Wed, 23 Mar 2011)
> New Revision: 35817
>
> Modified:
> enterprise/trunk/distribution-test/selenium-tests/src/test/it/org/xwiki/test/selenium/CommentTest.java
> Log:
> [misc] Fixed failing tests
>
> Modified: enterprise/trunk/distribution-test/selenium-tests/src/test/it/org/xwiki/test/selenium/CommentTest.java
> ===================================================================
> --- enterprise/trunk/distribution-test/selenium-tests/src/test/it/org/xwiki/test/selenium/CommentTest.java 2011-03-23 03:09:08 UTC (rev 35816)
> +++ enterprise/trunk/distribution-test/selenium-tests/src/test/it/org/xwiki/test/selenium/CommentTest.java 2011-03-23 03:49:01 UTC (rev 35817)
> @@ -120,6 +120,7 @@
> loginAsAdmin();
> }
> open("CommentTest", "PageWithSomeComments");
> + loadCommentsTab();
>
> // Wait until comments load though ajax mechanism.
> waitForElement("//div[@id='_comments']/form[@id='AddComment']/fieldset[@id='commentform']");
> @@ -147,6 +148,7 @@
> if (!isAuthenticated()) {
> loginAsAdmin();
> }
> + loadCommentsTab();
> if (!isElementPresent("//div[@class='commentheader']/div/span[@class='commentauthor']/span/a")) {
> postComment("This comment will be edited.", null, true);
> }
> @@ -207,6 +209,7 @@
>
> public void postComment(String comment, String author, boolean doubleCheck)
> {
> + loadCommentsTab();
> setCommentContent(comment);
> if (author != null) {
> setCommentAuthor(author);
> @@ -233,6 +236,14 @@
> return getSelenium().getAttribute("//input[@name='XWiki.XWikiComments_author']@value");
> }
>
> + public void loadCommentsTab()
> + {
> + if (isElementPresent("//a[@id='Commentslink']")) {
> + clickLinkWithXPath("//a[@id='Commentslink']", false);
> + waitForCondition("selenium.browserbot.findElement(\"Commentspane\").className.indexOf(\"empty\") == -1");
> + }
> + }
> +
> public void setCommentContent(String content)
> {
> waitForElement("//textarea[@id='XWiki.XWikiComments_comment']");
Hi devs,
I'd like to suggest we use {{dashboard style="colortheme"/}} by default on the main dashboard for the following reasons:
1) the default style has a heading size issue and it's hard for the dashboard to guess the correct size in all situations
2) it clearly shows it's a dashboard
WDYT?
Thanks
-Vincent
Hi devs,
In writing my own auth plugin I want the ability to run XWiki in
anonymous browsing mode as well as the login request triggering my
particular auth jar (much like xwiki.org - you can many pages w/out
actually authenticating). I have two resulting questions.
1)
Is there a magic user name in the form of XWiki."anonymous"/Guest etc..
that I can return in my checkAuth? OR am I thinking about this
incorrectly and xwiki already knows that this user is who the context is
representing..
2)
I see in reading the xwiki.cfg and tutuorials on how to run your own
authentication code that there is a way to override the login page
within the config. Is there also a way to "override" the call to the
login? I know in (cough,cough) confluence they have a seraph mechanism
that you can override what the login action is... looking for something
similar here..
I've thought of perhaps using an apache rewrite rule on the
login/XWikiLogin page to trigger my auth
Thanks guys..
------
thanks
kevin.foote
Hi devs,
I was looking at http://jira.xwiki.org/jira/browse/XWIKI-5336 and
basically I'm like Jens, I don't understand why we are using creation
date in feed plugin.
So I'm proposing to change it for date (last version date).
FYI I'm planning to change
protected Date getDefaultPublishedDate(Document doc, Map<String,
Object> params, XWikiContext context)
{
return doc.getCreationDate();
}
to
protected Date getDefaultPublishedDate(Document doc, Map<String,
Object> params, XWikiContext context)
{
return doc.getDate();
}
in com.xpn.xwiki.plugin.feed.SyndEntryDocumentSource
WDYT ?
Here is my +1.
--
Thomas Mortagne
I am the beginner contributor of xwiki, and I need to find helps like how to
get the source files, and how to compile them properly , and maybe some
other problems when I am going on. I think most of the quesion at the
begginning might be disscussed before in the mailing list. Is there any
search tools for such kind information?
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University
Hi devs,
I wrote two design proposals regarding the new message stream
functionality (a.k.a. user status).
- http://dev.xwiki.org/xwiki/bin/Design/UserMessagesVisibility specifies
what kind of messages (and wiki activity) should be displayed in
different contexts, like what should I see in my network tab, what
should I see when I visit another user's profile, etc.
- http://dev.xwiki.org/xwiki/bin/Design/UserMessagesPrivacy specifies
some privacy requirements regarding messages, both from the read and
write perspective, like should I be able to see messages for a given
group, can I send a direct message to another user, etc.
Any feedback is welcome.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/