The XWiki development team is proud to announce the availability of XWiki
6.4.2.
This is a stabilization release that fixes important bugs discovered in the
6.4.1 version.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki642
Thanks
-The XWiki dev team
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
Hi.
Problem: in XWiki, we have currently 2 main skins, Colibri (to be
deprecated) and Flamingo, that did not share the same doctype. Colibri
templates are using the XHTML 1.0 syntax, meanwhile Flamingo uses the HTML
5 syntax.
Currently, we have hard-coded in a lot of places the fact that we use XHTML
1.0 syntax, but I would like to replace this by a new setting,
skin-dependant, to select the rendering syntax we want. It would enable us
to generate valid code (with the HTML cleaner, among other things) for each
skin we support.
This setting will be located in the XWiki.XWikiSkins objects, and in the
skin.properties file for file system skins. Of course we also need to add a
new API to get the current rendering syntax.
The alternative is to create a global setting or constant to set the
rendering syntax for the whole XWiki instance.
Some discussions about this there: http://jira.xwiki.org/browse/XWIKI-11602
Here is my +1,
Thanks,
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
Hello.
This proposal is about the following issue:
http://jira.xwiki.org/browse/XWIKI-11803.
Currently, our mechanism to overwrite a skin file in the wiki has some
problems:
1 - we need to add a property in the XWiki.XWikiSkins class for every file
that we want to overwrite. It is not clean to change a system class just to
use a feature. Moreover, all the existing skins are polluted with any new
property added to the class, even if the skin does not need it.
2 - we cannot overwrite a file placed in a subdirectory (like
"less/style.less.vm") since we cannot have the "/" character in a property
name. This blocks http://jira.xwiki.org/browse/XWIKI-11394.
To avoid the problem 1, people usually attach their overwriting files to
the skin documents. But it causes some other problems: it is not the wiki
spirit to edit a file locally and then to upload it. It would be far better
to edit the code directly in a textarea.
To fix these 2 problems, I propose a new mechanism, that Eddy have
described previously [1]:
* we create a new XClass called XWiki.XWikiSkinFileOverride.
* this class would contain 2 properties:
** a path (eg: htmlheaders.vm, less/buttons.less...)
** a content (a textarea).
Then, on the skin document, we add one XObject per file that we want to
overwrite. The system is simple and flexible.
(On the future, we can even imagine that XWiki automatically merges the
content of the XObject with the existing file in the skin, but this idea is
not a part of this proposal.)
Depending on the time I will have, I may not be able to fully implement
this for 7.0. So I plan to make it work for the LESS files first, that we
cannot overwrite currently.
Here is my +1,
Thanks
[1]
http://jira.xwiki.org/browse/XWIKI-10568?focusedCommentId=81939&page=com.at…
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
Hello,
I created an application with Xwiki 6.4.0, I created my Class (with string, date and /'List of Users' properties), a Sheet and Template.
My fields are displayed correctly except if I export my page.
In PDF/ODT export file, I obtain "Unknown display mode." instead of the value for all 'date' and 'List of Users' field.
Did you notice that?
I found this issue http://jira.xwiki.org/browse/XWIKI-8694 (I didn't tested with 'List of groups' but I can if you want to)
Thxs
Pascal B
To manage translations better I've updated
http://l10n.xwiki.org/xwiki/bin/view/L10N/StatusByLanguage page which
generates links to translation pages.
I added JavaScript sorting, which seems to work only alphabetically :-/
When I work on laptop, I haven't enough screen to fully see translation
tables, therefore I added XWiki.StyleSheetExtension with dynamic style
which hides panel on smaller width.
@media (max-width: 1366px) {
#leftPanels, #rightPanels {
display: none;
}
#contentcolumn div.main.layoutsubsection {
margin: 0 !important;
}
div#contentcolumn div.main.layoutsubsection {
padding: 0 !important;
}
}
Can anybody with appropriate rights add and include similar object to
Translation class
http://l10n.xwiki.org/xwiki/bin/view/L10NCode/TranslationFileClassSheet20
Also. And maybe add similar JavaSript sorting for translation tables
also? (Or somebody could give modify permissions for valdisvi user to
this class.)
It would improve usability a lot.
Thanks!
Valdis
> I'm updating XWiki translations in http://l10n.xwiki.org/ and after
> resource redesign I wonder where should I start.
>
> Can you provide some list of description/priorities for all XWiki
> platforms and files, which should be translated first to cover needs of
> the most usual XWiki users.
>
> Thanks!
> Valdis
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hi devs,
I’m working on improving our test framework by doing the following:
* Introduce a wrapping RemoteWebDriver called XWikiWebDriver
* Move all the generic methods (i.e. that are not related to XWiki’s specific UI) we have in TestUtil + BaseElement into XWikiWebDriver (all the findElement(s)WithoutWaiting(), hasElement*(), waitFor*(), etc). The idea is simply to augment the WebDriver-provided APIs with all the methods we have created because they were useful to us.
* Add an automated check when calling method that wait (e.g. findElement(), findElements()) so that if the timeout is incurred, we fail the test. The reason is that if we incur the timeout it means the test itself is not doing it right and is taking too much time!
Let me know if you don’t agree with something (as quickly as possible since I’ve already spent a few hours on it ;)).
Thanks!
-Vincent
Hi All,
i want to put a {{warning}} in the header of a page when a specific macro is
not contained. How can i do that. I tried in a Listener when the needed
Macro-Block is not contained with
doc.getXDOM().getRoot().addChild(new WordBlock("{{warning}}Warning
Text.{{/warning}}"));
context.getWiki().saveDocument(doc, context);
This not works. What is the correct way to manipulate the Document DOM on
Load?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Inject-Warning-in-Page-when-Macro-in-Spac…
Sent from the XWiki- Dev mailing list archive at Nabble.com.