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
polesye
70518a4659
BLD-506: Update behavior of start/end time fields.
2013-12-18 09:43:11 +02:00
Christina Roberts
461b805951
Merge pull request #1951 from edx/christina/fix-xhr
...
Workaround for "xhr.restore" failures.
2013-12-17 12:23:10 -08:00
frances botsford
8a23f432c7
Merge pull request #1896 from edx/frances/fix/studio-outline-cleanup
...
FED Cleanup of Studio Outline page
2013-12-17 07:27:14 -08:00
Zubair Afzal
8fc0590a12
set default value for empty integer/float fields
...
STUD-894
2013-12-17 14:45:33 +05:00
cahrens
9f91935f63
Do not restore sinon global objects in afterEach.
...
STUD-1040
2013-12-16 17:22:05 -05:00
Frances Botsford
2d678d0c5e
Responding to review feedback on studio outline cleanup
...
Bug fix for dragging past last element in list.
STUD-879
2013-12-16 12:52:33 -05:00
Will Daly
4d6c8ccae9
Disable failing JS tests
2013-12-10 13:04:52 -05:00
Frances Botsford
089a61c6af
studio outline test fixes
2013-12-09 15:21:57 -05:00
Will Daly
fa1acae80d
Disabled AJAX Errors Course Overview JS test
2013-12-06 13:55:49 -05:00
David Baumgold
06f400191f
Use window.course instead of window.section
2013-12-05 13:17:39 -05:00
David Baumgold
0d3490374e
Refactor textbooks to use locator URLs
...
STUD-945
2013-12-05 13:13:28 -05:00
Don Mitchell
17864353a5
Restful course settings
...
STUD-946
STUD-947
2013-11-22 10:55:35 -05:00
zubair-arbi
df97df6fde
Merge pull request #1606 from zubair-arbi/zub/bugfix/std293-coursehandout
...
Show error on invalid html in course handout edit
2013-11-21 01:53:08 -08:00
Zubair Afzal
783e4b223f
Show error on invalid html in course handout edit + Added tests
...
STUD-293
2013-11-20 17:33:07 +05:00
cahrens
e7c06e3ab1
Change preview view method to use RESTful URL.
...
STUD-848
2013-11-19 16:56:24 -05:00
cahrens
a170c6f4e7
Change save_item and create_item to RESTful URL.
...
Part of STUD-847.
2013-11-14 11:03:31 -05:00
Don Mitchell
99e7daf796
RESTful refactoring for course_info updates and handouts.
...
html page and update access use 2 different urls
GET update can get an individual update
STUD-944
2013-11-13 13:16:41 -05:00
Christina Roberts
b00d59edf1
Merge pull request #1354 from edx/christina/overview-modal
...
Pull modal cover and date utils into their own files.
2013-10-24 11:32:35 -07:00
cahrens
52f4f6afbc
Pull modal cover and date utils into their own files.
...
Move overview-specific functions into overview.js.
2013-10-23 15:44:58 -04:00
Alexander Kryklia
a236632c95
Fix typo.
2013-10-23 13:06:12 +03:00
Alexander Kryklia
04f224fc16
Fix typo.
2013-10-23 13:06:12 +03:00
polesye
ef3acaa773
Add js unit tests.
2013-10-23 13:03:35 +03:00
Calen Pennington
ce6fbae693
Add an XBlock javascript runtime, and use it to run XModules
...
[LMS-57]
2013-10-18 16:31:32 -04:00
cahrens
6b5d864885
Change test to pass on Chrome as well as FireFox.
2013-10-10 12:01:11 -04:00
cahrens
5b58318490
Unfortunately, delete tests are still failing sporadically in Jenkins.
2013-10-09 10:27:54 -04:00
cahrens
9d31924793
Re-enable tests that were failing on Jenkins.
2013-10-08 10:23:47 -04:00
Christina Roberts
009deb7da8
Merge pull request #1236 from edx/christina/course-updates-bug
...
Don't remove course update when clicking outside modal.
2013-10-08 07:20:10 -07:00
cahrens
1de194aaa4
Use RequireJS for test dependencies, and use domReady.
2013-10-08 09:55:15 -04:00
cahrens
328640452f
Comment out tests that fail in Jenkins.
2013-10-07 17:18:40 -04:00
cahrens
61cfb91218
Cleanup to drag and drop implementation.
...
Also includes RequireJS changes.
Fixes bugs:
STUD-755, STUD-152, STUD-700, STUD-699
2013-10-07 17:18:40 -04:00
Brian Talbot
14b4b6a24e
Adds in minimally revised drag and drop styling.
...
Add CSS classes and fix drop destination bug.
2013-10-07 17:17:46 -04:00
Peter Fogg
85be9b4265
Jasmine tests for drag/drop.
2013-10-07 17:17:46 -04:00
Peter Fogg
cbd066da04
Address PR comments.
...
Remove unused variables; some changes to match existing BDD spec for
drag/drop (expand-on-hover timeout and dropping with mouse outside of
element); bugfix for section expand; some code cleanup; update and
re-enable acceptance test.
2013-10-07 17:17:46 -04:00
cahrens
aa6022d505
Don't remove course update when clicking outside modal.
...
Fixes bug STUD-822.
2013-10-07 15:25:16 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
cahrens
2cbdaaee7d
Updates based on switching to checkbox for locking.
2013-09-25 17:29:47 -04:00
cahrens
c64e04d8c2
Add the ability to lock assets.
2013-09-25 17:29:27 -04:00
cahrens
d11c92d799
Set the URL on the collection instead of the model.
2013-09-20 10:44:55 -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
Don Mitchell
fc131fa841
Add InheritanceKVS and standardize inherited attr patterns
2013-09-06 12:19:50 -04:00
cahrens
a061c7ece7
Rewriting of links for Course Updates and Course Handouts.
...
STUD-669.
2013-08-29 14:35:16 -04:00
Peter Fogg
b539a4cb94
Update copy to include PNGs, add tests, remove default MIME type.
2013-08-21 09:42:01 -04:00
Peter Fogg
9632f4fed8
Address PR comments:
...
- Internationalize upload errors.
- Move upload tests into their own files.
- Refactor upload dialog acceptance tests.
2013-08-21 09:42:00 -04:00
Peter Fogg
ce1a13f32c
Generalize file uploader.
...
Previously the file upload dialog was PDF- and textbook-specific. The
changes are adding parameters to the FileUpload model for the file
type, and adding an onSuccess callback to the UploadDialog view. Also
moved upload-specific SASS into its own file.
2013-08-21 09:42:00 -04:00
Will Daly
4b738d4cc3
Refactored into helper method
2013-08-12 08:55:30 -04:00
Will Daly
9769f364e1
Updated tests to weaken "number" input field requirement, which
...
isn't supported in Firefox.
2013-08-09 12:10:53 -04:00
David Baumgold
6e784d606f
Merge pull request #596 from edx/db/ff-subsection-datetime-bug
...
Fix Firefox subsection datetime bug
2013-08-07 09:25:17 -07:00
David Baumgold
a0123d3a27
Fixed Jasmine tests
2013-08-06 14:30:19 -04:00