Update the OAuth section for the XWiki provider. Since XWiki provides only public clients, there are no client secrets passed in between OP and XWiki. Thus, the UI is, for now, just a mock with a client ID.
* Add SharePoint storage validators and tests
Introduces authentication and storage configuration validators for SharePoint storage integration, including their registration in the connection validator. Adds corresponding RSpec tests and updates English locale messages for SharePoint validation errors. Also updates the environment example and storage factory for the SharePoint test configuration.
* Drafting a draft implementation draft
* Adds missing token exchange scope
* Remove all mention to list constants
* Changes to SharePoint rather than Sharepoint
* Addresses feedback by @kharonus
* Remove PROVIDER_TYPES
* Re-creates the Registry and Errors under the Adapters namespace.
* Bring Authentication and Strategies to Adapters
* Make Strategies work with Result and clean up a bit of the code
* Setup SetPermissions Command and tests
* Moves create folder, need to add the input value
* Adds the create folder input
* RenameFile migrated
* Files Query and some Result Objects
* Gets the sync service working with the new commands/query
* UploadLinkQuery ported
* FileInfoQuery ported
* FilePathToIdMap moved
* Cleanup unused files and warnings
* Moves DeleteFolder. Updates tests of OneDriveSyncService
* Add some tests for the the inputs
* Start moving the bare minimum for the NextcloudSync
* Moves nextcloud FilePathToIdMap
* Create and Delete Folder nextcloud commands
* Port Nextcloud FileInfo and RenameFile
* Implements the changes necessary for create folder on the file picker
* Moves the CreateFolderService to the Adapters
* Move Nextcloud SetPermissions
* AuthCheck moved. Missing teests. Slowly moving the API to Adapters
* Adds note to figure out the open queries
* Move the user and group manipulation to adapters
* Moves Nextcloud FilesQuery
* Makes NextcloudSync to run on top of the new Adapter namespace
* Disable Peripherals::Registry
* Update CopyTemplateFolderService
* Makes services green again. Moves the new Nextcloud contract to Adapters
* Moves the new nextcloud contracts and fixes some the now broken tests
* Reintroduces the Internal namespace in OneDrive. Updates the contracts for Strategy to optionally take a storage (OIDC issues)
* Moves User and DownloadLink Queries and supporting code.
* Start to move the API over the new commands/queries
* Migrates the StorgeFilesAPI to the adapters
* FileLinksAPI cleared
* Updates the Storages API specs and implementations
* OpenStorage API done
* Update capabilities query
* Move connection validators and fix some broken tests
* Delete old code, update hidden dependencies.
* Adds missing handling for sso tokens
`OpTurbo::Flashable`
- `#flash_op_modal` - accepts a component and parameters. The component should be a ViewComponent and respond to `:name`, otherwise an error is raised
- `#store_callback_op_modal_flash` - "Long term storage" - store directly in the session, useful when callback is needed on longer term basis E.g. in open redirect with callback
- `#retrieve_callback_op_modal_flash` - safely read the values from `#store_callback_op_modal_flash`
- this is needed to identify oauth clients of storages that have the
same credentials (one drive storages)
- this is considered a hack and should be removed in #50872
https://community.openproject.org/work_packages/47629
- Turn `storages.provider_type` into a column for STI.
- Introduce `storages.provider_fileds` column which is responsible for
storing different attributes depending on a specific storage provider.
For nextcloud there are `username`, `password`, `managed_folders`.
- Introduce new storage model: `Storages::NextcloudStorage`.
- Migrate old code to respect new model.
- Remove a dead link from the codebase: https://www.openproject.org/docs/development/concepts/contracted-services/