-
-
Notifications
You must be signed in to change notification settings - Fork 931
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-48323 webcomponents. Bundle and remove empathise.
- Loading branch information
1 parent
f3e2890
commit a284359
Showing
737 changed files
with
372,022 additions
and
28,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
exclude_paths: | ||
- "**/test/**" | ||
- "**/tests/**" | ||
- "**/bundle-entry-points/**" | ||
- "**/web-test-runner.config.mjs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
module.exports = { | ||
"env": { "browser": true, "es2022": true }, | ||
"globals": { | ||
"$": "readonly", | ||
"bootstrap": "readonly", | ||
"sakai": "readonly", | ||
"sakaiSessionId": "readonly", | ||
"portal": "readonly", | ||
"profile": "readonly", | ||
"CKEDITOR": "readonly", | ||
"moment": "readonly", | ||
"confirmDatePlugin": "readonly", | ||
"flatpickr": "readonly", | ||
"jQuery": "readonly", | ||
"MathJax": "readonly", | ||
"globalThis": "readonly", | ||
}, | ||
"extends": [ "eslint:recommended" ], | ||
"parserOptions": { "ecmaVersion": 2022, "sourceType": "module" }, | ||
"rules": { | ||
"accessor-pairs": "error", | ||
"array-bracket-spacing": [ 'error', 'always' ], | ||
"array-callback-return": "error", | ||
"arrow-parens": [ "error", "as-needed" ], | ||
"arrow-spacing": "error", | ||
"block-spacing": "error", | ||
"camelcase" : "error", | ||
"comma-spacing": "error", | ||
"curly": [ "error", "multi-line" ], | ||
"dot-notation": "error", | ||
"indent": ["warn", 2, { "SwitchCase": 1, "MemberExpression": "off", "ImportDeclaration": "off", "ignoredNodes": ["TemplateLiteral > *"] }], | ||
"keyword-spacing": "error", | ||
"linebreak-style": ["error", "unix"], | ||
"no-array-constructor": "error", | ||
"no-caller": "error", | ||
"no-cond-assign": "error", | ||
"no-constructor-return": "error", | ||
"no-duplicate-imports": "error", | ||
"no-else-return": "error", | ||
"no-empty": ["error", { allowEmptyCatch: true }], | ||
"no-eval": "error", | ||
"no-extend-native": ["error", { "exceptions": ["Date"] }], | ||
"no-extra-bind": "error", | ||
"no-implied-eval": "error", | ||
"no-iterator": "error", | ||
"no-labels": "error", | ||
"no-lone-blocks": "error", | ||
"no-lonely-if": "error", | ||
"no-loop-func": "error", | ||
"no-loss-of-precision": "error", | ||
"no-multi-str": "error", | ||
"no-multiple-empty-lines": "error", | ||
"no-new-func": "error", | ||
"no-new-object": "error", | ||
"no-new-wrappers": "error", | ||
"no-octal-escape": "error", | ||
"no-param-reassign": "error", | ||
"no-proto": "error", | ||
"no-redeclare": "error", | ||
"no-return-await": "error", | ||
"no-script-url": "error", | ||
"no-self-compare": "error", | ||
"no-sequences": "error", | ||
"no-shadow": ["error", { "allow": ["html"] }], | ||
"no-tabs": "error", | ||
"no-trailing-spaces": "error", | ||
"no-multi-spaces" : "error", | ||
"no-undef": "error", | ||
"no-undef-init": "error", | ||
"no-unmodified-loop-condition": "error", | ||
"no-unneeded-ternary": ["error", { defaultAssignment: false }], | ||
"no-unreachable-loop": "error", | ||
"no-unused-vars": ["error"], | ||
"no-use-before-define": ["error", "nofunc"], | ||
"no-useless-backreference": "error", | ||
"no-useless-call": "error", | ||
"no-useless-computed-key": "error", | ||
"no-useless-constructor": "error", | ||
"no-useless-escape": "error", | ||
"no-useless-rename": "error", | ||
"no-useless-return": "error", | ||
"no-var": "error", | ||
"object-curly-spacing": [ 'error', 'always' ], | ||
"object-shorthand": "error", | ||
"prefer-arrow-callback": "error", | ||
"prefer-const": "error", | ||
"prefer-exponentiation-operator": "error", | ||
"prefer-numeric-literals": "error", | ||
"prefer-object-spread": "error", | ||
"prefer-regex-literals": "error", | ||
"prefer-rest-params": "error", | ||
"prefer-spread": "error", | ||
"require-atomic-updates": "error", | ||
"semi": ["error", "always"], | ||
"space-infix-ops": "error", | ||
"space-before-blocks": "error", | ||
"strict": "error", | ||
"yoda": ["error", "never", { onlyEquality: true }], | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ool/src/webapp/vm/assignment/chef_assignments_instructor_grading_submission_withgrader.vm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
assignment/tool/src/webapp/vm/assignment/chef_assignments_instructor_report_submissions.vm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ent/tool/src/webapp/vm/assignment/chef_assignments_instructor_student_list_submissions.vm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,19 @@ | ||
<div class="portletBody"> | ||
<script src="/webcomponents/bundles/lti.js"></script> | ||
#if ($alertMessage)<div class="sak-banner-error">$tlang.getString("gen.alert") $alertMessage</div>#end | ||
## See also assignment/tool/src/webapp/vm/assignment/chef_assignments_view_launch.vm | ||
#if ($!newpage) | ||
<script type="module" src="/webcomponents/sakai-lti-popup.js"></script> | ||
<p> | ||
<sakai-lti-popup | ||
launch-url="$!source" | ||
/> | ||
<sakai-lti-popup launch-url="$!source"></sakai-lti-popup> | ||
</p> | ||
#else | ||
<script type="module" src="/webcomponents/sakai-lti-iframe.js"></script> | ||
<p> | ||
<sakai-lti-iframe | ||
allow-resize="yes" | ||
launch-url="$!source" | ||
height="$!height" | ||
allow="$!browser-feature-allow" | ||
/> | ||
allow="$!browser-feature-allow"> | ||
</sakai-lti-iframe> | ||
</p> | ||
#end | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/component/GbGradeTable.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.