Commit Graph

1496 Commits

Author SHA1 Message Date
John Eskew
2cd62c7bfb Upgrade django-rest-framework version to edX fork, which is DRF v3.6.3
with a custom patch needed by edx-platform.
Upgrade django-filter as well to v1.0.4
Import DjangoFilterBackend from the correct module - django_filter.
Add django-filter to INSTALLED_APPS.
2017-07-14 16:05:13 -04:00
Gregory Martin
214018dfee Merge pull request #15572 from edx/yro/repair_signal_config
Repair signal config, certs
2017-07-14 13:20:34 -04:00
Matthew Piatetsky
2c2aa903f0 Merge pull request #15562 from edx/LEARNER-1143
LEARNER-1143 Do not count programs with no courses as completed
2017-07-14 12:47:15 -04:00
Gregory Martin
6fd51467c9 repair signal config 2017-07-14 12:14:53 -04:00
Robert Raposa
22c8e4c6ad Redirect Course Home for course that hasn't started.
Includes the following:
- Move the redirect logic for before course that hasn't started to
share between Course Info and Course Home.
- Add audit comments for Course Info vs Course Home
- Other minor clean-up.

LEARNER-613
2017-07-14 01:47:32 -04:00
Matthew Piatetsky
de3c802700 Do not count programs with no courses as completed
LEARNER-1143
2017-07-13 14:57:47 -04:00
Vedran Karačić
2ffabe6333 Merge pull request #15539 from edx/vkaracic/update-settings
Add COURSE_CATALOG_API_URL settings value to devstack_docker
2017-07-13 06:51:56 +02:00
Kevin Falcone
039afc2517 Merge pull request #15534 from edx/jibsheet/quiet-requests-logging
Limit requests urllib3 logging to quiet log spam
2017-07-12 12:49:18 -04:00
Diana Huang
fc9737581e Update names to be more consistent.
LEARNER-1669
2017-07-12 10:55:31 -04:00
Vedran Karacic
beba07efd4 Fix string formatting. 2017-07-12 11:14:06 +02:00
rabiaiftikhar
6e873a4838 EDUCATOR-810 fix UnicodeDecodeError 2017-07-12 07:28:46 +00:00
Kevin Falcone
ee5b8db538 This logs for every API call to an external service
It accounts for a large chunk of our splunk logs and is often
repetitive.  See forums connections which on a sandbox do:

```
Starting new HTTP connection (1): localhost
```
and
```
comment_client_request_log: request_id=06ac65d3-61b9-4882-9edb-c6b65709318a, method=get, url=http://localhost:18080/api/v1/users/5, duration=0.0101051330566
```

Add this for any other IDA call.
2017-07-11 16:42:16 -04:00
Harry Rein
5a2998fb5b Allowing writing of reviews on reviews page.
LEARNER-1628

This allows enrolled users to write reviews on the reviews page that
can be accessed through the course tools sidebar. A button in the top
corner of the page toggles the widget that is configured with a
setting in the common.py file. The reviews tool is Course Talk.
2017-07-11 16:16:05 -04:00
Diana Huang
165c0aae85 Merge pull request #15465 from edx/andya/ccx-redirect
Implement course home redirect if user cannot enroll
2017-07-11 15:18:56 -04:00
Anthony Mangano
398fd19ba5 Merge pull request #15502 from edx/LEARNER-1298-LEARNER-1299-send-ui-lang-to-sailthru
Set ui_lang in Sailthru when creating and updating users
2017-07-11 14:35:06 -04:00
Andy Armstrong
13854fb8ab Handle anonymous and unenrolled users on the new course home page
LEARNER-1696
2017-07-11 14:10:52 -04:00
Alex Dusenbery
6dfa47b2fc EDUCATOR-565 | Add POLICY_CHANGE_GRADES_ROUTING_KEY, fix errors in compute_all_grades_for_course circuitry. 2017-07-11 14:01:38 -04:00
Anthony Mangano
4f4f25b432 Set ui_lang in Sailthru when creating and updating users 2017-07-11 11:27:01 -04:00
Nimisha Asthagiri
66bbe9023b RET: Cleanup Planning Prompts experimental code 2017-07-11 08:35:59 -04:00
Andy Armstrong
a815003b3b Handle anonymous and unenrolled users on the new course home page
LEARNER-1696
2017-07-10 17:52:28 -04:00
David Ormsbee
4fb972432a Merge pull request #15506 from edx/ormsbee/fix_inline_discussions_asset_caching
Fix inline discussions to use cached static assets.
2017-07-09 22:42:33 -04:00
David Ormsbee
978e9fe656 Fix inline discussions to use cached static assets.
In production environments, the DiscussionXBlock was generating CSS and
JS asset URLs that pointed to the unminified versions of those bundled
assets. Due to our nginx rules, this would cause the assets to be
served without the long expiration times, forcing the user's browser to
constantly refetch these assets while browsing a course.

[PERF-431]
2017-07-07 17:22:52 -04:00
Gregory Martin
16f06bf651 Generate eligible certificates on learner track change 2017-07-07 16:04:05 -04:00
Brian Mesick
af43d08b22 Revert "Upgrade django-ratelimit-backend to 1.1.1" 2017-07-06 16:18:02 -04:00
Mushtaq Ali
e8fee2e09a Add backend video image validations - EDUCATOR-45 2017-07-06 12:35:05 +05:00
Aamish Baloch
7b91095398 Merge pull request #15467 from edx/aamishbaloch/YONK-691
YONK-691: Configurable profile image sizes
2017-07-06 12:09:16 +05:00
Brian Mesick
bc485ea580 Merge pull request #15469 from edx/bmedx/django_1.11_upgrade_ratelimit_backend_PLAT-1482
Upgrade django-ratelimit-backend to 1.1.1
2017-07-05 16:54:49 -04:00
bmedx
705a68b212 Upgrade django-ratelimit-backend to 1.1.1 2017-07-05 10:14:59 -04:00
Aamish Baloch
ac45850d15 YONK-691: Configurable profile image sizes 2017-07-05 18:50:01 +05:00
Andy Armstrong
3cd985da20 Implement a skeleton page with Bootstrap
LEARNER-1174
2017-07-04 15:55:06 -04:00
Afzal Wali
383208c4c8 multitenant Program cache.
Fetched Programs and Program details from Course Discovery service for all sites and stored the uuids in cache with site-specfic keys.
Learner-1146
2017-07-04 14:20:55 +05:00
Diana Huang
378b1f86c6 Replace urls in plan html updates. 2017-07-03 15:03:29 -04:00
Robert Raposa
a864b450a8 Merge pull request #15436 from edx/robrap/rename-xss-linter
Rename xss linter.
2017-06-30 16:22:38 -04:00
Jesse Shapiro
e408feffb8 Merge pull request #15400 from open-craft/haikuginger/enterprise_audit_enrollment
[ENT-457] Create EnterpriseCourseEnrollment when enrolling via Track Selection page
2017-06-30 13:22:17 -04:00
Robert Raposa
b370fe2314 Part II: Rename xss linter. 2017-06-30 13:20:23 -04:00
Jesse Shapiro
d940bbfd09 Create EnterpriseCourseEnrollment when enrolling via Track Selection page 2017-06-30 12:39:14 -04:00
Robert Raposa
a087ce4854 Merge pull request #15416 from edx/robrap/LEARNER-1604-waffle-default
LEARNER-1604: Change default and refactor old unified_course_view flag.
2017-06-29 15:37:38 -04:00
Gregory Martin
b9425c5b5c Implement signal/handler for learner passing grades 2017-06-29 14:16:06 -04:00
John Eskew
947e814216 Remove deprecated django.utils.importlib. 2017-06-29 12:08:21 -04:00
Robert Raposa
2e80c1e66b Refactor, enhance, and adjust unified_course_view flag.
This includes several general enhancement in addition
to the fixes for unified_course_view:
1. Add support for default when no waffle flag defined.
2. Add support for table_blacklist to assertNumQueries.
3. Rename flag to 'course_experience.course_outline_page'.
4. Change flag default to True when it is not defined.
2017-06-29 11:04:35 -04:00
Joel Barciauskas
89c4705234 Merge pull request #14847 from edx/jbarciauskas/refactor-heartbeat-extensible
Refactor heartbeat endpoint for extensibility
2017-06-28 15:59:26 -04:00
Michael Frey
6f60d3b905 Merge pull request #15417 from edx/mjfrey/catch-exception
catch InvalidKeyError
2017-06-27 15:58:51 -04:00
Bill DeRusha
f920493b6a Merge pull request #14729 from OmarIthawi/omar/username-unicode
Add optional support for Unicode usernames
2017-06-27 12:11:52 -04:00
Joel Barciauskas
7895875559 Refactor the heartbeat djangoapp to be a bit more extensible
We may want to add additional heartbeat checks, particularly depending
on the context (e.g. different environments). This is meant to be a
start at enabling a more plug-in style heartbeat check that provides
more detailed diagnostics if desired.
2017-06-27 11:45:37 -04:00
Calen Pennington
29acb6c733 Merge pull request #15413 from cpennington/ret/fix-sock-pricing
Use the right helper function for finding course upgrade price for th…
2017-06-27 10:45:43 -04:00
Michael Frey
f92d02feae catch InvalidKeyError 2017-06-27 09:49:19 -04:00
Omar Al-Ithawi
1b46c3e646 Add optional support for Unicode usernames
Refactoring: Use format with named variables
2017-06-27 14:18:49 +03:00
Harry Rein
e6c94400d1 Merge pull request #15406 from edx/HarryRein/LEARNER-1534-no-updates-bug
Only display updates course tool when updates exist.
2017-06-26 17:27:00 -04:00
Calen Pennington
849f24ab13 Use the right helper function for finding course upgrade price for the sock 2017-06-26 16:24:45 -04:00
Ivan Ivic
6e45f00041 Created new embargo check api
LEARNER-1523
LEARNER-1524
2017-06-26 15:02:04 -04:00