Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33981

Add ability to copy to Equella repository

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_39_STABLE
    • MOODLE_310_STABLE
    • MDL-33981-Master
    • Hide

      Note

      1. 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

      1. Clone the Equella test docker repo:

        git clone https://github.com/andrewnicols/moodle-equella-example.git
        

      2. Build the container:

        cd moodle-equella-example
        ./build.sh
        

      3. Visit http://localhost:8080/admin/institution.do?method=admin
      4. Set the following details:
        E-mail admin@example.com
        SMTP Server mail:1025
        Password Moodle
        Confirm Password Moodle
      5. Complete setup
        Note: For me it never changes the page. I refreshed after a few seconds and installation had completed

      Import vanilla institution

      1. Visit http://localhost:8080/admin/institution.do?method=admin
      2. Click on "Database"
      3. Initiate the DB
      4. Download vanilla institution: https://github.com/openequella/openequella.github.io/blob/master/guides/6.4VanillaReferenceInstitution.tgz
      5. Click "Import institution"
      6. Select the file you downloaded
      7. Set an admin password for the institution
      8. Press the Create button
      9. Make a note of the institution login URL and the password

      Upload a file to the institution

      1. Visit http://localhost:8080/vanilla/home.do
      2. Login too the institution with the user name "TLE_ADMINISTRATOR" and the password you chose above
      3. Click on Contribute
      4. Click on "Learning Resources"
      5. Select "Files, URLs, YouTube"
      6. Choose a User agreement (any will do)
      7. Tick copyright declaration
      8. Attach a file
      9. Press "Description"
      10. Fill in a Title and Description
      11. From the top right of the page, press "Save"
      12. Submit for moderation

      Configure equella repo

      1. Visit https://github.com/openequella/openEQUELLA-admin-console-package/releases
      2. Download the latest admin console for your platform
      3. Launch the Admin console.
        1. Mac:
          1. Open a terminal window
          2. Run ./Mac-Launcher.sh
        2. Linux:
          1. Open a terminal window
          2. Run ./Mac-Launcher.sh
        3. Windows:
          1. ???
      4. Click on "Add server"
        1. Name: "Localhost"
        2. Server URL: "http://localhost:8080/vanilla"
      5. Save changes
      6. Launch the server
      7. Login in with:
        1. Username: "TLE_ADMINISTRATOR"
        2. Password: "moodle"
      8. Click "User management"
      9. Click on the "Shared secrets" row
      10. Click "Configure"
      11. Create a new service called "moodle" if one does not already exist
      12. Set "Identifer (ID)" to "moodle"
      13. Set "Shared Secret" to "moodle"

      Per-branch

      Setup

      1. Login to the Moodle site as admin
      2. Go to Site admin > Plugins > Repository > Manage repositories
      3. Set Equella to "Enabled, and visible"
      4. Press Save
      5. Go to Site admin > Plugins > Repository > Equella repository -> Settings
      6. Click "Create a repository instance"
      7. 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

      1. Login to Moodle as any user
      2. Navigate to "Private files"
      3. Open the file picker
        1. Confirm that your newly created "OEQ" repository exists
      4. Click on the OEQ repo
      5. Login using the "TLE_ADMINISTRATOR" account
        1. Confirm that the file you uploaded earlier is present

      Repository files

      1. Login as admin
      2. Create a course or use an existing course
      3. Enrol a student in the course
      4. Turn editing on
      5. Press "Add a new file or resource" in any section
      6. Choose "Assignment"
      7. Enter a name
      8. Under the "Description" Press the "Add images" button
        1. Confirm that "OEQ" is listed
      9. Click on OEQ
        1. Confirm that the remote Equella info was shown
      10. Close the file picker and save changes
      11. Login as the student enrolled in the course
      12. Navigate to the new assignment
      13. Press "Add submission"
      14. Open the file picker
        1. Confirm that "OEQ" is shown in the list
        2. Confirm that the remote Equella info was shown
      Show
      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: ??? 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

      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.

            Nguyen Nathan Nguyen
            dougiamas Martin Dougiamas
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 11 minutes
                5h 11m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.