Commit Graph

65721 Commits

Author SHA1 Message Date
Yusuf Musleh
7665f13547 feat: Add Library Collections REST endpoints [FC-0062] (#35321)
* feat: Add Library Collections REST endpoints

* test: Add tests for Collections REST APIs

* chore: Add missing __init__ files

* feat: Add events emitting for Collections

* feat: Add REST endpoints to update Components in a Collections (temp) (#674)

* feat: add/remove components to/from a collection

* docs: Add warning about unstable REST APIs

* chore: updates openedx-events==9.14.0

* chore: updates openedx-learning==0.11.4

* fix: assert collection doc have unique id

---------

Co-authored-by: Jillian <jill@opencraft.com>
Co-authored-by: Chris Chávez <xnpiochv@gmail.com>
Co-authored-by: Rômulo Penido <romulo.penido@gmail.com>
2024-09-11 13:21:10 -05:00
Zachary Hancock
d59e2f4fad feat: Add VerificationAttempt model to IDVerificationService logic (#35311)
the new VerificationAttempt model (#35304) will now be taken into account when determining a user's verification status.
2024-09-11 10:30:37 -04:00
Awais Qureshi
1a1697c6f8 Adding oauth test (#35417)
* test: Added OAuth tests for various instructor URLs.
2024-09-11 17:43:22 +05:00
Troy Sankey
887c1a1bab Merge pull request #35467 from openedx/pwnage101/upgrade-edx-enterprise-a41d017
feat: Upgrade Python dependency edx-enterprise
2024-09-10 14:05:11 -07:00
pwnage101
3e44a9f15c feat: Upgrade Python dependency edx-enterprise
ENT-9213

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-10 20:38:49 +00:00
MueezKhan246
a41d0172d9 Merge pull request #35465 from openedx/MueezKhan246/upgrade-edx-enterprise-241b3c9
feat: Upgrade Python dependency edx-enterprise
2024-09-11 00:45:53 +05:00
Alison Langston
2c28ef110f feat: add LMS retirement listener for VerificationAttempts (#35436) 2024-09-10 14:57:02 -04:00
MueezKhan246
3ad2a70462 feat: Upgrade Python dependency edx-enterprise and remove unencrypted client credentials
1. Upgraded Python dependency edx-enterprise
   - Added migration for removing unencrypted client credentials

2. Test updates
   - Unskipped `test_migrations_are_in_sync` after adding the migration

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-10 21:35:47 +05:00
Feanil Patel
3aaf2e07ab Merge pull request #35408 from openedx/feanil/geoip2-bot-update-country-database-ec34753
Update GeoLite Database
2024-09-10 12:26:10 -04:00
feanil
3b3d926971 chore: geoip2: update maxmind geolite country database 2024-09-10 12:03:42 -04:00
MueezKhan246
241b3c9a00 Merge pull request #35462 from openedx/MueezKhan246/upgrade-edx-enterprise-08bd8b3
feat: Upgrade Python dependency edx-enterprise
2024-09-10 18:56:45 +05:00
MueezKhan246
faa020940c feat: Upgrade Python dependency edx-enterprise and remove unencrypted credentials from SAP config
1. Upgraded Python dependency edx-enterprise
   - Removed unencrypted credentials from SAP configuration model

2. Test updates
   - Skipped `test_migrations_are_in_sync` for unencrypted credentials removal
   - Updated related tests and requirements.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-10 13:06:11 +00:00
Zachary Hancock
4b827bf9be feat: show error on courses with unknown proctoring providers (#35445) 2024-09-10 09:02:13 -04:00
Awais Qureshi
08bd8b312e feat: upgrade reset_student_attempts api to drf ( 19th ) (#35404)
* feat: upgrading simple api to drf compatible.
2024-09-10 16:26:41 +05:00
MueezKhan246
38cb0e14a2 Merge pull request #35459 from openedx/MueezKhan246/upgrade-edx-enterprise-a3871cd
feat: Upgrade Python dependency edx-enterprise
2024-09-10 15:00:35 +05:00
MueezKhan246
c8c67e6950 feat: Upgrade Python dependency edx-enterprise
made unencrypted credentials nullable so after removing refs tests can run

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-10 09:32:25 +00:00
Isaac Lee
a3871cda22 API functions for the new generic VerificationAttempt model in the verify_student app (#35338)
* feat: add VerificationAttempt model to verify_student application

This commits adds a VerificationAttempt model to store implementation and provider agnostic information about identity verification attempts in the platform.

* feat: add api for VerificationAttempt model

* fix: error handling for update

- added tests accordingly
- also took care of some nits

* chore: lint

* chore: lint for equals spaces

* feat: using generic update function instead

- can now update name, status, and exp. date on generic attempts
- changed tests accordingly
- a few nits

* chore: fix docstring args

* fix: corrected status validation

- reverted to old status validation method
- fixed tests accordingly

* fix: datetime, status, and annotation fixes

- expiration_datetime can be updated to None
- VerificationAttemptStatus is now StrEnum
- Added type annotations for api functions

---------

Co-authored-by: michaelroytman <mroytman@edx.org>
2024-09-09 13:16:29 -04:00
Jansen Kantor
fbd7d4ca4c fix: set focus on target after clicking anchor (#35446) 2024-09-09 12:00:07 -04:00
Alison Langston
e498d2087d fix: allow courses to render with invalid proctoring provider (#35430) 2024-09-09 10:51:06 -04:00
MueezKhan246
9df4a34069 Merge pull request #35449 from openedx/MueezKhan246/upgrade-edx-enterprise-f52c08a
feat: Upgrade Python dependency edx-enterprise
2024-09-09 18:33:23 +05:00
MueezKhan246
966554c749 feat: Upgrade Python dependency edx-enterprise
added data migration to populate encrypted columns and replaced references from unencrypted to encrypted columns

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-09 13:06:03 +00:00
Awais Qureshi
f52c08a0dd feat: upgrade send_email api to drf ( 15th ) (#35387)
* feat: upgrading simple api to drf compatible.
2024-09-09 14:52:47 +05:00
bydawen
483315cfe2 feat: course about page markup and styles improvements (#33712)
* feat: course about page markup and styles improvements

* test: update tests according to changes

* fix: relocate course organization and return removed prerequisites info

---------

Co-authored-by: Eugene Dyudyunov <evgen.dyudyunov@raccoongang.com>
Co-authored-by: ihor-romaniuk <ihor.romaniuk@raccoongang.com>
2024-09-09 15:08:53 +05:30
Awais Qureshi
7292cabe32 feat: upgrade list_report_downloads api to DRF ( 13th ) (#35350)
* feat: upgrading simple api to drf compatible.
2024-09-09 12:54:30 +05:00
Muhammad Adeel Tajamul
a75dd0eeba fix: added username in bulk email optout event (#35439) 2024-09-09 10:53:19 +05:00
Kristin Aoki
92c8949af5 feat: add studio_access attribute to metadata (#35444)
* feat: add studio_access attribute to metadata

* fix: styling errors

* fix: remove redunant return
2024-09-06 19:16:44 +00:00
Kaustav Banerjee
79fb1cc404 fix: hide new library button for ineligible users in split studio view (#35316) 2024-09-06 11:21:56 -07:00
MueezKhan246
b35d1e3068 Merge pull request #35443 from openedx/MueezKhan246/upgrade-edx-enterprise-8ddbf90
feat: Upgrade Python dependency edx-enterprise
2024-09-06 21:18:50 +05:00
MueezKhan246
d0ee7164f6 feat: Upgrade Python dependency edx-enterprise and convert contentserver to view permanently
1. Upgraded Python dependency edx-enterprise
   - Added encrypted client secret for SAP config

2. Converted contentserver to view permanently (drop middleware and flag)
   - Deleted `content_server.use_view` waffle flag in favor of always using view
   - Removed `StaticContentServerMiddleware` and references to it
   - Updated views module docstring
   - Moved contentserver implementation into `views.py`
   - Lint cleanup: Fixed import ordering

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-06 15:16:03 +00:00
Tim McCormack
b615a8767f feat: Convert contentserver to view permanently (drop middleware and flag) (#35420)
Final planned portion of https://github.com/openedx/edx-platform/issues/34702 -- waffle flag and middleware are removed.

Commits:

1. Feature change
    - Delete `content_server.use_view` waffle flag in favor of always using view
    - Delete the husk of `StaticContentServerMiddleware` and references to it
    - Update views module docstring
2. Refactor (move)
    - Move contentserver implementation into views.py
3. Lint cleanup
    - Fix import ordering (from refactor debris + amnestied lint)
2024-09-06 14:42:32 +00:00
MueezKhan246
8ddbf90e64 Merge pull request #35440 from openedx/MueezKhan246/upgrade-edx-enterprise-edd2492
feat: Upgrade Python dependency edx-enterprise
2024-09-06 17:55:01 +05:00
MueezKhan246
c658287386 feat: Upgrade Python dependency edx-enterprise and re-enable migrations test
- Upgraded Python dependency `edx-enterprise` and updated relevant requirements files.
- Added migration file to remove `char field decrypted_secret`.
- Re-enabled `test_migrations_are_in_sync` by unskipping the test.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`.
2024-09-06 10:10:38 +00:00
MueezKhan246
edd24922fe Merge pull request #35435 from openedx/MueezKhan246/upgrade-edx-enterprise-dbc1b23
feat: Upgrade Python dependency edx-enterprise
2024-09-06 12:00:57 +05:00
Muhammad Adeel Tajamul
0d69c01abc feat: added channel field in ace sentl event (#35423) 2024-09-06 10:20:53 +05:00
Muhammad Adeel Tajamul
ec76baf15f feat: added additional content in endorsed notification (#35425) 2024-09-06 08:18:09 +05:00
Feanil Patel
ba1ae24964 Merge pull request #35438 from openedx/feanil/enmerkar_update
chore: Bump the version of enmerkar-underscore
2024-09-05 14:48:28 -04:00
Feanil Patel
de6d6046cb chore: Bump the version of enmerkar-underscore
We need to correctly pull in the vendored markey files.
2024-09-05 14:24:59 -04:00
MueezKhan246
5dfc5b0fc9 feat: Upgrade Python dependency and refactor test skip reason
- Upgraded Python dependency for edx-enterprise
- Removed references to the char field `decrypted_secret`
- Updated the skip reason message for `test_migrations_are_in_sync`

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-05 16:24:08 +00:00
Troy Sankey
dbc1b23d4d Merge pull request #35218 from openedx/pwnage101/ENT-9213
feat: install and enable new LC enrollment revoked event
2024-09-05 06:35:16 -07:00
Muhammad Adeel Tajamul
f8bf592483 fix: added course_id in email sent event (#35422) 2024-09-05 15:01:43 +05:00
Troy Sankey
af20832d70 feat: install and enable new LC enrollment revoked event
ENT-9213
2024-09-04 19:03:36 -07:00
Troy Sankey
2c705c961a Merge pull request #35432 from openedx/pwnage101/upgrade-openedx-events-51d538c
feat: Upgrade Python dependency openedx-events
2024-09-04 18:03:09 -07:00
pwnage101
4d9066d215 feat: Upgrade Python dependency openedx-events
ENT-9213

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-05 00:21:47 +00:00
Juliana Kang
51d538cbe7 fix: Remove B2C Subscriptions (#35303)
REV-3697
2024-09-04 14:01:45 -04:00
Katrina Nguyen
ef4e03729e Merge pull request #35429 from openedx/katrinan029/upgrade-edx-enterprise-060473a
feat: Upgrade Python dependency edx-enterprise
2024-09-04 10:56:24 -07:00
katrinan029
96a6176a82 feat: Upgrade Python dependency edx-enterprise
chore: version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-04 17:29:45 +00:00
Muhammad Sameer Amin
060473ad39 Merge pull request #35427 from openedx/sameeramin/upgrade-edx-enterprise-ba883fa
feat: Upgrade Python dependency edx-enterprise
2024-09-04 18:55:08 +05:00
sameeramin
1ad9fd2967 feat: Upgrade Python dependency edx-enterprise
added migrations to remove client_id and client_secret from canvas

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-04 13:22:19 +00:00
Muhammad Farhan Khan
ba883fa0e8 Merge pull request #35409 from openedx/farhan/convert-annotatable-sass-to-css
Convert annotatable block sass variables to css variables
2024-09-04 14:14:55 +05:00
Muhammad Adeel Tajamul
dd3a7aad8d fix: update bulk email created event data (#35412) 2024-09-04 12:56:56 +05:00