Syed Ali Abbas Zaidi
8480dbc228
chore: apply amnesty on existing not fixable issues ( #32215 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
* fix: all autofixable eslint issues
* fix: all react related fixable issues
* fix: autofixable eslint issues
* chore: remove all template literals
* fix: remaining autofixable issues
* chore: apply amnesty on all existing issues
* fix: failing xss-lint issues
* refactor: apply amnesty on remaining issues
* refactor: apply amnesty on new issues
* fix: remove file level suppressions
* refactor: apply amnesty on new issues
2023-08-07 19:13:19 +05:00
Syed Ali Abbas Zaidi
d7053a6783
fix: eslint autofixable issues ( #32181 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
* fix: all autofixable eslint issues
* fix: all react related fixable issues
* fix: autofixable eslint issues
* chore: remove all template literals
* fix: remaining autofixable issues
* fix: failing js test
2023-05-18 11:03:59 +05:00
Syed Ali Abbas Zaidi
adf879e8b2
Revert "fix: all auto fixable eslint issues ( #31900 )" ( #32203 )
...
This reverts commit 228180b1ef .
2023-05-09 13:53:54 +05:00
Syed Ali Abbas Zaidi
228180b1ef
fix: all auto fixable eslint issues ( #31900 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint prefer template issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
2023-05-09 11:57:15 +05:00
Syed Ali Abbas Zaidi
f1fb38ed83
fix: multi lines and spaces issues ( #31885 )
...
* fix: multi lines and spaces issues
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: remaining quotes issues
* fix: eslint object curly newline issue
* fix: eslint object curly spacing issue
* fix: eslint brace-style issues
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint linbreak style issue
* fix: eslint space unary operator issue
* fix: eslint line around directives issue
* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
Syed Ali Abbas Zaidi
5549db4d80
fix: migrate remaining eslint-config-edx ( #31760 )
...
* fix: migrate remaining eslint-config-edx
* refactor: updated eslint rules according to eslint-config-edx-es5
* refactor: add custom rules to suppress unnecessary eslint issues
* refactor: add custom rules to internal eslint configs
* fix: fix all indentation issues
* chore: update lock file
2023-03-02 16:16:50 +05:00
Eugene Dyudyunov
74daecb155
fix: empty signature added after every certificate saving ( #30912 )
...
A new behaviour:
- Empty signature is still added when initially create a certificate;
- Empty signature isn't added when certificate has at least one signature.
2022-09-12 09:18:05 -04:00
Ali-D-Akbar
a02392d48a
PROD-1282
2020-06-10 14:40:58 +05:00
SaadYousaf
028c6e1d56
PROD-1255
2020-06-10 14:40:58 +05:00
Ali-D-Akbar
26f4b0f54b
PROD-1280
2020-06-10 14:40:58 +05:00
Ali-D-Akbar
3573e23c4e
PROD-1281
2020-06-10 14:40:58 +05:00
Simon Chen
cf34c2cd94
Disable the xss lint violation alert for the code do not expose xss vulnerability
2020-02-10 10:12:44 -05:00
Zach Hancock
a93fe4d833
add logging to gradebook bulk update
2018-12-21 14:48:09 -05:00
Alex Dusenbery
63820116c5
Fix eslint errors in cms certificates.js file
2018-12-19 10:22:06 -05:00
Eric Fischer
5bc6b31e29
eslint --fix
2017-12-08 14:38:41 -05:00
marcotuts
2f4a4083bb
removed global staff check
2016-12-02 17:40:54 +00:00
Brian Jacobel
d43e915dab
Run eslint autofixer on /cms
2016-08-08 15:04:06 -04:00
Brian Jacobel
a32fd27d60
Replace JSHint ignore directives with ESLint ones
2016-08-04 16:22:59 -04:00
Felipe Montoya
c32b30ba94
Relocating inside the cms namespace
...
Addressing feedback
2016-07-18 18:07:35 -05:00
Felipe Montoya
27d4e4bdc2
Compiling cms/coffee/src/main into a js file and fixing the references
...
Linting
2016-06-23 16:43:18 -05:00
Andy Armstrong
d462c73fd8
Use the UI Toolkit's spec helpers.
2016-06-21 10:16:00 -04:00
Brian Jacobel
f4bede6c5b
Fix library load paths (incl. jquery.scrollTo)
...
Simplify paths in karma_cms_squire require paths
2016-05-24 16:53:59 -04:00
Brian Jacobel
4f0aee3f2d
Fix unit and acceptance tests broken in upgrade (squashed)
...
Fix syntax error in selectors
.attr() now returns a string (though it can still be passed an integer)
Fixes checkbox test failures
Remove remaining references to jquery.min (in wrong folder)
$.ajax now returns 422 if type is json and body is not JSON, e.g. ''
Substitute prop for attr
Remove references to jquery.min, add jquery.migrate (again)
"Fix" jquery karma config
This wasn't suppoed to survive the merge
This throws an error when called with an 'undefined' error
Fix Karma warning about [re|un]loading the window
Fix path for jquery in cms-squire tests
Move jasmine.clock.uninstall() to afterEach so it runs even on failure
Fix test failing due to timezone issues
Do the timeout before the window scrolling (so handler will not be _.throttled)
Fix an alert() triggered by window.onBeforeUnload while testing in Chrome
2016-05-24 16:53:57 -04:00
cahrens
4ba07bf7a4
Assorted test and dependency fixes to cms-squire and cms
...
isRejected is deprecated.
Actually serve the slick library in LMS jasmine tests
customwmd doesn't need to wait for DOM ready event
... In order to define a class and extend the Markdown class.
2016-05-24 16:53:34 -04:00
Daniel Friedman
15f148141f
Upgrade jQuery 1.7.2 to 2.2.0
...
FEDX-25
2016-05-24 16:52:50 -04:00
muzaffaryousaf
c0fef0b0e0
Js test fixes for cms and cms-squire.
2016-04-22 19:09:33 +05:00
Brian Jacobel
24990272b1
Do not set up underscore.string globally.
2016-04-04 10:18:44 -04:00
Andy Armstrong
db62db295c
Upgrade Underscore.string
...
FEDX-117
2016-04-04 10:18:43 -04:00
cahrens
dd2a203677
Upgrade underscore to newest version.
...
FEDX-24
2016-03-16 17:08:27 -04:00
Robert Raposa
b69c6d62bf
Make base.html Mako template safe by default
...
Make base.html Mako template safe by default by:
1. Add page-level default of html escaping
2. Fix escaping of all variables in base.html
3. Fix escaping of all dependent underscore templates
Also includes additional best practices for certificates and
textbooks JavaScript/Underscore in order to complete that work.
TNL-3425
2016-02-16 13:19:24 -05:00
Zia Fazal
aa529fe0b6
remove audit course mode
...
removed print statement
2015-11-25 17:58:30 +05:00
asadiqbal
13508c7681
SOL-1379
2015-11-06 18:45:36 +05:00
asadiqbal
0f394656c9
SOL-1312 changes
2015-10-21 20:50:28 +05:00
Frances Botsford
06df341f56
web cert template rendering - adjust signature image sizing
2015-10-09 15:12:50 -04:00
asadiqbal
0b28fd23f8
SOL-1225
2015-10-06 14:52:38 +05:00
asadiqbal
aec1b95945
SOL-1262
2015-10-05 16:28:28 +05:00
asadiqbal
b09c20f02f
SOL-1225
2015-10-01 15:12:13 +05:00
asadiqbal
3a2c97a02f
SOL-1188 fix
2015-09-21 17:08:27 +05:00
Matt Drayer
58488eaa0b
Merge pull request #9782 from edx/asadiqbal08/SOL-1188
...
SOL-1188 Cancel button Saving not Canceling
2015-09-20 23:01:34 -04:00
Matt Drayer
95da57ccf0
Merge pull request #9783 from edx/ziafazal/SOL-1226
...
SOL-1226: scroll to top after saving
2015-09-20 22:53:53 -04:00
asadiqbal
287cc843df
SOL-1224
2015-09-18 11:19:12 +05:00
Matt Drayer
05a2b54b5a
hotfix/2015-09-16-1: Removed signatory org char limit
2015-09-16 14:24:57 -04:00
Zia Fazal
5effbf14f2
scroll to top after saving
...
fixed broken bok choy tests
2015-09-16 20:10:16 +05:00
asadiqbal
5ae0562e53
SOL-1188
2015-09-16 14:40:30 +05:00
Matt Drayer
60a8531348
mattdrayer/signatory-title-length: Bump to 106 characters
...
* Fix typo
* Fix odd test inputs
2015-09-14 17:19:02 -04:00
asadiqbal
3e4d4504ff
SOL-1157 -- moving buttons from top to bottom and also using the standard save/cancel buttons in signatory edit view.
...
and update the bokchoy test
2015-09-03 15:32:52 +05:00
muhammad-ammar
6134e8b5ed
Move studio dialog code into common
2015-08-26 20:26:27 +05:00
Matt Drayer
e1ee5ac6df
mattdrayer/SOL-981: Integrate edx-organizations application
...
* asadiqbal08/SOL-1058: Add edx-organizations to certificate web view
* Support organization logo asset management
* Remove organization fields from Studio certificate configuration model
* SOL-981 pull request feedback fixes
2015-08-10 10:29:45 -04:00
Zia Fazal
97c3bd1cfd
on clicking Edit of certificate config show prompt
2015-08-06 13:48:28 -04:00
Matt Drayer
3570d08856
Merge pull request #9197 from edx/ziafazal/SOL-1077-fix
...
SOL-1077: certificate config edit/delete is only allowed if user is edX PM or for those certificate configs not active
2015-08-06 11:36:03 -04:00