Commit Graph

478 Commits

Author SHA1 Message Date
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
Jeremy Bowman
b2046f6674 Switch make upgrade to Python 3.5 (#22609)
* Switch make upgrade to Python 3.5

* bok-choy fixes, constrain django-debug-toolbar

* Remove flaky bok-choy test
2019-12-26 15:13:02 -05:00
Robert Raposa
2202545aec remove studio signin and signup pages
This completes the work started in https://github.com/edx/edx-platform/pull/19453
to use the LMS login and registration for Studio, rather than Studio
providing its own implementation.

LMS login/registration are being used for the following reasons:
1. LMS logistration properly handles all SSO integrations.
2. A single logistration is simpler to maintain and understand.
3. Allows Studio to work more like all other IDAs that use LMS
logistration.

The original switch to use LMS logistration for Studio also added the
toggle `DISABLE_STUDIO_SSO_OVER_LMS` to provide the community some
additional time for switching. This commit removes this toggle, which
at this point means all deployments will use the LMS logistration.

This change requires sharing cookies across LMS and Studio. Should that
prove to be a problem for certain Open edX instances, there are
discussions of possible alternative solutions.
See https://github.com/edx/edx-platform/pull/19845#issuecomment-559154256

Detailed changes:
* Fix some Studio links that still went to old Studio signin and signup.
* Remove DISABLE_STUDIO_SSO_OVER_LMS feature toggle.
* Remove old studio signin and signup pages and templates.
* Fix url name "login", which had different meanings for Studio and LMS.
* Use the following settings: LOGIN_URL, FRONTEND_LOGIN_URL,
FRONTEND_LOGOUT_URL, and FRONTEND_REGISTER_URL.
* Redirect /signin and /signup to the LMS logistration.
* Add custom metric `uses_pattern_library`.
* Add custom metric `student_activate_account`.
* Add Django Settings to allow /signin, /signup, and /login_post to be
disabled once ready.

This work also relates to ARCH-218 and DEPR-6.

ARCH-1253
2019-12-04 02:36:36 -05:00
Dave St.Germain
3e73ba3879 TNL-6929:
Improves navigation within Studio for Learning Sequences, speeding up authors who want to see how a learner progresses through content without needing to jump over to the LMS.

This adds a dropdown section navigator to the breadcrumbs on the unit page and copies the sequence navigator from LMS to the studio unit page.
2019-11-07 09:13:00 -05:00
Awais Jibran
222c74e855 JavaScript Error when inserting second image in Studio 2019-10-30 12:21:40 +05:00
Jeremy Bowman
23870802c6 Replace usage of UUID.get_hex() - BOM-672 2019-09-19 10:32:23 -04:00
Ayub khan
8a95a8e520 BOM-95
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Bill DeRusha
aebdf77f8e Revert "PROD-145: Added validation to discussion topic input in studio, testing 2" 2019-08-20 20:31:15 -04:00
Manjinder Singh
65b858e3e7 Merge pull request #21209 from edx/msingh/discussion_topic_validation2
PROD-145: Added validation to discussion topic input in studio, testing 2
2019-08-15 19:53:17 -04:00
jinder1s
e7fb13a74f Added validation to discussion topic input in studio 2019-08-15 16:13:37 -04:00
Usman Khalid
8dfc8e5fda Convert AboutModule, CourseInfoModule, HtmlModule and StaticTabModule to XBlocks. 2019-07-24 20:19:44 +05:00
Ayub khan
9fb5c146e8 -python 3 compatibility 2019-07-08 20:02:10 +05:00
Jeremy Bowman
64e7c46cf5 Remove flaky tab reordering test (#20629) 2019-05-22 15:52:58 -04:00
Jeremy Bowman
0b48665ad2 Fix flaky tab reordering test (#20555) 2019-05-14 16:10:46 -04:00
Stuart Young
c89a0007eb remove flaky studio grading test 2019-04-30 13:20:06 -04:00
Michael Youngstrom
a87273ec01 Upgrade axe-core and ignore newly introduced failures 2019-04-17 12:18:32 -04:00
Ned Batchelder
561f0752ca Skip tests of help doc links on named release branches.
@skip_unless_master is used to skip tests because on named release
branches, most work happens leading up to the first release on the
branch, and that is before the docs have been published.  Tests that
check readthedocs for the right doc page will fail during this time, and
it's just a big distraction.  Also, if we bork the docs, it's not the
end of the world, and we can fix it easily, so this is a good tradeoff.
2019-03-14 14:01:30 -04:00
zrana
c43b14a0ff Merge pull request #19896 from edx/zeeshan/remove_flaky_studio_settings_test
Remove flaky studio settings test
2019-03-07 19:20:31 +05:00
Cali Stenson
362403bf7a Delete flaky bokchoy tests.
EDUCATOR-4164, EDUCATOR-4165, EDUCATOR-4166
2019-03-06 14:20:18 -05:00
zrana
459d2f74a1 remove flaky studio advance settings test 2019-02-28 16:14:16 +05:00
cclauss
44d62fac75 Fix explicit tuple parameters for Python 3 2019-02-19 12:37:34 +01:00
Jeremy Bowman
b046ce89b4 More reliable container publish in bok-choy tests 2019-02-12 14:10:54 -05:00
stv
e7733faa1a Fix tests: Show Answer, Number of Attempts 2019-02-08 12:33:45 -08:00
Matthew Piatetsky
9681ca36b8 fix unicode strings in common/ 2019-02-05 10:57:00 -05:00
Michael Youngstrom
0f3d0b69d6 Rebalance bokchoy sharding 2019-01-30 14:16:58 -05:00
Agha Awais
49cd4202df Merge pull request #19594 from edx/awais/lett_2_bc_html_editor_II
Remaining bokchoy tests for HTML editor(II)
2019-01-25 11:31:16 +05:00
Agha Awais
840ff1751a Remaining bokchoy tests for HTML editor(II) 2019-01-24 20:38:34 +00:00
Agha Awais
c5caa17a54 Remaining bokchoy tests for pages 2019-01-15 08:16:51 +00:00
Agha Awais
03403e58c4 Problem Editor bokchoy tests II(remaining tests) 2019-01-11 14:23:55 +00:00
Agha Awais
db2cab0e4c Merge pull request #18810 from edx/awais/lett_2_bc_pages
TE-2626: Studio Pages bokchoy tests
2019-01-11 15:24:45 +05:00
zrana
fc56a6d47c Merge pull request #19456 from edx/zeeshan/lett_2_bc_grading_IV
Grading IV tests
2019-01-11 14:48:02 +05:00
Agha Awais
779be24c56 Studio Pages bokchoy tests 2019-01-11 09:43:31 +00:00
zrana
95560a0c94 Grading IV tests 2019-01-10 13:46:42 +05:00
Agha Awais
b5e97aeb0c Merge pull request #18846 from edx/awais/lett_2_bc_html_editor_I
TE-2625: HTML editor bokchoy tests I
2019-01-09 15:49:22 +05:00
Agha Awais
a6dc71e9d1 Merge pull request #18850 from edx/awais/lett_2_bc_problem_editor_I
TE-2627: Problem Editor bokchoy tests
2018-12-21 15:40:58 +05:00
Agha Awais
7a6611c9c2 Problem Editor bokchoy tests 2018-12-21 09:17:24 +00:00
Jeremy Bowman
b8fee1f9dc Fixes for assorted flaky bok-choy tests 2018-12-19 17:35:52 -05:00
Nimisha Asthagiri
3a45bee3ea Merge pull request #19453 from edx/arch/cleanup-login
Studio login/registration redirects to LMS
2018-12-19 11:52:45 -05:00
Farhanah Sheets
7c74ecbb23 Fix pep8/pylint violations 2018-12-19 10:26:05 -05:00
Farhanah Sheets
b1a7235511 Update ignore rules for aria-current 2018-12-19 10:26:05 -05:00
Agha Awais
7d7cb8414e fixed typo 2018-12-18 10:08:59 +00:00
Nimisha Asthagiri
886bc4b20b Studio login/registration redirects to LMS 2018-12-17 20:50:57 -05:00
DawoudSheraz
e69fafce95 EDUCATOR-1714 due dates are not shown for Timed exams subsections on self-paced course on studio 2018-11-27 14:30:40 +05:00
Ned Batchelder
63d84d65e5 Merge pull request #19215 from edx/nedbat/remove-unused-imports
Remove unused imports
2018-11-06 13:57:46 -05:00
Shadi Naif
4df2073376 Fix exceptions raised when a lazy text is used in json dump 2018-11-05 12:24:45 +02:00
Ned Batchelder
3353e7425e Remove unused imports 2018-11-03 16:07:05 -04:00