Commit Graph

22621 Commits

Author SHA1 Message Date
stv
06602b1922 Cleanup datatable code in sysadmin user tab
There is no significant impact to this change;
it's just some general cleanup that I made while cleaning up this file..

We don't need to store these as instance variables,
since we never use them as such.
And since we've already factored out the remaining code from this
initialization method, we can drop it entirely.
2019-04-02 10:21:07 -07:00
David Ormsbee
e712be7892 Merge pull request #20094 from stvstnfrd/sysadmin/user-courses
Remove course listing from user tab of sysadmin
2019-04-01 17:45:26 -04:00
David Ormsbee
cee5d47338 Merge pull request #20093 from stvstnfrd/sysadmin/plots
Remove unused 'plot' references in sysadmin
2019-04-01 17:28:47 -04:00
Matt Tuchfarber
f2119ff837 Merge pull request #20112 from edx/tuchfarber/add_username_to_production_settings
Add username replacement worker to production settings
2019-04-01 11:55:06 -07:00
Matt Tuchfarber
a87aea8eff Add username replacement worker to production settings 2019-04-01 14:02:49 -04:00
Christie Rice
22fcc12d24 REVEM-262 Add more logging of ids 2019-04-01 10:18:31 -04:00
Christie Rice
5462474aa6 Merge pull request #20072 from edx/crice/REVEM-203_dashboard
REVEM-203 Add course and program info to dashboard metadata
2019-04-01 09:16:53 -04:00
Christie Rice
052683f926 REVEM-203 Add course and program info to dashboard metadata 2019-03-30 08:30:07 -04:00
stv
21f79de92f Cache courses list on sysadmin courses page
We were performing this lookup multiple times in the POST handler;
this should increase speed and memory use, which has been problematic
with this feature.
2019-03-29 14:57:04 -07:00
Jolyon Bloomfield
963ec44826 Hiding overall grades for a sequential when problem scores are hidden 2019-03-29 11:48:13 -07:00
stv
f7b7963193 Remove unused version from footer
I'm not seeing this value ever initialized in `settings`,
or referenced anywhere else in platform, for that matter..
2019-03-29 10:38:18 -07:00
stv
f165f52d88 Remove course listing from user tab of sysadmin
I'm admittedly unclear why we decided to include a listing of _courses_
in the _users_ tab, when this listing is already available via the
_courses_ tab, which is where you'd expect to find it.

Particularly problematic here is the impact this has on page loads..
For instances with a large number of courses [1], pulling and rendering
adds a nontrivial amount of overhead and leads to longer load times.

In our case, this often leads to a page timeout. Since this is the main
landing page for the sysadmin dashboard, it presents the appearance that
the entire dashboard has crashed. In not being able to access the main
page, you can't access any of the other tabs via navigation, unless you
manually enter the URL :\

[1] ~750 courses, in one example
2019-03-29 10:06:19 -07:00
stv
c4c6069bd1 Remove unused 'plot' references in sysadmin
This appears to have been included with the origin commit that
introduced the sysadmin page [1].
It doesn't appear to have been ever used and, more importantly,
the view isn't passing it in the context to the template,
so it should be good to go.

- [1] ccc87337d6
2019-03-29 09:43:44 -07:00
Matthew Piatetsky
4966b30bb5 Merge pull request #20071 from edx/revert-20064-revert-20003-mobile-access-denied
continue removing blocks from course outline
2019-03-29 11:20:59 -04:00
Matthew Piatetsky
c77ba984c9 fix traversal bug and keep current behavior as default 2019-03-28 15:50:05 -04:00
Cory Lee
f6bf01661a Merge pull request #19959 from edx/coryleeio/remove_aws_py
Remove aws.py
2019-03-28 15:25:35 -04:00
Matthew Piatetsky
1f6cd7aa5a Revert "Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason"" 2019-03-28 14:44:05 -04:00
Christopher Pappas
3fcf99f65b ENT-1556 - Adding in roles claim to jwt for use with edx rbac
Adding logic that adds roles to jwt

Quality fixes
2019-03-28 14:17:07 -04:00
Cory Lee
ac4845d052 DEPR-14 Remove AWS.py 2019-03-28 10:48:34 -04:00
adeelehsan
17a993b70a Merge pull request #20052 from edx/aehsan/leraner-5581/proctoring_exam_banner_on_top
Proctoring exam always on top
2019-03-28 17:58:53 +05:00
Robert Raposa
e52db402b8 add user_id scope to the list of available scopes
This should have been done when the scope was first added as part
of (#19765).

ARCH-603
2019-03-27 19:00:04 -04:00
Matthew Piatetsky
e6b55ede3d Merge pull request #20003 from edx/mobile-access-denied
REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason
2019-03-26 17:33:57 -04:00
Matthew Piatetsky
4bb539c9aa update user partition and access_denied_message_filter transformers 2019-03-26 15:26:59 -04:00
Christie Rice
b28515b276 REVEM-246 Add program status and one-click eligibility 2019-03-26 10:51:58 -04:00
adeelehsan
a504045ff4 Proctoring exam always on top
proctoring banner was interfering
with course goal banner. Z-index
added on proctoring banner to make
sure its always on top

learner-5581
2019-03-26 16:23:27 +05:00
Zainab Amir
e0eea23e78 Change css for edX edge about page
Removed padding and increased the height to 100% to make enroll
button visible on mobile view for courses with long title

LEARNER-5532
2019-03-26 14:43:21 +05:00
Calen Pennington
07dfd0f8b5 Merge pull request #20036 from cpennington/devstack-browsable-api
Add BrowsableAPIRenderer to devstack to make debugging easier
2019-03-25 11:17:43 -04:00
Douglas Hall
04b2c12893 Include GeneratedCertificate modified date in certificates API response. 2019-03-22 12:39:18 -04:00
Calen Pennington
7d9ef1f65a Merge pull request #20040 from cpennington/revert-course-list
Revert course list
2019-03-22 10:05:31 -04:00
Calen Pennington
d23e888316 Revert "Reapply "Improve the performance of access checking for a specific user in CourseViewList by prefetching data""
This reverts commit 6059e21bff.
2019-03-21 14:26:00 -04:00
Calen Pennington
b89ce526ca Revert "Batch queries to fetch all courses to prevent over-fetching during paging operations"
This reverts commit 544c7f7eff.
2019-03-21 14:26:00 -04:00
Matt Tuchfarber
e6a7c58182 Merge pull request #19853 from edx/tuchfarber/add_username_replacement_api
Adds username replacement API
2019-03-21 12:39:23 -04:00
Calen Pennington
34fb3fe508 Add BrowsableAPIRenderer to devstack to make debugging easier 2019-03-21 11:22:57 -04:00
Ned Batchelder
8a612c4dfb Merge pull request #20027 from cclauss/Fix-F632
Use ==/!= to compare str, bytes, and int literals
2019-03-20 22:01:44 -04:00
David Ormsbee
e911898e48 Merge pull request #19023 from kaushik94/bugfix/fix-enroll-button-safari
added fix for broken 'enroll in class' button on about course page
2019-03-20 18:15:16 -04:00
Matt Tuchfarber
510f877408 quality 2019-03-20 10:52:10 -04:00
cclauss
bb31716c97 Use ==/!= to compare str, bytes, and int literals 2019-03-19 21:40:06 +01:00
Jeremy Bowman
5e37a0c0bb Merge pull request #19621 from cclauss/Fix-ur-strings-for-Python3
ur'strings' are syntax errors in Python 3
2019-03-19 15:34:55 -04:00
Calen Pennington
d567724163 Merge pull request #20008 from cpennington/fbe/get-courses-batched
Fbe/get courses batched
2019-03-19 11:53:19 -04:00
Calen Pennington
544c7f7eff Batch queries to fetch all courses to prevent over-fetching during paging operations 2019-03-19 10:30:33 -04:00
adeel khan
8a8d341830 Merge pull request #20004 from edx/adeel/learner_6607_csrf_token_error
Fix csrf token error by adding JwtAuthentication.
2019-03-19 15:38:52 +05:00
David Ormsbee
7dcad7af55 Merge pull request #16496 from open-craft/josh/announcements-feature
Dashboard announcements feature
2019-03-18 16:04:38 -04:00
Calen Pennington
6059e21bff Reapply "Improve the performance of access checking for a specific user in CourseViewList by prefetching data"
This reverts commit d8cd6135a6.
2019-03-18 15:24:40 -04:00
Adeel Khan
9c221ebcf5 Fix csrf token error by adding JwtAuthentication.
BasketView post endpoint is raising csrf token
error because of missing JwtAuthentication class.

LEARNER-6607
2019-03-19 00:04:18 +05:00
emma-green
504342b924 Merge pull request #20013 from edx/emma-green/REVMI-138/stop-the-bleeding
REVMI-138 don't error if somethings wrong, just warn
2019-03-18 14:38:55 -04:00
Emma Green
8445881c91 dont error if somethings wrong, just warn 2019-03-18 13:56:18 -04:00
Farhanah Sheets
a69ab50596 Merge pull request #19988 from raccoongang/fix_errors_not_shown_at_instructor_dashboard_course_team_management
Fix bug: error messages are not shown in Course Team Management
2019-03-18 13:52:00 -04:00
Dave St.Germain
d1cd8e0407 Enable proctoring for professional track learners 2019-03-18 10:37:37 -04:00
cclauss
9a0c995885 ur'strings' are syntax errors in Python 3 2019-03-17 13:56:02 +01:00
David Ormsbee
089817cf55 Merge pull request #19507 from open-craft/kshitij/fix-problem-response-report
[BB-753] Fix issue with multiple responses for a single user returned by generate_report_data
2019-03-15 15:36:47 -04:00