From a9fce6179b30d034d8da2fba33fee5adb75ee645 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Fri, 11 Sep 2015 12:14:28 -0500 Subject: [PATCH] Update plugin changelog and plugin description - refs #7768 --- plugin/buycourses/CHANGELOG.md | 55 ++++++++++++++++++- plugin/buycourses/README.md | 20 ++++--- plugin/buycourses/readme.txt | 16 ++++-- .../src/buy_course_plugin.class.php | 12 ++-- 4 files changed, 82 insertions(+), 21 deletions(-) diff --git a/plugin/buycourses/CHANGELOG.md b/plugin/buycourses/CHANGELOG.md index 502d75511d..6576068e46 100644 --- a/plugin/buycourses/CHANGELOG.md +++ b/plugin/buycourses/CHANGELOG.md @@ -1,9 +1,57 @@ +v3.0 +==== + +This version has been fixed and improved for Chamilo LMS 1.10.x. + +- A new user interface for platform admins and users. +- Avoid data redundancy by adding courses/sessions to catalog +- The catalog of sessions can be configured to offer some courses or sessions +in a currency other than the others courses or sessions +- The sales have a status: Pending, Completed, Canceled +- The Peding Orders pages has been replaced by a Sales Report. +Allowing filter the sales by its status +- The plugin Registration page was removed. Instead the Chamilo LMS +registrarion page is used. + +##Changes in database structure + +The database structure has been changed totally. The previous database +structure was formed for the tables: + +- `plugin_buy_course` The registered courses in the platform +- `plugin_buy_course_country` The list of countries with their currencies +- `plugin_buy_course_paypal` The PayPal account info +- `plugin_buy_course_sale` The sales of courses that were made +- `plugin_buy_course_temporal` The pending orders of courses that were made +- `plugin_buy_course_transfer` The bank accounts for transfers +- `plugin_buy_session` The registered courses in the platform +- `plugin_buy_session_course` The courses in sessions +- `plugin_buy_session_sale` The sales of session that were made +- `plugin_buy_session_temporary` The pending orders of session that were made + +To avoid the data redundancy, the `plugin_buy_course`, `plugin_buy_session` +and `plugin_buy_session_course` tables were replaced for the +`plugin_buycourses_item` table. And the `plugin_buy_course_sale`, +`plugin_buy_course_temporal`, `plugin_buy_session_sale` and +`plugin_buy_session_temporary` tables were replaced for the + `plugin_buycourses_item` table. + +The __new database__ structure is formed for the tables: + +- `plugin_buycourses_currency` The list of countries with their currencies +- `plugin_buycourses_item` The registered courses and sessions in the platform +- `plugin_buycourses_paypal_account` The PayPal account info +- `plugin_buycourses_sale` The sales of courses and sessions that were made +- `plugin_buycourses_transfer` The bank accounts for transfers + +--- + v2.0 - 2014-10-14 ================= This version adds support for sales of sessions access. A session can be purchased as soon as it is given a price, granted the current -date is either previous to the session start date, between the start and end, or -no date has been defined for the session. +date is either previous to the session start date, between the start and end, +or no date has been defined for the session. Students are subscribed automatically once they have paid. There is no intermediary step. This version does not work (yet) with the session period defined by user @@ -16,4 +64,5 @@ look at the installer to *fix* your plugin tables (add a few fields). v1.0 - 2014-06-30 (or something) ================= -This is the first release of the plugin, with only the PayPal payment method in working state and only for courses. +This is the first release of the plugin, with only the PayPal payment method +in working state and only for courses. diff --git a/plugin/buycourses/README.md b/plugin/buycourses/README.md index d75ac8feba..1f3157daa4 100644 --- a/plugin/buycourses/README.md +++ b/plugin/buycourses/README.md @@ -1,11 +1,13 @@ -Courses purchase plugin for Chamilo LMS +Buy Courses plugin for Chamilo LMS ======================================= -Users can access the purchases catalog to buy courses (or sessions, since v2 of -this plugin) enabled for purchase. -If the user is not registered or logged in, he/she will be requested to -register/login before he/she can resume buying items. -Once the course is chosen, Chamilo shows available payment types (currently only -PayPal works) and lets the user proceed with the purchase. -Finally, the user receives an e-mail confirming the purchase and his account is -automatically modified to give him/her access to the course/session. +Users can access the purchases catalog to buy courses or sessions (since v2 of this plugin) +enabled for sale. +If the user is not registered or logged in, he/she will be requested to register/login +before he/she can resume buying items. + +Once the course or session is chosen, shows available payment types (currently only PayPal works) +and lets the user proceed with the purchase. + +Finally, the user receives an e-mail confirming the purchase and him/her is can access to the +course/session. diff --git a/plugin/buycourses/readme.txt b/plugin/buycourses/readme.txt index 7db2beeb76..1977b51d84 100644 --- a/plugin/buycourses/readme.txt +++ b/plugin/buycourses/readme.txt @@ -1,5 +1,11 @@ -Courses purchase plugin

-Users can access the courses purchase catalog to buy available courses.
-If the user is unregistered he/she will be requested to register.
-Once the course is chosen, Chamilo shows the different payment types available (currently only PayPal works).
-Finally, the user receives user and password by e-mail, to access the chosen course.
+

Users can access the purchases catalog to buy courses or sessions (since v2 of this plugin) +enabled for sale.

+ +

If the user is not registered or logged in, he/she will be requested to register/login +before he/she can resume buying items.

+ +

Once the course or session is chosen, shows available payment types (currently only PayPal works) +and lets the user proceed with the purchase.

+ +

Finally, the user receives an e-mail confirming the purchase and him/her is can access to the +course/session.

diff --git a/plugin/buycourses/src/buy_course_plugin.class.php b/plugin/buycourses/src/buy_course_plugin.class.php index ec238d3217..f328439734 100644 --- a/plugin/buycourses/src/buy_course_plugin.class.php +++ b/plugin/buycourses/src/buy_course_plugin.class.php @@ -6,6 +6,7 @@ * @author Jose Angel Ruiz * @author Imanol Losada * @author Alex Aragón + * @author Angel Fernando Quiroz Campos */ /** * Plugin class for the BuyCourses plugin @@ -39,10 +40,13 @@ class BuyCoursesPlugin extends Plugin { parent::__construct( '1.0', - 'Jose Angel Ruiz - NoSoloRed (original author), - Francis Gonzales and Yannick Warnier - BeezNest (integration), - Alex Aragón - BeezNest (Design icons and css styles), - Imanol Losada - BeezNest (introduction of sessions purchase)', + " + Jose Angel Ruiz - NoSoloRed (original author), + Francis Gonzales and Yannick Warnier - BeezNest (integration), + Alex Aragón - BeezNest (Design icons and css styles), + Imanol Losada - BeezNest (introduction of sessions purchase) + Angel Fernando Quiroz Campos - BeezNest + ", array( 'show_main_menu_tab' => 'boolean', 'include_sessions' => 'boolean',