IP : 3.145.97.1Hostname : host45.registrar-servers.comKernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64Disable Function : None :) OS : Linux
PATH:
/
home/
../
var/
softaculous/
documentor/
../
conc56/
../
blesta4/
../
krayin/
../
moodle20/
moodle20.sql/
/
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */;
-- -- Table structure for table `[[dbprefix]]filter_active` --
CREATE TABLE `[[dbprefix]]filter_active` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `filter` varchar(32) NOT NULL DEFAULT '', `contextid` bigint(10) unsigned NOT NULL, `active` smallint(4) NOT NULL, `sortorder` bigint(10) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]filtacti_confil_uix` (`contextid`,`filter`), KEY `[[dbprefix]]filtacti_con_ix` (`contextid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Stores information about which filters are active in which c' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]groupings_groups` --
CREATE TABLE `[[dbprefix]]groupings_groups` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `groupingid` bigint(10) unsigned NOT NULL DEFAULT '0', `groupid` bigint(10) unsigned NOT NULL DEFAULT '0', `timeadded` bigint(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]grougrou_gro_ix` (`groupingid`), KEY `[[dbprefix]]grougrou_gro2_ix` (`groupid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Link a grouping to a group (note, groups can be in multiple ' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]message_working` --
CREATE TABLE `[[dbprefix]]message_working` ( `id` bigint(10) NOT NULL AUTO_INCREMENT, `unreadmessageid` bigint(10) unsigned NOT NULL, `processorid` bigint(10) unsigned NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Lists all the messages and processors that need to be proces' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]mnet_rpc` --
CREATE TABLE `[[dbprefix]]mnet_rpc` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `functionname` varchar(40) NOT NULL DEFAULT '', `xmlrpcpath` varchar(80) NOT NULL DEFAULT '', `plugintype` varchar(20) NOT NULL DEFAULT '', `pluginname` varchar(20) NOT NULL DEFAULT '', `enabled` tinyint(1) unsigned NOT NULL DEFAULT '0', `help` mediumtext NOT NULL, `profile` mediumtext NOT NULL, `filename` varchar(100) NOT NULL DEFAULT '', `classname` varchar(150) DEFAULT NULL, `static` tinyint(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]mnetrpc_enaxml_ix` (`enabled`,`xmlrpcpath`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Functions or methods that we may publish or subscribe to' AUTO_INCREMENT=16 ;
-- -- Dumping data for table `[[dbprefix]]mnet_rpc` --
INSERT INTO `[[dbprefix]]mnet_rpc` VALUES (1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1, 'Return user data for the provided token, compare with user_agent string.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s:11:"description";s:37:"The unique ID provided by remotehost.";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:44:"$userdata Array of user info for remote host";}}', 'auth.php', 'auth_plugin_mnet', 0), (2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1, 'Receives an array of usernames from a remote machine and prods their\nsessions to keep them alive', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"array";s:4:"type";s:5:"array";s:11:"description";s:21:"An array of usernames";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:28:""All ok" or an error message";}}', 'auth.php', 'auth_plugin_mnet', 0), (3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1, 'The IdP uses this function to kill child sessions on other hosts', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:28:"Username for session to kill";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:39:"A plaintext report of what has happened";}}', 'auth.php', 'auth_plugin_mnet', 0), (4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1, 'Receives an array of log entries from an SP and adds them to the mnet_log\ntable', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"array";s:4:"type";s:5:"array";s:11:"description";s:21:"An array of usernames";}}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:28:""All ok" or an error message";}}', 'auth.php', 'auth_plugin_mnet', 0), (5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1, 'Returns the user''s profile image info\nIf the user exists and has a profile picture, the returned array will contain keys:\n f1 - the content of the default 100x100px image\n f1_mimetype - the mimetype of the f1 file\n f2 - the content of the 35x35px variant of the image\n f2_mimetype - the mimetype of the f2 file\nThe mimetype information was added in Moodle 2.0. In Moodle 1.x, images are always jpegs.', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:3:"int";s:11:"description";s:18:"The id of the user";}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:84:"false if user not found, empty array if no picture exists, array with data otherwise";}}', 'auth.php', 'auth_plugin_mnet', 0), (6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1, 'Returns the theme information and logo url as strings.', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:6:"string";s:11:"description";s:14:"The theme info";}}', 'auth.php', 'auth_plugin_mnet', 0), (7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet', 1, 'Invoke this function _on_ the IDP to update it with enrolment info local to\nthe SP right after calling user_authorise()\nNormally called by the SP after calling user_authorise()', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:12:"The username";}i:1;a:3:{s:4:"name";s:7:"courses";s:4:"type";s:5:"array";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:0:"";}}', 'auth.php', 'auth_plugin_mnet', 0), (8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1, 'Poll the IdP server to let it know that a user it has authenticated is still\nonline', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:4:"void";s:11:"description";s:0:"";}}', 'auth.php', 'auth_plugin_mnet', 0), (9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1, 'When the IdP requests that child sessions are terminated,\nthis function will be called on each of the child hosts. The machine that\ncalls the function (over xmlrpc) provides us with the mnethostid we need.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:28:"Username for session to kill";}i:1;a:3:{s:4:"name";s:9:"useragent";s:4:"type";s:6:"string";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:15:"True on success";}}', 'auth.php', 'auth_plugin_mnet', 0), (10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mnet', 1, 'Returns list of courses that we offer to the caller for remote enrolment of their users\nSince Moodle 2.0, courses are made available for MNet peers by creating an instance\nof enrol_mnet plugin for the course. Hidden courses are not returned. If there are two\ninstances - one specific for the host and one for ''All hosts'', the setting of the specific\none is used. The id of the peer is kept in customint1, no other custom fields are used.', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet', 1, 'This method has never been implemented in Moodle MNet API', 'a:2:{s:10:"parameters";a:0:{}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:11:"empty array";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1, 'Enrol remote user to our course\nIf we do not have local record for the remote user in our database,\nit gets created here.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"userdata";s:4:"type";s:5:"array";s:11:"description";s:14:"user details {";}i:1;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:19:"our local course id";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:69:"true if the enrolment has been successful, throws exception otherwise";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1, 'Unenrol remote user from our course\nOnly users enrolled via enrol_mnet plugin can be unenrolled remotely. If the\nremote user is enrolled into the local course via some other enrol plugin\n(enrol_manual for example), the remote host can''t touch such enrolment. Please\ndo not report this behaviour as bug, it is a feature ;-)', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"username";s:4:"type";s:6:"string";s:11:"description";s:18:"of the remote user";}i:1;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"type";s:4:"bool";s:11:"description";s:71:"true if the unenrolment has been successful, throws exception otherwise";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mnet', 1, 'Returns a list of users from the client server who are enrolled in our course\nSuitable instance of enrol_mnet must be created in the course. This method will not\nreturn any information about the enrolments in courses that are not available for\nremote enrolment, even if their users are enrolled into them via other plugin\n(note the difference from {@link self::user_enrolments()}).\nThis method will return enrolment information for users from hosts regardless\nthe enrolment plugin. It does not matter if the user was enrolled remotely by\ntheir admin or locally. Once the course is available for remote enrolments, we\nwill tell them everything about their users.\nIn Moodle 1.x the returned array used to be indexed by username. The side effect\nof MDL-19219 fix is that we do not need to use such index and therefore we can\nreturn all enrolment records. MNet clients 1.x will only use the last record for\nthe student, if she is enrolled via multiple plugins.', 'a:2:{s:10:"parameters";a:2:{i:0;a:3:{s:4:"name";s:8:"courseid";s:4:"type";s:3:"int";s:11:"description";s:16:"ID of our course";}i:1;a:3:{s:4:"name";s:5:"roles";s:4:"type";s:5:"array";s:11:"description";s:0:"";}}s:6:"return";a:2:{s:4:"type";s:5:"array";s:11:"description";s:0:"";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0), (15, 'fetch_file', 'portfolio/mahara/lib.php/fetch_file', 'portfolio', 'mahara', 1, 'xmlrpc (mnet) function to get the file.\nreads in the file and returns it base_64 encoded\nso that it can be enrypted by mnet.', 'a:2:{s:10:"parameters";a:1:{i:0;a:3:{s:4:"name";s:5:"token";s:4:"type";s:6:"string";s:11:"description";s:56:"the token recieved previously during send_content_intent";}}s:6:"return";a:2:{s:4:"type";s:4:"void";s:11:"description";s:0:"";}}', 'lib.php', 'portfolio_plugin_mahara', 1);
-- -- Table structure for table `[[dbprefix]]quiz_feedback` --
CREATE TABLE `[[dbprefix]]quiz_feedback` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `quizid` bigint(10) unsigned NOT NULL DEFAULT '0', `feedbacktext` text NOT NULL, `feedbacktextformat` tinyint(2) NOT NULL DEFAULT '0', `mingrade` decimal(10,5) NOT NULL DEFAULT '0.00000', `maxgrade` decimal(10,5) NOT NULL DEFAULT '0.00000', PRIMARY KEY (`id`), KEY `[[dbprefix]]quizfeed_qui_ix` (`quizid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Feedback given to students based on which grade band their o' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]quiz_grades` --
CREATE TABLE `[[dbprefix]]quiz_grades` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `quiz` bigint(10) unsigned NOT NULL DEFAULT '0', `userid` bigint(10) unsigned NOT NULL DEFAULT '0', `grade` decimal(10,5) NOT NULL DEFAULT '0.00000', `timemodified` bigint(10) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `[[dbprefix]]quizgrad_use_ix` (`userid`), KEY `[[dbprefix]]quizgrad_qui_ix` (`quiz`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='The overall grade for each user on the quiz, based on their ' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]registration_hubs` --
CREATE TABLE `[[dbprefix]]registration_hubs` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `token` varchar(255) NOT NULL DEFAULT '', `hubname` varchar(255) NOT NULL DEFAULT '', `huburl` varchar(255) NOT NULL DEFAULT '', `confirmed` tinyint(1) unsigned NOT NULL DEFAULT '0', `secret` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='hub where the site is registered on with their associated to' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]report_customlang_components` --
CREATE TABLE `[[dbprefix]]report_customlang_components` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `version` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Contains the list of all installed plugins that provide thei' AUTO_INCREMENT=1 ;
-- -- Table structure for table `[[dbprefix]]role` --
CREATE TABLE `[[dbprefix]]role` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '', `shortname` varchar(100) NOT NULL DEFAULT '', `description` text NOT NULL, `sortorder` bigint(10) unsigned NOT NULL DEFAULT '0', `archetype` varchar(30) NOT NULL DEFAULT '', PRIMARY KEY (`id`), UNIQUE KEY `[[dbprefix]]role_sor_uix` (`sortorder`), UNIQUE KEY `[[dbprefix]]role_nam_uix` (`name`), UNIQUE KEY `[[dbprefix]]role_sho_uix` (`shortname`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='moodle roles' AUTO_INCREMENT=9 ;
-- -- Dumping data for table `[[dbprefix]]role` --
INSERT INTO `[[dbprefix]]role` VALUES (1, 'Manager', 'manager', 'Managers can access course and modify them, they usually do not participate in courses.', 1, 'manager'), (2, 'Course creator', 'coursecreator', 'Course creators can create new courses.', 2, 'coursecreator'), (3, 'Teacher', 'editingteacher', 'Teachers can do anything within a course, including changing the activities and grading students.', 3, 'editingteacher'), (4, 'Non-editing teacher', 'teacher', 'Non-editing teachers can teach in courses and grade students, but may not alter activities.', 4, 'teacher'), (5, 'Student', 'student', 'Students generally have fewer privileges within a course.', 5, 'student'), (6, 'Guest', 'guest', 'Guests have minimal privileges and usually can not enter text anywhere.', 6, 'guest'), (7, 'Authenticated user', 'user', 'All logged in users.', 7, 'user'), (8, 'Authenticated user on frontpage', 'frontpage', 'All logged in users in the frontpage course.', 8, 'frontpage');
-- -- Table structure for table `[[dbprefix]]workshop_submissions_old` --
CREATE TABLE `[[dbprefix]]workshop_submissions_old` ( `id` bigint(10) unsigned NOT NULL AUTO_INCREMENT, `workshopid` bigint(10) unsigned NOT NULL DEFAULT '0', `userid` bigint(10) unsigned NOT NULL DEFAULT '0', `title` varchar(100) NOT NULL DEFAULT '', `timecreated` bigint(10) unsigned NOT NULL DEFAULT '0', `mailed` tinyint(2) unsigned NOT NULL DEFAULT '0', `description` text NOT NULL, `gradinggrade` smallint(3) unsigned NOT NULL DEFAULT '0', `finalgrade` smallint(3) unsigned NOT NULL DEFAULT '0', `late` smallint(3) unsigned NOT NULL DEFAULT '0', `nassessments` bigint(10) unsigned NOT NULL DEFAULT '0', `newplugin` varchar(28) DEFAULT NULL, `newid` bigint(10) unsigned DEFAULT NULL, PRIMARY KEY (`id`), KEY `[[dbprefix]]worksubmold_use_ix` (`userid`), KEY `[[dbprefix]]worksubmold_mai_ix` (`mailed`), KEY `[[dbprefix]]worksubmold_wor_ix` (`workshopid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Legacy workshop_submissions table to be dropped later in Moo' AUTO_INCREMENT=1 ;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;