Commit Graph

2946 Commits

Author SHA1 Message Date
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
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
af20832d70 feat: install and enable new LC enrollment revoked event
ENT-9213
2024-09-04 19:03:36 -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
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
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
sameeramin
ff2afe19df feat: Upgrade Python dependency edx-enterprise
reverts changes from #566

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-03 11:00:48 +00:00
MueezKhan246
c96949eeaa feat: Upgrade Python dependency edx-enterprise
altered decrypted_secret to be encrypted and made credentials nullable

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-02 10:30:39 +00:00
sameeramin
989a51316d feat: Upgrade Python dependency edx-enterprise
populate encrypted client id and secret

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-08-29 15:19:15 +00:00
Navin Karkera
c65478e487 feat: index library collections in studio meilisearch index (#35324) 2024-08-27 10:45:46 -07:00
MueezKhan246
a9d6d4b20d feat: Upgrade Python dependency edx-enterprise
added encrypted columns for user credentials for SAP config

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-08-26 19:16:36 +00:00
Rômulo Penido
5fbcc794cf feat: add collections app from openedx-learning (#35312) 2024-08-23 14:33:31 +09:30
Nathan Sprenkle
72d060cbeb feat: update XBlock to 5.1.0 (#35325) 2024-08-22 12:34:30 -04:00
Prashant Makwana
0c2a919c3a chore: bumping version to 4.23.9 (#35335)
Co-authored-by: Kira Miller <31229189+kiram15@users.noreply.github.com>
2024-08-21 12:27:45 -06:00
iamsobanjaved
30bfbd532c feat: Upgrade Python dependency algoliasearch
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-08-21 14:34:30 +00:00
edX requirements bot
860ca3c204 chore: Upgrade Python requirements 2024-08-19 22:23:27 -04:00
Prashant Makwana
018ba9d42d chore: bumping version num to 4.23.8 (#35310) 2024-08-13 10:52:04 -06:00
hamzawaleed01
30f1c754b4 feat: Upgrade Python dependency edx-enterprise
feat: added migration for model updateroleassignmentswithcustomersconfig

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-08-13 15:15:01 +00:00