Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
286 commits
Select commit Hold shift + click to select a range
79c16a0
feat: add delete_object_tags function to oel_tagging api (#71)
rpenido Aug 18, 2023
593d63c
feat: Implement ObjectTag retrieve REST API (#68)
yusuf-musleh Aug 18, 2023
01185f3
feat: enforce quality checks and type hints, improve quality and typi…
bradenmacdonald Aug 24, 2023
f73adef
docs: remove a comment copy-pasta
bradenmacdonald Aug 24, 2023
4fca1ee
fix: readthedocs file renamed
zubairshakoorarbisoft Sep 1, 2023
8f39d07
feat: add tag_object rest api (#74)
rpenido Sep 1, 2023
6335f65
chore: created python-upgrade-requirements workflow and tag aximprove…
thezaeemaanwar Sep 5, 2023
c8bcaf5
Merge pull request #77 from zubairshakoorarbisoft/zshkoor/readthedocs
farhan Sep 7, 2023
ea311e1
docs: ADR for pagination and repr of single taxonomy view api (#72)
ChrisChV Sep 12, 2023
69519f4
feat: Single taxonomy view API for tags (#78)
ChrisChV Sep 20, 2023
681c1a0
feat: Enforce limit on number of tags per object (#81)
rpenido Sep 25, 2023
0c4ca76
feat: make object_id field case insensitive (#86)
rpenido Sep 28, 2023
5de0969
feat: Simplify Tag Models [FC-0030] (#87)
bradenmacdonald Oct 3, 2023
a1cc499
chore: Updating Python Requirements
edx-requirements-bot Sep 25, 2023
8954d07
fix: Fix test cases
farhan Oct 4, 2023
be9033a
Merge pull request #83 from openedx/jenkins/upgrade-python-requiremen…
farhan Oct 4, 2023
44f4fbe
chore: Python Requirements Update
farhan Oct 4, 2023
2439f64
Merge pull request #88 from openedx/jenkins/upgrade-python-requiremen…
farhan Oct 4, 2023
909e3f8
feat: Remove Taxonomy.required, make allow_multiple True by default […
bradenmacdonald Oct 6, 2023
334c115
chore: Updating Python Requirements
edx-requirements-bot Oct 9, 2023
0934450
Adds missing __init__.py files [FC-0030] (#90)
pomegranited Oct 9, 2023
b2767fa
Taxonomy import templates [FC-0036] (#89)
pomegranited Oct 9, 2023
ce85d72
Merge pull request #93 from openedx/jenkins/upgrade-python-requiremen…
farhan Oct 9, 2023
8ba0043
chore: Squash Tagging Migrations (#95)
bradenmacdonald Oct 10, 2023
d66d629
feat: Authentication classes added to tagging API views (#98)
ChrisChV Oct 13, 2023
1304904
feat: add export taxonomy rest api (#97)
rpenido Oct 13, 2023
ca6bc85
chore: version bump to 0.2.4
bradenmacdonald Oct 13, 2023
1bb59a4
chore: Updating Python Requirements
edx-requirements-bot Oct 16, 2023
38da66b
feat: add "can view object tags" permissions (#94)
rpenido Oct 16, 2023
9a63ca6
Merge pull request #100 from openedx/jenkins/upgrade-python-requireme…
farhan Oct 19, 2023
1081ea7
feat: CRUD API for Taxonomy Tags [FC-0036] (#96)
yusuf-musleh Oct 22, 2023
9b5635d
chore: Updating Python Requirements
edx-requirements-bot Oct 23, 2023
8909421
fix: fix quality error, add type annotation
farhan Oct 23, 2023
e3be15c
Merge pull request #103 from openedx/jenkins/upgrade-python-requireme…
farhan Oct 23, 2023
d59056f
docs: Update the security e-mail address.
feanil Oct 23, 2023
be5d527
fix: add `lookup_value_regex` for taxonomy rest api (#101)
rpenido Oct 23, 2023
a8337dd
feat!: Tagging: More powerful, flexible implementation of get_filtere…
bradenmacdonald Oct 26, 2023
9b264bb
fix: allow LearningPackages with content to be deleted
ormsbee Oct 17, 2023
52b32f0
feat: admin helper for finding third-party 1:1 models
ormsbee Oct 23, 2023
21be1ee
feat: added get/set_draft_version to publishing API
ormsbee Oct 23, 2023
6ac624e
chore: linting fixes
ormsbee Oct 23, 2023
13b9909
chore: bump version to 0.3.1
ormsbee Oct 27, 2023
0d533b8
Merge pull request #105 from ormsbee/libraries-v2
ormsbee Oct 27, 2023
fcc57cd
fix: allow export of system defined and open taxonomies (#107)
rpenido Oct 27, 2023
7e2d663
chore: Updating Python Requirements
edx-requirements-bot Oct 30, 2023
b88d8f9
Merge pull request #109 from openedx/jenkins/upgrade-python-requireme…
farhan Oct 30, 2023
51e2724
Merge pull request #104 from openedx/feanil/update_security_emails
Oct 31, 2023
a248f35
feat!: Improve the "get object tags" API (an unstable REST API) (#111)
bradenmacdonald Nov 2, 2023
2a376be
chore: Updating Python Requirements
edx-requirements-bot Nov 6, 2023
7afd44d
Merge pull request #113 from openedx/jenkins/upgrade-python-requireme…
farhan Nov 6, 2023
531838b
Minor fixes for tagging django admin [FC-0036] (#114)
bradenmacdonald Nov 10, 2023
579790d
feat: add import taxonomy endpoint (#112)
rpenido Nov 10, 2023
e9a2ff5
feat: Make get_object_tag_counts available as a python API
bradenmacdonald Nov 9, 2023
b42dfab
feat: APIs should not return deleted/disabled tags by default
bradenmacdonald Nov 9, 2023
9c19cf3
chore: Version bump
bradenmacdonald Nov 13, 2023
bd7d207
feat: add tox 4.0 support
UsamaSadiq Nov 15, 2023
4007f71
Merge pull request #116 from UsamaSadiq/add-tox4-support
farhan Nov 16, 2023
3e82051
fix: Enable common constraints
farhan Nov 17, 2023
2a983c0
Merge pull request #117 from openedx/farhan/enable-common-constraints
farhan Nov 17, 2023
ab5df6a
chore: Updating Python Requirements
edx-requirements-bot Nov 20, 2023
75b335d
Merge pull request #120 from openedx/jenkins/upgrade-python-requireme…
farhan Nov 20, 2023
3ae1c01
fix: overwrite previous tags on import (#121)
rpenido Nov 21, 2023
30260cb
fix: type hints and error where TypeError during import broke imports…
bradenmacdonald Nov 21, 2023
b98f091
fix: Fix bugs in the "get tags" REST API, make it more consistent (#119)
bradenmacdonald Nov 23, 2023
9fc1b88
chore: Updating Python Requirements
edx-requirements-bot Nov 27, 2023
75895cf
Merge pull request #124 from openedx/jenkins/upgrade-python-requireme…
farhan Nov 27, 2023
06f4f54
feat: Add tags count to taxonomy serializer (#125)
ChrisChV Nov 30, 2023
57ecde0
chore: Updating Python Requirements
edx-requirements-bot Dec 4, 2023
dc3060e
fix: taxonomy import: skip parent update from deleted tags (#126)
rpenido Dec 4, 2023
66f4fa2
docs: ADR for serving static assets (#110)
ormsbee Dec 4, 2023
ad71bfa
Merge pull request #127 from openedx/jenkins/upgrade-python-requireme…
farhan Dec 5, 2023
b629e49
feat: convert mime_type field to its own model. (#129)
ormsbee Dec 5, 2023
ec6a72c
chore: Updating Python Requirements
edx-requirements-bot Dec 11, 2023
3e2d6a4
Merge pull request #132 from openedx/jenkins/upgrade-python-requireme…
salman2013 Dec 11, 2023
1d9c459
feat: API to get taxonomy import plan without running the import (#130)
rpenido Dec 19, 2023
0f90a7f
feat: Count implicit tags (#133)
bradenmacdonald Dec 21, 2023
db2d06c
chore: Updating Python Requirements
edx-requirements-bot Jan 1, 2024
b0563b5
Merge pull request #137 from openedx/jenkins/upgrade-python-requireme…
farhan Jan 2, 2024
bfa46c3
chore: Updating Python Requirements
edx-requirements-bot Jan 8, 2024
47a8c79
chore: version bump (#140)
bradenmacdonald Jan 8, 2024
7072032
Merge pull request #139 from openedx/jenkins/upgrade-python-requireme…
salman2013 Jan 9, 2024
8e7af54
fix: allow importing a tags with the same value with replace=True (#141)
rpenido Jan 10, 2024
3f990b8
fix: Issue when delete all tags on import (#135)
ChrisChV Jan 12, 2024
40c8105
chore: Updating Python Requirements
edx-requirements-bot Jan 15, 2024
e94dcf7
Merge pull request #142 from openedx/jenkins/upgrade-python-requireme…
farhan Jan 15, 2024
e029166
chore: Updating Python Requirements
edx-requirements-bot Jan 22, 2024
946336e
Merge pull request #144 from openedx/jenkins/upgrade-python-requireme…
salman2013 Jan 23, 2024
2508f13
Tagging: serialize object permissions to REST API [FC-0036] (#138)
pomegranited Jan 24, 2024
3e57d96
chore: Updating Python Requirements
edx-requirements-bot Jan 29, 2024
61a5902
Merge pull request #146 from openedx/jenkins/upgrade-python-requireme…
farhan Jan 29, 2024
2ec2918
feat: add features to support new content libraries
ormsbee Jan 8, 2024
8d03e22
refactor: normalize component types with ComponentType (#148)
ormsbee Feb 1, 2024
a655224
feat: Add export_id field on Taxonomy (#145)
ChrisChV Feb 1, 2024
68b885c
chore: bumps version to 0.5.1 (#150)
pomegranited Feb 1, 2024
7066807
chore: Updating Python Requirements
edx-requirements-bot Feb 5, 2024
3355189
Merge pull request #151 from openedx/jenkins/upgrade-python-requireme…
salman2013 Feb 6, 2024
c827081
feat: Add total descendant count to tag list APIs (#156)
bradenmacdonald Feb 8, 2024
b386858
refactor: combine RawContent and TextContent into Content (#149)
ormsbee Feb 9, 2024
a1cb458
chore: Updating Python Requirements
edx-requirements-bot Feb 12, 2024
af77fd2
Merge pull request #159 from openedx/jenkins/upgrade-python-requireme…
salman2013 Feb 12, 2024
e4646bc
refactor: rename fields from "key" to "_key"
ormsbee Feb 14, 2024
a5b30e7
fix: map PublishableEntity keys to library conventions
ormsbee Feb 14, 2024
dbc11b5
chore: bump version to 0.6.1
ormsbee Feb 14, 2024
f3779de
Reduce the number of queries used in tagging API [FC-00036] (#157)
pomegranited Feb 15, 2024
8f20b05
chore: Updating Python Requirements
edx-requirements-bot Feb 19, 2024
245a989
Merge pull request #162 from openedx/jenkins/upgrade-python-requireme…
farhan Feb 19, 2024
bbedb53
refactor: tag_object param order (#165)
rpenido Feb 23, 2024
2ab478b
chore: Updating Python Requirements
edx-requirements-bot Feb 26, 2024
6f22be4
Merge pull request #166 from openedx/jenkins/upgrade-python-requireme…
farhan Feb 26, 2024
112855f
feat: add get_taxonomy_by_export_id method [FC-0049] (#164)
rpenido Feb 28, 2024
2efbe25
chore: Updating Python Requirements
edx-requirements-bot Mar 4, 2024
d0a6292
Merge pull request #169 from openedx/jenkins/upgrade-python-requireme…
farhan Mar 4, 2024
809b65c
Running tests using python 3.12 (#163)
salman2013 Mar 4, 2024
7fcdb4c
chore: Updating Python Requirements (#170)
edx-requirements-bot Mar 12, 2024
e37f36d
Python Requirements Update (#173)
edx-requirements-bot Mar 26, 2024
a800b68
feat: features to enable import/export courses (#172)
ChrisChV Mar 28, 2024
5b8aa51
chore: Updating Python Requirements
edx-requirements-bot Apr 1, 2024
ada398c
chore: Keep djangorestframework version to 3.14.0
farhan Apr 1, 2024
0d9f77f
Merge pull request #177 from openedx/jenkins/upgrade-python-requireme…
farhan Apr 1, 2024
ebd23b0
chore: Add python 3.11 support (#176)
salman2013 Apr 2, 2024
a71b5ba
chore: Upgrade python requirements
farhan Apr 3, 2024
2ba5cf4
chore: update package version (#178)
salman2013 Apr 4, 2024
0fc4faa
fix: fix test case related to TagImportTaskState enum
farhan Apr 4, 2024
6ca042e
fix: fix things
farhan Apr 4, 2024
1333cf6
chore: Add migration
farhan Apr 5, 2024
29f011c
Merge pull request #175 from openedx/farhan/upgrade-drf
Apr 5, 2024
9a346e1
chore: Updating Python Requirements
edx-requirements-bot Apr 8, 2024
f8f9ff9
Merge pull request #179 from openedx/jenkins/upgrade-python-requireme…
farhan Apr 8, 2024
985334d
chore: Updating Python Requirements
edx-requirements-bot Apr 15, 2024
e50cb4c
Merge pull request #181 from openedx/jenkins/upgrade-python-requireme…
farhan Apr 15, 2024
797618d
feat: Update ObjectTagView (#180)
ChrisChV Apr 15, 2024
4305c29
feat: Auto generate taxonomy export ID if not provided (#182)
yusuf-musleh Apr 18, 2024
7d98219
chore: Updating Python Requirements
edx-requirements-bot Apr 22, 2024
505e2b9
Merge pull request #183 from openedx/jenkins/upgrade-python-requireme…
farhan Apr 22, 2024
be4b8e3
chore: Updating Python Requirements (#185)
edx-requirements-bot Apr 29, 2024
885ec68
chore: Updating Python Requirements
edx-requirements-bot May 6, 2024
f14b4df
Merge pull request #187 from openedx/jenkins/upgrade-python-requireme…
farhan May 6, 2024
b04edcb
docs: add ADR for public Python API conventions
ormsbee May 6, 2024
0f8cf60
feat: Update permissions to remove object tags (#188)
ChrisChV May 8, 2024
ec7ecbf
chore: Updating Python Requirements
edx-requirements-bot May 13, 2024
8ad5329
Merge pull request #190 from openedx/jenkins/upgrade-python-requireme…
farhan May 13, 2024
d229afb
fix: Issues when importing a large taxonomy (#189)
ChrisChV May 17, 2024
642fcc9
chore: Updating Python Requirements
edx-requirements-bot May 20, 2024
8fe7b9c
Merge pull request #191 from openedx/jenkins/upgrade-python-requireme…
farhan May 20, 2024
3fb81e3
refactor!: move openedx_learning.core -> openedx_learning.apps.authoring
ormsbee Apr 23, 2024
96ea4b9
fix: address doc8 lint errors in ADRs
ormsbee May 21, 2024
c7ffd19
chore: version bump to 0.10.0
ormsbee May 17, 2024
3ac2881
chore: Updating Python Requirements (#192)
edx-requirements-bot May 27, 2024
1607576
chore: Updating Python Requirements
edx-requirements-bot Jun 3, 2024
ca4d428
Merge pull request #193 from openedx/jenkins/upgrade-python-requireme…
farhan Jun 3, 2024
93b4be3
chore: Upgrade Python requirements
edx-requirements-bot Jun 10, 2024
f10271e
Merge pull request #194 from openedx/repo-tools/upgrade-python-requir…
farhan Jun 10, 2024
f6d1537
chore: Upgrade Python requirements (#195)
edx-requirements-bot Jun 20, 2024
b810b6c
chore: Upgrade Python requirements
edx-requirements-bot Jun 24, 2024
6a4cfc7
Merge pull request #196 from openedx/repo-tools/upgrade-python-requir…
farhan Jun 24, 2024
0bd254b
chore: Upgrade Python requirements
edx-requirements-bot Jul 1, 2024
2a06852
Merge pull request #197 from openedx/repo-tools/upgrade-python-requir…
farhan Jul 1, 2024
a8bcd4e
chore: Upgrade Python requirements
edx-requirements-bot Jul 8, 2024
4821e73
Merge pull request #198 from openedx/repo-tools/upgrade-python-requir…
farhan Jul 8, 2024
9d59000
chore: Upgrade Python requirements
edx-requirements-bot Jul 15, 2024
4aa6274
Merge pull request #199 from openedx/repo-tools/upgrade-python-requir…
farhan Jul 15, 2024
0dc0e34
chore: Upgrade Python requirements (#203)
edx-requirements-bot Jul 29, 2024
01defb1
docs: Fix some grammer.
Jul 24, 2024
d2e5e3b
feat: get_last_publish log for PublishableEntity [FC-0059] (#204)
pomegranited Jul 31, 2024
be6a6de
chore: Upgrade Python requirements (#205)
edx-requirements-bot Aug 5, 2024
ddb78bb
feat: add Collection model and api (#206)
rpenido Aug 8, 2024
835c9a1
chore: Upgrade Python requirements (#209)
edx-requirements-bot Aug 12, 2024
eb34c15
fix: prevent soft-deletes from being re-published every time
ormsbee Aug 14, 2024
534316b
feat: option to include deleted drafts while fetching unpublished ent…
navinkarkera Aug 16, 2024
7675109
feat!: remove Django 3.2 collations compatibility hack
ormsbee Aug 16, 2024
466462a
chore: Upgrade Python requirements (#213)
edx-requirements-bot Aug 19, 2024
1ebc212
feat: create_next_version -> create_next_component_version (#215)
ormsbee Aug 20, 2024
b8610ff
fix: improve collections models and api [FC-0059] (#208)
rpenido Aug 21, 2024
b1a105a
chore: Upgrade Python requirements (#218)
edx-requirements-bot Aug 26, 2024
baebbb3
feat: add get_collections api (#214)
navinkarkera Aug 27, 2024
dd7d215
chore: Upgrade Python requirements (#221)
edx-requirements-bot Sep 2, 2024
4779ec9
Associate PublishableEntities with Collections [FC-0062] (#216)
pomegranited Sep 3, 2024
8676c7d
fix: move to ubuntu-latest
irtazaakram Sep 6, 2024
754d217
chore: Upgrade Python requirements (#225)
edx-requirements-bot Sep 9, 2024
7ff1021
Merge branch 'main' into ubuntu-latest
irtazaakram Sep 9, 2024
aa41aa8
chore: make upgrade
irtazaakram Sep 9, 2024
9cf134d
Merge pull request #224 from openedx/ubuntu-latest
Sep 10, 2024
6fa83ba
feat: adds Collection.key (#223)
pomegranited Sep 10, 2024
203c875
chore: Upgrade Python requirements
edx-requirements-bot Sep 16, 2024
128d781
feat: expose create_by field in PublishableEntityMixin (#227)
rpenido Sep 16, 2024
58be255
Merge pull request #228 from openedx/repo-tools/upgrade-python-requir…
farhan Sep 16, 2024
d833c78
feat: Authoring API support for component assets
ormsbee May 21, 2024
04d3ea6
chore: bump version to 0.12.0
ormsbee Sep 16, 2024
8ae750e
test: add collections app to import linter config
ormsbee Sep 19, 2024
d550aab
Collections Django Admin + soft delete, hard delete, and restore (#229)
pomegranited Sep 24, 2024
da9adf8
Warn Django Admin users editing Collections [FC-0036] (#233)
pomegranited Sep 26, 2024
6a72ab6
chore: Upgrade Python requirements (#235)
edx-requirements-bot Sep 30, 2024
d8319be
perf: reduce db calls for ComponentVersion after lookup by UUID
ormsbee Sep 27, 2024
2c1f717
feat!: require OPENEDX_LEARNING setting for Content storage
ormsbee Sep 27, 2024
7748a73
chore: Upgrade Python requirements (#239)
edx-requirements-bot Oct 7, 2024
b4c5653
feat: component set collection api [FC-0062] (#238)
navinkarkera Oct 11, 2024
50c5ea4
chore: Upgrade Python requirements (#242)
edx-requirements-bot Oct 14, 2024
2a14b8e
chore: enable github action auto update in dependabot.yml (#226)
edx-requirements-bot Oct 14, 2024
d553266
chore: Bump version to 0.15.0 (#243)
ChrisChV Oct 15, 2024
cdb2e3d
feat: small new API to copy object tags (#236)
ChrisChV Oct 16, 2024
deaeaa8
feat: make publish_from_drafts public (#244)
DanielVZ96 Oct 17, 2024
f65c4c2
chore: Upgrade Python requirements (#245)
edx-requirements-bot Oct 21, 2024
7e3ad5c
Fix minor asset storage admin issue [FC-0062] (#247)
pomegranited Oct 25, 2024
b431b8a
chore: remove unnecessary type checking
Ian2012 Oct 25, 2024
da27010
chore: Upgrade Python requirements (#250)
edx-requirements-bot Oct 28, 2024
46140b1
feat: handle file content logic when creating next component version …
Ian2012 Oct 29, 2024
14284d2
chore: Upgrade Python requirements (#253)
edx-requirements-bot Nov 4, 2024
3d856a9
feat!: remove learner_downloadable field/flag (#256)
Ian2012 Nov 7, 2024
916431b
chore: Upgrade Python requirements (#258)
edx-requirements-bot Nov 11, 2024
9d91976
feat: add filter functions to publishing API [FC-0062] (#257)
ChrisChV Nov 12, 2024
fc4c1ff
Merge pull request #249 from eduNEXT/cag/nullable-type
Nov 13, 2024
6498f9a
chore: Upgrade Python requirements
edx-requirements-bot Nov 18, 2024
2d1b334
Merge pull request #259 from openedx/repo-tools/upgrade-python-requir…
farhan Nov 18, 2024
2d7b0ff
fix: accept complex objectId e.g; dot(.) in objectId
marslanabdulrauf Oct 21, 2024
27ea5f9
test: ObjectTagView and ObjectTagCountView tests updated with complex…
marslanabdulrauf Nov 15, 2024
59b992e
test: Fix quality checks
marslanabdulrauf Nov 18, 2024
9de4145
docs: Bump version to 0.18.2
marslanabdulrauf Nov 21, 2024
f7db22f
Merge pull request #246 from marslanabdulrauf/marslan/accept-dots-in-…
Nov 21, 2024
f3712a8
chore: Upgrade Python requirements
edx-requirements-bot Nov 25, 2024
9a1e87b
Merge pull request #261 from openedx/repo-tools/upgrade-python-requir…
farhan Nov 25, 2024
901fcf3
chore: Upgrade Python requirements (#262)
edx-requirements-bot Dec 2, 2024
ed7b9e4
chore: Upgrade Python requirements (#263)
edx-requirements-bot Dec 9, 2024
6931e4a
chore: Upgrade Python requirements (#264)
edx-requirements-bot Dec 16, 2024
475e6c2
chore: Upgrade Python requirements (#265)
edx-requirements-bot Dec 23, 2024
c24a8e1
chore: Upgrade Python requirements (#266)
edx-requirements-bot Dec 30, 2024
89a83d2
chore: Upgrade Python requirements
edx-requirements-bot Jan 6, 2025
8a57905
Merge pull request #267 from openedx/repo-tools/upgrade-python-requir…
farhan Jan 6, 2025
6c45892
chore: Upgrade Python requirements (#268)
edx-requirements-bot Jan 13, 2025
30e781f
chore: Upgrade Python requirements (#270)
edx-requirements-bot Jan 20, 2025
41e33a8
chore: Upgrade Python requirements
edx-requirements-bot Jan 27, 2025
658191a
Merge pull request #271 from openedx/repo-tools/upgrade-python-requir…
farhan Jan 28, 2025
1223060
fix: errors during swagger api-docs generation (#273)
pomegranited Jan 30, 2025
39ab568
chore: Upgrade Python requirements
edx-requirements-bot Feb 3, 2025
97bca84
Merge pull request #275 from openedx/repo-tools/upgrade-python-requir…
farhan Feb 3, 2025
5448131
chore: Upgrade Python requirements (#277)
edx-requirements-bot Feb 10, 2025
9b75ba4
feat: adds unmark_copied_tags method to tagging API [FC-0076] (#276)
pomegranited Feb 12, 2025
b2f07f4
chore: Upgrade Python requirements (#279)
edx-requirements-bot Feb 17, 2025
af6121a
chore: Upgrade Python requirements (#281)
edx-requirements-bot Feb 24, 2025
8d41213
chore: Upgrade Python requirements
edx-requirements-bot Mar 3, 2025
e5a6d7d
Merge pull request #283 from openedx/repo-tools/upgrade-python-requir…
farhan Mar 3, 2025
3416071
chore: improve typing, remove unneeded ignore statements (#285)
bradenmacdonald Mar 6, 2025
7af171e
chore: Upgrade Python requirements
edx-requirements-bot Mar 10, 2025
4316b5c
Merge pull request #286 from openedx/repo-tools/upgrade-python-requir…
farhan Mar 10, 2025
0f63879
feat: Initial support for Containers + Units (unstable) (#278)
bradenmacdonald Mar 14, 2025
c5d3cc8
chore: Upgrade Python requirements
edx-requirements-bot Mar 17, 2025
bf74b09
Merge pull request #288 from openedx/repo-tools/upgrade-python-requir…
farhan Mar 17, 2025
0c72e8e
feat: add can_stand_alone flag to publishable entity [FC-0083] (#289)
navinkarkera Mar 19, 2025
9adaaf6
feat: adds get_containers and get_container_by_key to the authoring A…
pomegranited Mar 19, 2025
34fef23
docs: ADRs for modeling containers capability (#251)
mariajgrimaldi Mar 21, 2025
27100bb
test: configure pytest for VS Code
ormsbee Mar 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
[run]
branch = True
data_file = .coverage
source=openedx_learning
source =
openedx_learning
openedx_tagging
omit =
test_settings
*migrations*
**/migrations/*
*admin.py
*static*
*templates*
**/tests/**
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Adding new check for github-actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
59 changes: 59 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Python CI

on:
push:
branches: [ main ]
pull_request:
branches:
- '**'


jobs:
run_tests:
name: tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # Add macos-latest later?
python-version: ['3.11', '3.12']
toxenv: ["django42", "package", "quality"]
# We're only testing against MySQL 8 right now because 5.7 is
# incompatible with Djagno 4.2. We'd have to make the tox.ini file more
# complicated than it's worth given the short expected shelf-life of
# MySQL 5.7 in our stack.
mysql-version: ["8"]
services:
mysql:
image: mysql:${{ matrix.mysql-version }}
ports:
- 3306:3306
env:
MYSQL_DATABASE: "test_oel_db"
MYSQL_USER: "test_oel_user"
MYSQL_PASSWORD: "test_oel_pass"
MYSQL_RANDOM_ROOT_PASSWORD: true
# these options are blatantly copied from edx-platform's values
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 3
steps:
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install pip
run: pip install -r requirements/pip.txt

- name: Install Dependencies
run: pip install -r requirements/ci.txt

- name: Run Tests
env:
TOXENV: ${{ matrix.toxenv }}
run: tox -e ${{ matrix.toxenv }}

29 changes: 29 additions & 0 deletions .github/workflows/lint-imports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Lint Imports

on:
push:
branches: [ main ]
pull_request:
branches:
- '**'


jobs:
lint-imports:
name: Lint Python Imports
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install pip
run: pip install -r requirements/pip.txt

- name: Install Dependencies
run: pip install -r requirements/ci.txt

- name: Analyze imports
run: lint-imports
30 changes: 30 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish package to PyPI

on:
push:
tags:
- '*'

jobs:
push:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Install pip
run: pip install -r requirements/pip.txt

- name: Build package
run: python setup.py sdist bdist_wheel

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}
31 changes: 31 additions & 0 deletions .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Upgrade Python Requirements

on:
schedule:
- cron: "0 0 * * 1"
workflow_dispatch:
inputs:
branch:
description: "Target branch against which to create requirements PR"
required: true
# If copying this template manually, you must provide your default branch name
# in quotes, such as 'master'
default: "main"

jobs:
call-upgrade-python-requirements-workflow:
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
with:
# If copying manually, also provide your default branch name in quotes here
branch: ${{ github.event.inputs.branch || 'main' }}
# optional parameters below; fill in if you'd like github or email notifications
# user_reviewers: ""
team_reviewers: "axim-aximprovements"
email_address: "aximimprovements@axim.org"
send_success_notification: false
# python_version: ""
secrets:
requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}
requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}
edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }}
edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }}
17 changes: 15 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pip-log.txt
# Unit test / coverage reports
.cache/
.pytest_cache/
.mypy_cache/
.coverage
.coverage.*
.tox
Expand Down Expand Up @@ -61,7 +62,19 @@ requirements/private.in
requirements/private.txt

# database file
dev.db
dev.db*

.vscode
# virtualenv
venv/

### Visual Studio Code ###
# Generally ignore VS Code configuration, except...
.vscode/*
# included for test settings, so VS Code's Testing bar works out of the box
!.vscode/settings.json

# Media files (for uploads)
media/

# Media files generated during test runs
test_media/
40 changes: 26 additions & 14 deletions .importlinter
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,34 @@ name = Lib / Core / Contrib Layering
type = layers
layers=
openedx_learning.contrib
openedx_learning.core
openedx_learning.apps
openedx_learning.lib

# This is layering within our Core apps.
#
# The lowest layer is "publishing", which holds the basic primitives needed to
# create LearningPackages and versioning.
#
# One layer above that is "itemstore" which stores single Items (e.g. Problem,
# Video).
#
# Above "itemstore" are apps that can compose those Items into more interesting
# structures (like Units).
# This is layering within our Authoring apps. Every new app should be added to
# this list when it it created.
[importlinter:contract:core_apps_layering]
name = Core App Dependency Layering
name = Authoring App Dependency Layering
type = layers
layers=
openedx_learning.core.components
openedx_learning.core.publishing
# The public authoring API is at the top–none of the apps should call to it.
openedx_learning.api.authoring

# The "components" app is responsible for storing versioned Components,
# which is Open edX Studio terminology maps to things like individual
# Problems, Videos, and blocks of HTML text. This is also the type we would
# associate with a single "leaf" XBlock–one that is not a container type and
# has no child elements.
openedx_learning.apps.authoring.components

# The "contents" app stores the simplest pieces of binary and text data,
# without versioning information. These belong to a single Learning Package.
openedx_learning.apps.authoring.contents

# The "collections" app stores arbitrary groupings of PublishableEntities.
# Its only dependency should be the publishing app.
openedx_learning.apps.authoring.collections

# The lowest layer is "publishing", which holds the basic primitives needed
# to create Learning Packages and manage the draft and publish states for
# various types of content.
openedx_learning.apps.authoring.publishing
2 changes: 1 addition & 1 deletion .readthedocs.yml → .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ sphinx:
configuration: docs/conf.py

python:
version: 3.8
version: 3.11
install:
- requirements: requirements/doc.txt
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"--ds=test_settings",
],
}
5 changes: 4 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ Change Log
Unreleased
~~~~~~~~~~

*
* Removed usage of ``tox-battery`` and added support for ``tox 4.0``
* Switch from ``edx-sphinx-theme`` to ``sphinx-book-theme`` since the former is
deprecated. See https://github.com/openedx/edx-sphinx-theme/issues/184 for
more details.

[0.1.0] - 2021-08-08
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ include LICENSE.txt
include README.rst
include requirements/base.in
recursive-include openedx_learning *.html *.png *.gif *.js *.css *.jpg *.jpeg *.svg *.py
recursive-include openedx_tagging *.html *.png *.gif *.js *.css *.jpg *.jpeg *.svg *.py *.yaml *.json *.csv
22 changes: 17 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@ docs: ## generate Sphinx HTML documentation, including API docs
$(BROWSER)docs/_build/html/index.html

# Define PIP_COMPILE_OPTS=-v to get more information during make upgrade.
PIP_COMPILE = pip-compile --rebuild --upgrade $(PIP_COMPILE_OPTS)
PIP_COMPILE = pip-compile --rebuild $(PIP_COMPILE_OPTS)

upgrade: export CUSTOM_COMPILE_COMMAND=make upgrade
upgrade: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
compile-requirements: export CUSTOM_COMPILE_COMMAND=make upgrade
compile-requirements: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
pip install -qr requirements/pip-tools.txt
# Make sure to compile files after any other files they include!
# Make sure to compile files after any other files they include!
$(PIP_COMPILE) --allow-unsafe -o requirements/pip.txt requirements/pip.in
$(PIP_COMPILE) -o requirements/pip-tools.txt requirements/pip-tools.in
pip install -qr requirements/pip.txt
pip install -qr requirements/pip-tools.txt
$(PIP_COMPILE) -o requirements/base.txt requirements/base.in
$(PIP_COMPILE) -o requirements/test.txt requirements/test.in
$(PIP_COMPILE) -o requirements/doc.txt requirements/doc.in
Expand All @@ -47,8 +50,12 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
sed '/^[dD]jango==/d' requirements/test.txt > requirements/test.tmp
mv requirements/test.tmp requirements/test.txt

upgrade: ## update the pip requirements files to use the latest releases satisfying our constraints
make compile-requirements PIP_COMPILE_OPTS="--upgrade"

quality: ## check coding style with pycodestyle and pylint
tox -e quality
lint-imports

pii_check: ## check for PII annotations on all Django models
tox -e pii_check
Expand All @@ -58,7 +65,7 @@ requirements: ## install development environment requirements
pip-sync requirements/dev.txt requirements/private.*

test: clean ## run tests in the current virtualenv
pytest
pytest tests

diff_cover: test ## find diff lines that need test coverage
diff-cover coverage.xml
Expand All @@ -77,12 +84,16 @@ extract_translations: ## extract strings to be translated, outputting .mo files
rm -rf docs/_build
cd openedx_learning && ../manage.py makemessages -l en -v1 -d django
cd openedx_learning && ../manage.py makemessages -l en -v1 -d djangojs
cd openedx_tagging && ../manage.py makemessages -l en -v1 -d django
cd openedx_tagging && ../manage.py makemessages -l en -v1 -d djangojs

compile_translations: ## compile translation files, outputting .po files for each supported language
cd openedx_learning && ../manage.py compilemessages
cd openedx_tagging && ../manage.py compilemessages

detect_changed_source_translations:
cd openedx_learning && i18n_tool changed
cd openedx_tagging && i18n_tool changed

pull_translations: ## pull translations from Transifex
tx pull -a -f -t --mode reviewed
Expand All @@ -92,6 +103,7 @@ push_translations: ## push source translation files (.po) from Transifex

dummy_translations: ## generate dummy translation (.po) files
cd openedx_learning && i18n_tool dummy
cd openedx_tagging && i18n_tool dummy

build_dummy_translations: extract_translations dummy_translations compile_translations ## generate and compile dummy translation files

Expand Down
Loading
Loading