From f63d8a8a7b21cebba220a2c8b6235f93e2fadbe1 Mon Sep 17 00:00:00 2001 From: prowebat <1819129+prowebat@users.noreply.github.com> Date: Sat, 16 Sep 2023 22:02:00 +0200 Subject: [PATCH] cleanup and auto publishing on moodle.org --- .github/workflows/moodle-release.yml | 66 ++++ .gitignore | 4 + .project | 17 - .settings/.jsdtscope | 7 - ...rg.eclipse.wst.jsdt.ui.superType.container | 1 - .../org.eclipse.wst.jsdt.ui.superType.name | 1 - CHANGES.md | 299 ++++++++++++++++++ changelog.md | 292 ----------------- version.php | 4 +- 9 files changed, 371 insertions(+), 320 deletions(-) create mode 100644 .github/workflows/moodle-release.yml create mode 100644 .gitignore delete mode 100644 .project delete mode 100644 .settings/.jsdtscope delete mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container delete mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 CHANGES.md delete mode 100644 changelog.md diff --git a/.github/workflows/moodle-release.yml b/.github/workflows/moodle-release.yml new file mode 100644 index 0000000..db7adee --- /dev/null +++ b/.github/workflows/moodle-release.yml @@ -0,0 +1,66 @@ +# +# Whenever a new tag starting with "v" is pushed, add the tagged version +# to the Moodle Plugins directory at https://moodle.org/plugins +# +# revision: 2021070201 +# +name: Releasing in the Plugins directory + +on: + push: + tags: + - v* + + workflow_dispatch: + inputs: + tag: + description: 'Tag to be released' + required: true + +defaults: + run: + shell: bash + +jobs: + release-at-moodle-org: + runs-on: ubuntu-latest + env: + PLUGIN: block_exaport + CURL: curl -s + ENDPOINT: https://moodle.org/webservice/rest/server.php + TOKEN: ${{ secrets.MOODLE_ORG_TOKEN }} + FUNCTION: local_plugins_add_version + + steps: + - name: Call the service function + id: add-version + run: | + if [[ ! -z "${{ github.event.inputs.tag }}" ]]; then + TAGNAME="${{ github.event.inputs.tag }}" + elif [[ $GITHUB_REF = refs/tags/* ]]; then + TAGNAME="${GITHUB_REF##*/}" + fi + if [[ -z "${TAGNAME}" ]]; then + echo "No tag name has been provided!" + exit 1 + fi + ZIPURL="https://api.github.com/repos/${{ github.repository }}/zipball/${TAGNAME}" + RESPONSE=$(${CURL} ${ENDPOINT} --data-urlencode "wstoken=${TOKEN}" \ + --data-urlencode "wsfunction=${FUNCTION}" \ + --data-urlencode "moodlewsrestformat=json" \ + --data-urlencode "frankenstyle=${PLUGIN}" \ + --data-urlencode "zipurl=${ZIPURL}" \ + --data-urlencode "vcssystem=git" \ + --data-urlencode "vcsrepositoryurl=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \ + --data-urlencode "vcstag=${TAGNAME}" \ + --data-urlencode "changelogurl=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/commits/${TAGNAME}" \ + --data-urlencode "altdownloadurl=${ZIPURL}") + echo "response=${RESPONSE}" >> $GITHUB_OUTPUT + + - name: Evaluate the response + id: evaluate-response + env: + RESPONSE: ${{ steps.add-version.outputs.response }} + run: | + jq <<< ${RESPONSE} + jq --exit-status ".id" <<< ${RESPONSE} > /dev/null \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..81280d8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.buildpath +.idea +.project +.settings \ No newline at end of file diff --git a/.project b/.project deleted file mode 100644 index 4a7d235..0000000 --- a/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - exaport - - - - - - org.eclipse.wst.validation.validationbuilder - - - - - - org.eclipse.wst.jsdt.core.jsNature - - diff --git a/.settings/.jsdtscope b/.settings/.jsdtscope deleted file mode 100644 index cca691f..0000000 --- a/.settings/.jsdtscope +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.container b/.settings/org.eclipse.wst.jsdt.ui.superType.container deleted file mode 100644 index 49c8cd4..0000000 --- a/.settings/org.eclipse.wst.jsdt.ui.superType.container +++ /dev/null @@ -1 +0,0 @@ -org.eclipse.wst.jsdt.launching.JRE_CONTAINER \ No newline at end of file diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.name b/.settings/org.eclipse.wst.jsdt.ui.superType.name deleted file mode 100644 index 11006e2..0000000 --- a/.settings/org.eclipse.wst.jsdt.ui.superType.name +++ /dev/null @@ -1 +0,0 @@ -Global \ No newline at end of file diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..c5e7137 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,299 @@ +### v4.6.7 (2023091600) ### +* php8 fixes +* fix several bugs with exaport view editing + +### v4.6.7 (2022112100) ### +* Moodle Codestyle fixes + +### v4.6.7 (2022092800) ### +* Increase downwards compatibility +* Privacy API integration, +* GDPR backward compability fixes + +### v4.6.7 (2022092800) ### +* Privacy API integration, GDPRs + +### v4.6.7 (2022090200) ### +* Moodle 4.0 compatibility +* securty fixes, deleted old code + +### v4.6.4 (2020011700) ### +* Upgrade-bugfix +* minor adjustments for Dakora-app +* changes of wording +* ipad-view optimization +* updates for Moodle 3.8 +* shared category bugfix + +### v4.6.3 ### +* update of javascript library to use dynamic drag&drop in views +* bug correction in automatic adding of artifacts to views +* update of export to Europass +* multiple files in "file" artifact are now possible + +### v4.6.1 ### +* new Webservice token.php + +### v4.6.0 ### +* bugfixes +* moodle3.3 update + +### v4.5.1 ### +* bugfixes + +### 2016-09-21 Version 4.5.0: ### +* bugfixes +* usability improvements + +### 2016-07-12 Version 4.4.2: ### + +* integration with moodle cohorts + +### 2016-04-26 Version 4.4.1 ### + +* export directory structure +* usability improvements + +### 2015-10-30 Version 4.3 ### + +* eLove Webservices + +### 2015-09-06 Version 4.2 ### + +* admin configuration option for userquota and max upload filesize +* resume with competencies, skills and badges +* export xml to europass +* group publishing functionality +* passthrough to Mahara functionality (needed for eLove-app) +* view preview +* external category sharing functionality +* autosharing option +* autogenerated views from artefacts +* Chinese language file added + +### 2013-16-11 Version 4.1 ### +* Thank you to Silvia Alcaraz-Dominguez from Universitat de Barcelona (Faculty of Pedagogy) for translating the module to Catalan Usability-enhancements - grouping of published views + +### 2013-10-09 Version 4.1 ### +* new my portfolio area - no more categories, tiles, print-version new shared views better integration of external content in views (can be added as artefacts) + +### 2013-05-03 Version 4.0.5 ### +* link items can be commented in views, size for pop up for artefact selection increases dynamically + +### 2013-03-22 Version 4.0.5 ### +* implemented multiple categories, new views-concept (mahara-style), access for smartphone-app epop (www.epop.at) + +### 2012-06-01 Version 4.0.5 ### +* updated-script for data-transfer from previous versions included (thanks to eThink eduacation for the support!) + +### 2012-06-01 Version 4.0.4 ### + +* corrected draft-file-area-storage-problem2012-05-31 4.0.3. +* implemented ePOP-functionality for smartphone-app + +### 2011-12-09 Version 4.0.3 ### + +* changed settings.php-problem for Moodle 2.2 + +### 2011-11-23 Version 4.0.3 ### + +* eliminated a few glitches +* new icons + +### 2011-11-2 Version 4.0.2 ### + +* changes table-names to Moodle 2.0-standard, Module-block is now called exaport +* deleted update.php + +### 2011-10-26 Version 4.0.1 ### + +* minor changes and bugfixes +* update of view-based scorm export + +### 2011-07-13 Version 4.0 ### + +* updated to Moodle 2.x-compatibility +* introduction of connection to Exabis Competence Grid +* added a few configure block options + +### 2009-03-19 Version 3.2.1 ### + +* minor bug-fixes: corrected user-id-problem + +### 2009-03-06 Version 3.2.1 changes from 3.2.0 to 3.2.1: ### + +* sharing-bug: users not correctly read from moodle +* ie bug: sharing selections didn't work +* import/export of umlaut's in scorm format now working correctly +* categorie delete bug +* view-bug if a user has no portfolio-items + +### 2009-01-01 Version 3.2.0 ### + +* Error changes for views +* Allow export in epx/scorm of whole ePortfolio or a single view only +* List of shared views instead of shared view-items +* Switching between old ePortfolio (without views) and new ePortfolio layout + +### 2008-11-20 Version 3.1.0 ### + +* Added views function +* Views can contain different items, headlines, texts and personal informations +* Drag and Drop for views +* Views can be external or internal shared + +### 2008-09-21 ### + +* ePortfolio block is now in moodle cvs + +### 2008-09-01 Version 3.0.0 ### + +* Complete Code-Review +* Joined the 3 portfolio-types (external, note, file) into one table +* Some Postgres compatibility changes, because it has no concat_ws function! +* added de_du + +Version Version 2.2 + +* Exabis ePortfolio now requires PHP 5 - if you don't have it don't use the .epx-Export +* Added Export of .epx-Files + +### 2008-07-31 Version 2.1.3 ### + +* New languages: Greek and Czech +* Corrected bug when viewing external portfolio with guest user + +### 2008-03-12 Version 2.1.2 - Greetings from the moodlemoot in Heidelberg/Germany! ### + +* Corrected bug at export: Ressource-IDs of the SCORM export were mixed up. Thanks to Panayiotis Papaharalambous for reporting this bug. +* Wrong parameter at Breadcrumb of export.php corrected. Thanks to Panayiotis Papaharalambous again :) + +### 2008-03-05 Version 2.1.1 ### + +* Corrected small bug at export: When username contained an @, the export didn't work. + +### 2008-01-02 Version 2.1 ### + +* Major changes due to code review. This version is not compatible with previous versions. We will provide an update script for everyone who wants to update from older versions as soon as possible (during january 2008). +* Directory of whole portfolio-plugin is now blocks/exabis_eportfolio +* Language packs are now in blocks/exabis_eportfolio/lang/ +* Language packs were renamed to block_exabis_eportfolio.php +* Block was renamed to exabis_eportfolio +* All the tables start with blocexabepor +* Added foreign table keys and indexes +* Removed backticks in sql statements +* Removed combination of NOTNULL="false" and DEFAULT="0" +* Removed nonstandard code instead of addslashes at import +* Changed directory for files to moodledata/exabis_eportfolio +* Implemented portfoliofile.php, which is a simplified version of file.php and has special protection for portfolio files +* removed non-XHTML compliant code +* removed hardcoded CSS +* removed uninitialized variables +* used PARAM_TEXT for category names +* timemodified reads time() after passing the formular data +* used prefix for functions in lib.php files +* Used fullname() +* Removed hardcoded charset=iso-8859-1 in export.php file +* Eportfolio block allowed on the front page now +* Used CONTEXT_SYSTEM for the capabilities and legacy user. If you want to change the rights from specific users you have to define a global role and unset the specific capability. +* Split up add_file.php into add_file.php and add_file_from_moodleimport.php and checked if the user is allowed to add this file (when importing from an assignment) +* Typos and other minor problems +* localized alt-tags +* Shortened table names +* XSS issues in portfoliofile.php and external links +* Removed possible SQL injection at import +* Corrected typos and coding errors +* Improved general accesssibility +* When using the block on the frontpage the double site link navigation was removed +* Form's definition() doesn't use existing data +* Removed redirects +* Removed the use of $_SERVER['HTTP_REFERER'] +* The exabis_eportfolio:import-capability is now not set - the system administrator has to deside whether he wants to allow import or not. +* Block title is now in language-file + +### 2007-11-29 Version 2.03 ### + +* Changed name of language-file. bookmark.php is now exabisportfolio.php +* Cleaned up the code +* Removed all PARAM_RAW (except in one case where I do a manual check) +* Rewrote SQL for both MySQL and PostgreSQL (use of XMLDB, applied rules for SQL) +* Removed all global variables except the ones defined from Moodle +* Changed directory portfolio/ to eportfolio/ +* Added $CFG->dirroot before require_once, require, include, include_once and before links. +* Removed bug: when deleting a categorie the entries weren't deleted. +* Set the Import-Capabilitiy default to off because the import may be a security risk. + +### 2007-11-12 Version 2.02 ### + +* Removed bug when exporting external portfolios (comment-column was not created when you didn't update the plugin) +* When sharing a portfolio entry your own name is now shown. +* Problem with not finding the mimeinfo()-function (white page when editing a file portfolio entry) +* Added capability system. Comment: The Exabis ePortfolio-rights have to be set globally (Assign global roles). Comment: the capability shareextern needs shareintern. You can only share extern if both shareintern and shareextern are set. allowposts is used to prevents posts on other (shared) bookmarks. You can always post on your own bookmark. +* Changed directory structure: put all the code inside eportfolio/. You can delete the direcotries bookmark/ and portfolio_export/ that were needed in previous installations. Please delete them after installing the new version. +* Removed direcory files/ and the file inside (mimetypes.php) because moodle is capable of the function mimetypes(). This file is not needed any more. +* Changes place where the exported SCORM-files (.zip) are saved. Put that back into the course-directories because elsewhere they would not be accessable with file.php. +* Comment: Didn't change place where the files of the bookmark are saved: Advantages: + * Files are accessible now + * This version is compatible with previous versions <= 2.01 Disadvantage: + * When a course is deleted the portfolio-files that were uploaded within this course are also deleted. Unfortunately there is no other way to implement this at the moment. The whole thing is a limitation of moodle that files can only be accessed within course-directories (with file.php). I heard of plans to solve this problems in future moodle versions. If anyone knows a better solution please tell me :) +* Changed location of images to eportfolio/pix because there were problems one some installations. + +### 2007-08-05 Version 2.01 ### + +* Added require_login at the external portfolio. Guest user is allowed to, so if you want that a user who hasn't a login is automatically logged in as guest you have to set $CFG->autologinguests to 1 +* Fixed problems with external links (the url was preceded with $CFG->wwwroot) +* Fixed breadcrumbs at import/export +* Added some language strings and removed hardcoded strings. +* Removed bug that the bookmark entries were not shown anymore when the course was deleted. +* Added column for Course name at the moodle-intern import. + +### 2007-07-24 Version 2.00 ### + +* Added pix\i\desc.gif because in Moodle 1.8 this image is missing. +* Minor changes in nearly all files (e.g. replaces +* with +* ) +* UI changes in view* and share* - files +* Partially reprogramming of view* and shar* - files +* Added external access for files +* Changed the managing of internal access +* This plugin needs MySQL >= 4.1 +* The Blog was removed. If theres a need to convert the blog entries to notes please contact the developer. +* Added comment-function to all files, external links and notes when the user is viewing them (removed direct linking to files or links) +* changed most of the forms to formslib +* Block should not be shown on the start page of moodle - the paths were incorrect there. You should see the Block only when a course is selected. +* Added import for SCORM-files. At the moment this import can only import previously exported files. +* Updated export. Please use only new exported files for import. Now markers are used in the comment-file to import the content again. +* Added export of comments +* Added functionality to import files from moodle assignments. +* Added many more minor improvements. + +### 2007-04-16 Version 1.06 ### + +* Corrected wrong header when viewing notes in view_notes.php +* Corrected error on displaying notes in view_note.php +* Deleted all occurences of deprecated function optional_variable() +* Improved breadcrumb when viewing notes. +* Corrected access problems in viewbloglist.php and viewsharedblog.php + +### 2007-04-05 Version 1.05 ### + +* Added header when editing categories (main category, sub category) +* Allowed file upload when editing a file item in the portfolio +* When you click the button "select all" at sharing items the item is not shared with new user who join the course (would be uncontrollable) +* Corrected showing of portfolio-items. No items of other courses are shown. +* Denied acces when using the "Login As"-Function. The portfolio has to be private! +* Added a column in the portfolio-view where you can see which item is published in which course +* Minor Bugfixes + +### 2007-03-28 Version 1.04 ### + +* Removed security bug in portfolio_blog/comments.php: Teacher had read access to the e-portfolio of the students which wrote journal-entries. +* Bugfixes in portfolio_blog/viewbloglist.php: Read of Teacher and Student Journals +* Suppressed error message after uploading a file in add_file.php +* Corrected the SQL-query for the export of the personal description + +### Version 1.03 ### + +* First official release + diff --git a/changelog.md b/changelog.md deleted file mode 100644 index c8119a5..0000000 --- a/changelog.md +++ /dev/null @@ -1,292 +0,0 @@ -v4.6.7 (2022112100) - Moodle Codestyle fixes -v4.6.7 (2022092800) - Increase downwards compatibility - Privacy API integration, - GDPR backward compability fixes -v4.6.7 (2022092800) - Privacy API integration, GDPRs -v4.6.7 (2022090200) - Moodle 4.0 compatibility - securty fixes, deleted old code -v4.6.4 (2020011700) - Upgrade-bugfix - minor adjustments for Dakora-app - changes of wording - ipad-view optimization - updates for Moodle 3.8 - shared category bugfix - -v4.6.3 - update of javascript library to use dynamic drag&drop in views - bug correction in automatic adding of artifacts to views - update of export to Europass - multiple files in "file" artifact are now possible - -v4.6.1 - - new Webservice token.php - -v4.6.0 - - bugfixes - moodle3.3 update - -v4.5.1 - - bugfixes - -2016-09-21 Version 4.5.0: - - bugfixes - usability improvements - -2016-07-12 Version 4.4.2: - - integration with moodle cohorts - -2016-04-26 Version 4.4.1 - - export directory structure - usability improvements - -2015-10-30 Version 4.3 - - eLove Webservices - -2015-09-06 Version 4.2 - - admin configuration option for userquota and max upload filesize - resume with competencies, skills and badges - export xml to europass - group publishing functionality - passthrough to Mahara functionality (needed for eLove-app) - view preview - external category sharing functionality - autosharing option - autogenerated views from artefacts - Chinese language file added - -2013-16-11 Version 4.1 - - Thank you to Silvia Alcaraz-Dominguez from Universitat de Barcelona (Faculty of Pedagogy) for translating the module to Catalan Usability-enhancements - grouping of published views - -2013-10-09 Version 4.1 new my portfolio area - no more categories, tiles, print-version new shared views better integration of external content in views (can be added as artefacts) - -2013-05-03 Version 4.0.5 link items can be commented in views, size for pop up for artefact selection increases dynamically - -2013-03-22 Version 4.0.5 implemented multiple categories, new views-concept (mahara-style), access for smartphone-app epop (www.epop.at) - -2012-06-01 Version 4.0.5 updated-script for data-transfer from previous versions included (thanks to eThink eduacation for the support!) - -2012-06-01 Version 4.0.4 - - corrected draft-file-area-storage-problem2012-05-31 4.0.3. - implemented ePOP-functionality for smartphone-app - -2011-12-09 Version 4.0.3 - - changed settings.php-problem for Moodle 2.2 - -2011-11-23 Version 4.0.3 - - eliminated a few glitches - new icons - -2011-11-2 Version 4.0.2 - - changes table-names to Moodle 2.0-standard, Module-block is now called exaport - deleted update.php - -2011-10-26 Version 4.0.1 - - minor changes and bugfixes - update of view-based scorm export - -2011-07-13 Version 4.0 - - updated to Moodle 2.x-compatibility - introduction of connection to Exabis Competence Grid - added a few configure block options - -2009-03-19 Version 3.2.1 - - minor bug-fixes: corrected user-id-problem - -2009-03-06 Version 3.2.1 changes from 3.2.0 to 3.2.1: - - sharing-bug: users not correctly read from moodle - ie bug: sharing selections didn't work - import/export of umlaut's in scorm format now working correctly - categorie delete bug - view-bug if a user has no portfolio-items - -2009-01-01 Version 3.2.0 - - Error changes for views - Allow export in epx/scorm of whole ePortfolio or a single view only - List of shared views instead of shared view-items - Switching between old ePortfolio (without views) and new ePortfolio layout - -2008-11-20 Version 3.1.0 - - Added views function - Views can contain different items, headlines, texts and personal informations - Drag and Drop for views - Views can be external or internal shared - -2008-09-21 - - ePortfolio block is now in moodle cvs - -2008-09-01 Version 3.0.0 - - Complete Code-Review - Joined the 3 portfolio-types (external, note, file) into one table - Some Postgres compatibility changes, because it has no concat_ws function! - added de_du - -Version Version 2.2 - - Exabis ePortfolio now requires PHP 5 - if you don't have it don't use the .epx-Export - Added Export of .epx-Files - -2008-07-31 Version 2.1.3 - - New languages: Greek and Czech - Corrected bug when viewing external portfolio with guest user - -2008-03-12 Version 2.1.2 - Greetings from the moodlemoot in Heidelberg/Germany! - - Corrected bug at export: Ressource-IDs of the SCORM export were mixed up. Thanks to Panayiotis Papaharalambous for reporting this bug. - Wrong parameter at Breadcrumb of export.php corrected. Thanks to Panayiotis Papaharalambous again :) - -2008-03-05 Version 2.1.1 - - Corrected small bug at export: When username contained an @, the export didn't work. - -2008-01-02 Version 2.1 - - Major changes due to code review. This version is not compatible with previous versions. We will provide an update script for everyone who wants to update from older versions as soon as possible (during january 2008). - Directory of whole portfolio-plugin is now blocks/exabis_eportfolio - Language packs are now in blocks/exabis_eportfolio/lang/ - Language packs were renamed to block_exabis_eportfolio.php - Block was renamed to exabis_eportfolio - All the tables start with blocexabepor - Added foreign table keys and indexes - Removed backticks in sql statements - Removed combination of NOTNULL="false" and DEFAULT="0" - Removed nonstandard code instead of addslashes at import - Changed directory for files to moodledata/exabis_eportfolio - Implemented portfoliofile.php, which is a simplified version of file.php and has special protection for portfolio files - removed non-XHTML compliant code - removed hardcoded CSS - removed uninitialized variables - used PARAM_TEXT for category names - timemodified reads time() after passing the formular data - used prefix for functions in lib.php files - Used fullname() - Removed hardcoded charset=iso-8859-1 in export.php file - Eportfolio block allowed on the front page now - Used CONTEXT_SYSTEM for the capabilities and legacy user. If you want to change the rights from specific users you have to define a global role and unset the specific capability. - Split up add_file.php into add_file.php and add_file_from_moodleimport.php and checked if the user is allowed to add this file (when importing from an assignment) - Typos and other minor problems - localized alt-tags - Shortened table names - XSS issues in portfoliofile.php and external links - Removed possible SQL injection at import - Corrected typos and coding errors - Improved general accesssibility - When using the block on the frontpage the double site link navigation was removed - Form's definition() doesn't use existing data - Removed redirects - Removed the use of $_SERVER['HTTP_REFERER'] - The exabis_eportfolio:import-capability is now not set - the system administrator has to deside whether he wants to allow import or not. - Block title is now in language-file - -2007-11-29 Version 2.03 - - Changed name of language-file. bookmark.php is now exabisportfolio.php - Cleaned up the code - Removed all PARAM_RAW (except in one case where I do a manual check) - Rewrote SQL for both MySQL and PostgreSQL (use of XMLDB, applied rules for SQL) - Removed all global variables except the ones defined from Moodle - Changed directory portfolio/ to eportfolio/ - Added $CFG->dirroot before require_once, require, include, include_once and before links. - Removed bug: when deleting a categorie the entries weren't deleted. - Set the Import-Capabilitiy default to off because the import may be a security risk. - -2007-11-12 Version 2.02 - - Removed bug when exporting external portfolios (comment-column was not created when you didn't update the plugin) - When sharing a portfolio entry your own name is now shown. - Problem with not finding the mimeinfo()-function (white page when editing a file portfolio entry) - Added capability system. Comment: The Exabis ePortfolio-rights have to be set globally (Assign global roles). Comment: the capability shareextern needs shareintern. You can only share extern if both shareintern and shareextern are set. allowposts is used to prevents posts on other (shared) bookmarks. You can always post on your own bookmark. - Changed directory structure: put all the code inside eportfolio/. You can delete the direcotries bookmark/ and portfolio_export/ that were needed in previous installations. Please delete them after installing the new version. - Removed direcory files/ and the file inside (mimetypes.php) because moodle is capable of the function mimetypes(). This file is not needed any more. - Changes place where the exported SCORM-files (.zip) are saved. Put that back into the course-directories because elsewhere they would not be accessable with file.php. - Comment: Didn't change place where the files of the bookmark are saved: Advantages: - Files are accessible now - This version is compatible with previous versions <= 2.01 Disadvantage: - When a course is deleted the portfolio-files that were uploaded within this course are also deleted. Unfortunately there is no other way to implement this at the moment. The whole thing is a limitation of moodle that files can only be accessed within course-directories (with file.php). I heard of plans to solve this problems in future moodle versions. If anyone knows a better solution please tell me :) - Changed location of images to eportfolio/pix because there were problems one some installations. - -2007-08-05 Version 2.01 - - Added require_login at the external portfolio. Guest user is allowed to, so if you want that a user who hasn't a login is automatically logged in as guest you have to set $CFG->autologinguests to 1 - Fixed problems with external links (the url was preceded with $CFG->wwwroot) - Fixed breadcrumbs at import/export - Added some language strings and removed hardcoded strings. - Removed bug that the bookmark entries were not shown anymore when the course was deleted. - Added column for Course name at the moodle-intern import. - -2007-07-24 Version 2.00 - - Added pix\i\desc.gif because in Moodle 1.8 this image is missing. - Minor changes in nearly all files (e.g. replaces - with - ) - UI changes in view* and share* - files - Partially reprogramming of view* and shar* - files - Added external access for files - Changed the managing of internal access - This plugin needs MySQL >= 4.1 - The Blog was removed. If theres a need to convert the blog entries to notes please contact the developer. - Added comment-function to all files, external links and notes when the user is viewing them (removed direct linking to files or links) - changed most of the forms to formslib - Block should not be shown on the start page of moodle - the paths were incorrect there. You should see the Block only when a course is selected. - Added import for SCORM-files. At the moment this import can only import previously exported files. - Updated export. Please use only new exported files for import. Now markers are used in the comment-file to import the content again. - Added export of comments - Added functionality to import files from moodle assignments. - Added many more minor improvements. - -2007-04-16 Version 1.06 - - Corrected wrong header when viewing notes in view_notes.php - Corrected error on displaying notes in view_note.php - Deleted all occurences of deprecated function optional_variable() - Improved breadcrumb when viewing notes. - Corrected access problems in viewbloglist.php and viewsharedblog.php - -2007-04-05 Version 1.05 - - Added header when editing categories (main category, sub category) - Allowed file upload when editing a file item in the portfolio - When you click the button "select all" at sharing items the item is not shared with new user who join the course (would be uncontrollable) - Corrected showing of portfolio-items. No items of other courses are shown. - Denied acces when using the "Login As"-Function. The portfolio has to be private! - Added a column in the portfolio-view where you can see which item is published in which course - Minor Bugfixes - -2007-03-28 Version 1.04 - - Removed security bug in portfolio_blog/comments.php: Teacher had read access to the e-portfolio of the students which wrote journal-entries. - Bugfixes in portfolio_blog/viewbloglist.php: Read of Teacher and Student Journals - Suppressed error message after uploading a file in add_file.php - Corrected the SQL-query for the export of the personal description - -Version 1.03 - - First official release - diff --git a/version.php b/version.php index 5812414..f26e2ea 100644 --- a/version.php +++ b/version.php @@ -19,6 +19,6 @@ $plugin->component = 'block_exaport'; $plugin->release = '4.6.7'; -$plugin->version = 2023071500; -$plugin->requires = 2016120505; +$plugin->version = 2023091600; +$plugin->requires = 2021051700; // moodle 3.11 $plugin->maturity = MATURITY_STABLE;