irfanuddinahmad
3e426aca91
New command to migrate transcripts to S3
2018-04-12 16:57:23 +05:00
Hasnain
4c10874b34
WL-1444 | Added optional argument "start date" in management command.
2018-02-15 16:20:55 +05:00
Hasnain
62969bc317
Adding the new argument "name" (course_display_name) in create_course management command.
2018-02-06 16:55:29 +05:00
Jeremy Bowman
5289c7e828
PLAT-1915 Stop using deprecated BaseException.message
2018-01-31 17:22:01 -05:00
Gavin Sidebottom
382b6069d8
PR feedback (added docstring notes, cleared up log messages)
2018-01-25 16:09:13 -05:00
Gavin Sidebottom
ec0263bc5b
changed 'course code lib' references to 'python lib' to maintain consistency
2018-01-25 16:08:57 -05:00
Gavin Sidebottom
8476f19463
Enabled python code lib import with GIT_IMPORT_STATIC set to False
2018-01-25 16:08:25 -05:00
bmedx
46cb89e55d
Fixes to CMS failures in Django 1.11 tests
2018-01-23 14:11:06 -05:00
Jeremy Bowman
669aa13ad6
PLAT-1873 to_deprecated_string() cleanup part 2
2018-01-08 17:26:55 -05:00
Nimisha Asthagiri
ddfeb61b08
Delete old development config files
2018-01-03 17:26:09 -05:00
Jeremy Bowman
df008438a8
PLAT-1418 Remove obsolete can_import_settings attribute
2017-12-05 15:42:15 -05:00
Troy Sankey
150096e3bf
courseware management commands cleanup for django 1.11
2017-11-08 15:12:52 -05:00
bmedx
d5b3db8934
Fix up tests to support updated management commands
2017-11-01 10:13:47 -04:00
bmedx
79fe2e6260
CMS management command cleanup for Django 1.11
2017-11-01 10:13:46 -04:00
noraiz-anwar
8bc7ae1466
delete_course command with course keys containing unicode chars
2017-10-12 18:07:04 +05:00
Clinton Blackburn
56eee715c1
Added support for deleting assets to delete_course management command
...
The command now has an option to delete assets. This is relevant for
users of the split Mongo module store, which does not delete assets by
default.
Additionally, tests and docstrings have been updated.
LEARNER-2460
2017-09-11 08:25:19 -04:00
Jeremy Bowman
32000c7a98
Clean up TestCase subclassing
2017-08-29 15:38:48 -04:00
cahrens
819a56fee3
Remove usages of deprecated SlashSeparatedCourseKey.
2017-08-14 11:01:00 -04:00
Christina Roberts
4f5b033c27
Merge pull request #15750 from edx/christina/slash-the-slash
...
Remove SlashSeparatedCourseKey from tests
2017-08-07 15:53:08 -04:00
cahrens
6f71706b17
Remove SlashSeparatedCourseKey from tests.
2017-08-07 14:49:30 -04:00
Steven Zheng
d04c03e67c
Add advanced settings to generate_courses command
2017-08-04 15:28:59 -04:00
Steven Zheng
e340b2431e
Add django management command to create course from json
2017-07-10 16:02:20 -04:00
noraiz-anwar
bac223acad
Enhance delete_course management command
2017-06-12 17:51:54 +05:00
Andy Armstrong
ebb04ca396
Reorder Studio imports using isort
2017-05-30 17:00:50 -04:00
Ned Batchelder
4a568476fd
Remove a number of unneeded super()-delegation methods
2017-04-27 14:12:56 -04:00
Kevin Falcone
2902c3b968
It's always bugged me that the help strings were nonsensical
...
While here, the one-line docstring also bothered me.
2017-01-04 16:51:34 -05:00
stv
8a27ba05e3
Remove outdated comment
...
The `commit` argument had already been removed from code [1][2][3],
prompted by the django18 upgrade.
[1] https://github.com/edx/edx-platform/pull/10927
[2] 07f015bb57
[3] a4006c8604
2016-09-20 12:21:52 -07:00
Awais Jibran
4bc5ded768
Make studio case-insensitive for course keys for creating courses.
...
ECOM-4890
2016-08-10 14:34:35 +05:00
Syed Hassan Raza
79df545606
Mongo courses wrong course_key restriction
2016-07-25 14:41:31 +05:00
Brian Wilson
a36aa68fd7
Add new export_olx management command.
...
This moves the functionality of the 'export_course' management command from lms/djangoapps/courseware
over to the Studio codebase. This reflects its use going forward to be run with cms settings, to
export the content of the Studio modulestore instead of the LMS modulestore. The management
command is used by an analytics workflow to output course content for researchers.
2016-05-26 17:26:59 -04:00
Calen Pennington
853bfe7a36
Add a TestCase mixin for enabling caches in tests
...
By default, disable all caching in tests, to preserve test independence.
In order to enable caching, inherit from CacheSetupMixin, and specify
which cache configuration is needed.
[EV-32]
2016-05-04 14:51:30 -04:00
Calen Pennington
18e1610043
Remove the create_user argument to setUp.
...
Instead, use a class attribute to define test behavior. This allows for
easier addition of new mixins over time.
2016-05-04 11:35:55 -04:00
John Eskew
8a9845c26e
Remove ModuleStoreEnum.Type.xml
2016-04-12 11:53:51 -04:00
Ned Batchelder
2e1238b83e
Remove unused imports
2016-04-08 11:23:05 -04:00
John Eskew
80ac3fcca2
Remove the concept of having more than one course export format tagged.
2016-03-01 12:59:59 -05:00
Calen Pennington
dffbc69a3c
Merge pull request #11329 from cpennington/fix-cert-type-names
...
Fix the help text for cert_name_short and cert_name_long
2016-02-02 11:19:09 -05:00
Calen Pennington
4191ea0013
Add a management command for cleaning up cert_name_short and cert_name_long
2016-02-01 17:02:14 -05:00
Adam Palay
9981c86718
remove old management commands
2016-01-20 14:11:54 -05:00
Feanil Patel
a4006c8604
Add another test and fix existing tests.
2015-12-10 11:12:53 -05:00
Feanil Patel
07f015bb57
Fix the management command.
2015-12-10 08:29:33 -05:00
Ned Batchelder
f5d0f3ff55
Remove useless pylint suppressions
2015-11-22 07:41:19 -05:00
Kevin Falcone
24d72883b2
Merge pull request #10684 from edx/jibsheet/force_publish-arg-parsing
...
Jibsheet/force publish arg parsing
2015-11-20 11:00:31 -05:00
Kevin Falcone
149df9b22f
Django 1.8 disallows access to args[]
...
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
You need to declare and do proper argument parsing. --commit is also
more natural than a bare 'commit' on the end of a command.
Switch from calling handle() directly to call_command().
call_command() simulates using the management command so is a better
test of the command line interface.
2015-11-19 21:39:53 -05:00
Kevin Falcone
daf4db8647
Update --commit flag so you don't have to say --commit=commit
...
With the 1.8 upgrade, we stopped using 'manage.py cms command commit'
and switched to --commit because we no longer directly access args[]
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
When this command was updated, it was switched to --commit=commit, but
using store_true allows a much more natural --commit syntax.
2015-11-19 15:26:28 -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
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
Mushtaq Ali
11741f118f
'force_publish' command for publishing a course forcefully by making the published branch point to the same structure as the draft branch. add force_publish functionality to split courses.
2015-10-01 15:46:37 +05:00
Adam Palay
8aa23de55a
add ability to delete published orphans from courses (PLAT-832)
...
fix quality violations
create child parent mapping to avoid potential performance hit when deleting items
2015-09-17 11:52:19 -04:00
Adam Palay
8834bbad90
delete_item should not delete any child that has a parent we do not intend to delete
2015-09-17 11:52:18 -04:00
Adam Palay
8dd95a8825
add test for fix_not_found
...
(PLAT-835)
(TNL-844)
2015-09-15 18:03:53 -04:00