Commit Graph

63095 Commits

Author SHA1 Message Date
Braden MacDonald
aa68ea1162 chore: Update with latest master 2023-05-31 16:25:35 -07:00
Braden MacDonald
d44ca41410 docs: clarify comment that I had added earlier 2023-05-31 16:14:05 -07:00
Jenkins
aace5813b3 chore: geoip2: update maxmind geolite country database 2023-05-31 16:58:47 -04:00
ruzniaievdm
a6ce487827 feat: Extending API functionality for proctoring errors (#32331) 2023-05-31 14:00:09 -04:00
Alexander J Sheehan
0ebf846670 Merge pull request #32333 from openedx/asheehan-edx/bumping-enterprise-version-3.65.4
chore: bumping enterprise package version to 3.65.4
2023-05-31 10:49:20 -07:00
Alexander J Sheehan
ccf1b96e5d chore: bumping enterprise package version to 3.65.4 2023-05-31 16:38:37 +00:00
Attiya Ishaque
0544c06705 fix: fix empty list as default value for extended_profile (#32323) 2023-05-31 18:12:29 +05:00
Muhammad Adeel Tajamul
d7f618844b feat: notifications enrollments api will show courses for which notifications is enabled (#32307) 2023-05-31 17:00:08 +05:00
irfanuddinahmad
b55104a832 Merge pull request #32294 from openedx/iahmad/ENT-7164-3
feat: Added filter for modifying course home url for externally hosted courses
2023-05-31 15:28:22 +05:00
Tim McCormack
cc9ec69fcd feat: Pin python3-saml again for duplicate attributes issue (#32328)
We're seeing an issue with repeated attributes causing auth failure for
some IdPs, and need to take some time to investigate. See unpinning issue
https://github.com/openedx/edx-platform/issues/32327 for details.

This is expected to reintroduce some bugs in testing SAML in devstack.

This has the effect of reverting the following PRs:
- Unpinned: https://github.com/openedx/edx-platform/pull/32167 (partial)
- Upgraded: https://github.com/openedx/edx-platform/pull/32168

However, we're keeping the safe_lxml adjustments from the first PR, so it
should be fine on that front to re-upgrade whenever we're ready.
2023-05-30 17:21:59 +00:00
connorhaugh
b8de097e1a fix: remove drag and drop from V1 libs (#32325) 2023-05-30 11:25:59 -04:00
Leangseu Kim
1b50e80437 chore: add go to course button for student already enrolled in the courses
chore: linting

chore: update requested change
2023-05-30 09:45:50 -04:00
Matt Hughes
044f172cb1 perf: pull user's profile information for serialization w/ ret. arch
JIRA:CR-5812
2023-05-30 09:33:45 -04:00
Braden MacDonald
dac1c5abe1 refactor: we don't need _unwrapped_field_data any more 2023-05-29 15:27:12 -07:00
Braden MacDonald
6dd9d2e068 fix: some tests still use old mongo and weren't passing 2023-05-29 13:50:47 -07:00
Braden MacDonald
fbaa2e5a68 fix: make the initialization more like how it was in the past 2023-05-27 15:56:02 -07:00
Braden MacDonald
018f8f2c7c fix: Apparently block.scope_ids gets mutated a lot and isn't a good key
-> bind_for_student() and friends change the user_id
-> DraftVersioningModuleStore.update_item() mutates .location which mutates scope_ids.def_id and scope_ids.usage_id in a way that seems totally wrong
2023-05-26 11:16:13 -07:00
Alexander J Sheehan
4dc35c73ff Merge pull request #32319 from openedx/asheehan-edx/bumping-enterprise-version-3.65.2
chore: bumping enterprise package version to 3.65.2
2023-05-26 11:46:58 -04:00
Alexander J Sheehan
785a2e865d chore: bumping enterprise package version to 3.65.2 2023-05-26 15:23:13 +00:00
Juliana Kang
c67408b9c5 fix: Modify nextPaymentDate in program details subscriptions (#32310)
PON-247
2023-05-26 10:50:39 -04:00
Chris Pappas
38a69d10ff feat: allow course entitlements REST API to be filtered on course_uuid (#32305)
* feat: allow course entitlements REST API to be filtered on course_uuid

* feat: add field to filter out entitlements with null expired_at values

* chore: update tests
2023-05-26 09:44:32 -04:00
IrfanUddinAhmad
b2734099ac feat: Added filter for modifying course home url for externally hosted courses 2023-05-26 14:15:27 +05:00
Braden MacDonald
f13263df4f fix: remove the need to patch the KVS during library import 2023-05-25 21:03:01 -07:00
irfanuddinahmad
89dcb477cb Merge pull request #32317 from openedx/irfanuddinahmad/upgrade-openedx-filters-d59f5f0
feat: Upgrade Python dependency openedx-filters
2023-05-26 06:55:13 +05:00
Braden MacDonald
9f5f3108a0 fix: cleanups and bug fix from review 2023-05-25 16:33:40 -07:00
irfanuddinahmad
73c2eacf7a feat: Upgrade Python dependency openedx-filters
Adds a filter to modify course_home_url

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-05-25 18:37:53 +00:00
Agrendalath
15b511ffd1 test: fix the number of Mongo calls 2023-05-25 20:11:02 +02:00
Alexander J Sheehan
d59f5f0e2c Merge pull request #32315 from openedx/asheehan-edx/bumping-enterprise-version-3.65.0
chore: bumping enterprise package version to 3.65.1
2023-05-25 13:55:25 -04:00
Alexander J Sheehan
0e5c3a5b13 chore: bumping enterprise package version to 3.65.1 2023-05-25 17:33:02 +00:00
Kyle McCormick
0f847df73a refactor: define resource paths (not contents) on XModule classes (#32286)
For the XBlocks types that use legacy XModule-style assets (specifically, those that
inherit from `HTMLSnippet`), this is small refactor that brings them a bit closer to being like
standard XBlocks.

Given these class attributes:

    class SomeXModuleLikeBlock(..., HTMLSnippet, ...):
        ...
        studio_view_css = { ... }
        preview_view_css = { ... }
        studio_view_js = { ... }
        preview_view_js = { ... }
        ...

we make it so their values are *paths to the resources*
rather than *the actual content of the resources*.
This is a no-op change, but it'll enable future XModule
asset refactorings which require us to operate on asset
paths rather than contents.

Part of: https://github.com/openedx/edx-platform/issues/32292
2023-05-25 13:30:39 -04:00
Fox Piacenti
aa7370c773 refactor: Duplicate and update primitives made available.
This makes a couple of changes to the xblock handler in the CMS. These changes 
add a handful of utility functions and modify the existing ones to make reuse 
of existing blocks easier. With these changes, it is possible to copy an 
entire section from one course to another, and then later refresh that section, 
and all of its children, without destroying the blocks next to it.

The existing _duplicate_block function was modified to have a shallow keyword 
to avoid copying children, and the update_from_source function was added to 
make it easy to copy attributes over from one block to another. These functions 
can be used alongside copy_from_template in the modulestore to copy over blocks 
and their children without requiring them to be within any particular container 
(other than a library or course root)-- thus allowing library-like inclusion 
without the library content block. This is especially useful for cases like 
copying sections rather than unit content.
2023-05-25 15:58:28 +02:00
Awais Qureshi
fcb4c4d098 fix: replacing exceptions (#31827)
* fix: fixing test.
* fix: updating exceptions.
2023-05-25 17:45:11 +05:00
Jenkins
16955828e7 chore: geoip2: update maxmind geolite country database 2023-05-24 16:58:47 -04:00
Jansen Kantor
7b91f8579f fix: return a 403 instead of a redirect from course_home_api api methods (#32210)
* fix: return 403 on course access error rather than redirect
2023-05-24 16:09:34 +00:00
Diana Huang
bbb1fdbdf1 fix: Fix split test event logging. (#32299)
In a refactor, this call to runtime.publish didn't
actually match the API properly, causing runtime errors
on LMS.
2023-05-24 11:51:11 -04:00
Shahbaz Shabbir
24dced2093 test: add tests for MFE Context API serializser (#32179) 2023-05-24 15:20:01 +05:00
Braden MacDonald
b3c5faa884 temp: update query counts 2023-05-23 18:28:27 -07:00
Braden MacDonald
f1ff90dc3e fix: failing test, not really sure why this worked before without modulestore.update_item() 2023-05-23 18:15:14 -07:00
Braden MacDonald
a6accf701b temp: update query counts 2023-05-23 18:12:42 -07:00
Braden MacDonald
30e7b5b92b temp: continue 2023-05-23 16:53:14 -07:00
Braden MacDonald
1c09f6c3ef temp: clarify why we don't pass field_data to constructor 2023-05-23 10:54:23 -07:00
Braden MacDonald
db490866e0 temp: update test case, uses one less query since field-data is on demand 2023-05-23 10:29:35 -07:00
Nawfal Ahmed
2d9c528827 fix: fix subscription prices and program dashboard max-width (#32278) 2023-05-23 16:17:28 +05:00
ayesha waris
abac77e106 feat: adds ability to disable posting in discussions indefinitely (#32171)
* feat: adds ability to disable posting in discussions indefinitely

* test: fixed ffailing test cases

* test: added new model field in test cases

* refactor: removes unnecessary migrations

* refactor: removed previous migrations and adds new field in discussions api

* refactor: added docstring and changed method name

---------

Co-authored-by: ayesha waris <73840786+ayeshoali@users.noreply.github.com>
2023-05-23 15:08:06 +05:00
Usama Sadiq
d5d3c90767 Use mongodbproxy from pypi (#32259)
* fix: use mongodbproxy from github to pypi
2023-05-23 13:58:01 +05:00
Ahtisham Shahid
27b8d2f68d feat: Added notification APIs (#32232)
* feat: added api to get notifications for users

* feat: added api to get count of notifications

* feat: added api to mark notifications as seen

* feat: added index on app_name in notification table

* refactor: updated api view parent and url

* refactor: resolved linter issue
2023-05-23 11:15:35 +05:00
Michael Roytman
105260f642 Merge pull request #32250 from openedx/MichaelRoytman/MST-1869-course-end-date
feat: send course end date as due date to exams service if exam has no due date
2023-05-22 11:37:37 -04:00
Kristin Aoki
1fcefc3dd9 feat: add waffle flag check in header (#32264) 2023-05-22 11:18:26 -04:00
Jenkins
689ce64361 chore(i18n): update translations 2023-05-22 11:15:31 -04:00
Ned Batchelder
8e7b0c1c73 fix: oscm@edx.org is not the right email for asking about APIs
We get about one email per month from people looking for access to edX
APIs.  Those emails come to the now almost-defunct oscm@edx.org email
address.  I think that's because of these swagger references.

I suppose someone could find this email address on an Open edX
installation, and people would write to it, but I find in practice this
doesn't happen.

Co-authored-by: Kyle McCormick <kyle@tcril.org>
2023-05-22 07:51:45 -07:00