Branch: refs/heads/waise
Home:
https://github.com/xwiki-contrib/ai-llm
Commit: 4ffb6a09ed4c66ab29de583ff43cf07c4b098f52
https://github.com/xwiki-contrib/ai-llm/commit/4ffb6a09ed4c66ab29de583ff43c…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-05-03 (Fri, 03 May 2024)
Changed paths:
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManager.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManagerBuilder.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/Collection.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/CollectionManager.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/SolrConnector.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/AiLLMSolrCoreInitializer.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollection.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollectionManager.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/PublicAuthorizationManagerBuilder.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/RAGChatRequestFilter.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResource.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/rest/JSONCollection.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/AuthorizationManagerDescriptor.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/CollectionManagerScriptService.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/resources/ApplicationResources.properties
M
application-ai-llm-index/application-ai-llm-index-api/src/main/resources/META-INF/components.txt
M
application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/DefaultCollectionManagerTest.java
M
application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResourceTest.java
M
application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsClass.xml
M
application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsSheet.xml
M
application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTemplate.xml
M
application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTranslations.xml
M
application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/openai/Context.java
Log Message:
-----------
LLMAI-48: API for authorization
* Remove the rightsCheckMethodParam as it isn't needed.
* Introduce a new AuthorizationManagerBuilder role.
* Add support for dynamically defined authorization parameters in the REST API.
* Add support for setting authorization parameters in the UI with a custom sheet and
XClass to store them depending on the chosen authorization method.
* Use the Context class in the whole code that deals with results from Solr.
* Store the collection name in the context.
* Change the collection field in Solr to only contain a single value and add a migration
to change the type.
* Filter results in the collection manager based on the configured authorization manager.
* Add a public authorization method.
Commit: d6030872179b993124c9acbad8e0970cab0c121c
https://github.com/xwiki-contrib/ai-llm/commit/d6030872179b993124c9acbad8e0…
Author: Michael Hamann <michael.hamann(a)xwiki.com>
Date: 2024-05-06 (Mon, 06 May 2024)
Changed paths:
R
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManager.java
R
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/AuthorizationManagerBuilder.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/Collection.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/AuthorizationManager.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/AuthorizationManagerBuilder.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/authorization/ExternalAuthorizationConfiguration.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollection.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/DefaultCollectionManager.java
R
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/PublicAuthorizationManagerBuilder.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationManagerBuilder.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationRequest.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationRequestBuilder.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/JWTUser.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/LDAPUser.java
A
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/internal/authorization/PublicAuthorizationManagerBuilder.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/java/org/xwiki/contrib/llm/script/CollectionManagerScriptService.java
M
application-ai-llm-index/application-ai-llm-index-api/src/main/resources/ApplicationResources.properties
M
application-ai-llm-index/application-ai-llm-index-api/src/main/resources/META-INF/components.txt
M
application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/DefaultCollectionManagerTest.java
A
application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/authorization/ExternalAuthorizationManagerBuilderTest.java
M
application-ai-llm-index/application-ai-llm-index-api/src/test/java/org/xwiki/contrib/llm/internal/rest/DefaultCollectionResourceTest.java
M application-ai-llm-index/application-ai-llm-index-ui/pom.xml
M
application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/CollectionsTranslations.xml
A
application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/ExternalAuthorizationConfigurationClass.xml
A
application-ai-llm-index/application-ai-llm-index-ui/src/main/resources/AI/Collections/Code/ExternalAuthorizationConfigurationSheet.xml
M
application-ai-llm-models/application-ai-llm-models-api/src/main/java/org/xwiki/contrib/llm/internal/HttpClientFactory.java
Log Message:
-----------
LLMAI-48: API for authorization
* Move authorization-related classes into an authorization package
* Add a new "external" authorization manager that queries an external API.
* Make the HttpClientFactory usable in other packages.
Compare:
https://github.com/xwiki-contrib/ai-llm/compare/99e0a85e2e74...d6030872179b
To unsubscribe from these emails, change your notification settings at
https://github.com/xwiki-contrib/ai-llm/settings/notifications