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
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
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
Eric Fischer
5bc6b31e29
eslint --fix
2017-12-08 14:38:41 -05:00
Brian Jacobel
d43e915dab
Run eslint autofixer on /cms
2016-08-08 15:04:06 -04:00
Ehtesham
b31ba9d041
upgrade Pagingcollection to edx-ui-toolkit's PagingCollection
2016-05-27 04:35:44 +05:00
cahrens
dd2a203677
Upgrade underscore to newest version.
...
FEDX-24
2016-03-16 17:08:27 -04:00
muhammad-ammar
6134e8b5ed
Move studio dialog code into common
2015-08-26 20:26:27 +05:00
Ben McMorran
351e491c82
Add generic paging framework
...
Authors:
- Daniel Friedman
- Ben McMorran
- Peter Fogg
TNL-1892
2015-07-06 08:45:03 -04:00
Andy Armstrong
1689004189
Create a common paginated list view
...
TNL-2384
Refactored Studio's PagingView to use RequireJS Text and moved it
to common so that it can also be used by LMS.
2015-06-15 13:51:09 -04:00
Martyn James
dcc8e95648
Implements SOL-20. Filtering for assets table by asset type
2015-01-16 12:53:24 -05:00
Bertrand Marron
c4a7d770cc
Remove all ellipses
...
It's a problem for accessibility
2015-01-15 09:03:12 -05:00
ataki
2b18f3213f
Fix visual bug with large file error msg in cms.
...
This hotfix patches the functionality of the GridFS PR
by dismissing the error msg when the user uploads a large
file and fails, then uploads a regular file. This
includes a Jasmine test to cover this case.
2015-01-10 11:53:11 -08:00
Chris
578c96a8c3
Studio video upload feature template and styling
...
Co-authored-by: Greg Price <gprice@edx.org >
2014-12-15 13:22:02 -05:00
Jim
fb9320afc1
Limit Upload File Sizes to GridFS.
...
This commit puts a limit on the size of files that
course staff can upload to MongoDB. The limit is
enforced on the frontend in javascript as well
as backend via the /upload endpoint.
The limit is hard-coded in cms/envs/common.py and
may be changed according to the user's custom
needs.
If the user tries to upload a file that's too
large, an error message will pop up, with a
customizable url that pointing the user to an
external page with an alternate upload procedure.
This url is specified im cms/envs/common.py.
If not set, this url will not be displayed.
2014-12-09 13:30:45 -08:00
Andy Armstrong
f061bbc08b
Backbone version of the course outline page
...
STUD-1726
2014-08-07 12:16:20 -04:00
zubiar-arbi
08f313f9b4
move upload code for assets to AssetsView
...
STUD-1523
2014-05-21 17:15:04 +05:00
Andy Armstrong
a6aae729b7
Address the next round of review comments.
2014-04-09 10:32:13 -04:00
Andy Armstrong
f92c337235
Add a loading indicator to the Files & Uploads page.
2014-03-24 10:51:36 -04:00
Andy Armstrong
93675304da
Add sorting to Studio's Files & Uploads page
...
Added sorting to the new pagination logic for STUD-995.
2014-01-08 10:35:40 -05:00
Andy Armstrong
f9c45586a4
Add pagination to Studio's Files and Uploads page
...
These changes implement STUD-813. The commit consists of the
following logical changes:
- a REST API has been implemented for a course's assets
- the page itself now fetches the assets client-side
- the Backbone.Paginator library is used to support pagination
- the AssetCollection has been refactored to extend
Backbone.Paginator.requestPager so that it can be paged
- an abstract PagingView class has been added to generalize
the communication with a paging REST API
- the AssetsView has been reimplemented to extend PagingView
- two new child views have been added:
- PagingHeader: the paging controls above the list of assets
- PagingFooter: the paging controls below the assets
2014-01-05 23:35:12 -05:00
Zubair Afzal
a6fbcbd781
Add baseview(extended from backbone view), which can further extended by other views + Add fucntion to modify iframe and embed tags + add related tests
...
STUD-823
2013-12-20 18:38:24 +05:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
cahrens
ab6af2b586
Put assets JavaScript code back in something that goes through pipelining.
2013-09-24 11:49:54 -04:00
cahrens
01d7d48f8f
Create backbone models/views for assets.
...
cleanup
Updates.
Testing changes.
Testing changes.
asset-index progress state cleanjup.
cleanup
2013-09-20 10:44:54 -04:00
Julian Arni
d0f7206099
Review fixes
2013-09-06 09:25:45 -04:00
Julian Arni
07014e8eb2
Reset modal when closed by clicking outside of it
2013-09-04 16:25:23 -04:00
Julian Arni
b797118811
review fixes
2013-08-29 17:22:07 -04:00
Julian Arni
e0ab75fb84
Add support for multiple file uploads
2013-08-29 09:55:40 -04:00
Chris Dodge
b8bc1d0171
remove redudent asset_url return value when uploading files
2013-08-05 16:15:03 -04:00
Peter Fogg
58f147c161
Change delete asset prompt to Warning type for consistency.
2013-07-18 11:47:40 -04:00
Peter Fogg
b3cd6af9aa
Change deleted Alert to a Notification, with a timeout.
2013-06-28 14:46:58 -04:00
Peter Fogg
1be2068bcf
Show a confirmation on asset delete. Fixes STUD-375.
2013-06-28 12:28:49 -04:00
David Baumgold
687779ba34
Clean up assets page notifications
...
Remove hack to work around multiple notification click issues -- and actually resolve
the issue so that the hack isn't necessary
2013-06-19 12:01:44 -04:00
Chris Dodge
16e476e8e4
refactored asset page related JS into it's own page
2013-06-17 11:10:36 -04:00