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
Troy Sankey
b07402e751
remove unused optparse imports
2017-11-09 15:38:54 -05:00
bmedx
ce50c9e620
Student management command cleanup for Django 1.11
2017-11-01 10:24:23 -04:00
John Eskew
f3e089bd3f
Mgmt commands to clear data from historical tables.
2017-10-17 15:27:59 -04:00
John Eskew
6294766c24
Split emitted signals from the student models file.
2017-10-05 11:12:50 -04:00
Calen Pennington
63244b514d
Use a consistent CourseModeFactory from the course_modes module, rather than using one from student
2017-08-23 12:15:46 -04:00
cahrens
819a56fee3
Remove usages of deprecated SlashSeparatedCourseKey.
2017-08-14 11:01:00 -04:00
Douglas Hall
9bb4ca5525
Fix bulk_change_enrollment command bug
...
When using the `org` option with the bulk_change_enrollment command,
the command should not exit if it encounters a course which does not
have the given `to_mode`.
WL-1033
2017-04-12 07:35:17 -04:00
Afzal Wali
0c3e6b6e5e
WL-1016 | Added org argument for bulk_change_enrollment management command.
2017-04-04 16:25:07 +05:00
Hasnain
7764b0128f
Management command for back-populating the 'created_on_site' in UserAttribute model.
2017-03-01 18:09:49 +05:00
Edward Zarecor
ed7f32ee27
Merge pull request #13678 from edx/e0d/ignore-email-case
...
comparison should be case-insensitive
2016-10-07 16:42:09 -04:00
Edward Zarecor
569e6745ef
is
2016-10-07 13:46:26 -04:00
e0d
1841fe9b92
comparison should be case-insensitive
...
test
quality
2016-10-07 13:38:00 -04:00
Nimisha Asthagiri
8b0a26a419
Move sync_user_info management command from common to LMS.
2016-10-06 17:04:49 -04:00
Nimisha Asthagiri
406daa513b
Move get_grades management command from student to grades app.
2016-10-06 10:34:24 -04:00
Awais Jibran
896b3cb170
Do not to run all enrollment updates in a single atomic transaction, but separate.
...
ECOM-5405
2016-09-02 10:31:50 +05:00
Ned Batchelder
eef964f5f6
Fix unused-variable errors
2016-08-03 12:44:41 -04:00
Sven Marnach
0206dfaea5
Add support to set initial password hash to manage_user command.
2016-07-29 11:19:07 +02:00
Nimisha Asthagiri
1ada5c3487
Create Grades djangoapp
...
https://openedx.atlassian.net/browse/TNL-5008
2016-07-22 00:09:43 -04:00
e0d
8a18b2c351
use random rather than unusable so they can be reset
2016-07-14 08:09:51 -04:00
Awais Jibran
4267666711
Fix bulk_change_enrollment command to emit event
...
ECOM-4775
2016-06-27 11:43:01 +05:00
Kyle Crawshaw
47401742a9
Added 'unusable_password' argument to 'manage_user' management command
2016-06-20 11:30:56 -04:00
Peter Fogg
3c223d106a
Correct destination of management command args.
2016-06-08 15:48:27 -04:00
Peter Fogg
17fb925cd4
Correct help text for the bulk_change_enrollment command.
2016-06-08 09:59:59 -04:00
Peter Fogg
e6d31acb11
Add a bulk version of the change_enrollment script.
2016-06-02 14:16:08 -04:00
Clinton Blackburn
ebf32dc208
Moved manage_user and manage_group from edx-management-commands
...
We need to create a user profile in order for users to be usable. This, coupled with the fact, that edx-platform is the owner of auth information, means these commands belong here.
ECOM-4310
2016-05-13 09:16:04 -04:00
Adam
5a5b5e8026
Merge pull request #11279 from edx/remove-old-mgmnt-commands
...
remove old management commands
2016-01-26 09:23:25 -05:00
Peter Fogg
96cc38951d
Disable audit certificates for new audit enrollments.
...
Two new certificate statuses are introduced, 'audit_passing' and
'audit_notpassing'. These signal that the GeneratedCertificate is not
to be displayed as a cert to the user, and that they either passed or
did not. This allows us to retain existing grading logic, as well as
maintaining correctness in analytics and reporting.
Ineligible certificates are hidden by using the
`eligible_certificates` manager on GeneratedCertificate. Some places
in the coe (largely reporting, analytics, and management commands) use
the default `objects` manager, since they need access to all
certificates.
ECOM-3040
ECOM-3515
2016-01-22 10:27:55 -05:00
Adam Palay
9981c86718
remove old management commands
2016-01-20 14:11:54 -05:00
Bill DeRusha
754e230f63
Update change_enrollment management command to be more robust and tested
2016-01-20 12:46:56 -05:00
Peter Fogg
52d538444e
Revert "Disable audit certificates for new audit enrollments."
...
This reverts commit 60860e3aa8 .
2016-01-20 09:53:58 -05:00
Peter Fogg
60860e3aa8
Disable audit certificates for new audit enrollments.
...
An `eligible_for_certificate` field is added to the
GeneratedCertificate model. This way we can retain existing grading
logic, as well as maintaining correctness in analytics and reporting.
Ineligible certificates are hidden by using the
`eligible_certificates` manager on GeneratedCertificate. Some places
in the coe (largely reporting, analytics, and management commands) use
the default `objects` manager, since they need access to all
certificates.
This commit also updates the DB cache for acceptance tests.
2016-01-12 22:44:53 -05:00
Ned Batchelder
f5d0f3ff55
Remove useless pylint suppressions
2015-11-22 07:41:19 -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
Arbab Nazar
034ac1c808
Merge pull request #10271 from edx/arbab/enrollment-user-list
...
take the list of users for enrolment change
2015-10-21 08:24:48 -04:00
arbabnazar
85e67bea4a
help updated
2015-10-20 15:37:09 -04:00
arbabnazar
b3e37e54ba
remove the append action
2015-10-20 15:30:06 -04:00
arbabnazar
361035c098
change the help text
2015-10-20 14:51:18 -04:00
arbabnazar
c4dc624c7f
take the list of users for enrolment change
2015-10-20 14:00:59 -04:00
Matt Drayer
1eab25f292
mattdrayer/increment-edx-lint: Bump to v0.2.9 and address pylint/pep8 violations
...
* Fix paver violations to stablize edx-lint update
* Parens, Line2Long
* Fix missing docstrings
* Fix PEP8 issues
* Address PR feedback (thanks @nedbat!)
2015-10-19 10:11:59 -04:00
Max Rothman
5923675c35
Add management command for granting superuser access
2015-09-11 15:43:21 -04:00
Ned Batchelder
f54fe787c6
Remove needless 'disable=no-member' pragmas
2015-08-03 17:47:44 -04:00