Hi devs,
I'd like to discuss about introducing a checker in the tests to fail the test if there's a warning message about a deprecated APIs being used in scripts.
For example:
```
23:59:28.308 [main] INFO org.xwiki.test.ui.TestDebugger - GroupIT-addUserAndSubgroupToGroup started
23:59:32.593 [Exec Stream Pumper] ERROR o.x.t.i.XWikiLogOutputStream - 2019-03-28 23:59:32,593 [http://localhost:8080/xwiki/bin/view/XWiki/XWikiPreferences?xpage=getgroups…] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.plugin.rightsmanager.RightsManagerPluginApi.countAllMembersNamesForGroup] in 21:/templates/getgroups.vm@62,37
23:59:35.824 [Exec Stream Pumper] ERROR o.x.t.i.XWikiLogOutputStream - 2019-03-28 23:59:35,824 [http://localhost:8080/xwiki/bin/view/XWiki/XWikiPreferences?xpage=getgroups…] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.plugin.rightsmanager.RightsManagerPluginApi.countAllMembersNamesForGroup] in 18:/templates/getgroups.vm@62,37
23:59:41.349 [Exec Stream Pumper] ERROR o.x.t.i.XWikiLogOutputStream - 2019-03-28 23:59:41,348 [http://localhost:8080/xwiki/bin/view/XWiki/XWikiPreferences?xpage=getgroups…] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.plugin.rightsmanager.RightsManagerPluginApi.countAllMembersNamesForGroup] in 21:/templates/getgroups.vm@62,37
23:59:58.503 [main] INFO org.xwiki.test.ui.TestDebugger - GroupIT-addUserAndSubgroupToGroup passed
```
Rationale:
* This adds warnings in the xwiki logs when users navigate to those pages which isn’t nice.
* It also helps reducing the number of deprecated methods we use (I have the feeling this is not reducing) and helps us move towards being able to move the deprecated code to legacy.
WDYT?
Thanks
-Vincent
Hi devs,
I remember that we talked about this new global test coverage strategy but I don’t recall where and I couldn’t find an email about it. So I’m reposting the strategy that I’ve just finished implementing.
* Every day the Clover job runs: https://ci.xwiki.org/view/Tools/job/Clover/
* It generates a global coverage report and compares it automatically with the first report generated for the current version
* If the global coverage is reduced, then:
** an email is sent to notifications(a)xwiki.org containing the report
** the job is marked as FAILING
** A failing badge is added to the job history
** A red large text is added to the job page and a link to the report is sent
* Developers MUST fix the global coverage before we can release a version, so the it means the global coverage must not be reduced during a version.
* The RM should check the CI (already part of his chores) and the “Recommended Failing” view on ci.xwiki.org must not have errors or failures (so that includes pitest job and clover job).
Any comments? Does that seem ok to you?
If you confirm it’s ok, I’ll document it on https://dev.xwiki.org/xwiki/bin/view/Community/Testing/TestCoverage/
Note: A few minutes ago an email has been sent since the global coverage has been reduced compared to yesterday.
See http://maven.xwiki.org/site/clover/20190321/XWikiReport-20190320-0128-20190…
So we need to fix it now.
Thanks
-Vincent
The XWiki development team is proud to announce the availability of XWiki 11.2.
This release brings a warning to the users when they are editing a page and other users are saving the same content. The Object editor has a new way of presenting XClasses meant to increase the user experience, while the top level application pages are not displayed anymore in the Navigation Panel. In addition the performance of the Notifications feature has been improved.
You can download it here: https://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/11.2
Thanks for your support
-The XWiki dev team
Hi devs,
I've started to analyze the 971 tests failing on webstandards related to
the WCAG validation.
I plan to create issues in order for us to fix the errors. The problem I
have is that we were validating against the Dutch Guidelines validation
tool (previously http://www.webrichtlijnen.nl/english/testing) but this
tool has been discontinued by the Dutch Ministry in July 2017, see
https://www.digitoegankelijk.nl/onderwerpen/testen/nieuws/2017/04/25/gewoon…
The difference between the W3C WCAG rules (https://www.w3.org/TR/WCAG/) and
the Dutch Guidelines was that the latest were more strict. Also WCAG
specification advanced to version 2.1 in Jun 2018.
Since I don't have much experience in the way we've implemented the
validator, I'm asking if anyone has any idea of another validator we could
replace this one with (in case we want this). Else, I will try to
investigate and find a replacement for a new reference validator.
Currently the plan is to fix our code to match the current definitions and
in cases that are not covered by W3C WCAG and where we want to add
"exceptions" I test also online on:
* https://ckeditor.com/ckeditor-4/accessibility-checker/ and
* http://wave.webaim.org/
Let me know if you have any objections to the 2 tools mentioned above.
I've started the investigation at:
https://design.xwiki.org/xwiki/bin/view/Proposal/WCAG10x
we can discuss each error and "exception" on the individual issues.
Thanks,
Caty
The XWiki development team is proud to announce the availability of 11.2
RC1.
This release brings a warning to the users when they are editing a page and
other users are saving the same content. The Object editor has a new way of
presenting XClasses meant to increase the user experience, while the top
level application pages are not displayed anymore in Navigation Panel.
You can download it here: https://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/11.2RC1/
Thanks for your support
-The XWiki dev team
Hi Devs,
I'm curious what you think about this direction for the Download / Install
page on xwiki.org:
Iteration 1
https://design.xwiki.org/xwiki/bin/download/Install/LDJEasierInstallationFl…
Changes:
* Download renamed to Install
* Form at the beginning to select the version, OS, type and package
* Depending on the user selection, there is an option to Download the
package, or you just get Installation steps (personalized for each option
selected).
I've iterated currently just for the ZIP package (for Demo+Mac), but
imagine something similar for all the other packages.
What do you think? Should I continue in this direction?
Thanks,
Caty
Dear XWiki developers,
I and my friends learn Computer Science at the University Of Szeged.
One of our obligatory task in this semester to participate in an open
source project.
We decide to choose a project so our team wouldn't be randomized and we
don't have to risk that we'll be put together with students who too lazy to
work.
I've found XWiki and seen that this would be an excellent choice since it's
well known and has some history behind itself and the project itself is
really interesting too.
We've read the different guides about how to participate, registrated to
jira, github, devmails...
Our problem is that we couldn't find an issue / work item with the
following criterias:
- no one's working on it || not assigned
( - it's beginner friendly, not have to know *everything *from A to B about
the project code )
Each of us have to take an issued or if there is 2-3 issue big enough, then
on each of the issues 2-3 members of our team would work on.
We have to showcase the first milestone next week, until then we should get
to known to the project and get issues / task.
We would be grateful if you could help us!
Thanking you in advance...
Sorry for the language mistakes.
I'm writing this letter down in Hungarian as well, just in case:
Kedves XWiki fejlesztők,
Én és a barátaim Programtervező Informatikára járunk a Szegedi
Tudományegyetemen.
Ebben a félévben az egyik kötelező feladatunk részt venni egy nyílt
forráskódú projekt fejlesztésében.
Úgy döntöttünk, hogy mi választjuk a projektet, mivel így a csapatunk nem
véletlenszerű lesz kiválasztva és nem fogunk olyanokkal összekerülni, akik
nem akarnak dolgozni.
Rátaláltam az XWiki-re és tökéletes választásnak találtam, mivel ismert,
van háttere és maga a projekt is nagyon érdekes.
Elolvastuk a különböző leírásokat és regisztráltunk githubra, jirara,
fejlesztői e-mailekre.
Az a problémánk, hogy nem találtunk issuet / feladatot az alábbi feltételek
mellett:
- senki sem dolgozik rajta || senkin sincs még rajta
( - kezdőknek is jó, nem kell *mindent* tudni hozzá a projekt
forráskódjáról )
Mindannyiunknak kell felvennie egy issuet vagy ha van 2-3 nagyobb issue,
akkor mindegyiken a csapatból 2-3 ember is dolgozhatna.
Az első mérföldkövet jövő héten kell bemutatnunk, addig meg kell ismernünk
a projektet és szereznünk kell feladatot is.
Hálásak lennénk, ha tudnátok segíteni!
Előre is köszönöm...