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
Hi All,
We have recently started the translation of XWKI into catalan language (Catalan - ca).
Please, could be added XWatch / XWS Applications for translate them into catalan language (ca) into l10n.xwiki.org website?
And I wonder if can also be updated the right panel "SUPPORTED LANGUAGES" at l10n.xwiki.org website for adding catalan language (Catalan ca).
Kind regards,
Robert
--
ca: M'agradaria millorar el món, però Déu no em dóna el codi font!
de: Ich würde gern die Welt verbessern, doch Gott gibt mir den Quellcode nicht!
en: I would like to improve the world, but God didn't give me the source code!
es: Me gustaría mejorar el mundo, pero Dios no me da el código fuente!
gpg fingerprint = 0800 D37B C187 CC6E 9D0C 0AF4 265D 0096 AC78 6412
For Thomas....
Thanks
-Vincent
Begin forwarded message:
> From: "Uwe Schindler" <uschindler(a)apache.org>
> Date: February 26, 2010 9:18:36 AM GMT+01:00
> To: <announce(a)apache.org>
> Subject: [ANNOUNCE] Release of Lucene Java 3.0.1 and 2.9.2
>
> Hello Lucene users,
>
> On behalf of the Lucene development community I would like to announce the release of Lucene Java versions 3.0.1 and 2.9.2:
>
> Both releases fix bugs in the previous versions:
>
> - 2.9.2 is a bugfix release for the Lucene Java 2.x series, based on Java 1.4
> - 3.0.1 has the same bug fix level but is for the Lucene Java 3.x series, based on Java 5.
>
> New users of Lucene are advised to use version 3.0.1 for new developments, because it has a clean, type-safe API.
>
> Important improvements in these releases include:
>
> - An increased maximum number of unique terms in each index segment.
> - Fixed experimental CustomScoreQuery to respect per-segment search. This introduced an API change!
> - Important fixes to IndexWriter: a commit() thread-safety issue, lost document deletes in near real-time indexing.
> - Bugfixes for Contrib's Analyzers package.
> - Restoration of some public methods that were lost during deprecation removal.
> - The new Attribute-based TokenStream API now works correctly with different class loaders.
>
> Both releases are fully compatible with the corresponding previous versions. We strongly recommend upgrading to 2.9.2 if you are using 2.9.1 or 2.9.0; and to 3.0.1 if you are using 3.0.0.
>
> See core changes at
> http://lucene.apache.org/java/3_0_1/changes/Changes.html
> http://lucene.apache.org/java/2_9_2/changes/Changes.html
>
> and contrib changes at
> http://lucene.apache.org/java/3_0_1/changes/Contrib-Changes.html
> http://lucene.apache.org/java/2_9_2/changes/Contrib-Changes.html
>
> Binary and source distributions are available at
> http://www.apache.org/dyn/closer.cgi/lucene/java/
>
> Lucene artifacts are also available in the Maven2 repository at
> http://repo1.maven.org/maven2/org/apache/lucene/
>
> -----
> Uwe Schindler
> uschindler(a)apache.org
> Apache Lucene Java Committer
> Bremen, Germany
> http://lucene.apache.org/java/docs/
>
>
Je serai absent(e) du 25/02/2010 au 08/03/2010.
Je répondrai à votre message dès mon retour.
Accédez aux meilleurs tarifs Air France, gérez vos réservations et enregistrez-vous en ligne sur http://www.airfrance.com
Find best Air France fares, manage your reservations and check in online at http://www.airfrance.com Les données et renseignements contenus dans ce message peuvent être de nature confidentielle et soumis au secret professionnel et sont destinés à l'usage exclusif du destinataire dont les coordonnées figurent ci-dessus. Si vous recevez cette communication par erreur, nous vous demandons de ne pas la copier, l'utiliser ou la divulguer. Nous vous prions de notifier cette erreur à l'expéditeur et d'effacer immédiatement cette communication de votre système. Société Air France - Société anonyme au capital de 1 901 231 625 euros - RCS Bobigny (France) 420 495 178 - 45, rue de Paris, 95 747 Roissy CDG CEDEX
The data and information contained in this message may be confidential and subject to professionnal secrecy and is intended for the exclusive use of the recipient at the address shown above. If you receive this message by mistake, we ask you not to copy, use or disclose it. Please notify this error to the sender immediately and delete this message from your system. Société Air France - Limited company with capital of 1,901,231,625 euros - Bobigny register of companies (France) 420 495 178 - 45, rue de Paris, 95 747 Roissy CDG CEDEX Pensez à l'environnement avant d'imprimer ce message.
Think of the environment before printing this mail.
Hello devs,
When we are using XWiki for public web sites, most of the time we want
to hide some elements in the UI for guest users (and sometimes for
authenticated users as well).
Currently, it's not elegant to do so : either we have to create a custom
skin, override a couple of templates (with all the merging nightmare it
bringd when upgrading the wiki) - either we create a SSX to "hide"
visually elements.
None of those solutions are really satisfactory. The first one is
painful, the second one is only a workaround and can be a pain too
(there is no way currently to use a SSX "under certain conditions")
Before we can handle all this nicely using Interface eXtensions, I
propose to make couple of light changes to some templates to make our
life easier :
1) Add 4 variables in layoutvars.vm :
* $displayContentMenu // display or not the content menu (view, edit
links, etc.) true by default
* $displayMainMenu // display or not the main menu (wiki and space
links, user profile) true by default
* $displayDocExtra // display or not the tabs with doc extra links
(comments, attachments, etc.) true by default
* $displayShortcuts // display or not the document shortcuts (those are
in the line written under the document title)
(this is XWIKI-4394 "Allow some UI elements not to be displayed by
setting a variable")
2) Add a "extravars.vm" template that remains empty by default. This
will allow to override values from xwikivars/layoutvars without the need
to override them (and introducing the merging pain upon upgrade).
(this is XWIKI-4927 "We need a way to be able to override variables from
xwikivars.vm / layoutvars.vm without overriding these templates")
Please let me know what you think, I would like to move forward with
this during 2.3
Thanks,
Jerome.
Hi devs,
I'm proposing we add the following method:
DocumentReference getEntityReference();
to org.xwiki.rendering.macro.wikibridge.WikiMacro.
This way we'll have a simple way to retrieve the wiki Document having
the corresponding
XWiki.WikiMacroClass xObject attached.
Thanks,
Anamaria
Hi ,
Recently i checked out the 2.3 XE and try to start using the Xwiki Office
Importer with Locally starting (Auto Start = false)
When i try to start open office server it gives the error "Inadequate
privileges".
But the same configuration works with 2.2 XE successfully.
What could be the problem.
* Randomly once 2.3XE was able to start the server but it failed after that
to do so.
OS: Ubuntu 9.10
Regards,
Shelan Perera
Hi,
Since we introduce document footer informations view statistics are
store several time for the same user view of a page.
See http://jira.xwiki.org/jira/browse/XWIKI-4590
The issue is that theses tabs are loaded asynchronously in ajax and
make a call using view action.
Here are some solutions:
1/ introduce a new action "viewinternal", "service" or anything else
that would be a "view" action without UI and not taken into account by
statistics (that register for "view" action events)
2/ pretty much the same thing that 1/ but based on a URL parameter
3/ use an additional AJAX request similar to a google analytics call
to record statistics
As i said in jira I'm against 3/
2/ seems too big for a URL parameter to me and it makes statistics
depends on URL parameters where 1/ fix the issue without touching
anything in the statistics module
+1 for 1/
+0 for 2/
-1 for 3/
--
Thomas Mortagne
Hi,
I would like to suggest an enhancement for the target space.
If we use a drop down list generated using a small code snippet of velocity
i hope that would be easier for an average user.
By default it is getting the current document name : ${doc.web}
for the list we can generate a list of spaces available in the wiki :
#set($spaces =
$xwiki.spaces)
#foreach($space
in $spaces)
WDYT ,
Regards,
Shelan Perera
Hello all,
Some variables in xwikivars.vm seem to be deprecated already and not
used anywhere.
For example :
$panelwidth
$editpanelwidth
$contentmargin
$editcontentmargin
$editpanelwidthcontent
I would like to remove them, they give the false impression one can
customize panels/content width and margin.
WDYT ? Any drawbacks ?
Thanks;
Jerome.
Hi,
just updated. Great that there is a UI for deleted documents & attachments
now. But i got some problems.
I have installed XWiki Enterprise Manager 2.2
Deleted documents are only available in the main wiki. In the virtual wiki
theres a velocity error.
I also disabled the attachment recyclebin i the config -> velocity error in
the deleted attachments tab.
Regards
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/UI-for-Deleted-documents-attachments-tp4620030p4620030…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
I'm aiming to run the wysiwyg component as a standalone GWT for a number of
reasons:
1. To be able to test the component without it being hooked up to XWiki
2. To be able to expand it or add more features to it as required.
I would like to get all the possible assistance in achieving that task so I
can share it with others and probably update the documentation if it's
beneficial to others.
Cheers,
Fady
Guests should be allowed to comment on a page but we still want to avoid automated
comment adding and captcha is a solution which already exists.
If a captcha is displayed on each comment form which shows at the bottom of each page
then each page load will require the generation of a captcha which will hurt
performance.
A.
When the user is anonymous, don't show the comment form, instead show a link
"Add Comment" and load the form and image through ajax.
This would not be a major change since anonymous users currently don't see the comment form.
B.
Display the form but strip the 'Add Comment' button and force the user to preview the
comment and load the image with the preview button. Of course the behavior must be
different when users don't have Javascript and they are viewing the comments through
"?viewer=comments" so there would have to be some means of detecting how commentsinline
was being loaded.
In order to keep the core from becoming dependent on the captcha module, the commentadd
action will have to be duplicated in commentinline.vm I see no other way around it.
Any other ideas?
Caleb
Hi Caleb,
I think that whatever changes you make to the non default language files (ca, fr in your example) will be overwritten at the next import from l10n.xwiki.org. Changes should thus be made on l10n.
-Vincent
On Feb 23, 2010, at 4:55 PM, cjdelisle (SVN) wrote:
> Author: cjdelisle
> Date: 2010-02-23 16:55:15 +0100 (Tue, 23 Feb 2010)
> New Revision: 27231
>
> Modified:
> platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties
> platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_ca.properties
> platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_fr.properties
> Log:
> XAADMINISTRATION-77: Improve the registration interface - Corrected some translation keys which were named against convention.
>
> Modified: platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties 2010-02-23 15:48:47 UTC (rev 27230)
> +++ platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties 2010-02-23 15:55:15 UTC (rev 27231)
> @@ -1771,6 +1771,18 @@
> xe.admin.configurable.sectionIconNoAccess=(No Access)
> xe.admin.configurable.sectionIconNoAccessTooltip=You don't have permission to configure this section.
> xe.admin.configurable.noViewAccessSomeApplications=Some sections may not be displayed because you do not have view access to some configurable applications including: {0}
> +# XWiki.Registration
> +xe.admin.registration.fieldMandatory=This field is mandatory.
> +xe.admin.registration.passwordTooShort=Please use a longer password.
> +xe.admin.registration.passwordMismatch=Your passwords aren't the same.
> +xe.admin.registration.invalidEmail=Please give a valid email address.
> +xe.admin.registration.fieldOkay=Ok.
> +# Depricated misnamed XWiki.Registration keys (Remove for v2.4)
> +XWiki.Registration.fieldMandatory=This field is mandatory.
> +XWiki.Registration.passwordTooShort=Please use a longer password.
> +XWiki.Registration.passwordMismatch=Your passwords aren't the same.
> +XWiki.Registration.invalidEmail=Please give a valid email address.
> +XWiki.Registration.fieldOkay=Ok.
>
> # Blog application
> xe.blog.archive.noarticle=No articles yet...
> @@ -2523,11 +2535,3 @@
> XWiki.XWikiSkins_edit.vm=Edit
> XWiki.XWikiSkins_baseskin=Base Skin
> XWiki.XWikiSkins_logo=Logo
> -
> -# Verified Registration Application
> -# TODO: move to language pack after language packs can be imported without modifying XWikiPreferences
> -XWiki.Registration.fieldMandatory=This field is mandatory.
> -XWiki.Registration.passwordTooShort=Please use a longer password.
> -XWiki.Registration.passwordMismatch=Your passwords aren't the same.
> -XWiki.Registration.invalidEmail=Please give a valid email address.
> -XWiki.Registration.fieldOkay=Ok.
>
> Modified: platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_ca.properties
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_ca.properties 2010-02-23 15:48:47 UTC (rev 27230)
> +++ platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_ca.properties 2010-02-23 15:55:15 UTC (rev 27231)
> @@ -55,10 +55,19 @@
> XWiki.Mail_language=Idioma
> XWiki.Mail_subject=Assumpte
> XWiki.Mail_text=Text
> +xe.admin.registration.fieldOkay=Acceptar.
> +xe.admin.registration.invalidEmail=Proporcioneu una adre\u00E7a de correu v\u00E0lida.
> +xe.admin.registration.passwordMismatch=Les contrasenyes no coincideixen.
> +xe.admin.registration.passwordTooShort=Utilitzeu una contrasenya m\u00E9s llarga.
> +xe.admin.registration.fieldMandatory=Aquest camp \u00E9s obligatori.
> +
> +# Depricated misnamed XWiki.Registration keys (Remove for v2.4)
> XWiki.Registration.fieldOkay=Acceptar.
> XWiki.Registration.invalidEmail=Proporcioneu una adre\u00E7a de correu v\u00E0lida.
> XWiki.Registration.passwordMismatch=Les contrasenyes no coincideixen.
> XWiki.Registration.passwordTooShort=Utilitzeu una contrasenya m\u00E9s llarga.
> +XWiki.Registration.fieldMandatory=Aquest camp \u00E9s obligatori.
> +
> XWiki.ResetPasswordRequestClass_verification=Sol\u00B7licitar cadena de text de verificaci\u00F3
> XWiki.SchedulerJobClass_cron=Expressi\u00F3 Cron
> XWiki.SchedulerJobClass_jobClass=Classe treball
> @@ -181,7 +190,6 @@
> XWiki.XWikiUsers_skin=plantilla
> XWiki.XWikiUsers_usertype=Tipus d'usuari
> XWiki.XWikiUsers_validkey=Clau validaci\u00F3
> -Xwiki.Registration.fieldMandatory=Aquest camp \u00E9s obligatori.
> accountdisabled=El vostre compte ha estat deshabilitat. Contacteu amb l'administrador si creeu que aix\u00F2 \u00E9s un problema.
> accountnotactive=El vostre compte encara no est\u00E0 actiu, perqu\u00E8 la vostra adre\u00E7a de correu electr\u00F2nic encara no ha estat confirmada.
> accountnotactive_email=Haur\u00EDeu d'haver rebut un correu electr\u00F2nic amb l'enlla\u00E7 de confirmaci\u00F3 de la vostra adre\u00E7a electr\u00F2nica. Tamb\u00E9 podeu copiar i enganxar el codi d'activaci\u00F3 en el mateix correu electr\u00F2nic en el camp seg\u00FCent.
>
> Modified: platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_fr.properties
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_fr.properties 2010-02-23 15:48:47 UTC (rev 27230)
> +++ platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources_fr.properties 2010-02-23 15:55:15 UTC (rev 27231)
> @@ -55,11 +55,19 @@
> XWiki.Mail_language=Langue
> XWiki.Mail_subject=Sujet
> XWiki.Mail_text=Texte
> +xe.admin.registration.fieldMandatory=Ce champ est obligatoire.
> +xe.admin.registration.fieldOkay=Ok.
> +xe.admin.registration.invalidEmail=Donnez une adresse e-mail valide s'il vous plait.
> +xe.admin.registration.passwordMismatch=Vos mots de passe ne sont pas les m\u00EAmes.
> +xe.admin.registration.passwordTooShort=Utilisez un mot de passe plus long s'il vouis plait.
> +
> +# Depricated misnamed XWiki.Registration keys (Remove for v2.4)
> XWiki.Registration.fieldMandatory=Ce champ est obligatoire.
> XWiki.Registration.fieldOkay=Ok.
> XWiki.Registration.invalidEmail=Donnez une adresse e-mail valide s'il vous plait.
> XWiki.Registration.passwordMismatch=Vos mots de passe ne sont pas les m\u00EAmes.
> XWiki.Registration.passwordTooShort=Utilisez un mot de passe plus long s'il vouis plait.
> +
> XWiki.ResetPasswordRequestClass_verification=Demander un string de v\u00E9rification
> XWiki.SchedulerJobClass_cron=Expression CRON
> XWiki.SchedulerJobClass_jobClass=Classe des traitements
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications
hello,
I have several spaces starting with a special charakter ÖGroup etc.
xwiki search doesn't find any attachements that are attached to groups
starting with Ö
when I try to search attachements limiting the search to ÖGroup I get the
following error:
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Velocity Macro for content
[$xwiki.jsfx.use("uicomponents/search/search.js", false)##
$xwiki.ssfx.use("uicomponents/search/search.css", true)##
## Disable the document extra data: comments, attachments, history...
#set($docextras = [])
#set ($rssmode = ("$!request.xpage" == 'plain'))
## ---------------
## Space filtering
## ---------------
#set($spaces = $xwiki.spaces)
#set($selectedSpace = "$!request.space")
## ---------------
## Space macros
## ---------------
#macro(spaceoption $space $selectedSpace)
<option value="${space}" #if($selectedSpace ==
$space)selected="selected"#end>$space</option>
#end
#macro(spaceselect $selectedSpace $spaces)
<select name="space" title="$msg.get('xe.search.bar.spaces.title')">
<option value="" #if($selectedSpace ==
'')selected="selected"#end>$msg.get('xe.search.bar.spaces.all')</option>
#foreach($space in $spaces)
#if (!$blacklistedSpaces.contains($space))
#spaceoption($space $selectedSpace)
#end
#end
</select>
#end
##
##
#set($text = "$!request.getParameter('text')")
#set($utext = $util.encodeURI($text))
##
{{html}}
<form action="" id="searchBar">
<div class="centered">
<input type="text" name="text" class="searchQuery #if($text ==
'') defaultText#end" #if($text == '')
value="$msg.get('xe.search.bar.query.tip')" #else
value="$xwiki.getXMLEncoded(${text})" #end
title="$msg.get('xe.search.bar.query.title')"/>
#spaceselect($selectedSpace $spaces)
<input type="submit" class="searchButton"
value="$msg.get('xe.search.bar.submit')"
title="$msg.get('xe.search.bar.submit.title')"/>
</div>
</form>
{{/html}}
##
#set($space = $selectedSpace)
#set($datedlist = $util.arrayList)
#if("$!text" == '')
## No search
#else
#set($text = $text.replaceAll("'", "''").replaceAll("%", "\\%"))
#set($nbitems = 50)
## ----------------------------------------------------------------------
## Exclude Blacklisted spaces ($blacklistedSpaces is set in xwikivars.vm)
## Also exclude WebPreferences.
## ----------------------------------------------------------------------
#set ($webClause = '')
#foreach ($blacklistedSpace in $blacklistedSpaces)
#set ($webClause = "${webClause} doc.space <> '$blacklistedSpace' and")
#end
#if(!$hasAdmin && !$isAdvancedUser)
#set ($webClause = "${webClause} doc.name<>'WebPreferences' and")
#end
## -----------------------------------------------------------
## Display only a given space if $request.space is defined
## -----------------------------------------------------------
#if("$!space" != '')
#set ($webClause = "${webClause} doc.space='$space' and")
#end
#macro(addelement $item $list)
#if($xwiki.hasAccessLevel('view', $context.user,
"${context.database}:${item}"))
#set($itemdoc = $xwiki.getDocument($item))
## All items will be sorted by the date; since the list is
obtained from several queries, we can't order in the HQL.
## Prefix all item names with the date for sorting the combined results.
#set($sdate = $xwiki.formatDate($itemdoc.date, 'yyyyMMddHHmmss'))
#set($sitem = "${sdate}${item}")
#if(!$list.contains($sitem))
#set($discard = $list.add($sitem))
#end
#end
#end
## -----------------------------------------------------------
## Search in the page names
## -----------------------------------------------------------
#set ($sql = "where $webClause upper(doc.fullName) like
upper('%$!text%') order by doc.date desc")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
## -----------------------------------------------------------
## Search in page content
## -----------------------------------------------------------
#set ($sql = "where $webClause upper(doc.content) like
upper('%$!text%') order by doc.date desc")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
## -----------------------------------------------------------
## Search in text fields (simple String properties)
## -----------------------------------------------------------
#set($sql= ", BaseObject as obj, StringProperty as prop where
$webClause obj.name=doc.fullName and prop.id.id = obj.id and
upper(prop.value) like upper('%$!text%')")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
## -----------------------------------------------------------
## Search in big text fields (textarea properties)
## -----------------------------------------------------------
#set($sql= ", BaseObject as obj, LargeStringProperty as prop where
$webClause obj.name=doc.fullName and prop.id.id = obj.id and
upper(prop.value) like upper('%$!text%')")
#foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
#end
#end
#set($list = $util.arrayList)
#foreach($item in $util.sort($datedlist))
## datedlist contains items prefixed with the date; strip the date
from the actual item name:
#set($ok = $list.add(0, $item.substring(14)))
#end
#if ("$!utext" != '')
#if($rssmode)
#set ($feed = $xwiki.feed.getDocumentFeed($list, $util.getHashMap()))
#set ($feedURI = $doc.getExternalURL("view"))
#set ($discard = $feed.setLink($feedURI))
#set ($discard = $feed.setUri($feedURI))
#set ($discard = $feed.setAuthor('XWiki'))
#set ($discard = $feed.setTitle($msg.get('xe.search.rss', [$text])))
#set ($discard = $feed.setDescription($msg.get('xe.search.rss', [$text])))
#set ($discard = $feed.setLanguage($context.language))
#set ($discard = $feed.setCopyright($xwiki.getXWikiPreference('copyright')))
$xwiki.feed.getFeedOutput($feed,
$xwiki.getXWikiPreference('feed_type', 'rss_2.0'))
#else
{{include document="XWiki.Results"/}}
#if($selectedSpace == '')
#set($rssURL = $xwiki.getURL($doc.fullName, 'view',
"xpage=plain&outputSyntax=plain&text=${utext}" ))
#else
#set($rssURL = $xwiki.getURL($doc.fullName, 'view',
"xpage=plain&outputSyntax=plain&space=${selectedSpace}&text=${utext}"))
#end
{{html}}
<a href="${rssURL}"><img
src="$xwiki.getSkinFile("icons/silk/feed.gif")" alt="RSS
icon"/>$msg.get("xe.search.rss", ["[$text]"])</a>
{{/html}}
#set($luceneSearch = "[[Main.LuceneSearch?text=$!utext]]")
{{info}}$msg.get('xe.search.lucene.try', [$luceneSearch]){{/info}}
#end
#end
{{velocity}}]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:118)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:43)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to
evaluate content with id [velocity macro]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:200)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:110)
... 93 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'searchDocuments' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with SQL
[select distinct doc.space, doc.name, doc.date from XWikiDocument as
doc where (doc.hidden <> true or doc.hidden is null) and
doc.space='ÖWM Logo' and upper(doc.fullName) like
upper('%manual.pdf%') order by doc.date desc]
Wrapped Exception: could not execute query at velocity macro[line 82, column 27]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
... 95 more
Caused by: com.xpn.xwiki.XWikiException: Error number 3223 in 3:
Exception while searching documents with SQL [select distinct
doc.space, doc.name, doc.date from XWikiDocument as doc where
(doc.hidden <> true or doc.hidden is null) and doc.space='ÖWM Logo'
and upper(doc.fullName) like upper('%manual.pdf%') order by doc.date
desc]
Wrapped Exception: could not execute query
at com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2306)
I tried to delete those spaces using the following macro:
{{velocity}}
#if ($request.space)
#if ($request.confirm == "1")
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* Deleting $item
$xwiki.getDocument("${request.space}.${item}").delete()\\
#end
#else
[[Confirm delete space
${request.space}>>$doc.fullName?space=${request.space}&confirm=1]]:
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* $item
#end
#end
#else
|=Space |=Action
#foreach($space in $xwiki.spaces)
|$space | [[Index>>Main.SpaceIndex?space=${space}]] -
[[Delete>>$doc.fullName?space=${space}]]
#end
#end
{{/velocity}}
--------------------
again the same problem caused by the special charakter:
---->
Failed to execute macro: velocity
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Velocity Macro for content [#if ($request.space)
#if ($request.confirm == "1")
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* Deleting $item $xwiki.getDocument("${request.space}.${item}").delete()\\
#end
#else
[[Confirm delete space
${request.space}>>$doc.fullName?space=${request.space}&confirm=1]]:
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* $item
#end
#end
#else
|=Space |=Action
#foreach($space in $xwiki.spaces)
|$space | [[Index>>Main.SpaceIndex?space=${space}]] -
[[Delete>>$doc.fullName?space=${space}]]
#end
#end]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:118)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:43)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:200)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:52)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:120)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5586)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5561)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:557)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:571)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:119)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to
evaluate content with id [velocity macro]
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:200)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluate(VelocityMacro.java:110)
... 93 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getSpaceDocsName' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 0 in 0: Exception while execute query. Query statement =
[getSpaceDocsName]
Wrapped Exception: Exception while execute query. Query statement =
[getSpaceDocsName] at velocity macro[line 8, column 27]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:282)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
... 95 more
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 0:
Exception while execute query. Query statement = [getSpaceDocsName]
Wrapped Exception: Exception while execute query. Query statement =
[getSpaceDocsName]
at com.xpn.xwiki.XWiki.getSpaceDocsName(XWiki.java:5734)
at com.xpn.xwiki.api.XWiki.getSpaceDocsName(XWiki.java:1515)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
... 106 more
Hi XWiki devs,
We have a project where it is needed to show what users has seen which
page, in addition to aggregate statistics.
Now there are multiple ways to implement this, namely either using the
Activity Stream module (which records page level edit activity) or to
use the Statistics module (which records aggregate level view activity).
Which of the two systems would be best to use ?
In any case, I would like to implement this as a patch to the standard
module with a setting to activate it at a Wiki level.
My first choice would be to use the Activity Stream module but I see
that we have some code to clean-up the activity stream (is it active ?).
I don't think I would want this data to be deleted.
WDYT ?
Ludovic
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
On Feb 22, 2010, at 12:37 PM, cjdelisle (SVN) wrote:
> Author: cjdelisle
> Date: 2010-02-22 12:37:45 +0100 (Mon, 22 Feb 2010)
> New Revision: 27203
>
> Modified:
> platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties
> Log:
> XAADMINISTRATION-112: Allow applications to bring configuration forms into the administration app without modifying it. - Added translation keys.
>
> Modified: platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties
> ===================================================================
> --- platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties 2010-02-22 11:15:45 UTC (rev 27202)
> +++ platform/core/trunk/xwiki-core/src/main/resources/ApplicationResources.properties 2010-02-22 11:37:45 UTC (rev 27203)
> @@ -2522,3 +2522,13 @@
> XWiki.Registration.passwordMismatch=Your passwords aren't the same.
> XWiki.Registration.invalidEmail=Please give a valid email address.
> XWiki.Registration.fieldOkay=Ok.
> +
> +# XWiki.Configurable (Administration application)
> +XWiki.Configurable.noPermissionThisApplication=You don't have permission to configure this application.
> +XWiki.Configurable.applicationAuthorNoAdmin=This configuration cannot be displayed because it was last edited by [[{0}]] who doesn't have permission to edit this page.
> +XWiki.Configurable.cannotLockNoJavascript=This document cannot be locked for editing because Javascript is turned off, for page editing safety, please enable Javascript.
> +XWiki.Configurable.configurationClassNonexistant=No class found by the name {0}, can't display configuration.
> +XWiki.Configurable.noObjectOfConfigurationClassFound=No object of class: {0} found in document {1}, can't display configuration.
> +XWiki.Configurable.sectionIconNoAccess=(No Access)
> +XWiki.Configurable.sectionIconNoAccessTooltip=You don't have permission to configure this section.
> +XWiki.Configurable.noViewAccessSomeApplications=Some sections may not be displayed because you do not have view access to some configurable applications including: {0}
Shouldn't we have a naming convention for application resource keys?
Something like:
XWiki.<Application name>.key
or
XWiki.<Application name>.subdomain.key
or
Application.<Application name>.subdomain.key
?
Thanks
-Vincent
Hi ,
When i work with earlier versions of the xwiki (2.0) i got an error kind of
similar to this error :" error while performing conversion"
The problem was with the temp folder which used to store input files to
convert ,since it had some folders already which prevents the conversion,
Now i am using xwiki 2.2 which i do not get that error hope this is fixed in
new release.
So i suspect whether upgrading the XE would solve the issue ,I tried to
reproduce it but i failed Since i could not build the earlier version( 2.0 )
which i used earlier.
Regards,
Shelan Perera