Commit Graph

22621 Commits

Author SHA1 Message Date
adeelehsan
73e1e0934e Completion reduce delayed
PROD-1444
2020-06-04 17:05:53 +05:00
Zainab Amir
cdc1c91980 Integrate Video Encode Manager (#24093)
* Add VEMPipelineIntegration config model
* Add course waffle flag to enable vem pipeline selectively

PROD-1636
2020-06-04 11:45:34 +05:00
stvn
83b2f6e535 Fix issue w/ staff toolbar's Insights link
since the configuration value does _not_ include the `/courses` bit in
either stage or prod.

Note: The value for prod contains a trailing slash, while stage does not
🤷

I tested locally that this should work with either config
(trailing slash or not).
2020-06-03 15:05:06 -07:00
Calen Pennington
b37be506fe Use content_type_gating to determine whether a learner has access to content on the dates page 2020-06-03 15:08:49 -04:00
David Ormsbee
ee61c9dc75 Merge pull request #20225 from open-craft/giovanni/bb-1156-enable-changing-require-build-profile
BB-1156: Enable changing the build profile used by RequireJS
2020-06-03 12:58:19 -04:00
stvn
9dd97a5c64 Merge PR #24020 add/staff-toolbar-links
* Commits:
  Remove 'View In Studio' link from vertical
  Add Studio and Insights buttons to Instructor Toolbar
2020-06-03 09:38:32 -07:00
Ben Warzeski
7c9f901096 Update 'create team?' prompt check in topic teams to look in teamset (#24088)
* Update check for showing the 'create team?' prompt in topic teams to look in teamset

* fix tests and correct which collection we are checking

* eslint fixes

Co-authored-by: Ben Warzeski <benwarzeski@edX-C02CD0HCLVDM.cable.rcn.com>
2020-06-03 11:37:43 -04:00
Calen Pennington
d528ef8e10 Merge pull request #24133 from cpennington/use-content-type-gating-in-dates-banner
Use content type gating in dates banner
2020-06-03 11:29:29 -04:00
Uzair Rasheed
5f47cb4bb7 Merge pull request #24107 from edx/restrict-api-to-staff-and-self-user
Restrict cert api to staff and self user
2020-06-03 19:13:47 +05:00
Calen Pennington
f9cfbd8593 Revert "Merge pull request #24131 from edx/revert-24085-use-content-type-gating-in-dates-banner"
This reverts commit c3ec8b837a, reversing
changes made to 4252b14927.
2020-06-03 09:57:22 -04:00
Calen Pennington
561cdab7dd Revert "Use content type gating in dates banner" 2020-06-03 09:52:24 -04:00
Calen Pennington
4252b14927 Merge pull request #24085 from cpennington/use-content-type-gating-in-dates-banner
Use content type gating in dates banner
2020-06-03 09:50:09 -04:00
David Ormsbee
998d38b8b1 Merge pull request #23344 from edx/ormsbee/learning_seq_api
Learning Sequence / Course Outline API
2020-06-03 09:45:39 -04:00
uzairr
d0f7120198 Restrict cert api to staff and self user 2020-06-03 18:12:30 +05:00
stvn
4490e4ca2b Remove 'View In Studio' link from vertical
in favor of display in the Staff Instructor Toolbar.
2020-06-02 16:00:33 -07:00
stvn
43ac90e30d Add Studio and Insights buttons to Instructor Toolbar
in a feature backport from the new Courseware/Learning MFE.
2020-06-02 16:00:32 -07:00
Aura M. Alba
8d3ec6b366 Remove pattern library of learner_dashboard/programs.py 2020-06-02 16:19:25 -05:00
David Ormsbee
5d1b24988e Create learning_sequences app, Course Outline API.
Introduces the learning_sequences app, intended to provide metadata for
sequences and course outlines. The short term goal is to provide faster
source of this information for the new Courseware microfrontend
(frontend-app-learning). The medium term goal is to provide an in-proc
API that is useful to other parts of the platform that need fast access
to course outline information customized for a user. The long term
goals are outlined in the README.rst.

This first iteration of the API only lays out the basic structure for
how we'd arrange the pieces, with enough of an implementation to feel
"real" (simple schedules, staff_only content hiding). It's not ready to
be turned on, and is not currently plugged into the publish-flow. The
only way to get data into this new API is via the update_course_outline
management command. The REST endpoint is also currently limited to
global staff only, though it's possible to get the outline for a student
by using the ?username= query parameter.

TNL-7122
2020-06-02 15:31:21 -04:00
Nathan Sprenkle
e0ddb1e0e2 Team Assignments Dashboard (#24019)
* Add team assignments to frontend

* Limit team assignments to the given teamset

* Remove deprecated django render_to_response

* Move team assignments panel behind feature flag
2020-06-02 15:05:47 -04:00
Calen Pennington
287cb14e37 Allow the chromeless view to render the reset banner when not in mobile 2020-06-02 14:31:42 -04:00
Calen Pennington
6029d53a4f Don't upsell content to mobile app users in the dates_banner 2020-06-02 14:23:28 -04:00
Calen Pennington
7c4585ebfe Only prompt to upgrade in order to completed graded content (or shift dates) when content_type_gating is enabled 2020-06-02 14:23:28 -04:00
atesker
de0e8524a2 EDUCATOR 5065 - updates
EDUCATOR 5065 - CR comments 3
2020-06-02 14:03:01 -04:00
Michael Terry
61b20d3f8e Merge pull request #24103 from edx/mikix/summary-dates-is-allowed
AA-76: Add is_allowed property to DatesSummary
2020-06-02 10:01:47 -04:00
Carla Duarte
f574ed3713 Merge pull request #24071 from edx/ciduarte/AA-120
AA-120: Course Tools API
2020-06-02 09:28:34 -04:00
Michael Terry
03860c7359 AA-76: Add is_allowed property to DatesSummary
This takes over some of the logic in the is_enabled property which
previously checked two things: (1) is the date time-sensitive and
(2) is the date even applicable to this course.

Now, is_enabled is only responsible for time-sensitive checks and
the new is_allowed property checks applicability.

In this way, we can more cleanly separate whether a date block
should show up on the dates sidebar (is_enabled and is_allowed)
and the dates tab (is_allowed).
2020-06-02 09:26:24 -04:00
Dillon Dumesnil
39b6215921 Merge pull request #24119 from edx/ddumesnil/fix-date-ordering-AA-158
AA-158: Fix date ordering for multiple events on the same date
2020-06-02 06:21:42 -07:00
Emma Green
104c24bd39 Merge pull request #24104 from edx/emma-green/REV-1197/add-temporary-management-command-to-get-FBE-info
get-FBE-info-from-temp-management-command
2020-06-02 09:03:10 -04:00
Dillon Dumesnil
03bc4bc1be AA-158: Fix date ordering for multiple events on the same date
This change will prefer putting assignments before other course
events (such as end date or verification deadline date) in the
case where they share the same date.
2020-06-02 06:51:25 -06:00
Emma Green
2076a8a9bb get-FBE-info-from-temp-management-command 2020-06-01 21:06:31 -04:00
David Ormsbee
71a38cf449 Revert "AA-158: Fix date ordering for multiple events on the same date" 2020-06-01 19:45:47 -04:00
Aura M. Alba
941a93f531 Remove pattern library of course_experience/course-outline-fragment.html 2020-06-01 18:45:45 -05:00
Carla Duarte
277e34f384 AA-120: Course Tools API
Created an API to be called by the Outline Tab
in the Course Home MFE. This API currently only
returns Course Tool data. Preemptively using the
`course_home_api/outline/v1/...` naming scheme to
make way for more Outline Tab data within this API.
2020-06-01 16:14:47 -04:00
Calen Pennington
07d9d74b7c Remove extraneous variables from dates_banner.html 2020-06-01 15:48:46 -04:00
Calen Pennington
6f568d097c Set missed_deadlines in the course outlines template to simplify the logic in the dates_banner.html 2020-06-01 15:48:40 -04:00
Dillon Dumesnil
109e608e9c Merge pull request #24112 from edx/ddumesnil/fix-date-ordering-AA-158
AA-158: Fix date ordering for multiple events on the same date
2020-06-01 12:12:06 -07:00
Dillon Dumesnil
dbcff660cc AA-158: Fix date ordering for multiple events on the same date
This change will prefer putting assignments before other course
events (such as end date or verification deadline date) in the
case where they share the same date.
2020-06-01 12:15:20 -06:00
Robert Raposa
59e0f6efcf ARCHBOM-1244: Add code_owner custom metric (#24084)
* includes ADR for Monitoring by Code Owner
* add monitoring middleware to add the following custom metrics:
- code_owner: The owning team mapped to the current view.
- code_owner_mapping_error: If there are any errors when trying to
        perform the mapping.
- view_func_module: The __module__ of the view_func, which can
        be used to find missing mappings.
* add script to generate `settings.CODE_OWNER_MAPPINGS` from
     a csv file.

ARCHBOM-1244
2020-06-01 12:27:38 -04:00
Simon Chen
d0f99ec778 MST-264 Fix bug for course staff user in unrelated course (#24099)
* MST-264 Fix the wrong assumption that a course_staff of a course not related to programs should be in course_staff logic
2020-06-01 11:11:37 -04:00
Ahtisham Shahid
5d9555f6a3 removed technical email from module error 2020-06-01 19:07:30 +05:00
Nick
d8ac4621fd Merge pull request #24090 from edx/ndalfonso/AA-117-mfe-dates-tab-waffle-flag
AA-117 mfe date tab waffle flag
2020-06-01 09:37:12 -04:00
edX Transifex Bot
740550491d fix(i18n): update translations 2020-05-31 17:35:59 -04:00
Luis Moreno
b6e0762d85 Remove references to old discussion style files 2020-05-29 13:39:46 -04:00
Aura M. Alba
0ad20bd5b9 Remove pattern library of course_experience/latest-update-fragment.html 2020-05-29 11:52:44 -05:00
Nicholas D'Alfonso
0709977785 AA-117 mfe date tab waffle flag
- create master course home waffle flag
- create course waffle flag for accessing the mfe dates tab
2020-05-29 12:34:43 -04:00
Luis Moreno
f993189d50 Remove waffle flag edx_discussions.use_bootstrap. Now it is enabled always 2020-05-29 12:27:15 -04:00
Simon Chen
53d2e24258 Revert "Add logging statements to investigate MST-264"
This reverts commit 51ed4d93df6b795de1b5945a58e6a1f1c6972220.

The logging statement made clear the root cause of the bug.
2020-05-29 10:32:48 -04:00
stvn
37d92fa540 Merge PR #24030 add/masquerade-get
* Commits:
  Add HTTP GET endpoint for masquerade
2020-05-28 19:02:25 -07:00
Simon Chen
8b011d980c Add logging statements to investigate MST-264 2020-05-28 16:50:15 -04:00
Calen Pennington
0a691f244f Pull out def for dates-page upgrade-for-graded-content dates-banner 2020-05-28 15:17:39 -04:00