Commit Graph

5327 Commits

Author SHA1 Message Date
Navin Karkera
70df3deea6 feat: set collections for a library component [FC-0062] (#35600)
* feat: add & remove collections to component

Co-authored-by: Rômulo Penido <romulo.penido@gmail.com>
Co-authored-by: Chris Chávez <xnpiochv@gmail.com>
2024-10-15 15:11:54 +00:00
Fatima Sohail
af69cbe671 feat: waffle flag based switch to ses for goal reminder email (#35615)
* feat: waffle based switch to ses for goal reminder email

* test: added test cases for ace message parameters

* feat: updated logic to specify channel name

* chore: update edx-ace version
2024-10-14 19:20:02 +05:00
github-actions[bot]
b8c79abd2c feat: Upgrade Python dependency edx-enterprise (#35625)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
2024-10-11 11:05:01 -06:00
Diana Huang
e99769b0dd Revert "feat: Unpin xmlsec and lxml."
This reverts commit 6c045c7b39.
2024-10-11 10:58:42 -04:00
Diana Huang
6c045c7b39 feat: Unpin xmlsec and lxml.
We are now on Python 3.11 and running tests
on the latest version of Ubuntu, which seems to mean
we don't need these pins anymore. In fact, it seems
to break while on these pins.
2024-10-10 15:38:15 -04:00
Katrina Nguyen
d7f7ca17a5 Merge remote-tracking branch 'origin' into katrinan029/upgrade-edx-enterprise-7316111 2024-10-09 15:56:51 +00:00
Hunia Fatima
f5b88392a5 chore: cleanup constraint file and format it (#35601)
* chore: cleanup constraint file and format it
2024-10-09 14:44:07 +05:00
katrinan029
0a4d24adec feat: Upgrade Python dependency edx-enterprise
version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-10-08 22:21:15 +00:00
github-actions[bot]
15a1295777 feat: Upgrade Python dependency edx-name-affirmation (#35616)
3.0.1 contains changes to integrate the name affirmation app with the new platform VerificationAttempt model

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: alangsto <46360176+alangsto@users.noreply.github.com>
2024-10-08 09:50:09 -04:00
Raymond Zhou
22b81165e7 chore: calc version bump (#35590) 2024-10-07 14:39:23 -04:00
Brian Beggs
9aeefef4cc chore: Update edx-enterprise to 4.27.0 ENT-9585 2024-10-07 12:09:10 -04:00
github-actions[bot]
9ff0dac55c feat: Upgrade Python dependency edx-proctoring (#35589)
4.18.2 fixes bugs caused by a removed proctoring provider

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: alangsto <46360176+alangsto@users.noreply.github.com>
2024-10-03 15:07:29 -04:00
iloveagent57
b3759aad67 feat: Upgrade Python dependency edx-enterprise
edx-enterprise 4.26.1 | proxy login redirects to LMS register page

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-10-02 12:52:20 -04:00
github-actions[bot]
6c3d8fa520 feat: Upgrade Python dependency edx-django-utils (#35575)
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: dianakhuang <2952947+dianakhuang@users.noreply.github.com>
2024-10-01 15:35:50 -04:00
katrinan029
ad278df1c4 feat: Upgrade Python dependency edx-enterprise
version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-30 20:57:09 +00:00
sameeramin
19b03ddf18 feat: Upgrade Python dependency edx-enterprise
Removed loggings for SAPSF channel

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-27 14:36:21 +00:00
katrinan029
a2bc9e8d80 chore: version bump 2024-09-26 19:25:52 +00:00
katrinan029
624bef547c fix: bump version 2024-09-26 19:25:05 +00:00
katrinan029
338d58dd53 chore: version bump 2024-09-26 18:30:03 +00:00
Feanil Patel
cec9499cdb Merge pull request #35551 from openedx/repo-tools/upgrade-python-requirements-45d328f
chore: Upgrade Python requirements
2024-09-26 14:13:23 -04:00
Jillian
dc27196f17 chore: bumps openedx-learning to 0.13.1 (#35547) 2024-09-26 18:06:03 +00:00
edX requirements bot
f5e3635504 chore: Upgrade Python requirements 2024-09-26 10:13:02 -04:00
katrinan029
b708f90ee0 chore: version bump 2024-09-25 20:57:21 +00:00
Zachary Hancock
ae0c295ead feat: pluggable url for idv location (#35494)
* Adds an extension point when generating the url for id verification
2024-09-25 16:09:10 -04:00
Jillian
5446877a86 Soft delete collections (#35496)
* refactor: use django signals to trigger LIBRARY_COLLECTION events

* refactor: use collection usage_key as search document id

This change standardises the search document "id" to be a meilisearch ID
generated from the usage key, for all types of indexed objects.

This is important for collections so we can locate the collection
document in the search index solely from the data provided by the
LIBRARY_COLLECTION_DELETED event (library_key + collection_key), even if
the collection has been deleted from the database.

* refactor: avoid fetching more data than we have to.

* get_library_collection_usage_key and
  searchable_doc_tags_for_collection do not need a Collection object;
  the usage key can be created from the library_key and collection_key.

* updated searchable_doc_for_collection to require the parts of the
  collection usage key + an optional collection. This allows us to
  identify the collection's search document from its usage key without
  requiring an existing Collection object (in case it's been deleted).
  Also removes the edge case for indexing Collections not associated
  with a ContentLibrary -- this won't ever really happen.

* feat: remove soft- and hard-deleted collections from search index

* feat: adds library_component_usage_key to content_libraries.api

* refactor: send CONTENT_OBJECT_ASSOCIATON_CHANGED on django model signals

so that added/removed collections are removed/re-added to component documents.

Special case: When a collection is soft-deleted/restored, we detect this
in the search index and update the collection's component documents
directly, without a CONTENT_OBJECT_ASSOCIATON_CHANGED signal.


* chore: bumps openedx-learning to 0.13.0
2024-09-25 13:29:18 -05:00
github-actions[bot]
cf614cb9c2 feat: Upgrade Python dependency edx-enterprise (#35538)
Bump the version to drop references to edx-rest-api-client that don't exist in the latest version.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: feanil <781561+feanil@users.noreply.github.com>
2024-09-25 16:00:40 +00:00
Muhammad Adeel Tajamul
649bd42f9c fix: updated edx.ace.message_sent event (#35498)
* fix: updated edx.ace.message_sent event

* fix: fixed pylint checks
2024-09-24 14:31:20 +05:00
Muhammad Sameer Amin
0f64e168d7 Merge branch 'master' into sameeramin/upgrade-edx-enterprise-1103544 2024-09-19 21:17:49 +05:00
Eemaan Amir
2e2c427af6 chore: update ora2 version in requirements (#35505) 2024-09-19 16:46:26 +05:00
hamzawaleed01
329a0314a2 Merge branch 'master' of github.com:openedx/edx-platform into hamzawaleed01/upgrade-edx-enterprise-7d22784 2024-09-18 12:57:01 +05:00
Isaac Lee
575e240961 feat: add idv events to api (#35468)
* feat: add idv events to api

- moved what was in signals.py to a handlers.py (which is what their file should have been called)

* chore: quality

* fix: rename test file + imports

* fix: change handler reverse url in other tests

* fix: refactor signals and handlers pattern

- following OEP-49 pattern for signals directory
- user removed as param for update function
- event now emitted after save

* fix: unpin edx-name-affirmation

* chore: add init to signals dir

* fix: compile requirements

* chore: quality

* chore: fix some imports

* chore: quality

* test: added signal emissions to test_api

* chore: lint
2024-09-17 15:59:33 -04:00
Rômulo Penido
a94b5af403 feat: return publishing information on get component endpoint [FC-0062] (#35476)
* feat: return publishing information on get component endpoint

* feat: read data from component.versioning.draft

* test: update tests

* chore: update openedx-learning

---------

Co-authored-by: Jillian <jill@opencraft.com>
Co-authored-by: Chris Chávez <xnpiochv@gmail.com>
2024-09-16 14:03:08 -05:00
hamzawaleed01
9846f21163 Merge branch 'master' of github.com:openedx/edx-platform into hamzawaleed01/upgrade-edx-enterprise-7d22784 2024-09-16 16:05:51 +05:00
sameeramin
b0bf58c27e feat: Upgrade Python dependency edx-enterprise
adds logging to debug SAP transmitter

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-16 07:02:02 +00:00
Isaac Lee
e9559bb256 temp: pin edx-name-affirmation (#35481)
* temp: pin edx-name-affirmation

- doing this to make changes to both this repo and name-affirmation without breaking either

* fix: compiled requirements

* fix: compile requirements again
2024-09-13 16:03:33 +00:00
Katrina Nguyen
1803468ea2 Merge pull request #35482 from openedx/katrinan029/upgrade-edx-enterprise-7d22784
feat: Upgrade Python dependency edx-enterprise
2024-09-13 08:07:20 -07:00
Chris Chávez
dd59dc634a Tag in Collections [FC-0062] (#35383)
* feat: Allow tag in collections

* chore: Bump version of opaque-keys
2024-09-13 09:19:25 -05:00
hamzawaleed01
c7bc41faa8 feat: Upgrade Python dependency edx-enterprise
fix: add id in pending_enterprise_customer_admin_user serializer

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-13 08:03:59 +00:00
katrinan029
702ea031c3 feat: Upgrade Python dependency edx-enterprise
version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-12 21:04:09 +00:00
rijuma
c09286f02e feat: Upgrade Python dependency edx-name-affirmation
https://github.com/edx/edx-name-affirmation/pull/215

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-12 15:18:53 -03:00
Prashant Makwana
d4b663cbc3 chore: bumping enterprise version to 4.25.10 (#35478) 2024-09-12 11:17:55 -04:00
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
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
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
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
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
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
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
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