Linux aries.aptans.com 4.18.0-348.20.1.lve.1.el8.x86_64 #1 SMP Wed Mar 16 08:45:39 EDT 2022 x86_64
Apache
: 135.181.142.107 | : 172.69.17.90
Cant Read [ /etc/named.conf ]
7.4.33
aja
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
aja /
public_html /
ead.aptans /
course /
amd /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
local
[ DIR ]
drwxr-xr-x
actions.js
27.44
KB
-rw-rw-r--
activitychooser.js
15.3
KB
-rw-r--r--
copy_modal.js
5.99
KB
-rw-r--r--
downloadcontent.js
4.53
KB
-rw-r--r--
events.js
1.06
KB
-rw-rw-r--
manual_completion_toggle.js
4.86
KB
-rw-r--r--
recommendations.js
1.67
KB
-rw-r--r--
repository.js
4.06
KB
-rw-rw-r--
view.js
1.63
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : repository.js
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * A javascript module to handle course ajax actions. * * @module core_course/repository * @copyright 2018 Ryan Wyllie <ryan@moodle.com> * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ import Ajax from 'core/ajax'; /** * Get the list of courses that the logged in user is enrolled in for a given * timeline classification. * * @param {string} classification past, inprogress, or future * @param {int} limit Only return this many results * @param {int} offset Skip this many results from the start of the result set * @param {string} sort Column to sort by and direction, e.g. 'shortname asc' * @return {object} jQuery promise resolved with courses. */ const getEnrolledCoursesByTimelineClassification = (classification, limit, offset, sort) => { const args = { classification: classification }; if (typeof limit !== 'undefined') { args.limit = limit; } if (typeof offset !== 'undefined') { args.offset = offset; } if (typeof sort !== 'undefined') { args.sort = sort; } const request = { methodname: 'core_course_get_enrolled_courses_by_timeline_classification', args: args }; return Ajax.call([request])[0]; }; /** * Get the list of courses that the user has most recently accessed. * * @method getLastAccessedCourses * @param {int} userid User from which the courses will be obtained * @param {int} limit Only return this many results * @param {int} offset Skip this many results from the start of the result set * @param {string} sort Column to sort by and direction, e.g. 'shortname asc' * @return {promise} Resolved with an array of courses */ const getLastAccessedCourses = (userid, limit, offset, sort) => { const args = {}; if (typeof userid !== 'undefined') { args.userid = userid; } if (typeof limit !== 'undefined') { args.limit = limit; } if (typeof offset !== 'undefined') { args.offset = offset; } if (typeof sort !== 'undefined') { args.sort = sort; } const request = { methodname: 'core_course_get_recent_courses', args: args }; return Ajax.call([request])[0]; }; /** * Get the list of users enrolled in this cmid. * * @param {Number} cmid Course Module from which the users will be obtained * @param {Number} groupID Group ID from which the users will be obtained * @returns {Promise} Promise containing a list of users */ const getEnrolledUsersFromCourseModuleID = (cmid, groupID) => { var request = { methodname: 'core_course_get_enrolled_users_by_cmid', args: { cmid: cmid, groupid: groupID, }, }; return Ajax.call([request])[0]; }; /** * Toggle the completion state of an activity with manual completion. * * @param {Number} cmid The course module ID. * @param {Boolean} completed Whether to set as complete or not. * @returns {object} jQuery promise */ const toggleManualCompletion = (cmid, completed) => { const request = { methodname: 'core_completion_update_activity_completion_status_manually', args: { cmid, completed, } }; return Ajax.call([request])[0]; }; export default { getEnrolledCoursesByTimelineClassification, getLastAccessedCourses, getUsersFromCourseModuleID: getEnrolledUsersFromCourseModuleID, toggleManualCompletion, };
Close