Commit Graph

63337 Commits

Author SHA1 Message Date
Robert Raposa
0a4bc11d8c test: fix team tests for multiple courses
The original tests looked like helpers,
but we are guessing that they were supposed
to be tests.

Additionally, one test had a small bug as written.
It would be more resilient to actually parse the
JSON, but that work is being left for a later time.
For now, it works, but is not resilient.

The original PR can be found here:
https://github.com/openedx/edx-platform/pull/10804
2023-07-07 09:34:17 -04:00
Robert Raposa
65fc388d71 Revert "test: remove unused helper functions from test_views.py"
This reverts commit ad3b5610f1.

Follow-up commit will convert these helpers to actual
tests so they are run.
2023-07-03 13:36:07 -04:00
Feanil Patel
567704cc3a Merge pull request #32608 from openedx/feanil/small_fix
fix: Don't assume there is a context.
2023-07-03 11:29:16 -04:00
Feanil Patel
286a9cddaf Merge pull request #32559 from raju249/31696-unused-helper-functions
test: remove unused helper functions from test_views.py
2023-07-03 10:36:20 -04:00
Feanil Patel
82ee4cd4c3 Merge pull request #32611 from openedx/feanil/platform-docs
feanil/platform docs
2023-07-03 10:28:12 -04:00
Awais Ansari
e543a68990 feat: add pagination in course enrollment list API (#32546)
* feat: add pagination in course enrollment list API

* refactor: enrollment course list API

* refactor: follow best practice in course enrollment list API
2023-07-03 13:52:15 +05:00
Jenkins
dab865c4ee chore(i18n): update translations 2023-07-02 17:04:33 -04:00
Braden MacDonald
83f54aeebe refactor: Split base.in into kernel.in (required) and bundled.in (optional) (#32552)
Plus remove a few unused and indirect dependencies
2023-06-30 09:51:43 -07:00
kenclary
d6b76c800e Merge pull request #32566 from open-craft/navin/youtube-transcripts-language-codes
feat: configure acceptable language codes for youtube transcripts
2023-06-30 11:10:36 -04:00
John Nagro
6d5dcdf77a fix: improve username generation (#32613) 2023-06-30 09:47:02 -04:00
Piotr Surowiec
5c424b42af Merge pull request #32420 from open-craft/agrendalath/fc-0026-cache_runtime_services_and_wrappers
feat: reuse runtime services and wrappers between XBlocks [FC-0026]
2023-06-30 15:29:52 +02:00
Agrendalath
6a8e695a0e refactor: remove redundant masquerade handling from runtime initialization
This part was added in 3d7246ecc8.
Then, 0dd4978f37 refactored the approach, but
did not remove these lines.
2023-06-30 15:06:43 +02:00
Agrendalath
36cc415fc2 refactor: reuse services and wrappers between XBlocks 2023-06-30 15:06:43 +02:00
Piotr Surowiec
80374ed1ce Merge pull request #32357 from open-craft/agrendalath/fc-0026-field-data
feat: remove field-data binding from the runtime [FC-0026]
2023-06-30 15:06:17 +02:00
Edward Zarecor
462e8bef36 Merge branch 'master' into 31696-unused-helper-functions 2023-06-30 12:57:43 +02:00
Navin Karkera
93006b476d feat: configure acceptable language codes for youtube transcripts 2023-06-30 11:02:58 +05:30
Tim McCormack
437418d367 feat: Switch Dockerfile from npm install to npm ci; some cleanup (#32590)
Otherwise we're not really respecting the package-lock file and won't get
repeatable results.

Also:

- Clean up old error handling for npm<3. Were on npm 8 now. Probably
  can get rid of this.
- Use the shorthand `npm ci` rather than `npm clean-install` just for
  consistency with code elsewhere.
- Update comments in tests to be explicit about use of ci rather than
  install
2023-06-29 21:55:23 +00:00
connorhaugh
57fd22ba58 feat: ignore v2 xblocks in independence contract (#32602)
* feat: ignore v2 xblocks in independance contract

* docs: add documentation as to failure point
2023-06-29 16:08:14 -04:00
Feanil Patel
8c43868b52 docs: Rename swagger.yaml to lms-openapi.yaml
* Swagger was renamed to OpenAPI at some point so use the new name for
  clarity.

* Prefix with `lms` to make it clear that these are the APIs from the
  LMS and may not all be available in the CMS.
2023-06-29 15:37:10 -04:00
Feanil Patel
26262131ae docs: Remove the api docs sphinx project.
* This project was not being published anywhere.
* The previous commit that adds openapi generation capabilities to the
  `docs/guides` replaces what this was doing.
2023-06-29 15:37:10 -04:00
Feanil Patel
56cad59e97 docs: Generate rst from the existing swagger docs.
Use an existing 3rd party library to generate RST docs from the existing
swagger.yaml file.
2023-06-29 15:37:10 -04:00
Kristin Aoki
08e633d57e fix: missing and broken waffle flag links (#32587) 2023-06-29 13:21:18 -04:00
Feanil Patel
cf9c4e83bf fix: Don't assume there is a context.
Don't assume that there will be an extra `context` kwarg when using the
bookmark serializer.  We use it this way in the current code but that's
specific to us and not comon to all serializers.  There are a lot of API
documentation tools that automate introspecting serializers but they
won't know  that they have to send in a `context` to the serializer.

To make this serializer behave more like other serializers without
changing the behavior, we just need to check that the `context` value is
defined before we dig into it.  In the case that there is no `context`
we just treat it the same as if there is no `request` in the `context`.
2023-06-29 13:01:18 -04:00
Alexander J Sheehan
79a4339278 Merge pull request #32607 from openedx/asheehan-edx/bumping-enterprise-version-3.67.7
chore: bumping enterprise package version to 3.67.7
2023-06-29 12:56:20 -04:00
Jesper Hodge
799c0bf8a8 fix: problem dropdown does not cover text anymore (#32605) 2023-06-29 12:51:26 -04:00
Jansen Kantor
17c4fc03d4 feat: add course field for ORA flex peer override (#32594)
* feat: add course field for ORA flex peer override

* style: quality

* style: remove auto import
2023-06-29 12:48:33 -04:00
Alexander J Sheehan
85d06704b8 chore: bumping enterprise package version to 3.67.7 2023-06-29 16:27:36 +00:00
Yagnesh1998
751411951d feat: Remove block_structure.invalidate_cache_on_publish waffle flag … (#32517)
* feat: Remove block_structure.invalidate_cache_on_publish waffle flag depr33.

* feat: Update test_signals.py

* feat: Update signals.py

---------

Co-authored-by: Edward Zarecor <ezarecor@tcril.org>
2023-06-29 10:57:41 -04:00
Jenkins
7ef20f0b91 chore: geoip2: update maxmind geolite country database 2023-06-28 16:58:53 -04:00
Alexander J Sheehan
0302489189 Merge pull request #32596 from openedx/asheehan-edx/bumping-enterprise-version-3.67.6
chore: bumping enterprise package version to 3.67.6
2023-06-28 16:37:38 -04:00
Alexander J Sheehan
f673e8cc42 chore: bumping enterprise package version to 3.67.6 2023-06-28 20:16:39 +00:00
Jody Bailey
92301a245f fix: field adjustments to product recommendations endpoint (#32593)
* fix: field adjustments to product recommendations endpoint

* chore: formatting for files

* chore: indenting fix

* chore: removed f-strings
2023-06-28 15:46:33 +02:00
Rajendra Kadam
ad3b5610f1 test: remove unused helper functions from test_views.py
Since they were not used anywhere, it is ideal to delete them.

It would be redundant to keep them.
2023-06-28 14:35:53 +05:30
Kyle McCormick
478c301df5 docs: improve filters & events links in Hooks guide (#32588)
* point to upstream repos, not eduNEXT forks
* link to guides, not just source repos
* fix spelling of Open edX
2023-06-27 19:10:54 +00:00
Braden MacDonald
12a8d99824 feat: Copy/Paste associated static assets along with components (#32346)
* refactor: improve typing of StaticFile named tuple
* feat: copy static asset files into the clipboard
* feat: paste static assets
* feat: show notification in studio about pasted assets
* fix: HTML XBlocks would lose the editor="raw" setting when copy-pasted.
* feat: copy python_lib.zip to the clipboard when it seems to be in use
2023-06-27 12:06:43 -07:00
Alexander J Sheehan
32a3e2a94f Merge pull request #32586 from openedx/asheehan-edx/bumping-enterprise-version-3.67.5
chore: bumping enterprise package version to 3.67.5
2023-06-27 12:22:58 -04:00
Alexander J Sheehan
f34c777825 chore: bumping enterprise package version to 3.67.5 2023-06-27 15:53:24 +00:00
Awais Qureshi
4aca4d3fbb chore: Rename the bucket to bucket_name. (#32576)
https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst#1101-2020-09-13
2023-06-27 13:17:28 +05:00
Katrina Nguyen
85fee783c1 Merge pull request #32583 from openedx/openedx/knguyen2/ENT-6713
chore: edx-enterprise version bump
2023-06-26 13:00:53 -07:00
knguyen2
35cb53ad8e chore: edx-enterprise version bump 2023-06-26 19:34:06 +00:00
Kira Miller
6ab64b5a96 Merge pull request #32580 from openedx/kiram15/ENT-6882
chore: edx-enterprise version bump
2023-06-26 12:25:39 -06:00
Agrendalath
6c435bb68c feat: remove field-data service from runtime initialization 2023-06-26 19:21:22 +02:00
Agrendalath
5f46ea52cd feat: remove field data binding from the runtime 2023-06-26 19:21:22 +02:00
Kira Miller
b046282b22 chore: edx-enterprise version bump 2023-06-26 17:11:54 +00:00
Phillip Shiu
8072c3e9ef temp: fix entitlements_to_expire should be capped at entitlements_count (#32579) 2023-06-26 16:44:18 +00:00
Muhammad Zubair
ddf8c32844 Merge pull request #32577 from openedx/zubair/phil-add-standard-logging
temp: added standard logging and removed celery logging
2023-06-26 20:08:21 +05:00
Muhammad Zubair
2d0a8b44b7 feat: fixed failing checks related to linting and tests 2023-06-26 19:46:25 +05:00
Muhammad Zubair
3f84b14b92 feat: removed unnecessary ignore-liting message 2023-06-26 18:59:25 +05:00
Muhammad Zubair
4519ca405e chore: added standard logging and removed celery logging 2023-06-26 18:47:17 +05:00
Zainab Amir
2fd3dc1840 feat: add utm_campaign to registration event (#32574) 2023-06-26 17:05:07 +05:00