Hi all,
I would like to go ahead with committing
http://jira.xwiki.org/jira/browse/XWIKI-4775 before the 2.2 final release
(because I would like annotations to work as clean as possible on 2.2 final).
In order to do that, we need to agree on a set of separators for the object name
and property name.
There have been the following proposals so far:
A wiki:Space.Page^objectName#property
B wiki:Space.Page^objectName$property
which has received some votes in http://markmail.org/thread/uihq4mmwgaufbcz6 but
I personally would stay away from # and $ separators since they're reserved
characters in velocity scripting language and it might be uncomfortable for
using refs in scripts.
Also, we had:
C wiki:Space.Page^objectName;property
and also:
D wiki:Space.Page:objectName.property
Which one would you prefer? Any other proposals?
Any separator should be easy to implement, and roughly anything could be used as
a separator (so feel free to propose).
Note that there is an alternative to this, to make annotations implementable on
2.2: only add the two entity types (Object and Object Property) along with
making the string serializer and string resolver extensible so one could add its
own separators for the 2 new types.
WDYT?
Thanks,
Anca
Users should be able to invite other people to join their wiki by sending email
made with a template.
They should be able to add a message.
There should be a template message which tells what the invitation is about.
They should be taken to the registration application
(their email address can be filled in as long as <> " ' \ characters are
escaped to prevent XSS)
There should be a mechanism to store the ip addresses/user names of those who
send the email and a link in the email to report spam so the service is not abused.
I would like to make it an application if possible.
Your thoughts?
Caleb
Hi,
I would like to add support for Default Values for XWiki Wiki Macros.
It's not very difficult, as the XWiki Java Macros already have it.
The required changes would be:
- add default value property to XWiki.WikiMacroParameterClass
- update DefaultWikiMacroFactory#buildMacro() to parse the new parameter
- update WikiMacroParameterDescriptor with a new property for default
value parameter, a new constructor and also
update the getDefaultValue method
Thanks,
Anamaria
Hi,
I have built a little keygen application for Xwiki now. It is available here:
http://github.com/bblfish/keygenapp
You can download it with
$ git clone git@github.com:bblfish/keygenapp.git
then you should be able to build it with
$ mvn clean package
$ mvn dependency:copy-dependencies
You will then just need to copy two jar files over to
webapps/xwiki/WEB-INF/lib/
* target/xwiki-foafssl-component-0.2.jar
* target/dependency/bcprov-jdk16-141.jar
Because I am not yet sure how to get the XAR plugin to work, I have not automated the build yet for that piece. Please let me know how I should fix this. Essentially there are two files that need to be installed
$ ls -l1 src/main/resources/XWiki/*.xml
src/main/resources/XWiki/foafssl_RSAPubKey.xml
src/main/resources/XWiki/foafssl_create_cert.xml
the first one there is just a class, the second one is a script that will allow you to get a certificate in one click.
In order to then have that be visible to your homepage you need to replace the content of the
XWikiUserProfileSheet with the content of
src/main/resources/XWiki/XWikiUserProfileSheet.html
You will then be able to try to login to a few other services (there is a link provided on the page). I will work next on allowing Xwiki to be logged into too with foaf+ssl (as well as on fixing any bugs you let me know of)
Henry
Social Web Architect
http://bblfish.net/
On Feb 28, 2010, at 5:46 PM, Jerome Velociter wrote:
> On 2/28/10 5:32 PM, vmassol (SVN) wrote:
>> Author: vmassol
>> Date: 2010-02-28 17:32:49 +0100 (Sun, 28 Feb 2010)
>> New Revision: 27370
>>
>> Added:
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/AbstractAdminAuthenticatedTest.java
>> Removed:
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/AbstractAdminAuthenticatedTest.java
>> Modified:
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/AbstractTest.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/ImportTest.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/LoginTest.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/elements/AdministrationPage.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/elements/BasePage.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/elements/HistoryPane.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/elements/HomePage.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/elements/ImportPage.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/elements/LoginPage.java
>> contrib/sandbox/webdriver-ui-tests/src/test/it/org/xwiki/it/ui/elements/RegisterPage.java
>> Log:
>> Testing Selenium 2.0 (merge with WebDriver).
>> * Make sure the package is deleted before the test if it's there
>> * Added license headers
>> * Minor refactorings
>>
>>
>> - public void selectOptionReplaceHistory()
>> + public void toggleReplaceHistoryOption()
>> {
>> getDriver().findElement(By.xpath("//input[@name='historyStrategy' and @value='replace']")).click();
>> }
>
> I don't think toggle is the right word here. Toggle usually refers to a
> 2-states switch
>
> Mabye "selectReplaceHistoryOption" would better fit.
The reason I've used toggle is because you had added a method called unselectOptionReplaceHistory() and its implementation was the same as selectOptionHistory.
Are you sure it's not a toggle, i.e if I click twice on it, it's not in the same state as initially?
Thanks
-Vincent
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.2.1.
This is a bug fix release for the 2.2 branches.
It fixes mainly too important regressions around documents parents
handling and xar import so if you are using 2.2 you should really
upgrade to 2.2.1.
New features
* XWIKI-4922 - XWiki translation into catalan language
* XWIKI-4938 - Provide an action for sub queries
Improvements:
* XWIKI-4926 - Finish covering DocumentAccesBridge with new
DocumentReference and AttachementReference
* XWIKI-4884 - Hide the first and last new line when editing a
standalone macro
* XWIKI-4909 - Upgrade to Pygments 1.2.2
* XAADMINISTRATION-113 - Make registration page configurable from
administration sheet
* Updated translations
Important Bugs fixed:
* XE-607 - Cannot use Main.Dashboard as a space dashboard of a
blacklisted space
* XE-605 - Documentation about html macro is wrong in XWikiSyntax page
* XE-604 - Link to RSS feed on dashboard when used as space
dashboard points to global RSS feed
* XWIKI-4929 - XWikiDocument#getParent and setParent does not
serialize/resolve the reference based on the document but on the
current context
* XWIKI-4907 - Can't link to recently modified pages
* XWIKI-4856 - Charset errors on macro insertion
* XWIKI-4878 - Code macro 2.0 - extra newline inserted
* XWIKI-4915 - Code macro 2.0 - inline language=none uses non-monospace font
* XWIKI-4948 - DocumentModelBridge should not contain any set methods
* XWIKI-4672 - Freestanding image/links should be protected in
xwiki/2.0 renderer when before or after word that could break it when
parsed
* XWIKI-4413 - Livetable does not properly empty its cache when
sorting order change
* XWIKI-3899 - The LiveTable does not filter correctly documents
when the + character is used in the filter key
* XSCOLIBRI-199 - Syntax highlighting uses non-monospace font
* XSCOLIBRI-194 - In inline mode, the fullscreen UI doesn't use
the current theme
For more information see the Releases notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise221
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM221
Thanks
-The XWiki dev team
Hi,
Yesterday I wanted to add some functional tests for Create page/space actions and I found that the Selenium version we're using doesn't work on Snow Leopard (my OS) so I started looking at issues and found that the pb was fixed in Selenium2/WebDriver. Since I had wanted to explore it for a while I took the time to do a quick exploration...
Selenium2 is the merge of Selenium and WebDriver.
Pros of Selenium2:
* No more JS sandbox. In selenium1 all the selenium API is executed as JS in the browser. In Selenium2 the browsers are controlled using their native APIs (JNA).
* Faster (as a consequence of the previous point)
* Allows to do stuff such as file uploads, etc since there's no longer the issue of the JS sandbox
* No need to start a Selenium Proxy. All you need is to start XE and then you can run the tests as simple JUnit tests.
* The API is much cleaner (this is to be expected with hindsight). See http://seleniumhq.org/docs/09_webdriver.html
* There's a very fast executing HtmlUnit driver (not to be used with tests using JS though since it emulates browser JS support and thus cannot guarantee the result in the real browser)
Now Selenium2 also recommends to use the PageObject pattern which IMO is a very good pattern that we should use. More here:
http://code.google.com/p/selenium/wiki/PageObjects
In order to get a feel of it, I've committed a first test in the sandbox using the PageObjects pattern:
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/webdriver-ui-tests/
To run the test:
* Start a local XE on port 8080
* Open the project in your IDE and run LoginTest as a JUnit test
Let me know what you think.
My opinion
* We should test it more, on Ajaxy web pages to verify it's stable and working well enough
* If that works well enough then we could make it our default way of writing functional UI tests and start migrating existing tests one by one + write new ones in it
Thanks
-Vincent
On 2/26/10 6:01 PM, jvelociter (SVN) wrote:
> Author: jvelociter
> Date: 2010-02-26 18:01:09 +0100 (Fri, 26 Feb 2010)
> New Revision: 27315
>
> Modified:
> platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/packaging/Package.java
> platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties
> Log:
> XWIKI-4937 Importing a new document with 'add new version to existing history' loses first version of the document
>
> Fixed. Integration tests (w/ Selenium2) will follow shortly - too much http://tinyurl.com/ydyooyd in this module :)
>
>
> Modified: platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/packaging/Package.java
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/packaging/Package.java 2010-02-26 16:44:31 UTC (rev 27314)
> +++ platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/plugin/packaging/Package.java 2010-02-26 17:01:09 UTC (rev 27315)
> @@ -618,24 +618,34 @@
>
[snip]
>
> Modified: platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties 2010-02-26 16:44:31 UTC (rev 27314)
> +++ platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties 2010-02-26 17:01:09 UTC (rev 27315)
> @@ -2266,7 +2266,7 @@
> xe.rss.blog=Blog RSS feed:
> xe.rss.blog.description=this feed displays blog posts from this wiki.
> xe.rss.blog.feed=Blog RSS Feed
> -xe.rss.space.description=RSS feed for document changes on space '{0}'
> +xe.rss.space.description=RSS feed for document changes on space "{0}"
Oups, meant to commit that separately, it fixes a bug for XE-604
> xe.rss.search.description=It is possible to subscribe to a search on a specific query term. To do this, got to the {0}, run a search on a keyword and then click on the RSS icon.
> xe.rss.tags.description=It is possible to subscribe to a feed for a specific tag or for all existing tags. To do this, got to the {0} and click on the RSS feed icon you wish to use.
> xe.rss.tags.feed=Tags RSS Feed
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications