-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat: support static reference in LibraryContentBlock #33511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
128 commits
Select commit
Hold shift + click to select a range
d81d774
feat!: remove LibrarySourcedBlock
kdmccormick 9eee194
feat: support V2 libraries in LibraryContentBlock (randomized only)
kdmccormick 258216b
Merge branch 'master' into kdmccormick/library-content-v2
kdmccormick ef54bd6
fix: user tasks out of lms, move tasks.py
9b0b722
Merge commit 'refs/pull/33263/head' of github.com:openedx/edx-platfor…
1daf629
fix: lint
982abc7
fix: lint
0dbe410
fix: lint fix
3299cef
fix: move codeowner attribute to layer
081bfdb
feat: implement chema
109a33c
fix: remove codeowner attribute from update_children_task
kdmccormick 4b4a34e
build: put back set_code_owner_attribute but as a regular function call
kdmccormick 9b2f0f0
feat: add cms-only assertions to content_libraries tasks
kdmccormick 0f730f8
Merge branch 'master' into kdmccormick/library-content-v2
kdmccormick fccbaa4
style: fix indentation
kdmccormick 6dcb047
fix: add missing imports for _assert_cms
kdmccormick f2230db
docs: remove outdated is_v2_lib from function docstring
kdmccormick e25e2a3
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick f1370d0
test: run ./xmodule/ LibraryContentTests only in CMS
kdmccormick 8fe86a1
test: run ./xmodule/ tests with CMS settings
kdmccormick 71cde02
Revert "test: run ./xmodule/ LibraryContentTests only in CMS"
kdmccormick 9f9c047
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick 42e82ba
Merge branch 'kdmccormick/test-xmodule-with-cms' into kdmccormick/lib…
kdmccormick 3a25800
test: run ./xmodule/ LibraryContentTests only in CMS
kdmccormick 8ac429a
style: remove duplicate imports fomr test_lib_tools
kdmccormick 3cf5fc3
test: fix patching in test_list_available_libraries
kdmccormick caecac1
test: attempt at stricter enforcement of library tools in cms only
kdmccormick ae73343
Merge branch 'master' into kdmccormick/library-content-v2
kdmccormick 2241ca5
temp: fix: put library_tools back in LMS, at least for now
kdmccormick 4379f0f
test: fix skip_unless_[lms|cms]
kdmccormick e911056
test: fix library_content completion test w/ settings hack
kdmccormick 1fadf7a
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick 0809ad4
test: update test patch for new libraries tasks location
kdmccormick 22cb7d5
test: use string mock to satisfy importlinter
kdmccormick 2609a43
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick 989297a
fix: lint + add unit tests
c46f155
Merge branch 'kdmccormick/library-content-v2' into feat--Library-Cont…
connorhaugh 1bc84d4
fix: code quality cleanup
b47ab3c
Merge branch 'feat--Library-Content-Block-Reference' of github.com:ed…
9c23889
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick 2604f1c
fix: module resolution order for import
cc10e34
fix: reset default max_count to 1 from -1
c5bf4ac
fix: correctly pass context vars block selection
0cf735f
fix: getting status of library_content's update_children task
kdmccormick 3dfa080
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick c35f265
fix: final organization of fields
535fb52
fix: squash: _are_children_updating utiltity func
kdmccormick 2c69e81
Revert "fix: squash: _are_children_updating utiltity func"
kdmccormick 781cdf5
Revert "fix: getting status of library_content's update_children task"
kdmccormick b9fc30d
fix: getting status of library_content's update_children task
kdmccormick c609b0b
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick 744bce6
fix: clear candidates when changing libraries
35db46c
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick 455424e
Merge branch 'master' into kdmccormick/library-content-v2
kdmccormick 6666243
refactor: delete unused library_tools code; rename update_children
kdmccormick 65e9599
test: update unit tests for previous refactor commit
kdmccormick 3d9b305
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick e96f8c8
Merge remote-tracking branch 'upstream/master' into kdmccormick/libra…
kdmccormick d8baa20
fix: duplicate library_content children asynchronously (#33652)
kdmccormick ea7d91a
Merge branch 'kdmccormick/library-content-v2' into feat--Library-Cont…
connorhaugh ee0078c
fix: remove print statments + fix tests
4b81e75
Merge branch 'master' into feat--Library-Content-Block-Reference
connorhaugh 66e5808
fix: fixes from feedback and post-merge
ec720c1
fix: lint
6dc8ad2
Merge branch 'master' into feat--Library-Content-Block-Reference
connorhaugh c7755c1
fix: selection fixes
c0fe94f
fix: lint
a52e8ea
fix: overlimit bug
e2acf70
fix: unit tests + cleaner code
a51cdda
fix: readd completion mode
49a47d8
Merge branch 'master' into feat--Library-Content-Block-Reference
connorhaugh de6d7bd
fix selection pairing
kdmccormick c0cbd05
fix: candidate typing
af8e392
fix: lint
b53862f
Merge branch 'master' into feat--Library-Content-Block-Reference
connorhaugh 8507648
fix: hide shuffle, manual, candidates from editor.
2d3d222
fix: result of manual testing
d06ee3d
Merge branch 'master' into feat--Library-Content-Block-Reference
kdmccormick 5ba4852
feat: add new library editor toggle (#33628)
connorhaugh 93e87b5
Merge branch 'master' into feat--Library-Content-Block-Reference
kdmccormick 575e64c
fix: manual scope typo (#33957)
rayzhou-bit 94e11bd
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 6edfd51
temp: feat: show the LibraryContentBlock's manual and shuffle fields
kdmccormick cab19a1
test: type-check library_content_block.py
kdmccormick 162801f
test: beef up the unit tests for randomized LibraryContentBlock a bit
kdmccormick f5c06ef
test: run a test that wasn't running. it's failing now
kdmccormick 675fed6
fix: pass candidates into make_selection correctly
kdmccormick bb0c19a
test: test shuffled & unshuffled variant of all selection tests
kdmccormick 4bd687e
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 579bbb7
fix: bug and pylint violations in make_selection calls
kdmccormick 331f3d0
test: LibraryContentBlock test_invalid_block_without_replacement
kdmccormick 30cb7de
test: complex library content selection scenario (currently failing)
kdmccormick d34eb3d
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 4fc9135
test: make test output easier to read & remove breakpoint
kdmccormick 607c856
test: don't just convert from lists to sets in tests (causes flakiness)
kdmccormick a9adffd
test: stabilize LCB shuffling+sampling in tests (complex is still flaky)
kdmccormick d179801
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick b86b64f
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 653c2e7
test: making selection tests lms-only (wip)
kdmccormick 594551e
feat: include children info in xblock api (#33977)
rayzhou-bit 3cd1e50
test: selection tests are working, with a hack
kdmccormick 870a9ef
Merge branch 'feat--Library-Content-Block-Reference' of github.com:op…
kdmccormick 4ef1ea4
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick f1b701a
test: continue skipping lc-sync tests in LMS
kdmccormick 77f8caa
test: fix cms tests
kdmccormick b243ade
test: better var names in selection tests
kdmccormick d34454b
refactor: 'valid_children' -> 'available'
kdmccormick a1f4a6b
test: selection tests work in both manual and non-manual modes now
kdmccormick 0f83fcf
test: attempt at making selection tests run quicker with sharedmodule…
kdmccormick 0715538
revert: test: attempt at making selection tests run quicker with shar…
kdmccormick 9f4af9a
test; add docstring to a test helper
kdmccormick 935257b
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 072c151
test: make selection test setup more verbose but also more straightfo…
kdmccormick 45d8d38
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick ff08f25
test: better names and comments for selection tests
kdmccormick 443af4d
test: in selection tests, test more behavior with fewer cases
kdmccormick 651227f
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick c3c6205
test: add cases for: no selection available, toggling manual on/off
kdmccormick 744e139
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 37196cd
fix: new editor + candidates_in_course
c41e247
fix: candidates are always library block usage keys (WIP)
kdmccormick 2add8b8
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 6513953
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick a2c5de2
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick b1c3d16
fix: derive_key import and usage in LCB
kdmccormick aa72268
fix: candidates are UsageKeys from the source library; tests still fa…
kdmccormick de95995
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick 3285f2e
Merge remote-tracking branch 'upstream/master' into feat--Library-Con…
kdmccormick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.