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

Remove picasa repository and portfolio from core

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-58939-master
    • Hide

      Setup

      The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 0d0e66d37c6271657d76f948db9eeb10c139e7ae".

      1. Login as admin.
      2. Go to "Site administration > Advanced features" and "Enable portfolios".
      3. Access to "Site administration > Plugins > Portfolios > Manage portfolios".
      4. Select "Enable and visible" for "Picasa". You can use some silly text (such as "xxxx"), for Client ID and Secret.
      5. Select "Enable and visible" for "File download".
      6. Check the following SQL query return 1 row. Annotate the id.

        SELECT * FROM mdl_portfolio_instance WHERE plugin = 'picasa'

      7. Check the following SQL query return 2 (you'll need to replace the id that you've annotated previously): 

        SELECT count(*) FROM mdl_portfolio_instance_config WHERE instance = <PORTFOLIOID>

      8. Go to "Site administration > Plugins > Repositories > Manage repositories".
      9. Select "Enable and visible" for the "Picasa web album" repository. You'll need to add some silly text (such as "xxxx"), for Client ID and Secret.
      10. Check the following SQL query return 1 row. Annotate the id.

        SELECT * FROM mdl_repository WHERE type = 'picasa'

      11. Check the following SQL query return 1 (you'll need to replace the id that you've annotated previously): 

        SELECT count(*) FROM mdl_repository_instances WHERE typeid = <REPOSITORYID>

      12. Check the following SQL query is not empty: 

        SELECT * FROM mdl_config_plugins WHERE plugin = 'picasa'

      13. Apply the patch and run the upgrade process.

      Testing scenario 1: Portfolio

      1. Access to "Site administration > Plugins > Portfolios > Manage portfolios".
      2. Check "Picasa" is no longer displayed there.
      3. Check the following SQL query is empty:

        SELECT * FROM mdl_portfolio_instance WHERE plugin = 'picasa'

      4. Check the following SQL query is empty too (you'll need to replace the id that you've annotated previously): 

        SELECT count(*) FROM mdl_portfolio_instance_config WHERE instance = <PORTFOLIOID> 

      Testing scenario 2: Repository

      1. Access to "Site administration > Plugins > Repositories > Manage repositories".
      2. Check "Picasa web album" is no longer displayed there.
      3. Check the following SQL query is empty:

        SELECT * FROM mdl_repository WHERE type = 'picasa'

      4. Check the following SQL query is empty too (you'll need to replace the id that you've annotated previously): 

        SELECT count(*) FROM mdl_repository_instances WHERE typeid = <REPOSITORYID>

      5. Check the following SQL query is empty:

        SELECT * FROM mdl_config_plugins WHERE plugin = 'picasa'

       

      Show
      Setup The following steps should be run on a Moodle site without the patch. For instance, you can run "git checkout 0d0e66d37c6271657d76f948db9eeb10c139e7ae". Login as admin. Go to "Site administration > Advanced features" and "Enable portfolios". Access to "Site administration > Plugins > Portfolios > Manage portfolios". Select "Enable and visible" for "Picasa". You can use some silly text (such as "xxxx"), for Client ID and Secret. Select "Enable and visible" for "File download". Check the following SQL query return 1 row. Annotate the id. SELECT * FROM mdl_portfolio_instance WHERE plugin = 'picasa' Check the following SQL query return 2 (you'll need to replace the id that you've annotated previously):  SELECT count(*) FROM mdl_portfolio_instance_config WHERE instance = <PORTFOLIOID> Go to "Site administration > Plugins > Repositories > Manage repositories". Select "Enable and visible" for the "Picasa web album" repository. You'll need to add some silly text (such as "xxxx"), for Client ID and Secret. Check the following SQL query return 1 row. Annotate the id. SELECT * FROM mdl_repository WHERE type = 'picasa' Check the following SQL query return 1 (you'll need to replace the id that you've annotated previously):  SELECT count(*) FROM mdl_repository_instances WHERE typeid = <REPOSITORYID> Check the following SQL query is not empty:  SELECT * FROM mdl_config_plugins WHERE plugin = 'picasa' Apply the patch and run the upgrade process. Testing scenario 1: Portfolio Access to "Site administration > Plugins > Portfolios > Manage portfolios". Check "Picasa" is no longer displayed there. Check the following SQL query is empty: SELECT * FROM mdl_portfolio_instance WHERE plugin = 'picasa' Check the following SQL query is empty too (you'll need to replace the id that you've annotated previously):  SELECT count(*) FROM mdl_portfolio_instance_config WHERE instance = <PORTFOLIOID>  Testing scenario 2: Repository Access to "Site administration > Plugins > Repositories > Manage repositories". Check "Picasa web album" is no longer displayed there. Check the following SQL query is empty: SELECT * FROM mdl_repository WHERE type = 'picasa' Check the following SQL query is empty too (you'll need to replace the id that you've annotated previously):  SELECT count(*) FROM mdl_repository_instances WHERE typeid = <REPOSITORYID> Check the following SQL query is empty: SELECT * FROM mdl_config_plugins WHERE plugin = 'picasa'  
    • Moppies Kanban

    Description

      Picasa is abandonware from Google (https://picasa.google.com/) - we should remove portfolio and repository from Moodle.
       

      Attachments

        1. MDL-58939_before_Step 10.png
          MDL-58939_before_Step 10.png
          54 kB
        2. MDL-58939_before_Step 11.png
          MDL-58939_before_Step 11.png
          52 kB
        3. MDL-58939_before_Step 12.png
          MDL-58939_before_Step 12.png
          64 kB
        4. MDL-58939_before_Step 6.png
          MDL-58939_before_Step 6.png
          53 kB
        5. MDL-58939_before_Step 7.png
          MDL-58939_before_Step 7.png
          53 kB
        6. MDL-58939_Portfolio_Step 2.png
          MDL-58939_Portfolio_Step 2.png
          78 kB
        7. MDL-58939_Portfolio_Step 3.png
          MDL-58939_Portfolio_Step 3.png
          50 kB
        8. MDL-58939_Portfolio_Step 4.png
          MDL-58939_Portfolio_Step 4.png
          53 kB
        9. MDL-58939_Repository_Step 2.png
          MDL-58939_Repository_Step 2.png
          103 kB
        10. MDL-58939_Repository_Step 3.png
          MDL-58939_Repository_Step 3.png
          51 kB
        11. MDL-58939_Repository_Step 4.png
          MDL-58939_Repository_Step 4.png
          53 kB
        12. MDL-58939_Repository_Step 5.png
          MDL-58939_Repository_Step 5.png
          50 kB

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              damyon Damyon Wiese
              Ferran Recio Ferran Recio
              Jun Pataleta Jun Pataleta
              Angelia Dela Cruz Angelia Dela Cruz
              Votes:
              1 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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