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

pix_url() being used in some parts of Moodle

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      pix_url usage.
      1. Search for usages of pix_url in the Moodle code base. (e.g. "git grep pix_url").
        • Confirm that it is not being used anywhere in Moodle.
      OneDrive repository
      1. Prepare your Moodle for OneDrive set up. Make sure that it is running on https.
        Note: If you have a dev machine that is on http and don't want to configure your environment to run on https, ngrok might be an easier way to let your test server run on https. To configure:
        1. Download ngrok.
        2. Run ngrok – "./ngrok http 80 --region=au --bind-tls=true"
        3. In your config.php, set "$CFG->wwroot = 'https://[NGROK_URL]/path/to/moodle';"
        4. In your config.php, add "$CFG->sslproxy = true;"
      2. Set up and enable the OneDrive repository. Check out https://docs.moodle.org/dev/OAuth2_Services. https://docs.moodle.org/32/en/OneDrive_repository might also be helpful.
      3. Login as a student.
      4. On the navigation panel, click on "Private files"
      5. Open the File picker and select "Microsoft OneDrive" and login to your OneDrive account.
      6. After a successful login, check the folder icons.
        • Confirm that the folder icons are being properly rendered. (The file icons might look very small, but don't mind them. It's a separate issue)
      Show
      pix_url usage. Search for usages of pix_url in the Moodle code base. (e.g. " git grep pix_url "). Confirm that it is not being used anywhere in Moodle. OneDrive repository Prepare your Moodle for OneDrive set up. Make sure that it is running on https. Note: If you have a dev machine that is on http and don't want to configure your environment to run on https, ngrok might be an easier way to let your test server run on https. To configure: Download ngrok. Run ngrok – " ./ngrok http 80 --region=au --bind-tls=true " In your config.php, set " $CFG->wwroot = 'https://[NGROK_URL]/path/to/moodle'; " In your config.php, add " $CFG->sslproxy = true; " Set up and enable the OneDrive repository. Check out https://docs.moodle.org/dev/OAuth2_Services . https://docs.moodle.org/32/en/OneDrive_repository might also be helpful. Login as a student. On the navigation panel, click on " Private files " Open the File picker and select " Microsoft OneDrive " and login to your OneDrive account. After a successful login, check the folder icons. Confirm that the folder icons are being properly rendered. (The file icons might look very small, but don't mind them. It's a separate issue)
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-58538-master

      Attachments

        Activity

          People

          Assignee:
          jpataleta Jun Pataleta
          Reporter:
          jpataleta Jun Pataleta
          Peer reviewer:
          Damyon Wiese
          Integrator:
          Dan Poltawski
          Tester:
          John Okely
          Participants:
          Component watchers:
          Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón, Amy Groshek, David Scotson, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
          Votes:
          0 Vote for this issue
          Watchers:
          5 Start watching this issue

            Dates

            Created:
            Updated:
            Resolved:
            Fix Release Date:
            15/May/17