Skip to content
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

Rafayghafoor/test trigger #604

Open
wants to merge 222 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
d948267
fix: clarify grade range numerical values
kaustavb12 Sep 26, 2023
42ca0dd
chore: remove bok choy settings
salman2013 Sep 27, 2023
73c4e11
chore: remove karma
salman2013 Sep 27, 2023
a06ac2f
chore: remove karma
salman2013 Sep 27, 2023
caeb8d9
chore: remove bok choy
salman2013 Sep 27, 2023
3abf597
chore: fix test cases
salman2013 Sep 27, 2023
74ff28c
Merge remote-tracking branch 'upstream/master' into salman/remove-bok…
salman2013 Sep 27, 2023
9fb6d0a
Merge remote-tracking branch 'upstream/master' into salman/remove-bok…
salman2013 Sep 27, 2023
3d893a5
chore: remove bok-choy
salman2013 Sep 27, 2023
0370f44
chore: fix test cases
salman2013 Sep 27, 2023
875de8e
chore: fix test cases
salman2013 Sep 28, 2023
a763287
chore: remove all reference for bok-choy
salman2013 Sep 28, 2023
7e58e28
Merge remote-tracking branch 'upstream/master' into salman/remove-bok…
salman2013 Sep 28, 2023
3fc454c
chore: remove bok-choy
salman2013 Sep 28, 2023
3ecf2b9
chore: remove bok-choy
salman2013 Sep 28, 2023
d668af2
chore: fix comments, remove and add some code for karma
salman2013 Oct 2, 2023
74a4c88
chore: fix tests
salman2013 Oct 2, 2023
75244b1
Merge remote-tracking branch 'upstream/master' into salman/remove-bok…
salman2013 Oct 2, 2023
6831451
feat: Update the minimum password length.
feanil Sep 28, 2023
ae42b09
test: Fix validation tests.
feanil Sep 28, 2023
65d3b10
chore: fix test cases
salman2013 Oct 2, 2023
4dbefe3
chore: fix tests
salman2013 Oct 3, 2023
70eafef
chore: fixed comments as per review, code improvements
salman2013 Oct 4, 2023
2b6a6f8
chore: remove plugin which is not using
salman2013 Oct 4, 2023
52860c5
chore: resolve conflicts
salman2013 Oct 4, 2023
936a6c0
chore: resolve conflicts
salman2013 Oct 4, 2023
01a4908
chore: fix tests
salman2013 Oct 4, 2023
a71ce9f
Merge branch 'master' into salman/remove-bok-choy
salman2013 Oct 4, 2023
5bc3dfa
chore: uncomment the code
salman2013 Oct 6, 2023
cda018e
chore: fix test case
salman2013 Oct 6, 2023
7049cb2
chore: fix test case
salman2013 Oct 6, 2023
8dddb53
chore: fix test case
salman2013 Oct 6, 2023
9d54325
chore: fix test case
salman2013 Oct 6, 2023
2d78b2d
chore: fix test case
salman2013 Oct 6, 2023
52aea35
chore: fix test case
salman2013 Oct 9, 2023
cdeaaa5
chore: fix test case
salman2013 Oct 9, 2023
8bd5be2
chore: fix test case
salman2013 Oct 9, 2023
8f97ac9
chore: fix test case
salman2013 Oct 10, 2023
1e2ea85
test: Update more tests that had short passwords.
feanil Sep 29, 2023
ff17e51
refactor: remove xblockutils package
farhan Oct 11, 2023
23a44b9
chore: Upgrade python requirements
farhan Oct 11, 2023
4a640fe
chore: update drf endpoints to use default authentication
salman2013 Oct 12, 2023
5bbc17f
chore: fix test case
salman2013 Oct 12, 2023
571cc3b
feat: Upgrade Python dependency edx-enterprise
muhammad-ammar Oct 12, 2023
960dcfb
Merge pull request #33480 from openedx/muhammad-ammar/upgrade-edx-ent…
muhammad-ammar Oct 12, 2023
f2bf289
chore: test cases
salman2013 Oct 12, 2023
0d5ca66
Merge remote-tracking branch 'upstream/master' into salman/update-drf…
salman2013 Oct 12, 2023
84f7fdf
build(deps): bump actions/setup-node from 2 to 3 (#32140)
dependabot[bot] Oct 12, 2023
1ab9079
Merge pull request #33465 from farhan/farhan/remove-xblockutils
Oct 12, 2023
9e816e9
build(deps): bump actions/download-artifact from 2 to 3
dependabot[bot] Oct 12, 2023
f2db835
build(deps): bump aws-actions/configure-aws-credentials from 3 to 4
dependabot[bot] Oct 12, 2023
6e3f385
build(deps): bump aws-actions/configure-aws-credentials from 1 to 2
dependabot[bot] Oct 12, 2023
41eee89
Merge pull request #32363 from openedx/dependabot/github_actions/acti…
Oct 12, 2023
64e91d4
test: Update to an even longer password.
feanil Oct 11, 2023
1262567
Merge pull request #33479 from salman2013/salman/update-drf-endpoints
Oct 12, 2023
b7286d7
Merge pull request #33274 from openedx/dependabot/github_actions/aws-…
Oct 12, 2023
2a4ce5f
chore: fix comments, remove un-used variable
salman2013 Oct 12, 2023
2033dcf
fix: ref mgmt cmd logging (#33481)
rayzhou-bit Oct 12, 2023
4acd6c2
chore: updated version of notifications pref (#33486)
AhtishamShahid Oct 13, 2023
90b0392
feat: added audit track expiry filter in notifications (#33381)
AhtishamShahid Oct 13, 2023
bef05ab
feat: add tracking event for following post
Oct 4, 2023
7c25c5f
feat: command to backfill users email addresses on braze (#33467)
syedsajjadkazmii Oct 16, 2023
fd86ba1
Merge pull request #33343 from open-craft/kaustav/clarify_grade_range…
jristau1984 Oct 16, 2023
838d270
fix: users with derived roles should see their courses
0x29a Aug 13, 2023
a45901e
feat: implement strict_role_checking context manager
0x29a Sep 18, 2023
7f84f1f
chore(i18n): update translations (#33492)
Oct 16, 2023
24b6b5a
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Oct 13, 2023
e3851ab
test: Update to reuse variables in more places.
feanil Oct 16, 2023
388fa3b
Merge pull request #33489 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Oct 16, 2023
9e56a18
refactor: better permission names for instructor endpoints
0x29a Sep 14, 2023
80a25bc
feat: use new event_bus_producer_config (#33458)
Oct 16, 2023
755fa7f
feat: set course for wiki based on the wiki_slug
Cup0fCoffee Sep 25, 2023
6b082c7
Merge pull request #33275 from open-craft/0x29a/bb7834/inherited-role…
Agrendalath Oct 16, 2023
9bf042b
* feat: Enforce type hints for content_tagging app in edx-platform (#…
pkulkark Oct 16, 2023
bbb7ef8
feat: override permissions for exporting a taxonomy (#33483)
rpenido Oct 16, 2023
febcccc
fix: limited staff cohorts and gradebook access
0x29a Oct 15, 2023
52302e3
feat: Upgrade Python dependency edx-drf-extensions (#33512)
github-actions[bot] Oct 16, 2023
265e7d5
feat: Upgrade Python dependency edx-enterprise
hamzawaleed01 Oct 17, 2023
56436e1
Merge pull request #33515 from openedx/hamzawaleed01/upgrade-edx-ente…
hamzawaleed01 Oct 17, 2023
bf6ed5e
fix: reset button becomes available after submission (#33490)
RafayGhafoor Oct 17, 2023
7202c22
Merge pull request #33373 from openedx/feanil/update_password_length_…
Oct 17, 2023
70d547d
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Oct 17, 2023
9f8bd36
feat: remove deprecated coaching from edx-platform
deborahgu Oct 17, 2023
7ef8650
Merge pull request #33524 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Oct 17, 2023
f728222
Merge branch 'master' into dkaplan1/APER-2407_remove-coaching-functio…
deborahgu Oct 17, 2023
92731be
Replace pyjwkest with pyjwt (#32270)
mumarkhan999 Oct 18, 2023
5c3237c
Merge branch 'master' into dkaplan1/APER-2407_remove-coaching-functio…
deborahgu Oct 18, 2023
b2f2e22
feat: remove deprecated coaching
deborahgu Oct 18, 2023
3060004
feat: removing deprecated coaching
deborahgu Oct 18, 2023
0b3e4d7
feat!: Removed Badges App
thezaeemaanwar Sep 5, 2023
44a04a5
chore(i18n): update translations
Oct 18, 2023
443753d
build: Only build and push ci-runner Docker image on origin repo (#33…
timmc-edx Oct 18, 2023
e1bad75
chore: geoip2: update maxmind geolite country database
Oct 18, 2023
08f5e7e
feat: Account and profile MFE legacy removal - redeployment (#31893)
abdullahwaheed Oct 19, 2023
caf8e45
Revert "feat: Account and profile MFE legacy removal - redeployment …
abdullahwaheed Oct 19, 2023
98e8bf8
Merge pull request #32137 from openedx/dependabot/github_actions/aws-…
Oct 19, 2023
9c6e765
test: run ./xmodule/ tests with CMS settings (#33534)
kdmccormick Oct 19, 2023
e3a1cb0
Merge pull request #33530 from openedx/dkaplan1/APER-2407_remove-coac…
deborahgu Oct 19, 2023
1d58bd1
feat: New link on studio home to Taxonomy list (if waffle flag set) (…
ChrisChV Oct 19, 2023
2482dd4
feat: more detailed taxonomies permission rules (#33413)
rpenido Oct 19, 2023
db4911b
chore: rename Files & Uploads page (#33546)
jesperhodge Oct 19, 2023
4af2f5b
feat: Upgrade Python dependency edx-enterprise
justEhmadSaeed Oct 20, 2023
c597303
Merge pull request #33549 from openedx/justEhmadSaeed/upgrade-edx-ent…
justEhmadSaeed Oct 20, 2023
c3a24c1
fix: rename update cache functions to what they are
ashultz0 Oct 20, 2023
2e75ced
Merge pull request #33186 from thezaeemaanwar/remove_badges_app
Oct 20, 2023
09a6523
docs: decision to standardize django/djangojs po files (#32994)
OmarIthawi Oct 20, 2023
7900711
chore(i18n): update translations
Oct 22, 2023
9452cef
chore: resolve conflicts
salman2013 Oct 23, 2023
2ff9ca8
chore: fix comments, remove un-used selenium browser
salman2013 Oct 23, 2023
e932373
fix: updated , notification config name from filter to filters (#33557)
AhtishamShahid Oct 23, 2023
7770e51
Merge pull request #33550 from openedx/ashultz0/rename_second_update_…
ashultz0 Oct 23, 2023
b917e62
fix: Use Open edX as a noun on the default Open edX homepage
sarina Oct 19, 2023
08d6607
feat: Add url that exposes taxonomy tags CRUD API (#33525)
yusuf-musleh Oct 23, 2023
98fe27f
Merge pull request #33547 from openedx/sarina/itworks
sarina Oct 23, 2023
8d7e451
Merge remote-tracking branch 'upstream/master' into salman/remove-bok…
salman2013 Oct 24, 2023
e2560e1
chore: fix tests
salman2013 Oct 24, 2023
07ae24a
feat: added sender_id to notification generated events (#33544)
muhammadadeeltajamul Oct 24, 2023
5009d05
chore: added debug logs to notifications filters (#33568)
AhtishamShahid Oct 24, 2023
ca2f24a
feat: Upgrade Python dependency edx-enterprise
justEhmadSaeed Oct 24, 2023
c41db87
Merge pull request #33570 from openedx/justEhmadSaeed/upgrade-edx-ent…
justEhmadSaeed Oct 24, 2023
b0a004d
docs: add pytest django setting specification to docs (#33564)
connorhaugh Oct 24, 2023
d18bf2c
chore: Update actions/upload-artifact from v2 to v3 (#33580)
timmc-edx Oct 24, 2023
5b46937
chore: update connect_timeout for memcache server (#33594)
mumarkhan999 Oct 25, 2023
086834a
docs: design for atlas pull for the edx-platform and its plugins (#33…
OmarIthawi Oct 25, 2023
e2095bd
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Oct 25, 2023
d14d9ea
Merge pull request #33595 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Oct 25, 2023
216f8df
feat: Migrations for badges deletion
thezaeemaanwar Oct 24, 2023
e024d2b
chore: geoip2: update maxmind geolite country database
Oct 25, 2023
808390a
fix: sender list was empty in notification generated event (#33590)
muhammadadeeltajamul Oct 26, 2023
942e713
chore: resolve conflicts
salman2013 Oct 26, 2023
3bda3be
feat: Add display_name filtering in GET assets/:course
mavidser Oct 15, 2023
fadc961
docs: fix old course_id arg description to modern(2015) usage
ashultz0 Oct 17, 2023
2fde582
docs: remove TODO which asks a question where the answer is no
ashultz0 Oct 17, 2023
ad90c05
fix: remove unused and untested function
ashultz0 Oct 17, 2023
35eb8c6
Merge pull request #33551 from openedx/ashultz0/course_enrollment_clean
ashultz0 Oct 26, 2023
e5b7e3e
build: nudge devs about Quince release in github
cmltaWt0 Oct 11, 2023
f71e650
chore: update bok-choy hostname and revert the old logic to chose bro…
salman2013 Oct 27, 2023
3c50f3e
fix: update CourseOverviewTab while changing discussions settings (#3…
AhtishamShahid Oct 27, 2023
8cfd04f
feat: add drf for studio video page (#33528)
KristinAoki Oct 27, 2023
e6e124b
chore: tagging - version bump to latest openedx-learning (#33553)
bradenmacdonald Oct 27, 2023
ba1f382
feat: Add scope user_id to JWT payload (#33455)
moeez96 Oct 30, 2023
de935e1
chore: update variable for frontend test server hostname
salman2013 Oct 30, 2023
99b6f6b
chore: geoip2: update maxmind geolite country database
Oct 30, 2023
9e65024
feat: emit signal for thread, response, and comment created events (#…
Ian2012 Oct 30, 2023
9649e55
fix: Absent message after submiting "Generate Exception Certificates"…
Lunyachek Mar 11, 2023
a978452
chore: update lms,cms port variable names
salman2013 Oct 31, 2023
3003abb
Merge pull request #33350 from salman2013/salman/remove-bok-choy
Oct 31, 2023
0632041
docs: Update the security e-mail address.
feanil Oct 23, 2023
eec67f4
test: modify dockerfile to test environment variables (#33629)
alangsto Oct 31, 2023
083ccbf
Revert "chore: remove bok-choy settings"
robrap Oct 31, 2023
2f49af3
Merge pull request #33630 from openedx/revert-33350-salman/remove-bok…
robrap Oct 31, 2023
66c5be8
chore: ignore default_app_config warning
DanielVZ96 Oct 25, 2023
d2f427a
chore: ignore HTTPResponse.getheaders() deprecation warning
DanielVZ96 Oct 25, 2023
ef0a9c0
chore: ignore import ABCs from 'collections' warning
DanielVZ96 Oct 25, 2023
72be481
chore: replace newrelic add_custom_parameter deprecated method
DanielVZ96 Oct 25, 2023
115c65a
fix: flags not at the start of the expression
DanielVZ96 Oct 25, 2023
9752da2
chore: ignore warning from pkg_resources.declare_namespace
DanielVZ96 Oct 25, 2023
398c84e
chore: ignore 'etree' is deprecated
DanielVZ96 Nov 1, 2023
44b62ca
fix: notification audience was not filtering users with no preference…
muhammadadeeltajamul Nov 1, 2023
4f1503f
Merge branch 'master' into dvz/clean-warnings
Mashal-m Nov 1, 2023
55442ec
feat: add enterprise customer related setting
muhammad-ammar Nov 1, 2023
0301bda
Merge pull request #33635 from openedx/ammar/add-vsf-enterprise-uuid-…
muhammad-ammar Nov 1, 2023
fa14382
feat: Upgrade Python dependency openedx-events (#33637)
github-actions[bot] Nov 1, 2023
b9ee4a9
test: remove echoes in dockerfile (#33639)
alangsto Nov 1, 2023
7af2b1d
feat!: Add JwtAuthentication as a default DRF auth class.
feanil Jul 20, 2023
ac2cc15
test: Update tests to the new return code.
feanil Jul 26, 2023
763b102
fix: [AXIM-50] Fix count items in pagination
Sep 12, 2023
258f3fc
fix: [FC-0031] Add limit the number of returned results for mobile_se…
KyryloKireiev Nov 1, 2023
66e9879
Revert "Revert "chore: remove bok-choy settings""
feanil Nov 1, 2023
825503a
fix: Remove call to print_devstack_warnings
feanil Nov 1, 2023
212b8fc
chore: Update edx-enterprise to 4.6.10
macdiesel Nov 1, 2023
d604ce6
Merge branch 'master' into bbeggs/version_enterrpise
macdiesel Nov 1, 2023
be4aa3f
Merge pull request #33638 from openedx/bbeggs/version_enterrpise
macdiesel Nov 1, 2023
4860ef8
chore: geoip2: update maxmind geolite country database
Nov 1, 2023
f16414e
Merge pull request #33641 from openedx/revert-33630-revert-33350-salm…
Nov 2, 2023
9ba9935
Merge pull request #32802 from openedx/feanil/default_drf_auth_class
Nov 2, 2023
ddabba4
feat: remove manual sends of events (#33642)
Nov 3, 2023
5d6e925
feat: TNL-11173 Authoring API is v0 for now (#33644)
bszabo Nov 3, 2023
2cf4d73
Merge pull request #33601 from DanielVZ96/dvz/clean-warnings
Agrendalath Nov 6, 2023
e51c01b
feat: add support for user feedback on autogenerated transcripts (#33…
Rodra Nov 6, 2023
5d25733
feat: Upgrade Python dependency edx-enterprise
alex-sheehan-edx Nov 6, 2023
89c8f21
Merge pull request #33657 from openedx/alex-sheehan-edx/upgrade-edx-e…
alex-sheehan-edx Nov 6, 2023
edcadc9
feat: Upgrade Python dependency edx-enterprise
hamzawaleed01 Nov 6, 2023
2918605
Merge branch 'master' into hamzawaleed01/upgrade-edx-enterprise-e51c01b
hamzawaleed01 Nov 6, 2023
0c87bc3
feat: Upgrade Python dependency edx-drf-extensions
robrap Nov 6, 2023
e0f6cba
Merge pull request #33659 from openedx/hamzawaleed01/upgrade-edx-ente…
hamzawaleed01 Nov 6, 2023
cc8ee59
Merge branch 'master' into robrap/upgrade-edx-drf-extensions-89c8f21
robrap Nov 6, 2023
4f4e6dc
Merge pull request #33660 from openedx/robrap/upgrade-edx-drf-extensi…
robrap Nov 6, 2023
32bb4c5
chore: update openedx-learning, new object tags API format (unstable)…
bradenmacdonald Nov 6, 2023
a4b5931
fix: practice exams assigned to wrong type (#33661)
Zacharis278 Nov 6, 2023
bee0a98
feat: added new thread notifications behind new course wide waffle fl…
muhammadadeeltajamul Nov 7, 2023
4b4e370
feat: add update taxonomy orgs REST API (#33611)
rpenido Nov 7, 2023
3bcc1f8
chore: bump ORA version (#33674)
nsprenkle Nov 7, 2023
8d3a77a
Revert "feat: Upgrade Python dependency edx-drf-extensions"
robrap Nov 8, 2023
8b1da4d
temp: add constraint to edx-drf-extensions 8.12.0
robrap Nov 8, 2023
4963963
Merge pull request #33682 from openedx/revert-33660-robrap/upgrade-ed…
robrap Nov 8, 2023
6cc9313
Merge pull request #33683 from openedx/robrap/add-edx-drf-extensions-…
robrap Nov 8, 2023
e311ef5
feat: Studio menu/button to display Unit's Tags (feature flagged) (#3…
yusuf-musleh Nov 8, 2023
115833c
chore: geoip2: update maxmind geolite country database
Nov 8, 2023
10805a6
feat: remove old proctoring settings url (#33679)
Zacharis278 Nov 9, 2023
d32def9
Merge pull request #33576 from thezaeemaanwar/badges_deletion_migrations
Nov 9, 2023
f494586
feat: Add toggle to allow redirecting to courseware after enrollment.
xitij2000 Feb 6, 2023
dea15c2
fix: hide instructor tab when masquerading as user role with no masqu…
ArturGaspar Nov 8, 2023
c4598c5
Merge pull request #33293 from raccoongang/rg/fix/FC0031/fix_count_it…
Nov 9, 2023
cca1e9e
fix: video drf 500 error (#33658)
KristinAoki Nov 9, 2023
dad31a3
fix: allows taxonomy list to "filter by org" even if org does not exi…
pomegranited Nov 9, 2023
893157d
docs: edx-enterprise-4.7.0 for enterprise api-docs
iloveagent57 Nov 9, 2023
e46c1d1
Python Requirements Update (#33695)
edx-requirements-bot Nov 13, 2023
7050eca
fix: Replaced whitelist_externals with allowlist_externals in tox and…
edx-requirements-bot Nov 13, 2023
5b2f012
feat: link LTI Provider launches to authenticated users
tecoholic Nov 13, 2023
55ee254
feat: Create video_config.xpert_translations_ui Course Waffleflag (#3…
Rodra Nov 14, 2023
aeaa1f8
feat: if course is specified, do not build the course limiting filters
ashultz0 Nov 14, 2023
e59a1dc
Merge pull request #33710 from openedx/ashultz0/simple-course-filter
ashultz0 Nov 14, 2023
ed56222
feat: Upgrade Python dependency ora2 (#33709)
github-actions[bot] Nov 14, 2023
3c40052
Merge pull request #31668 from raccoongang/lunyachek/fix/absent-notif…
jsnwesson Nov 14, 2023
034d632
feat: add import taxonomy endpoint to content_tagging (#33663)
rpenido Nov 14, 2023
ba3fc37
[AutoDeploy][Infrastructure] cluster setup
RafayGhafoor Nov 14, 2023
13a14e0
[AutoDeploy][Create] rafay|1"
RafayGhafoor Nov 14, 2023
c01d5af
[AutoDeploy][Create] rafay|1"
RafayGhafoor Nov 14, 2023
39a62de
[AutoDeploy][Create] rafay|1"
RafayGhafoor Nov 14, 2023
0b382c5
[AutoDeploy][Create] rafay|1"
RafayGhafoor Nov 15, 2023
19551fd
[AutoDeploy][Create] rafay|1"
RafayGhafoor Nov 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ test_root/paver_logs/
test_root/uploads/
**/django-pyfs
**/.tox/
common/test/db_cache/bok_choy_*.yaml
common/test/data/badges/*.png

### Installation artifacts
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/unit-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:

- name: save pytest warnings json file
if: success()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pytest-warnings-json
path: |
Expand Down
13 changes: 8 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<!--

🌴🌴
🌴🌴🌴🌴 🌴 Note: Palm is in support. Fixes you make on master may still be needed on Palm.
🌴🌴🌴🌴 If so, make another pull request against the open-release/palm.master branch,
🌴🌴🌴🌴 or ask in the #wg-build-test-release Slack channel if you have any questions or need help.
🌴🌴
🌳🌳
🌳🌳🌳🌳 🌳 Note: Quince is in support. Fixes you make on master may still be needed on Quince.
🌳🌳🌳🌳 If so, make another pull request against the open-release/quince.master branch,
🌳🌳🌳🌳 or ask in the #wg-build-test-release Slack channel if you have any questions or need help.
🌳🌳

🌴🌴🌴🌴🌴🌴 🌴 Note: the Palm release is still supported.
Please consider whether your change should be applied to Palm as well.

Please give your pull request a short but descriptive title.
Use conventional commits to separate and summarize commits logically:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: git fetch --depth=1 origin master

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/publish-ci-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

# This has to happen after checkout in order for gh to work.
- name: "Cancel scheduled job on forks"
if: github.repository != 'openedx/edx-platform' && github.event_name == 'schedule'
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
gh run cancel "${{ github.run_id }}"
gh run watch "${{ github.run_id }}"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v3
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.TOOLS_EDX_ECR_USER_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.TOOLS_EDX_ECR_USER_AWS_SECRET_ACCESS_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/quality-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static-assets-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
sudo apt-get install libxmlsec1-dev pkg-config

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

Expand Down Expand Up @@ -64,8 +64,8 @@ jobs:

- name: Run Static Assets Check
env:
LMS_CFG: lms/envs/bok_choy.yml
CMS_CFG: cms/envs/bok_choy.yml
LMS_CFG: lms/envs/minimal.yml
CMS_CFG: lms/envs/minimal.yml

run: |
paver update_assets lms
Expand Down
21 changes: 13 additions & 8 deletions .github/workflows/unit-test-shards.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"lms-1": {
"settings": "lms.envs.test",
"paths": [
"lms/djangoapps/badges/",
"lms/djangoapps/branding/",
"lms/djangoapps/bulk_email/",
"lms/djangoapps/bulk_enroll/",
Expand Down Expand Up @@ -78,7 +77,7 @@
"lms/tests.py"
]
},
"openedx-1": {
"openedx-1-with-lms": {
"settings": "lms.envs.test",
"paths": [
"openedx/core/djangoapps/ace_common/",
Expand Down Expand Up @@ -116,7 +115,7 @@
"openedx/core/djangoapps/external_user_ids/"
]
},
"openedx-2": {
"openedx-2-with-lms": {
"settings": "lms.envs.test",
"paths": [
"openedx/core/djangoapps/geoinfo/",
Expand Down Expand Up @@ -159,7 +158,7 @@
"openedx/tests/"
]
},
"openedx-3": {
"openedx-1-with-cms": {
"settings": "cms.envs.test",
"paths": [
"openedx/core/djangoapps/ace_common/",
Expand Down Expand Up @@ -197,7 +196,7 @@
"openedx/core/djangoapps/external_user_ids/"
]
},
"openedx-4": {
"openedx-2-with-cms": {
"settings": "cms.envs.test",
"paths": [
"openedx/core/djangoapps/content_tagging/",
Expand Down Expand Up @@ -258,22 +257,28 @@
"cms/djangoapps/contentstore/"
]
},
"common-1": {
"common-with-lms": {
"settings": "lms.envs.test",
"paths": [
"common/djangoapps/"
]
},
"common-2": {
"common-with-cms": {
"settings": "cms.envs.test",
"paths": [
"common/djangoapps/"
]
},
"xmodule-1": {
"xmodule-with-lms": {
"settings": "lms.envs.test",
"paths": [
"xmodule/"
]
},
"xmodule-with-cms": {
"settings": "cms.envs.test",
"paths": [
"xmodule/"
]
}
}
15 changes: 8 additions & 7 deletions .github/workflows/unit-tests-gh-hosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ jobs:
- "lms-4"
- "lms-5"
- "lms-6"
- "openedx-1"
- "openedx-2"
- "openedx-3"
- "openedx-4"
- "openedx-1-with-lms"
- "openedx-2-with-lms"
- "openedx-1-with-cms"
- "openedx-2-with-cms"
- "cms-1"
- "cms-2"
- "common-1"
- "common-2"
- "xmodule-1"
- "common-with-lms"
- "common-with-cms"
- "xmodule-with-lms"
- "xmodule-with-cms"
name: gh-hosted-python-${{ matrix.python-version }},django-${{ matrix.django-version }},${{ matrix.shard_name }}
steps:
- uses: actions/checkout@v2
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@ jobs:
- "lms-4"
- "lms-5"
- "lms-6"
- "openedx-1"
- "openedx-2"
- "openedx-3"
- "openedx-4"
- "openedx-1-with-lms"
- "openedx-2-with-lms"
- "openedx-1-with-cms"
- "openedx-2-with-cms"
- "cms-1"
- "cms-2"
- "common-1"
- "common-2"
- "xmodule-1"
- "common-with-lms"
- "common-with-cms"
- "xmodule-with-lms"
- "xmodule-with-cms"
# We expect Django 4.0 to fail, so don't stop when it fails.
continue-on-error: ${{ matrix.django-version == '4.0' }}

Expand Down Expand Up @@ -101,7 +102,7 @@ jobs:
run: sudo chown runner:runner -R .*
- uses: actions/checkout@v3
- name: collect pytest warnings files
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: pytest-warnings-json
path: test_root/log
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ test_root/paver_logs/
test_root/uploads/
django-pyfs
.tox/
common/test/db_cache/bok_choy_*.yaml
common/test/data/badges/*.png

### Installation artifacts
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,11 @@ FROM base as production
USER app

ENV EDX_PLATFORM_SETTINGS='docker-production'
ENV SERVICE_VARIANT "${SERVICE_VARIANT}"
ENV SERVICE_PORT "${SERVICE_PORT}"
ENV SERVICE_VARIANT="${SERVICE_VARIANT}"
ENV SERVICE_PORT="${SERVICE_PORT}"
ENV DJANGO_SETTINGS_MODULE="${SERVICE_VARIANT}.envs.$EDX_PLATFORM_SETTINGS"
EXPOSE ${SERVICE_PORT}

CMD gunicorn \
-c /edx/app/edxapp/edx-platform/${SERVICE_VARIANT}/docker_${SERVICE_VARIANT}_gunicorn.py \
--name ${SERVICE_VARIANT} \
Expand Down Expand Up @@ -187,6 +188,6 @@ RUN ln -s "$(pwd)/cms/envs/devstack-experimental.yml" "/edx/etc/studio.yml"
RUN touch ../edxapp_env

ENV EDX_PLATFORM_SETTINGS='devstack_docker'
ENV SERVICE_VARIANT "${SERVICE_VARIANT}"
ENV SERVICE_VARIANT="${SERVICE_VARIANT}"
EXPOSE ${SERVICE_PORT}
CMD ./manage.py ${SERVICE_VARIANT} runserver 0.0.0.0:${SERVICE_PORT}
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Reporting Security Issues
*************************

Please do not report security issues in public. Please email
security@edx.org.
security@openedx.org.

.. _individual contributor agreement: https://openedx.org/cla
.. _CONTRIBUTING: https://github.com/openedx/.github/blob/master/CONTRIBUTING.md
Expand Down
1 change: 1 addition & 0 deletions b
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ttttests
31 changes: 30 additions & 1 deletion cms/djangoapps/contentstore/asset_storage_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
'direction': '',
'asset_type': '',
'text_search': '',
'display_name': '',
}


Expand All @@ -61,7 +62,9 @@ def handle_assets(request, course_key_string=None, asset_key_string=None):
sort: the asset field to sort by (defaults to 'date_added')
direction: the sort direction (defaults to 'descending')
asset_type: the file type to filter items to (defaults to All)
text_search: string to filter results by file name (defaults to '')
text_search: string to perform a search on filenames (defaults to '')
display_name: string to filter results by exact display name (defaults to '').
Use the display_name parameter multiple times to filter by multiple filenames.
POST
json: create or update an asset. The only updating that can be done is changing the lock state.
PUT
Expand Down Expand Up @@ -172,6 +175,9 @@ def _assets_json(request, course_key):

filter_parameters.update(_get_content_type_filter_for_mongo(request_options['requested_asset_type']))

if request_options['requested_display_names']:
filter_parameters.update(_get_displayname_filter_for_mongo(request_options['requested_display_names']))

if request_options['requested_text_search']:
filter_parameters.update(_get_displayname_search_filter_for_mongo(request_options['requested_text_search']))

Expand Down Expand Up @@ -223,13 +229,18 @@ def _parse_request_to_dictionary(request):
'requested_sort_direction': _get_requested_attribute(request, 'direction'),
'requested_asset_type': _get_requested_attribute(request, 'asset_type'),
'requested_text_search': _get_requested_attribute(request, 'text_search'),
'requested_display_names': _get_requested_attribute_list(request, 'display_name'),
}


def _get_requested_attribute(request, attribute):
return request.GET.get(attribute, REQUEST_DEFAULTS.get(attribute))


def _get_requested_attribute_list(request, attribute):
return request.GET.getlist(attribute, REQUEST_DEFAULTS.get(attribute))


def _get_error_if_invalid_parameters(requested_filter):
"""Function for returning error messages on filters"""
requested_file_types = _get_requested_file_types_from_requested_filter(requested_filter)
Expand Down Expand Up @@ -303,6 +314,24 @@ def _get_mongo_expression_for_type_filter(requested_file_types):
}


def _get_displayname_filter_for_mongo(displaynames):
"""
Construct and return pymongo query dict, filtering for the given list of displaynames.
"""
filters = []

for displayname in displaynames:
filters.append({
'displayname': {
'$eq': displayname,
},
})

return {
'$or': filters,
}


def _get_displayname_search_filter_for_mongo(text_search):
"""
Return a pymongo query dict for the given search string, using case insensitivity.
Expand Down
2 changes: 1 addition & 1 deletion cms/djangoapps/contentstore/exams.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def get_exam_type(is_proctored, is_practice, is_onboarding):
if is_onboarding:
exam_type = 'onboarding'
elif is_practice:
exam_type = 'practice_proctored'
exam_type = 'practice'
else:
exam_type = 'proctored'
else:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ def add_arguments(self, parser):
def replace_all_library_source_blocks_ids(self, v1_to_v2_lib_map):
"""A method to replace 'source_library_id' in all relevant blocks."""

course_id_strings = CourseOverview.get_all_course_keys()
course_id_strings = list(CourseOverview.get_all_course_keys())

# Following is used for debugging and should be removed
for course_id_string in course_id_strings:
log.info(course_id_string)

# Use Celery to distribute the workload
tasks = group(
Expand All @@ -57,7 +61,7 @@ def replace_all_library_source_blocks_ids(self, v1_to_v2_lib_map):

def validate(self, v1_to_v2_lib_map):
""" Validate that replace_all_library_source_blocks_ids was successful"""
course_id_strings = CourseOverview.get_all_course_keys()
course_id_strings = list(CourseOverview.get_all_course_keys())
tasks = group(validate_all_library_source_blocks_ids_for_course.s(course_id, v1_to_v2_lib_map) for course_id in course_id_strings) # lint-amnesty, pylint: disable=line-too-long
results = tasks.apply_async()

Expand All @@ -79,7 +83,7 @@ def validate(self, v1_to_v2_lib_map):

def undo(self, v1_to_v2_lib_map):
""" undo the changes made by replace_all_library_source_blocks_ids"""
course_id_strings = CourseOverview.get_all_course_keys()
course_id_strings = list(CourseOverview.get_all_course_keys())

# Use Celery to distribute the workload
tasks = group(
Expand Down
4 changes: 4 additions & 0 deletions cms/djangoapps/contentstore/rest_api/serializers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""
Serializers for all contentstore API versions
"""
from .common import StrictSerializer
12 changes: 12 additions & 0 deletions cms/djangoapps/contentstore/rest_api/v0/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""
Views for v0 contentstore API.
"""

from cms.djangoapps.contentstore.rest_api.v0.views.assets import (
AssetsCreateRetrieveView,
AssetsUpdateDestroyView
)
from cms.djangoapps.contentstore.rest_api.v0.views.xblock import (
XblockView,
XblockCreateView
)
Loading
Loading