Commit Graph

58 Commits

Author SHA1 Message Date
Waheed Ahmed
54b64e70f4 Restrict certificate endpoint to return certificates.
Do not return certificates if there is no active certificate
configuration.

PROD-1200
2020-01-29 22:29:55 +05:00
Waheed Ahmed
442da4a7fe Don't show certificate on profile if no active config.
Stop showing certificate information on profile page if there is no
active certificate configuration.

PROD-1200
2020-01-28 22:30:16 +05:00
Feanil Patel
9cf2f9f298 Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed.

https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Nimisha Asthagiri
a6b219a9e9 Python-3: assertIn(..response.content) -> assertContains 2019-09-30 08:50:38 -04:00
Stu Young
7c6c166e73 fix toggle implementation annotations (#21802)
fix toggle implementation annotations and rename waffle flags
2019-09-27 11:45:40 -04:00
Awais Jibran
1a4eb7d2e8 Pervent reverse tabnabbing in edx platform 2019-08-28 16:08:34 +05:00
noraiz-anwar
1c4f9da92d improved quality of multiple files 2019-08-22 12:47:08 +05:00
Matt Tuchfarber
2583d317db Remove all references to Journals 2019-07-09 14:19:25 -04:00
uzairr
cefebce67a Anomaly in certs visibility on user profile.
While visiting a profile of another user from a non-staff account,
backend is returning html of its certs in page source.To avoid it,
a check is added in backend so that certs are only added when the
visiting user is itself visiting its profile or it would be a staff.

LEARNER-7057
2019-05-10 16:13:16 +05:00
kill-gear
69584ca573 incr-177 run python-modernize on openedx/features/learner_profile (#20454)
* incr-172

* incr-177 run modernize

* fixed bug due to running modernize
2019-05-08 16:50:04 -04:00
Nimisha Asthagiri
2a168a4e1b Account: Toggle for Microfrontend Redirect
ARCH-636
2019-05-01 11:31:48 -04:00
Nimisha Asthagiri
e780eae04c Merge pull request #20177 from edx/arch/annotate-profile-mfe-toggle
Learner Profile Toggles: Annotate and Remove outdated ones
2019-04-07 23:21:17 -04:00
Nimisha Asthagiri
47759427ba Learner Profile Toggles: Annotate and Remove outdated ones
ARCH-453
2019-04-07 11:30:35 -04:00
Douglas Hall
7ef33dac6c Allow profile microfrontend redirect to be configured per site. 2019-03-13 16:27:36 -04:00
Nimisha Asthagiri
c1cd1058c5 Merge pull request #19797 from edx/arch/redirect-profile-page
Redirect Profile view to Profile Microfrontend
2019-02-19 09:00:37 -05:00
Matthew Piatetsky
444799fb0e fix unicode strings in openedx/ part 2 2019-02-15 10:15:51 -05:00
Nimisha Asthagiri
551f07c130 fixup! updated URL config name and value; added DEPR ticket 2019-02-14 09:17:31 -05:00
Nimisha Asthagiri
7848dd737f Redirect Profile view to Profile Microfrontend 2019-02-13 09:32:36 -05:00
Michael Youngstrom
4feaee2bd8 Fix some eslint warnings 2018-12-18 12:52:45 -05:00
Ned Batchelder
3353e7425e Remove unused imports 2018-11-03 16:07:05 -04:00
Jeremy Bowman
3ff3eee2f2 TE-2689 Remove useless pylint suppressions part 4 2018-08-20 12:54:22 -04:00
Jeremy Bowman
713d64e1e2 TE-2702 Update Read the Docs links to HTTPS 2018-08-15 17:34:01 -04:00
Calen Pennington
44d612bae5 Fix unrelated pylint errors that cropped up 2018-08-10 13:32:55 -04:00
Dillon Dumesnil
f59eafa1c0 Removing student records waffle flag from LMS 2018-08-08 15:04:27 -04:00
Bill Filler
df52ff0038 Merge pull request #18395 from edx/whitelabel/journal
Add journals support in LMS
2018-07-23 15:10:38 -04:00
Bill Filler
c746a4e630 Add Journals support
Enable the journal app in LMS. Add support to display Journals on index
and courseware pages and dashboard.
2018-07-23 13:11:26 -04:00
attiyaishaque
e0472a7a15 Fix screen reader issue on profile page. 2018-07-19 12:49:48 +05:00
Hamza Munir
46ea7834d5 Adjust default of Course Landing Experience to use expected platform defaults
Setting defaults for waffle flags to true.
default=true for use_bootstrap in discussions app
default=true for show_achievements in learner profile app

LEARNER-5509
2018-06-25 15:13:39 +05:00
Eric Fischer
247bb50ed2 s/django.core.urlresolvers/django.urls/g
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Michael Terry
6833823ccc Update student records buttons
Updates the look and feel of the two (experimental and disabled by
default) links to student records.

Also converts the 'student_records' waffle switch to a waffle flag
named 'credentials.student_records.

LEARNER-5246
2018-05-11 16:38:16 -04:00
Michael Terry
502287b07e Add some links to student records
Add some waffle-guarded connection points to the Credentials service
to start filling out the user flow for Student Records.

Specifically, add a button to the Program Progress Details page if
a certificate exists, and add a link in the Learner Profile page.

Both only appear if the 'student_records' waffle switch is active.

LEARNER-4701
2018-04-27 09:52:01 -04:00
Michael Youngstrom
f4e9f3ac2d Revert "Made the certificates section on the user profile page site aware. WL-1289" 2018-02-13 11:43:33 -05:00
Afzal Wali Naushahi
69a3e1115b Merge pull request #17164 from edx/afzaledx/WL-1289
Made the certificates section on the user profile page site aware. WL-1289
2018-02-13 19:03:34 +05:00
Jose Antonio Gonzalez
356734715b fix layout in learner profile 2018-02-03 21:24:58 +02:00
Bill DeRusha
2eff15b22f Revert "Fix layout in learner profile" 2018-01-31 11:16:40 -05:00
Jose Antonio Gonzalez
238e2f6b47 fix layout in learner profile 2018-01-30 16:42:02 +02:00
Nimisha Asthagiri
2e9efe6472 Fix Certificates import and signals code 2018-01-19 15:12:28 -05:00
Andy Armstrong
7c09ebb794 Improve documentation for the Open edX features 2018-01-12 10:52:07 -05:00
Afzal Wali
134a04ca58 WL-1289
Made the certificates section on the user profile page site aware. Only the certificates earned that the user earned on that site will be visible.
2018-01-11 18:32:07 +05:00
Waheed Ahmed
cd65d720ad Add save button with profile visibility dropdown.
When a learner changes this dropdown from Full to Limited or
vice versa, nothing happens. This creates confusion, to fix
that add save button.

LEARNER-3239
2017-12-15 13:03:33 +05:00
Ned Batchelder
e23e3a0486 Fix a number of unused-import pylint violations 2017-11-21 19:57:06 -05:00
bmedx
f3f8d8ec96 Changes necessary for Django 1.11 tests to start
- Certificates management commands updates
- Moving reverse calls in tests into setUp from class definition
- Import shuffling
- Consolidating cryptograhpy version to 1.9
2017-11-13 15:45:32 -05:00
Tasawer Nawaz
d2827b3d8e Fix certificates visiblity to students on the profile page before the issue date set by course teams
LEARNER-3097
2017-11-09 17:10:49 +05:00
Andy Armstrong
374cdb0a3d Convert course home page to Bootstrap
LEARNER-1694

Fix a11y failure

Fix header styling

Fix layout issues

Further layout fixes
2017-10-10 20:18:27 -04:00
Diana Huang
d696677ce8 Merge pull request #15968 from edx/diana/header-updates
LEARNER-2318: As a learner I should have an easy way to get to my learner profile
2017-09-26 10:40:41 -04:00
Diana Huang
1cfefe2457 Modify the header to show the learner profile.
Remove the profile from the user dropdown.

LEARNER-2318
2017-09-25 17:06:08 -04:00
Diana Huang
b5a0d0ce0a Remove waffle flag for showing certs on profile.
Certs are displayed by default to everyone.
2017-09-25 15:38:16 -04:00
Diana Huang
f7b5066bf9 Only show 'Explore New Courses' button when courses are browsable. 2017-09-22 13:50:55 -04:00
Diana Huang
cbfea6515d Add new info message to profile page. 2017-09-21 10:19:40 -04:00
Andy Armstrong
2d40854391 Merge pull request #15957 from edx/andya/learner-certificate-filtering
Only show passing certificates on a learner profile
2017-09-06 15:21:25 -04:00