I found this nice diff view: http://community.jboss.org/wiki/EvictionExamples/diff?secondVersionNumber=12
I like it quite a lot:
* ability to choose the diff in rendered mode or markup mode
* ability to see the diff in 2 columns or in 1 column
Would love to see something like this in xwiki.
Thanks
-Vincent
Hi,
He is a first draft of the investigation for "page load time" with a
proposed action plan:
http://dev.xwiki.org/xwiki/bin/view/Design/PageLoadTime
My next step will be to run a "manual" test and take some measures and
propose "obvious" improvements we could make if there are any.
Comments welcome. Questions are:
- are the goals ok
- are the measures the right ones
- can we run automated measures
- what is missing in this document
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hi All,
What I'm trying to get is:
User logs into XWiki through CAS Auth, I also have a webservice to get remote user credentials (where a User can be in many Groups), and some rights over that groups (only membership), so what I want is to:
- Create a Space for each remote "Group" (named "remoteGroupSpaceX"),
- Create a Group in XWiki (named "remoteGroupX")
- Assign "edit" right to the "remoteGroupX" over "remoteGroupSpaceX".
I already have created the Space (/xwiki/bin/view/remoteGroupSpace/), the Group (XWiki.remoteGroupX) and what I'm trying to get is the XWikiRights from the remoteGroup, but I can't find where can I get the XWikiRights object.
I tried to duplicate (through XWikiDocument.duplicate(EntityReference) method) an existing group (XWikiAdminGroup) and search where is the XWikiRight object, and then change the "levels" field to "edit", and saving the remoteGroup with the modified rights, but the Edit button is still there.
Here's a sample of my code:
private void assignRights(String spaceName, String groupName, String rights, XWikiContext context) throws XWikiException {
// Prepare EntityReferences
WikiReference wikiRef = new WikiReference("XWiki");
SpaceReference xwikiSpaceRef = new SpaceReference("XWiki", wikiRef);
SpaceReference remoteSpaceRef = new SpaceReference(spaceName, wikiRef);
DocumentReference refGroup = new DocumentReference(new EntityReference(groupName, EntityType.DOCUMENT, xwikiSpaceRef));
DocumentReference refRights = new DocumentReference(new EntityReference("XWikiRights", EntityType.DOCUMENT, remoteSpaceRef));
// Get the XWikiDocument relative to the Group
XWikiDocument docGroup = context.getWiki().getDocument(refGroup, context);
// Get the XWikiRights from the Group
BaseObject groupRights = docGroup.getXObject(refRights);
// Modify rights
groupRights.set("levels", rights, context);
context.getWiki().saveDocument(docGroup, context);
}
Where:
String spaceName = "remoteGroupSpaceX";
String groupName = "remoteGroupX";
String rights = "edit";
I know about relation between XWikiGlobalRights and XWikiRights and also about rights priority (Page > Space > Wiki / page.XWikiRights > space.XWikiRights > wiki.XWikiGlobalRights).
So my plan is:
Everybody has "view" (XWiki.XWikiAllUsers) right in the whole wiki, and only members of each "remoteGroupX" has "edit" right over their own space "remoteGroupSpaceX".
I'm a little bit lost with this and I hope any help.
Thank you,
Marco A. Gonzalez
I'm planing to develop Android API for XWiki and the XWiki navigation
app through a gsoc project.
Since from time to time Android keeps changing their libraries and
methods are deprecating.
So is there any targeted Android API version (2.2, 2.3 or 3.0 latest)
to develop?
Does XWiki use something like Java Persistence API ?
I cant figure out what Database is being used by the XWiki Enterprise.
--
Thanks and Regards,
Shoubhik Bose
IF I REST, I SHALL RUST.. SO, LETS SHARE THE KNOWLEDGE !
I'm Shoubhik Bose, a 3rd year student( Computer Science and Engineering) at
West Bengal University of Technology.
I wish to work on the " XWiki on Appengine " project.
http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/XWikionAppEngineprot…
The project requires me to port the database queries of XWiki to the the
Datastore compliant queries run on the backend of AppEngine.
I have discussed this on the IRC channel already.
My skills:
I have been developing web applications ( JAVA) for a long time now.
I have used Tomcat, Glassfish and Websphere Application Server.
As back-end, I have experience working with Db2, Oracle 10g and MySQL.
Most importantly I have worked on Appengine platform and consider it very
helpful for programmers as one can concentrate on the code.
On the flip-side, porting to different databases require significant changes
in code ( as AppEngine uses Java Persistence API)
Thanks and Regards,
Shoubhik Bose
IF I REST, I SHALL RUST.. SO, LETS SHARE THE KNOWLEDGE !
Hi
I am Supreet and I would like to participate in GSoC-2011. I am mainly
interested in contributing to the project idea "Mobile Skin for XWiki
Enterprise". I have been working on web development for the past two years
and developed a couple of websites. I have a good knowledge of HTML,XHTML
and CSS , I also know PHP and am learning Javascript. If someone could help
me regarding this , I would be really thankful.
Hi Sergiu,
On 04/01/2011 03:53 AM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2011-04-01 02:53:38 +0200 (Fri, 01 Apr 2011)
> New Revision: 36234
>
> Modified:
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/image/ImagePlugin.java
> Log:
> XWIKI-6212: Images not displayed in the administration of xwiki 3.0
> Trying a workaround
>
> Modified: platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/image/ImagePlugin.java
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/image/ImagePlugin.java 2011-03-31 23:39:50 UTC (rev 36233)
> +++ platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/image/ImagePlugin.java 2011-04-01 00:53:38 UTC (rev 36234)
> @@ -202,7 +202,12 @@
> @Override
> public XWikiAttachment downloadAttachment(XWikiAttachment attachment, XWikiContext context)
> {
> - if (!this.imageProcessor.isMimeTypeSupported(attachment.getMimeType(context))) {
> + try {
> + if (!this.imageProcessor.isMimeTypeSupported(attachment.getMimeType(context))) {
> + return attachment;
> + }
> + } catch (NoClassDefFoundError ex) {
> + // Happens on certain systems where the javax.imageio package is not available
I'd like to more the try/catch inside the isMimeTypeSupported method. If
javax.imageio.ImageIO is missing I don't think we can process the image
anyway. WDYT?
Thanks,
Marius
> return attachment;
> }
>
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications