Awais Qureshi
aefafab449
BOM-1515
...
Update passing agrs.
verify the error msgs
2020-04-14 19:52:02 +05:00
Aarif
6ee2089077
fixed warnings for wrong-import-order
2020-04-08 23:43:06 +05:00
Awais Qureshi
bdba07a1e2
BOM-1491
...
Group name
Changed in Django 2.2:
The max_length increased from 80 to 150 characters.
2020-04-04 21:48:42 +05:00
Manjinder Singh
b45ac858ab
Fixing django 2.1 probs in student management commands ( #23587 )
...
* Requiring at least one args in a mutually exclusive group to be set
bulk_change_enrollment requires one of agrs: org or course to be set
for it to function correctly.
* Creating new function to verify initial password hash
Starting with django 2.1, the function is_password_usable no longer checks whether encode
is a valid password created by a django hasher(hasher in PASSWORD_HASHERS setting)
Adding this function to create constant behavior as we upgrade django versions
2020-04-03 09:55:07 -04:00
uzairr
4563b87236
Refactor bulk unenroll mgmt cmd
...
Bulk unenroll command is not supporting unenrolling all the learners
from multiple courses.This PR will enhance this mgmt cmd so that
it can support un-enrollment of learners from multiple courses.
PROD-1347
2020-04-03 17:50:28 +05:00
uzairr
471d7311bf
Update bulk un-enroll management command
...
PROD-1370
2020-03-20 20:33:24 +05:00
adeelehsan
2131ebf03d
Configuration model added for account recover command
2020-03-17 19:43:53 +05:00
adeelehsan
c0f9053ddb
Command added to recover accounts
...
PROD-1361
2020-03-16 19:23:26 +05:00
George Babey
efdbe1f3b1
Adds management command for bulk updating email addresses
...
This PR adds a management command that will update the email address
of the given accounts provided through a CSV file.
This is necessary internally at edX to update a number of internal accounts
which are using sibling email addresses and would be locked out after we
enforce SSO.
2020-01-30 21:11:04 -05:00
Mahyar Damavand
f1c5981fab
Removing deprecated management commands which intended to clear historical data ( #21522 )
2020-01-08 12:50:34 -05:00
usama sadiq
1c52f19f19
Deprecation of the direct assignment to the forward side of a many-to-many set
...
Changed the direct assignments with the use of set() method.
2020-01-07 14:40:23 +05:00
Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -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
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Awais Qureshi
804a84f9cf
BOM-1124
...
Direct assignment to the forward side of a many-to-many set is deprecated Fixing this issue.
2019-12-28 00:04:15 +05:00
AsadAzam
a6735cd8d3
Merge pull request #22252 from edx/asad/prod-969-export-csv
...
Export staff users csv
2019-12-13 17:31:35 +05:00
asadazam93
30c8e1571e
Export staff users csv
2019-12-13 16:57:01 +05:00
Diana Huang
54be35f913
Move AccountCreationForm to user_authn.
2019-12-02 17:20:23 -05:00
Diana Huang
a538843ac3
Move generate_password to user_authn.
2019-11-19 16:49:36 -05:00
jinder1s
eceb53c688
encoding str and opening file in rb mode
2019-10-09 16:48:51 -04: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
Nimisha Asthagiri
d6d9a17e67
student app: python-3 upgrade
2019-09-30 08:44:54 -04:00
Zainab Amir
db67a212e8
Remove create_user management command ( #21322 )
...
Our internal docs suggest using manage_user instead of create_user. We
are no longer using it and it can be removed
LEARNER-3934
2019-08-17 13:50:58 +05:00
uzairr
80316c632d
Update Help msgs of management commands
...
PROD-399
2019-08-02 15:20:26 +05:00
Ayub khan
4b2f68da84
INCR-405 python3 compatibility
2019-08-02 13:51:10 +05:00
Ayub
d98133a96a
Merge pull request #21071 from edx/INCR-407
...
INCR-407 python3 compatibility
2019-07-23 12:30:41 +05:00
Ayub khan
07275a5715
INCR-407 python3 compatibility
2019-07-11 15:14:30 +05:00
Ayub khan
8a7a39af11
INCR-406 python3 compatibility
2019-07-11 15:09:27 +05:00
Jolyon Bloomfield
b8e1478ff0
INCR-126 Modernize common/djangoapps/student/management/tests ( #20151 )
2019-04-04 10:08:02 -04:00
Waheed Ahmed
458e8482ea
Fix change enrollment command for credit.
...
Get provider id from ecommerce upon changing enrollment to credit
instead of setting course_key org.
LEARNER-6643
2019-03-12 15:30:48 +05:00
Zainab Amir
b62ab09d85
LEARNER-6643
...
Added management command to update credit eligibility deadline
Added tests for command change_eligibility_deadline
2018-11-27 14:12:16 +05:00
Ned Batchelder
046fe60913
Remove unused imports
2018-11-07 10:31:51 -05:00
Dillon Dumesnil
deb758c808
Added in tests for the new password validation. Fixed old tests that
...
relied on the old configuration values and old way of validating
passwords. Also improved registration page by always showing error
messages rather than hiding them on leaving the field.
2018-10-10 11:06:30 -04:00
Nimisha Asthagiri
8cf44283c9
Consolidate user login and authentication code
2018-09-15 03:21:39 -04:00
ayub-khan
cae99f9e4d
bulk change enrollment using csv file
2018-08-20 16:39:05 +05:00
Ahsan Ulhaq
73857f6039
Added Management command for bulk unenrollment of users
...
LEARNER-5852
2018-07-30 14:26:46 +05:00
Hamza Munir
e00156c277
Learners cannot process there Credit requests even though they are in the Credit mode.
...
adding "credit mode" in change_enrollment management command to move the user to
credit mode by running this command.
LEARNER-5502
2018-07-09 14:19:33 +05:00
Albert St. Aubin
1b72974fb8
Added credit as an option to change_enrollment command
2018-05-21 13:14:14 -04:00
Bill DeRusha
d1ed33ac23
Update and refactor random password generator
2018-04-13 14:17:21 -04:00
bmedx
7dc2e75778
Add tests for create_user / create_random_users management commands
2018-03-06 17:04:39 -05:00
John Hensley
c7c01e4a22
Fix user creation management commands
...
Two user creation scripts were broken by the move of
student.views._do_create_account to student.helpers.do_create_account.
This patch just catches the scripts up.
2018-02-14 11:32:26 -05:00
Jeremy Bowman
5289c7e828
PLAT-1915 Stop using deprecated BaseException.message
2018-01-31 17:22:01 -05:00
Jeremy Bowman
ca84751bbd
PLAT-1889 Fix URL config and reversal issues
2018-01-19 11:02:06 -05:00
Brittney Exline
c1d4458b83
ENT-838 Management command to change an enterprise user's username
2018-01-11 11:30:24 -05:00
Jeremy Bowman
669aa13ad6
PLAT-1873 to_deprecated_string() cleanup part 2
2018-01-08 17:26:55 -05:00
John Eskew
f790766c26
Merge pull request #16548 from edx/jeskew/more_mgmt_cmd_conv_from_optparse
...
Move more mgmt commands from optparse to argparse.
2017-11-14 12:29:57 -05:00
John Eskew
27315f442a
Move more mgmt commands from optparse to argparse.
2017-11-14 11:26:46 -05:00
Troy Sankey
3685b1ada8
More student management commands cleanup for Django 1.11
...
Seems like transfer_students.py was missed in the last attempt to
cleanup commands in this app.
2017-11-13 14:09:39 -05:00