Matt Tuchfarber
ed8604534c
(feat) Enable course cert sync for all courses
...
Removes waffle flag restriction for syncing certificate available dates
to the credentials service.
2021-03-16 14:31:11 -04:00
M. Zulqarnain
c8902bed58
refactor: pyupgrade in heartbeat, lang_pref, models ( #26916 )
2021-03-16 14:15:01 +05:00
Matt Tuchfarber
6c97dfe1e5
Move cert date signals to avoid race conditions
...
COURSE_CERT_DATE_CHANGE was being called before saving the new data in
the course overview. The listeners were expecting to pull the data out
of the course overview, and thus were only right about half the time.
This moves the signal to trigger after the course publish signals are
handled.
2021-03-04 15:57:21 -05:00
Aarif
cfcb9330b3
replaced unittest assertions pytest assertions ( #26568 )
2021-02-22 12:24:33 +05:00
M. Zulqarnain
99c169c444
pylint amnesty in heartbeat,header_control and lang_pref ( #26369 )
2021-02-04 15:32:10 +05:00
Régis Behmo
a16cd71046
Start waffle namespace deprecation
...
By explicitly importing the legacy namespace classes, we make it clear
that we are using soon-to-be-deprecated classes. We will then be able to
start removing the legacy classes, one module at a time.
2020-12-03 16:06:14 +01:00
Régis Behmo
4586002956
Import waffle classes from edx_toggles instead of waffle_utils
...
Those classes were ported to edx_toggles. The imports remain in
waffle_utils.__init__ for backward compatibility.
2020-11-03 19:25:37 +01:00
Régis Behmo
307457a255
Simplify hack to obtain waffle module names
...
Instead of going up the stacktrace to find the module names of waffle
flags and switches, we manually pass the module __name__ whenever the
flag is created. This is similar to `logging.getLogger(__name__)`
standard behaviour.
As the waffle classes are used outside of edx-platform, we make the new
module_name argument an optional keyword argument. This will change once
we pull waffle_utils outside of edx-platform.
Note that the module name is normally only required to view the list of
existing waffle flags and switches. The module name should not be
necessary to verify if a flag is enabled. Thus, maybe it would make
sense to create a `add` class methor similar to:
class WaffleFlag:
@classmethod
def add(cls, namespace, flag, module):
instance = cls(namespace, flag)
cls._class_instances.add((instance, module))
2020-09-14 09:30:24 +02:00
Robert Raposa
77e490f057
ARCHBOM-1305: remove deprecated flag_undefined_default ( #24426 )
...
This is the final step in removing the deprecated
flag_undefined_default as explained by the following ADR:
https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/docs/decisions/0001-refactor-waffle-flag-default.rst
Notes:
* All uses of flag_undefined_default=False were always
supposed to have been no-ops.
* All uses of flag_undefined_default=True that are removed
in this PR have been replaced by migrations in past PRs.
* The temporary metric temp_flag_default_used id no longer
reporting any data.
ARCHBOM-1305
2020-07-09 09:31:31 -04:00
SaadYousaf
52cfe647b3
syncing certificates on course update on credential side.
2020-06-16 11:58:49 +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
Amit
3a1c68fb30
INCR-243: Make compatible with Python 3.x without breaking Python 2.7 support for openedx/core/djangoapps/models openedx/core/djangoapps/debug ( #20532 )
2019-05-13 09:29:07 -04:00
Matthew Piatetsky
f294b1a374
fix unicode strings in openedx/ part 1
2019-02-13 10:47:35 -05:00
Michael Youngstrom
4bbd1dee0b
Remove shards from commonlib-unit tests
2019-02-12 14:28:35 -05:00
Jeremy Bowman
c290bf8a07
TE-2524 Stop using nose.plugins - openedx
2018-08-02 14:54:50 -04:00
Giulio Gratta
56ac149962
Add custom HTML to Course About page sidebar
...
This allows course staff to add arbitrary HTML to the sidebar on the About page.
A waffle switch has been added in the course_experience app to allow enabling and disabling of this feature.
2018-06-01 14:26:05 -04:00
Bill DeRusha
d4b57bc218
Removed self-paced feature flag from code
2018-02-26 13:44:53 -05:00
Jeremy Bowman
113e8dde61
PLAT-1885 Stop using deprecated BlockUsageLocator properties
2018-01-12 16:40:21 -05:00
John Eskew
7dfb6cc681
Change all UTC timezones to import from pytz instead of Django.
2017-10-05 11:12:52 -04:00
Nimisha Asthagiri
5193649956
Update Schedules when start date changes on non-live courses
2017-09-10 08:41:26 -04:00
Sanford Student
bf7b3eab1a
add cert available date to CMS settings
2017-08-01 10:44:42 -04:00
Gregory Martin
921950d7eb
update
2017-07-14 15:12:51 -04:00
rabiaiftikhar
7bf0674de8
EDUCATOR-394 disable self-generated certificates when course is reset to instructor-paced
2017-06-14 19:46:59 +05:00
Noraiz Anwar
371c422aaf
Revert "EDUCATOR-394 Disable self generation certificates when course is reset to instructor-paced."
2017-06-14 15:57:07 +05:00
rabiaiftikhar
22d3b02807
respond to comments
2017-06-13 16:29:17 +05:00
rabiaiftikhar
b84d4c0209
Review Rehan
2017-06-13 15:43:36 +05:00
rabia23
a8913f9a66
Review Alex
2017-06-13 06:51:38 +00:00
rabia23
955c64470e
reset self-generation of certs according to course pacing
2017-06-11 09:48:29 +00:00
John Eskew
3b57542ab0
Revert "Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance"
...
This reverts commit f97f052591 , reversing
changes made to 800bcd8e20 .
2017-05-30 12:42:54 -04:00
John Eskew
76389d8678
Run all files touched in inheritance/partition work through isort.
2017-05-25 13:24:08 -04:00
John Eskew
66f3aa5ccf
Move fields.py, inheritance.py, and partitions to openedx/core.
2017-05-25 13:24:08 -04:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
Calen Pennington
a7ed99ba79
Add __init__.py to tests folders to make them proper modules
2016-06-09 14:38:33 -04:00
Malik Shahzad
d64e4b064c
Add CourseDetails model to course_about template context.
2016-05-03 14:00:35 -04:00
asadiqbal
a4197eded5
WL-399 Course Details List Fields
2016-05-01 20:02:09 -04:00
Ibrahim
f7f281b65b
WL-398 Add Course Background Image and Video Thumbnail Image Fields to Studio
2016-04-30 15:25:17 -04:00
Ibrahim
720bde1da9
add new text fields to schedule and details settings page
2016-04-25 23:44:13 -04:00
Ben Patterson
c504029b39
Create a third shard for lms unit tests.
...
This will leverage the nose attrib plugin to allow us
to break tests apart on our build system to run
in parallel on separate nodes.
2016-03-17 12:01:42 -04:00
Nimisha Asthagiri
4133155acc
Update CourseDetails support for Course About information
2015-12-10 17:15:43 -05:00
Nimisha Asthagiri
4a530690e1
Remove unused "has_cert_config" field on CourseDetails.
2015-12-04 16:03:06 -05:00
Nimisha Asthagiri
d6ced072c4
Refactor CourseDetails
2015-12-04 16:03:05 -05:00