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

Port django CMS 4 features #83

Draft
wants to merge 39 commits into
base: develop
Choose a base branch
from
Draft

Conversation

yakky
Copy link
Member

@yakky yakky commented May 12, 2023

Description

Port changes from support/4.x.0 branch and #70 to latest develop

References

Fix #82

Checklist

  • I have read the contribution guide
  • Code lint checked via inv lint
  • changes file included (see docs)
  • Usage documentation added in case of new features
  • Tests added

vipulnarang95 and others added 30 commits May 12, 2020 17:58
* Update compatible with Django CMS version4

sitemap.py and cms_toolbars.py updated to support page menu and sitemap compatible with Django CMS version 4


Co-authored-by: Vipul, Narang <[email protected]>
…ms4 (#58)

* Updated lastmod() to return latest publish version modified date if versioning is enabled.



Co-authored-by: narender81 <[email protected]>
* Use the page toolbar from the CMS as this doesn't add more buttons. It's also designed fro use just on the page too

* Functioning toolbar with versioning enabled

* Added versioning test to ensure that the toolbar duplicated button issue never occurs again

* Remove limit on versioning being installed. The test suite should run the same regardless of versioning
* Add filter to list only published pages in versioning is enabled/installed
* Add test to check query performance

Co-authored-by: narender81 <[email protected]>
@coveralls
Copy link

coveralls commented May 12, 2023

Coverage Status

Coverage: 100.0%. Remained the same when pulling 55dbdac on feature/issue-82-djangocms-4 into 54aab9a on develop.

@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Patch coverage: 95.45% and project coverage change: -1.08 ⚠️

Comparison is base (54aab9a) 100.00% compared to head (55dbdac) 98.92%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #83      +/-   ##
===========================================
- Coverage   100.00%   98.92%   -1.08%     
===========================================
  Files            9        9              
  Lines          152      186      +34     
  Branches        19       24       +5     
===========================================
+ Hits           152      184      +32     
- Partials         0        2       +2     
Flag Coverage Δ
unittests 98.38% <93.18%> (-1.62%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
djangocms_page_sitemap/models.py 100.00% <ø> (ø)
djangocms_page_sitemap/sitemap.py 96.29% <92.85%> (-3.71%) ⬇️
djangocms_page_sitemap/cms_toolbars.py 100.00% <100.00%> (ø)
djangocms_page_sitemap/utils.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

django CMS 4.1+ support
5 participants