Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3, 3.9.1
-
MOODLE_23_STABLE, MOODLE_39_STABLE
-
MOODLE_310_STABLE
-
MDL-33981-Master -
Hide
Note
- You MUST set your $CFG->wwwroot to something under http://localhost, for example http://localhost/im
Shared Setup
Only needs to be completed one time
Build openEquella container
- Clone the Equella test docker repo:
git clone https://github.com/andrewnicols/moodle-equella-example.git
- Build the container:
cd moodle-equella-example
./build.sh
- Visit http://localhost:8080/admin/institution.do?method=admin
- Set the following details:
E-mail admin@example.com SMTP Server mail:1025 Password Moodle Confirm Password Moodle - Complete setup
Note: For me it never changes the page. I refreshed after a few seconds and installation had completed
Import vanilla institution
- Visit http://localhost:8080/admin/institution.do?method=admin
- Click on "Database"
- Initiate the DB
- Download vanilla institution: https://github.com/openequella/openequella.github.io/blob/master/guides/6.4VanillaReferenceInstitution.tgz
- Click "Import institution"
- Select the file you downloaded
- Set an admin password for the institution
- Press the Create button
- Make a note of the institution login URL and the password
Upload a file to the institution
- Visit http://localhost:8080/vanilla/home.do
- Login too the institution with the user name "TLE_ADMINISTRATOR" and the password you chose above
- Click on Contribute
- Click on "Learning Resources"
- Select "Files, URLs, YouTube"
- Choose a User agreement (any will do)
- Tick copyright declaration
- Attach a file
- Press "Description"
- Fill in a Title and Description
- From the top right of the page, press "Save"
- Submit for moderation
Configure equella repo
- Visit https://github.com/openequella/openEQUELLA-admin-console-package/releases
- Download the latest admin console for your platform
- Launch the Admin console.
- Mac:
- Open a terminal window
- Run ./Mac-Launcher.sh
- Linux:
- Open a terminal window
- Run ./Mac-Launcher.sh
- Windows:
- ???
- Mac:
- Click on "Add server"
- Name: "Localhost"
- Server URL: "http://localhost:8080/vanilla"
- Save changes
- Launch the server
- Login in with:
- Username: "TLE_ADMINISTRATOR"
- Password: "moodle"
- Click "User management"
- Click on the "Shared secrets" row
- Click "Configure"
- Create a new service called "moodle" if one does not already exist
- Set "Identifer (ID)" to "moodle"
- Set "Shared Secret" to "moodle"
Per-branch
Setup
- Login to the Moodle site as admin
- Go to Site admin > Plugins > Repository > Manage repositories
- Set Equella to "Enabled, and visible"
- Press Save
- Go to Site admin > Plugins > Repository > Equella repository -> Settings
- Click "Create a repository instance"
- Set the following values:
Name OEQ EQUELLA URL http://localhost:8080/vanilla/signon.do Shared secret ID moodle Shared secret moodle
Tests
Private files is available
- Login to Moodle as any user
- Navigate to "Private files"
- Open the file picker
- Confirm that your newly created "OEQ" repository exists
- Click on the OEQ repo
- Login using the "TLE_ADMINISTRATOR" account
- Confirm that the file you uploaded earlier is present
Repository files
- Login as admin
- Create a course or use an existing course
- Enrol a student in the course
- Turn editing on
- Press "Add a new file or resource" in any section
- Choose "Assignment"
- Enter a name
- Under the "Description" Press the "Add images" button
- Confirm that "OEQ" is listed
- Click on OEQ
- Confirm that the remote Equella info was shown
- Close the file picker and save changes
- Login as the student enrolled in the course
- Navigate to the new assignment
- Press "Add submission"
- Open the file picker
- Confirm that "OEQ" is shown in the list
- Confirm that the remote Equella info was shown
ShowNote You MUST set your $CFG->wwwroot to something under http://localhost , for example http://localhost/im Shared Setup Only needs to be completed one time Build openEquella container Clone the Equella test docker repo: git clone https://github.com/andrewnicols/moodle-equella-example.git Build the container: cd moodle-equella-example ./build.sh Visit http://localhost:8080/admin/institution.do?method=admin Set the following details: E-mail admin@example.com SMTP Server mail:1025 Password Moodle Confirm Password Moodle Complete setup Note: For me it never changes the page. I refreshed after a few seconds and installation had completed Import vanilla institution Visit http://localhost:8080/admin/institution.do?method=admin Click on "Database" Initiate the DB Download vanilla institution: https://github.com/openequella/openequella.github.io/blob/master/guides/6.4VanillaReferenceInstitution.tgz Click "Import institution" Select the file you downloaded Set an admin password for the institution Press the Create button Make a note of the institution login URL and the password Upload a file to the institution Visit http://localhost:8080/vanilla/home.do Login too the institution with the user name " TLE_ADMINISTRATOR " and the password you chose above Click on Contribute Click on "Learning Resources" Select "Files, URLs, YouTube" Choose a User agreement (any will do) Tick copyright declaration Attach a file Press "Description" Fill in a Title and Description From the top right of the page, press "Save" Submit for moderation Configure equella repo Visit https://github.com/openequella/openEQUELLA-admin-console-package/releases Download the latest admin console for your platform Launch the Admin console. Mac: Open a terminal window Run ./Mac-Launcher.sh Linux: Open a terminal window Run ./Mac-Launcher.sh Windows: ??? Click on "Add server" Name: "Localhost" Server URL: "http://localhost:8080/vanilla" Save changes Launch the server Login in with: Username: " TLE_ADMINISTRATOR " Password: " moodle " Click "User management" Click on the "Shared secrets" row Click "Configure" Create a new service called "moodle" if one does not already exist Set "Identifer (ID)" to "moodle" Set "Shared Secret" to "moodle" Per-branch Setup Login to the Moodle site as admin Go to Site admin > Plugins > Repository > Manage repositories Set Equella to "Enabled, and visible" Press Save Go to Site admin > Plugins > Repository > Equella repository -> Settings Click "Create a repository instance" Set the following values: Name OEQ EQUELLA URL http://localhost:8080/vanilla/signon.do Shared secret ID moodle Shared secret moodle Tests Private files is available Login to Moodle as any user Navigate to "Private files" Open the file picker Confirm that your newly created "OEQ" repository exists Click on the OEQ repo Login using the " TLE_ADMINISTRATOR " account Confirm that the file you uploaded earlier is present Repository files Login as admin Create a course or use an existing course Enrol a student in the course Turn editing on Press "Add a new file or resource" in any section Choose "Assignment" Enter a name Under the "Description" Press the "Add images" button Confirm that " OEQ " is listed Click on OEQ Confirm that the remote Equella info was shown Close the file picker and save changes Login as the student enrolled in the course Navigate to the new assignment Press "Add submission" Open the file picker Confirm that " OEQ " is shown in the list Confirm that the remote Equella info was shown
Description
I think Equella should support copying as an option.
There are probably occasions when someone might like to retrieve a file to attach to a forum post, or to submit to an assignment. References are forbidden here, but copying would still be useful.
Attachments
Issue Links
- is duplicated by
-
MDL-69439 repository_equella: allow internal copy
-
- Closed
-