Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/aut 3479/share items #642

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

bartlomiejmarszal
Copy link
Contributor

This will allow user to share items or item from Tao 3.x to external Storage defined by remoteQTIItemFilesystem

For testing purpose we can use local storage adapter:

<?php
return new oat\oatbox\filesystem\FileSystemService(array(
    'filesPath' => '/var/www/html/data/',
    'adapters' => array(
        'default' => array(
            'class' => 'Local',
            'options' => array(
                'root' => '/var/www/html/data/'
            )
        ),
        'externalStorage' => array(
            'class' => 'Local',
            'options' => array(
                'root' => '/var/www/html/externalStorage/'
            )
        ),
        'memory' => array(
            'class' => 'League\Flysystem\Memory\MemoryAdapter'
        )
    ),
    'dirs' => array(
        (...),
        'remoteQTIItemFilesystem' => 'externalStorage'
    )
));

When user clicks on Share button he will create task that will export and save item(s) into external storage defined by remoteQTIItemFilesystem

Screenshot 2024-01-26 at 12 31 02

Uploading Screenshare - 2024-01-26 12_46_32 PM.mp4…

Copy link

github-actions bot commented Jan 26, 2024

Front-end summary Node 18

💯 Total ✅ Passed ⏭️ Skipped ❌ Failed
29 29 0 0

@bartlomiejmarszal bartlomiejmarszal marked this pull request as draft January 26, 2024 11:49
Copy link

Version

Target Version 12.2.0
Last version 12.1.2

There are 0 BREAKING CHANGE, 4 features, 0 fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant