Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: django-cms/django-cms
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b827cb2
Choose a base ref
...
head repository: django-cms/django-cms
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 653869f
Choose a head ref
  • 11 commits
  • 66 files changed
  • 6 contributors

Commits on Oct 16, 2024

  1. fix: Improve UX when page content is missing in selected language (#8033

    )
    
    * fix #7984: Improve UX when page content is missing in selected language
    
    * Fix add page button for empty page tree
    
    ---------
    
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    2 people authored and Github Release Action committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9f5c58d View commit details
    Browse the repository at this point in the history
  2. fix: Sitemap: Return a QuerySet in CMSSitemap.items() (#8031)

    * fix: Sitemap: Don’t convert QuerySet to list in CMSSitemap.items()
    
    According to the Django docs a sequence like a list is allowed
    for the return value of CMSSitemap.items() but djangocms-page-sitemap
    applies exclude, which only works with querysets.
    
    In django CMS 3.11 it was a QuerySet. In django CMS 4 the return value
    changed to a list, though, which breaks djangocms-page-sitemap.
    
    * style: Format cms/tests/test_sitemap.py with ruff
    
    So the next commit becomes more readable.
    
    * test: Add test for type of CMSSitemap.items()
    
    ---------
    
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    2 people authored and Github Release Action committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e7c1bf4 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2024

  1. fix: template tag get_admin_url_for_language did not return the lat…

    …est page content (#7967)
    
    * Fix: template tag `get_admin_url_for_language` should return the latest page content object for the language (even if unpublished)
    
    * Fix: correct read-only slug and overwrite url for page settings
    fsbraun authored and Github Release Action committed Oct 20, 2024
    Configuration menu
    Copy the full SHA
    b9782de View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. fix: X frame options added to page settings form (#8041)

    * fix: correct typo
    
    * feat: add new form options for X-Frame Options
    
    * feat: add verbose_name to xframe_options
    
    Adds a verbose_name attribute to the xframe_options field in PageContent model
    
    * test: add tests for moving attributes from Page to PageContent
    
    Implemented tests to verify attributes moved from the Page model to the PageContent model.
    
    * fix(migration): add verbose_name to xframe_options field
    
    Updated migration file to include verbose_name for the xframe_option
    
    * test: update tests for field presence in PageContent and ChangePageForm
    
    * refactor: remove unused imports
    
    * Revert "refactor: remove unused imports"
    
    This reverts commit 6712895ff05a5ea25efdc9cf46a1c3056ff6c9b2.
    
    * refactor: remove unused imports
    
    * refactor(tests): moved tests
    
    - Tests moved from test_class_properties.py to test_admin.py
    
    ---------
    
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    2 people authored and Github Release Action committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    4232297 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2024

  1. chore: Fixed randomly failing Postgres tests (#8060)

    * feat: Use subquery for plugin renumbering also for sqlite
    
    * Isolate error and list database
    
    * Refresh plugins
    
    * Reintroduce shift
    
    * Remove debug code
    
    * Update
    
    ---------
    
    Co-authored-by: Github Release Action <info@django-cms.org>
    fsbraun and Github Release Action committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    62bc268 View commit details
    Browse the repository at this point in the history
  2. fix: added redirect message when in editing a redirect toolbar object (

    …#8056)
    
    * fix: add redirect notification page when in edit mode
    
    * refactor(details): remove setting of redirect_url
    
    * test: add test to verify message display when redirect is set
    
    * refactor: remove unused variable from details view
    theShinigami authored and Github Release Action committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    a471c35 View commit details
    Browse the repository at this point in the history
  3. feat: Updated welcome page (#8057)

    * feat: Add cta for support to welcome page
    
    * Update message
    
    * Add bullet points to welcome message
    
    * Two options for welcome message
    
    * feat: Update welcome page
    
    * Add ecosystem link
    
    * Update message
    
    * Remove exclamation marks
    
    * fix: text-decoration and cursor for button
    
    * Improve wording
    
    * Remove unwanted file
    
    * css finetuning
    
    ---------
    
    Co-authored-by: Github Release Action <info@django-cms.org>
    fsbraun and Github Release Action committed Nov 3, 2024
    Configuration menu
    Copy the full SHA
    f403dee View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. fix: Menus crashed when unexpected page content was present (#8052)

    * fix; Remove partial cache fill
    
    * Fix admin_cache
    
    * Fix: Menu app crashed for fallback translations
    
    * Fix: Inconsistent page content models crashed menus
    
    * Update plugin position update
    
    * Test different raw sql
    
    * Replace chinese ) by )
    
    * Undo sql changes
    
    * Undo unwanted changes to placeholdermodel.py
    
    * Update placeholdermodel.py
    
    * Update placeholdermodel.py
    
    * Fix linting issues
    
    * Dj2.2 compatible template tags
    
    * Align test environments
    
    ---------
    
    Co-authored-by: Github Release Action <info@django-cms.org>
    fsbraun and Github Release Action authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    dd0842a View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. fix: Sites menu was empty in the page tree (#8064)

    * Update make-release.yml
    
    * Update make-release.yml
    
    * Update make-release.yml
    
    * Update make-release.yml
    
    * Update make-release.yml
    
    * Update make-release
    
    * Update make-release
    
    * fix: `tree.sites` was missing from the page tree context
    
    * Undo unwante dchanges
    
    * More undo
    
    ---------
    
    Co-authored-by: Vinit Kumar <mail@vinitkumar.me>
    2 people authored and Github Release Action committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    091e8f5 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. fix: XSS vulnerability for page title (#8075)

    * Fix: XSS vulnerability for page title
    
    * fix linting
    
    ---------
    
    Co-authored-by: Github Release Action <info@django-cms.org>
    fsbraun and Github Release Action committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    c045a99 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. chore: Prepare release 4.1.4 (#8076)

    * [4.1.4 release process] Building locales
    
    * [4.1.4 release process] Bumped version to 4.1.4
    
    * [4.1.4 release process] compilemessages
    
    * [4.1.4 release process] compiling new static files
    
    * [4.1.4 release process] updating latest docs
    
    * Update changelog and release notes
    
    * Update date
    
    * Remove py3.13 tests for django cms 4.1
    
    * Add comment in release notes about security patch
    
    * Update docs/upgrade/4.1.4.rst
    
    ---------
    
    Co-authored-by: Github Release Action <info@django-cms.org>
    fsbraun and Github Release Action authored Nov 13, 2024
    Configuration menu
    Copy the full SHA
    653869f View commit details
    Browse the repository at this point in the history
Loading