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
hasnain-naveed
cda72e9071
ENT-2460 | Added a model for whitelist emails for authentication.
2019-11-15 11:56:44 +05:00
adeelehsan
7908808911
Configuration model added for bulk unenroll command
...
Users information will be available in model as csvfile
Prod-655
2019-10-03 16:33:13 +05:00
Josue Balandrano Coronel
0e85af8a98
Update CourseEnrollment Admin ModelForm to correct edit and create
...
student enrollments. We no longer need to parse the course key into an
opaque key since the opaque key class can already handle strings and the
parsing happens there. We also need to specify which course enrollment
are we editing or else the reference is lost when saving the edits.
2019-05-18 17:24:13 +02:00
Jeremy Bowman
47516dbead
Run python-modernize on student/*.py ( #20411 )
2019-05-06 14:50:42 -04:00
Josue Balandrano Coronel
78f4ccb50a
Expose LoginFailure model to Django's Admin UI to allow admin users
...
unlock student accounts that have been locked out for excessive login
failures. This change will allow to quickly unlock student accounts when
time is of the essence (e.g. Timed exams).
2019-03-22 10:22:01 -05:00
Julia Eskew
48073300e7
Merge pull request #19106 from open-craft/clemente/fix-courseenrollment-admin-querydict
...
Fix error when saving CourseEnrollment in admin
2019-01-28 11:14:04 -05:00
Daniel Clemente Laboreo
e0b0c375be
Fix error when saving CourseEnrollment in admin
2019-01-28 14:42:41 +02:00
Saleem Latif
bd411de12d
Add recovery email to account settings page
2018-12-10 17:59:19 +05:00
Diana Huang
0fb8f08d2e
Override admin templates to remove links that allow admin users to change
...
passwords.
LEARNER-4928
2018-09-18 13:43:30 -04:00
John Hensley
aeec52a9ae
Improve CourseEnrollment admin search presentation
...
When searching CourseEnrollments in the admin, list the enrollments
whose usernames were an exact match first.
2018-08-02 10:42:15 +09:30
Jillian Vogel
c5e90464e9
Address PR review:
...
* uses openedx waffle_utils instead of straight waffle
* adds student.STUDENT_WAFFLE_NAMESPACE
* improves comment
Also changed the waffle switch to use _ instead of . to respect current conventions.
2018-07-26 13:30:35 +09:30
Jillian Vogel
7f0bbedba1
Adds a waffle switch which gates access to the CourseEnrollmentAdmin views
2018-07-26 13:30:35 +09:30
Dmitry Gamanenko
df9dec9b88
Fix "admin/auth/user/add "username" missing field.
...
Add test for PR `fix_username_missing_field`
Update test case. Remove blank line whitespace.
2018-04-05 16:22:18 +03:00
Joseph Mulloy
e8d95c1c73
Disable course enrollments admin page OPS-2943
2018-03-26 11:40:16 -04:00
John Eskew
27edca3c5e
Replace all clean_course_id form methods with common method.
2018-01-25 11:38:46 -05:00
Albert St. Aubin
3661e1acdf
Updated the CourseEnrollment Admin form to correctly handle Course
...
[LEARNER-3672]
Updated the CourseEnrollment Admin form to convert the Course Strings to
CourseKey or OpaqueKey values as expected.
2018-01-19 13:42:18 -05:00
Sven Marnach
02ddf4d321
Merge pull request #16166 from open-craft/smarnach/filter-course-enrollment-allowed
...
Add search box to CourseEnrollmentAllowed admin interface.
2017-12-11 13:57:24 +01:00
Sven Marnach
17194ae060
Add search box to CourseEnrollmentAllowed admin interface.
2017-10-04 20:31:40 +02:00
Nico van Niekerk
f2d51639ba
FIX: course enrollment search, FIX: hidden tabs on instructor dashboard
2017-09-18 09:34:46 +02:00
bmedx
48e6e552f2
PLAT-1633: Upgrade django-ratelimit-backend to 1.1.1
2017-08-07 15:34:21 -04:00
Clinton Blackburn
835cc0871c
Removed usage of LogoutViewConfiguration
...
This model will soon be deleted.
LEARNER-2042
2017-07-27 11:29:43 -04:00
bmedx
cfb53a3526
Ensure User model is unregistered before registering with Django admin
...
- PLAT-1631
2017-07-07 11:02:53 -04:00
Brian Mesick
af43d08b22
Revert "Upgrade django-ratelimit-backend to 1.1.1"
2017-07-06 16:18:02 -04:00
bmedx
d6d7fcaf4f
Fix NotRegistered error when running makemigrations
2017-07-05 12:28:22 -04:00
bmedx
705a68b212
Upgrade django-ratelimit-backend to 1.1.1
2017-07-05 10:14:59 -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
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Bill DeRusha
9877c6ad6e
Add UTM tracking for registrations
...
Add UTM cookie tracking for registrations.
Add config model for cookie names.
ECOM-5539
2016-10-07 10:27:57 -04:00
Clinton Blackburn
03095643c6
Exposed admin for LogoutViewConfiguration
...
ECOM-4610
2016-06-21 14:13:16 -04:00
Clinton Blackburn
8ea3b62016
Added admin for UserAttribute model ( #12596 )
...
ECOM-4502
2016-05-31 18:22:18 -04:00
Clinton Blackburn
b6b5fdc28e
Updated UserAdmin
...
The profile now appears inline for the user model.
ECOM-4310
2016-05-13 01:39:49 -04:00
Ahsan Ulhaq
88df456414
set show_full_result_count false
...
ECOM-2831
2016-02-17 18:10:40 +05:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Clinton Blackburn
afd682e224
Fixed admin issues
...
- Using raw ID field for user fields for enrollment and user profile admin
- Including user data in enrollment admin queryset
2015-11-06 01:49:22 -05:00
Clinton Blackburn
c34dfac1ff
Removed read-only fields from enrollment admin
...
The read-only protection is more hassle than it's worth when testing locally and on stage. It's a solution to a problem we don't actually have, so I have reverted the changes.
2015-11-02 09:25:56 -05:00
Ned Batchelder
322ca34b20
Remove pylint pragmas from "class Meta"
...
Also remove useless docstrings where they were added to keep pylint
quiet.
2015-10-21 07:37:00 -04:00
Clinton Blackburn
f7a7cce881
Using a better admin interface for UserProfiles
...
This interface should actually be useful as it doesn't attempt to load all users on the edit page.
ECOM-2172
2015-09-17 15:51:16 -04:00
Clinton Blackburn
d0a4284893
Corrected read-only field display for CourseEnrollment admin
...
Read-only fields are read-only for existing models. These values can be set when creating new models.
ECOM-2172
2015-09-17 15:49:15 -04:00
Clinton Blackburn
7625c6eec3
Built a better course enrollment admin
2015-09-16 14:28:58 -04:00
Waheed Ahmed
f1af5b5c29
Fixed admin course access role required field value not populating.
...
TNL-3049
2015-08-17 19:22:06 +05:00
Adam
2735b2b5bb
Revert "Decorated instructor dashboard with sudo_required."
2015-07-17 12:11:38 -04:00
Waheed Ahmed
bc052db1ee
Added DjangoSudo functionality for instructor dashboard and course team page
2015-07-16 11:14:11 +05:00
Sarina Canelake
22bbdacee9
Convert Meta classes to new-style classes
2015-07-13 17:33:26 -04:00
Awais
d5ca25e197
ECOM-1644 minor message updation.
2015-06-10 22:08:23 +05:00
Awais
956e41348e
ECOM-1644 Implementing course-access roles.
2015-06-09 15:29:19 +05:00
Will Daly
f854726efc
Add tracking code to LinkedIn URL.
...
Add client-side analytics event for LinkedIn Add to Profile button click.
Add management command for generating certs for testing.
Update styling of the certificate messages.
2015-02-23 11:52:47 -05:00
Awais
57ef60de0a
ECOM-1028 adding linked-in button , config model and migration for linked url.
...
ECOM-1028 update the migration and move the code into class method.
2015-02-11 19:09:30 +05:00
stephensanchez
aed89e422a
Improve Django Admin Panel for Course Access Roles. Related to ECOM-857. Allows internal staff to easily use the Django Admin view to create new finance and sales admins.
2015-01-13 21:57:28 +00:00
Stephen Sanchez
bf112f7ef0
Add new enrollment message to the dashboard
...
The body of the enrollment message template
Tokenize platform name in message.
Changing to a datetime enrollment approach
Adding sorting. A little refactoring.
Adding confguration model for time delta
Adding admin registration and basic form for new config model.
Fixing docstring typo
Updating default time delta to 0, adding test to show it disabled functionality.
Removing the form from configuration and tweaking the enrollment message html
2014-10-02 12:32:35 +00:00