Commit 7694a68
feat: update content libraries API to use events from openedx-core (#38437)
* chore: bump openedx-core to 0.46.0
* feat: update content libraries API to use events from openedx_content
* fix: better dispatching/waiting for async library event handlers
Now, the search index (and anything else that listens for events) will stay up to date regardless of whether one uses the content_libraries high-level API or the low-level openedx_content APIs to make changes to content.
Co-Authored-By: Claude <[email protected]>1 parent f6eda03 commit 7694a68
24 files changed
Lines changed: 928 additions & 1010 deletions
File tree
- cms/djangoapps
- contentstore
- rest_api/v1/views/tests
- views/tests
- modulestore_migrator
- openedx/core/djangoapps
- content_libraries
- api
- tests
- content_tagging/tests
- content/search
- tests
- xblock
- learning_context
- runtime
- requirements
- edx
- xmodule/modulestore/tests
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
405 | 406 | | |
406 | 407 | | |
407 | 408 | | |
| 409 | + | |
408 | 410 | | |
409 | 411 | | |
410 | 412 | | |
| |||
491 | 493 | | |
492 | 494 | | |
493 | 495 | | |
494 | | - | |
| 496 | + | |
| 497 | + | |
495 | 498 | | |
496 | 499 | | |
497 | 500 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
895 | 895 | | |
896 | 896 | | |
897 | 897 | | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | 898 | | |
902 | 899 | | |
903 | 900 | | |
904 | | - | |
905 | 901 | | |
906 | 902 | | |
907 | 903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
883 | 883 | | |
884 | 884 | | |
885 | 885 | | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
898 | 890 | | |
| 891 | + | |
899 | 892 | | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
| 893 | + | |
| 894 | + | |
913 | 895 | | |
914 | | - | |
915 | | - | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
916 | 907 | | |
917 | 908 | | |
918 | 909 | | |
| |||
0 commit comments