Branch: refs/heads/main
Home: https://github.com/xwiki-contrib/ai-llm
Commit: f5ede9a06aea9b82e26cc9784209dda343a3b20a
https://github.com/xwiki-contrib/ai-llm/commit/f5ede9a06aea9b82e26cc9784209…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M application-ai-llm-models/application-ai-llm-models-ui/pom.xml
M application-ai-llm-models/application-ai-llm-models-ui/src/main/resources/AI/Models/Default.xml
Log Message:
-----------
LLMAI-94: Add support for computing embeddings internally
* Make the new default model visible
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/ai-llm/settings/notifications
Branch: refs/heads/main
Home: https://github.com/xwiki-contrib/ai-llm
Commit: 52aec04fdea67fcd63ff89cb64c7c07614f0c71b
https://github.com/xwiki-contrib/ai-llm/commit/52aec04fdea67fcd63ff89cb64c7…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/IndexWorker.java
Log Message:
-----------
LLMAI-92: Allow re-indexing collections
* Don't try indexing the collection template.
Commit: 21e639d3c39cad3f66ea0b0eb2cf84c7bc92b796
https://github.com/xwiki-contrib/ai-llm/commit/21e639d3c39cad3f66ea0b0eb2cf…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/xwikistore/XWikiDocumentStoreHelper.java
Log Message:
-----------
LLMAI-56: Add support for indexing existing XWiki spaces
* Convert the XWQL query for collections of a document to HQL to avoid errors during the installation of the extension when the XClass isn't present yet.
Commit: 057f0557743a8dda348d9ab168906b988de25c23
https://github.com/xwiki-contrib/ai-llm/commit/057f0557743a8dda348d9ab16890…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M application-ai-llm-index/application-ai-llm-index-api/pom.xml
M application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/EmbeddingsUtils.java
M application-ai-llm-models/application-ai-llm-models-api/pom.xml
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/GPTAPIConfig.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/RequestError.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/AbstractGPTAPIServer.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultEmbeddingModel.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultGPTAPIConfigProvider.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/GPTAPIConfigBuilder.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/GPTAPIServer.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/GPTAPIServerWikiObjectComponentBuilder.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/InternalGPTAPIServer.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/ModelComponentFixer.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/ModelWikiObjectComponentBuilder.java
R application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/OpenAIEmbeddingModel.java
A application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/OpenAIGPTAPIServer.java
M application-ai-llm-models/application-ai-llm-models-api/src/main/resources/META-INF/components.txt
A application-ai-llm-models/application-ai-llm-models-api/src/test/java/org/xwiki/contrib/llm/internal/DefaultEmbeddingModelTest.java
A application-ai-llm-models/application-ai-llm-models-api/src/test/java/org/xwiki/contrib/llm/internal/InternalGPTAPIServerTest.java
R application-ai-llm-models/application-ai-llm-models-api/src/test/java/org/xwiki/contrib/llm/internal/OpenAIEmbeddingModelTest.java
M application-ai-llm-models/application-ai-llm-models-ui/src/main/resources/AI/Code/AIConfig.xml
M application-ai-llm-models/application-ai-llm-models-ui/src/main/resources/AI/Models/Default.xml
Log Message:
-----------
LLMAI-94: Add support for computing embeddings internally
* allow specifying the embedding model
* move the implementation to the models module
* set the cache directory to be inside XWiki's cache directory
* Refactor the embedding model implementation, create a new GPTAPIServer role.
Compare: https://github.com/xwiki-contrib/ai-llm/compare/1dd11a98b014...057f0557743a
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/ai-llm/settings/notifications
Branch: refs/heads/backport-3229-to-stable-16.4.x
Home: https://github.com/xwiki/xwiki-platform
Commit: f2aba3e05c7c49101bcff26bb9044f0fccad5393
https://github.com/xwiki/xwiki-platform/commit/f2aba3e05c7c49101bcff26bb904…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-api/src/main/resources/ApplicationResources.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_de.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_es.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_fr.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ja.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ko.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ru.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_uk.properties
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.de.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.es.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.fr.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ja.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ko.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ru.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.uk.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.xml
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateAction.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateActionRequestHandler.java
M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/ViewPage.java
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/createinline.vm
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/test/java/org/xwiki/web/CreateInlinePageTest.java
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/create.js
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/xwiki.js
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/select/select.js
Log Message:
-----------
XWIKI-21988: Page naming strategy is blocking creation of pages not respecting it (#3229)
The goal here is to immediately display a feedback in the create page
dialog telling the user that the reference is wrong before they click on
create.
I performed following changes here:
* Refactor CreateActionRequestHandler to have a clean separation
between retrieving the reference and performing checks over
templates
* Refactor a bit CreateAction to perform immediate checks over the
rights and the name strategy before even checking if the template is
chosen: the goal being here to immediately provide exception if there's
a problem
* Refactor createinline.vm to inject bootstrap modal html elements
when used with an ajax request: the idea here is to display an ajax
modal instead of the old deprecated xwiki dialog
* Refactor xwiki.js to use a jquery ajax call to request and display
createinline
* Add listener on xwiki:dom:updated events in both create.js and
select.js to properly load them in case of dom updates
* Provide new translations for getting better information from the
name strategy
* Improve a bit the template for displaying errors
* Fix page test
* Fix page object
* Move translations
* Fix typos in translations
* Fix since
(cherry picked from commit 0d91409d433c2df6a5c13cec761d913342235b2c)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/backport-3229-to-stable-15.10.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 86e5274fbeb0336845771073b5149dbdfd934404
https://github.com/xwiki/xwiki-platform/commit/86e5274fbeb0336845771073b514…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-api/src/main/resources/ApplicationResources.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_de.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_es.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_fr.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ja.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ko.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ru.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_uk.properties
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.de.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.es.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.fr.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ja.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ko.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ru.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.uk.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.xml
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateAction.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateActionRequestHandler.java
M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/ViewPage.java
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/createinline.vm
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/test/java/org/xwiki/web/CreateInlinePageTest.java
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/create.js
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/xwiki.js
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/select/select.js
Log Message:
-----------
XWIKI-21988: Page naming strategy is blocking creation of pages not respecting it (#3229)
The goal here is to immediately display a feedback in the create page
dialog telling the user that the reference is wrong before they click on
create.
I performed following changes here:
* Refactor CreateActionRequestHandler to have a clean separation
between retrieving the reference and performing checks over
templates
* Refactor a bit CreateAction to perform immediate checks over the
rights and the name strategy before even checking if the template is
chosen: the goal being here to immediately provide exception if there's
a problem
* Refactor createinline.vm to inject bootstrap modal html elements
when used with an ajax request: the idea here is to display an ajax
modal instead of the old deprecated xwiki dialog
* Refactor xwiki.js to use a jquery ajax call to request and display
createinline
* Add listener on xwiki:dom:updated events in both create.js and
select.js to properly load them in case of dom updates
* Provide new translations for getting better information from the
name strategy
* Improve a bit the template for displaying errors
* Fix page test
* Fix page object
* Move translations
* Fix typos in translations
* Fix since
(cherry picked from commit 0d91409d433c2df6a5c13cec761d913342235b2c)
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications
Branch: refs/heads/master
Home: https://github.com/xwiki/xwiki-platform
Commit: 0d91409d433c2df6a5c13cec761d913342235b2c
https://github.com/xwiki/xwiki-platform/commit/0d91409d433c2df6a5c13cec761d…
Author: Simon Urli <simon.urli(a)xwiki.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-api/src/main/resources/ApplicationResources.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_de.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_es.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_fr.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ja.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ko.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_ru.properties
A xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-default/src/main/resources/ApplicationResources_uk.properties
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.de.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.es.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.fr.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ja.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ko.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.ru.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.uk.xml
M xwiki-platform-core/xwiki-platform-model/xwiki-platform-model-validation/xwiki-platform-model-validation-ui/src/main/resources/XWiki/EntityNameValidation/Translations.xml
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateAction.java
M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/CreateActionRequestHandler.java
M xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-ui/src/main/java/org/xwiki/test/ui/po/ViewPage.java
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/createinline.vm
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/test/java/org/xwiki/web/CreateInlinePageTest.java
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/create.js
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/xwiki.js
M xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/uicomponents/widgets/select/select.js
Log Message:
-----------
XWIKI-21988: Page naming strategy is blocking creation of pages not respecting it (#3229)
The goal here is to immediately display a feedback in the create page
dialog telling the user that the reference is wrong before they click on
create.
I performed following changes here:
* Refactor CreateActionRequestHandler to have a clean separation
between retrieving the reference and performing checks over
templates
* Refactor a bit CreateAction to perform immediate checks over the
rights and the name strategy before even checking if the template is
chosen: the goal being here to immediately provide exception if there's
a problem
* Refactor createinline.vm to inject bootstrap modal html elements
when used with an ajax request: the idea here is to display an ajax
modal instead of the old deprecated xwiki dialog
* Refactor xwiki.js to use a jquery ajax call to request and display
createinline
* Add listener on xwiki:dom:updated events in both create.js and
select.js to properly load them in case of dom updates
* Provide new translations for getting better information from the
name strategy
* Improve a bit the template for displaying errors
* Fix page test
* Fix page object
* Move translations
* Fix typos in translations
* Fix since
To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications