Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 368ea8eb6244530c3a33fbaaa762cc978c3f5088
https://github.com/xwiki/xwiki-platform/commit/368ea8eb6244530c3a33fbaaa762…
Author: Marius Dumitru Florea <marius(a)xwiki.com>
Date: 2023-11-27 (Mon, 27 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/RichTextAreaElement.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-webjar/src/main/webjar/toolbar.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-docker/src/test/it/org/xwiki/realtime/wysiwyg/test/ui/AbstractRealtimeWYSIWYGEditorIT.java
A xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-docker/src/test/it/org/xwiki/realtime/wysiwyg/test/ui/RealtimeTestDebugger.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-docker/src/test/it/org/xwiki/realtime/wysiwyg/test/ui/RealtimeWYSIWYGEditorIT.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-pageobjects/src/main/java/org/xwiki/realtime/wysiwyg/test/po/RealtimeCKEditorToolBar.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-pageobjects/src/main/java/org/xwiki/realtime/wysiwyg/test/po/RealtimeRichTextAreaElement.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/filters.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/patches.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/wysiwygEditor.js
Log Message:
-----------
XWIKI-21612: Realtime WYSIWYG editor functional tests are flickering in Chrome
* The empty text area placeholder is not added / removed immediately, so we need to wait for it.
* Store the user id (for the realtime session) in a data attribute on the realtime toolbar to simplify the wait for the user position inside the rich text area.
* Output the JavaScript (browser) console logs and the realtime debug information on test failure.
* Wait for a coeditor position before asserting the number of coeditor positions.
* Empty space at the end of a text node can be converted to a non-breaking space. Refactor the tests to avoid it, so that the outcome is the same in Firefox and Chrome.
* Fix the code that checks if a coeditor position (caret indicator) is in the viewport, so that it works on Chrome also.
* Don't sync the focused block placeholder, because each coeditor can have a different focused block and also because it leads in some cases to patches that are not valid JSON and thus are dropped, failing the tests (timeout waiting for a specific content).
* Filter the "filling character sequence" that is used by CKEditor to overcome the fact that we can't place the caret inside an empty element in Chrome (Blink / WebKit in general). This was generating additional whitespaces in Chrome that was failing the tests.
* Make sure DiffDOM creates DOM nodes using the owner document of the edited content.
* Perform operational transformation using Chainpad.NaiveJSONTransformer (used also by CryptPad) because we're synchronizing JSON content and also reject patches that are not valid JSON. thanks @yflory !
** We also tried using SmartJSONTransformer but it doesn't behave as well when multiple users are editing in the same place (i.e. when multiple operations happen in close vicinity).
* Improve logging when a remote patch fails to be applied or when a local change fails to be pushed to chainpad.
(cherry picked from commit 988a9e2824f81f4fec3e0f91e1277ac5a2bfa345)
Branch: refs/heads/stable-15.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 988a9e2824f81f4fec3e0f91e1277ac5a2bfa345
https://github.com/xwiki/xwiki-platform/commit/988a9e2824f81f4fec3e0f91e127…
Author: Marius Dumitru Florea <marius(a)xwiki.com>
Date: 2023-11-27 (Mon, 27 Nov 2023)
Changed paths:
M xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-test/xwiki-platform-ckeditor-test-pageobjects/src/main/java/org/xwiki/ckeditor/test/po/RichTextAreaElement.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-webjar/src/main/webjar/toolbar.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-docker/src/test/it/org/xwiki/realtime/wysiwyg/test/ui/AbstractRealtimeWYSIWYGEditorIT.java
A xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-docker/src/test/it/org/xwiki/realtime/wysiwyg/test/ui/RealtimeTestDebugger.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-docker/src/test/it/org/xwiki/realtime/wysiwyg/test/ui/RealtimeWYSIWYGEditorIT.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-pageobjects/src/main/java/org/xwiki/realtime/wysiwyg/test/po/RealtimeCKEditorToolBar.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-test/xwiki-platform-realtime-wysiwyg-test-pageobjects/src/main/java/org/xwiki/realtime/wysiwyg/test/po/RealtimeRichTextAreaElement.java
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/filters.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/patches.js
M xwiki-platform-core/xwiki-platform-realtime/xwiki-platform-realtime-wysiwyg/xwiki-platform-realtime-wysiwyg-webjar/src/main/webjar/wysiwygEditor.js
Log Message:
-----------
XWIKI-21612: Realtime WYSIWYG editor functional tests are flickering in Chrome
* The empty text area placeholder is not added / removed immediately, so we need to wait for it.
* Store the user id (for the realtime session) in a data attribute on the realtime toolbar to simplify the wait for the user position inside the rich text area.
* Output the JavaScript (browser) console logs and the realtime debug information on test failure.
* Wait for a coeditor position before asserting the number of coeditor positions.
* Empty space at the end of a text node can be converted to a non-breaking space. Refactor the tests to avoid it, so that the outcome is the same in Firefox and Chrome.
* Fix the code that checks if a coeditor position (caret indicator) is in the viewport, so that it works on Chrome also.
* Don't sync the focused block placeholder, because each coeditor can have a different focused block and also because it leads in some cases to patches that are not valid JSON and thus are dropped, failing the tests (timeout waiting for a specific content).
* Filter the "filling character sequence" that is used by CKEditor to overcome the fact that we can't place the caret inside an empty element in Chrome (Blink / WebKit in general). This was generating additional whitespaces in Chrome that was failing the tests.
* Make sure DiffDOM creates DOM nodes using the owner document of the edited content.
* Perform operational transformation using Chainpad.NaiveJSONTransformer (used also by CryptPad) because we're synchronizing JSON content and also reject patches that are not valid JSON. thanks @yflory !
** We also tried using SmartJSONTransformer but it doesn't behave as well when multiple users are editing in the same place (i.e. when multiple operations happen in close vicinity).
* Improve logging when a remote patch fails to be applied or when a local change fails to be pushed to chainpad.
Branch: refs/heads/master
Home: https://github.com/xwiki-contrib/application-antispam
Commit: b909e455255d6a7757e8ece6bab4360d484bd446
https://github.com/xwiki-contrib/application-antispam/commit/b909e455255d6a…
Author: Vincent Massol <vincent(a)massol.net>
Date: 2023-11-26 (Sun, 26 Nov 2023)
Changed paths:
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/MatchingReference.java
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/SpamCheckerProtectionManager.java
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/SpamCleaner.java
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/internal/DeleteAuthorRequest.java
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/internal/DeleteAuthorsJob.java
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/script/AntiSpamScriptService.java
M application-antispam-simple/src/main/java/org/xwiki/contrib/antispam/internal/simple/DefaultSpamCleaner.java
M pom.xml
Log Message:
-----------
[Misc] Fix some javadoc + simplify code
Branch: refs/heads/master
Home: https://github.com/xwiki-contrib/application-antispam
Commit: 32d17bc16d9550c1db24e52a05d662d7ab2be99d
https://github.com/xwiki-contrib/application-antispam/commit/32d17bc16d9550…
Author: Vincent Massol <vincent(a)massol.net>
Date: 2023-11-26 (Sun, 26 Nov 2023)
Changed paths:
M application-antispam-simple/src/main/java/org/xwiki/contrib/antispam/internal/simple/SimpleSpamCheckerListener.java
Log Message:
-----------
[Misc] Documentation typos
Commit: 0fd35b21d20e79ff9aed2c1cf8f5e1af71860396
https://github.com/xwiki-contrib/application-antispam/commit/0fd35b21d20e79…
Author: Vincent Massol <vincent(a)massol.net>
Date: 2023-11-26 (Sun, 26 Nov 2023)
Changed paths:
M application-antispam-simple/src/main/java/org/xwiki/contrib/antispam/internal/simple/SimpleSpamCheckerListener.java
R application-antispam-simple/src/test/java/org/xwiki/contrib/antispam/internal/SimpleSpamCheckerTest.java
A application-antispam-simple/src/test/java/org/xwiki/contrib/antispam/internal/simple/SimpleSpamCheckerTest.java
Log Message:
-----------
[Misc] Refactoring
Commit: 8b5e9c29b8dd5fad37029a648bc9867166c052f5
https://github.com/xwiki-contrib/application-antispam/commit/8b5e9c29b8dd5f…
Author: Vincent Massol <vincent(a)massol.net>
Date: 2023-11-26 (Sun, 26 Nov 2023)
Changed paths:
A application-antispam-api/src/main/java/org/xwiki/contrib/antispam/SpamCheckerProtectionManager.java
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/internal/DeleteAuthorsJob.java
M application-antispam-api/src/main/java/org/xwiki/contrib/antispam/script/AntiSpamScriptService.java
A application-antispam-simple/src/main/java/org/xwiki/contrib/antispam/internal/simple/DefaultSimpleSpamCheckerProtectionManager.java
M application-antispam-simple/src/main/java/org/xwiki/contrib/antispam/internal/simple/DefaultSpamCleaner.java
M application-antispam-simple/src/main/java/org/xwiki/contrib/antispam/internal/simple/SimpleSpamCheckerListener.java
M application-antispam-simple/src/main/resources/META-INF/components.txt
A application-antispam-simple/src/test/java/org/xwiki/contrib/antispam/internal/simple/SimpleSpamCheckerListenerTest.java
M application-antispam-simple/src/test/java/org/xwiki/contrib/antispam/internal/simple/SimpleSpamCheckerTest.java
M application-antispam-test/application-antispam-test-docker/src/test/it/org/xwiki/contrib/antispam/test/ui/AntiSpamIT.java
M application-antispam-ui/src/main/resources/AntiSpam/WebHome.xml
Log Message:
-----------
ANTISPAM-48: Protected users should be immune from being considered spammers
Compare: https://github.com/xwiki-contrib/application-antispam/compare/16bc2b899b76.…