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/djangocms-versioning
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.0
Choose a base ref
...
head repository: django-cms/djangocms-versioning
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.2.0
Choose a head ref
  • 12 commits
  • 21 files changed
  • 6 contributors

Commits on Oct 29, 2024

  1. build(deps): bump actions/cache from 4.0.2 to 4.1.2 (#431)

    Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.2.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v4.0.2...v4.1.2)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    76a7cc4 View commit details
    Browse the repository at this point in the history
  2. feat: Added bulk delete to version change view (#338)

    * test: adds bulk delete failing test
    
    * feat: adds first functional draft of delete_selected method
    
    * test: adds new test case to check there is warning when published version is selected
    
    * Update test_admin.py for non sqlite testing
    
    * Add error messages, and update delete permission to include content object
    
    * fix: bugs in test_admin
    
    * Update test to new expectation: 
    
    Do not delete anything if a published or draft version is amongst the selected objects
    
    * Delegate the content delete to the `delete_selected` method
    
    Update the queryset to contain content elements
    
    * Add test for confirmation message
    
    * Update tests/test_admin.py
    
    * Update admin.py
    
    * Update test_admin.py
    
    * Update test_admin.py
    
    * Update admin.py
    
    * Update djangocms_versioning/admin.py
    
    ---------
    
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    polyccon and fsbraun authored Oct 29, 2024
    Configuration menu
    Copy the full SHA
    d51f806 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. fix: test.pypi.org workflow environment name (#434)

    * fix: test.pypi.org workflow environment name
    
    * fix: Run on tests on ubuntu latest
    
    ---------
    
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    marksweb and fsbraun authored Nov 7, 2024
    Configuration menu
    Copy the full SHA
    b191415 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. build(deps): bump codecov/codecov-action from 4 to 5 (#435)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 19, 2024
    Configuration menu
    Copy the full SHA
    c9bf9f4 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2025

  1. fix uniweb-issue-1353: attempt to remove missing item from list (#439)

    * fix uniweb-issue-1353: attempt to remove missing item from list
    
    * fix: Linting issue in admin.py
    
    * fix: ruff linting issue in factories.py
    
    * fix: ruff linting issue in test_admin.py
    
    ---------
    
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    jrief and fsbraun authored Jan 7, 2025
    Configuration menu
    Copy the full SHA
    df01223 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2025

  1. build(deps): bump actions/cache from 4.1.2 to 4.2.0 (#438)

    Bumps [actions/cache](https://github.com/actions/cache) from 4.1.2 to 4.2.0.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v4.1.2...v4.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    dependabot[bot] and fsbraun authored Jan 13, 2025
    Configuration menu
    Copy the full SHA
    76504b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2025

  1. Fix: Unpublished or archived versions not shown in language menu (#440)

    * Fix: Unpublished or archived versions not shown in language choser https://github.com/django-cms/django-cms/issues/8108
    
    * Fix ruff issues
    
    * Add test
    
    * Fix `latest_content` admin queryset filter
    
    * Fix: stay for post-filter
    
    * test: add regression test for https://github.com/django-cms/django-cms/issues/8108
    
    * Remove unused import
    
    * Fix: missing subquery statement
    
    * Fix QS for MySql
    fsbraun authored Jan 15, 2025
    Configuration menu
    Copy the full SHA
    59e06b9 View commit details
    Browse the repository at this point in the history
  2. fix: add resolvability check before redirecting to prevent insecure r…

    …edirects after publishing (#436)
    
    * refactor: implement resolvability check before redirecting
    
    * refactor: used get_preview_url from helpers
    
    * refactor: test clean for ON_PUBLISH_REDIRECT setting
    
    * refactor: check for redirect url resolvable before redirecting
    
    * fix ruff linting issue
    
    * Update admin.py
    
    * Update test_admin.py to satisfy ruff
    
    * Update factories.py
    
    * refactor: requested redirect or get_absolute_url
    
    ---------
    
    Co-authored-by: Fabian Braun <fsbraun@gmx.de>
    theShinigami and fsbraun authored Jan 15, 2025
    Configuration menu
    Copy the full SHA
    3b3fa2f View commit details
    Browse the repository at this point in the history
  3. feat: Autocomplete fields for grouper selection and option for less v…

    …erbose UI (#433)
    
    * feat: Less verbose UI and autocomplete fields
    
    * Fix linting
    
    * Retain model choice form field for models with no admin or no search fields
    
    * Fix type hinting for Py 3.9
    
    * Update github test action
    
    * Update docs
    
    * Fix form styling
    fsbraun authored Jan 15, 2025
    Configuration menu
    Copy the full SHA
    81306a0 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2025

  1. feat: Re-introduce deleting languages of a page (#443)

    * feat: Re-introduce deleting languages of a page
    
    * Fix ruff issues
    
    * Add test for delete tranlsation menu
    
    * Single-quoted regex
    
    * Only activate delete translation for django CMS version supporting it
    
    * fix: Redirect to different language if current translation is deleted
    
    * fix setup.py
    
    * Update djangocms_versioning/cms_toolbars.py
    
    * Update tests
    
    * fix linting issue
    
    * Add `skipIf` reason
    
    * Fix test
    fsbraun authored Jan 17, 2025
    Configuration menu
    Copy the full SHA
    09ec934 View commit details
    Browse the repository at this point in the history
  2. fix: Take csrf token from CMS config if possible (#444)

    * fix: Take csrf token from CMS config if possible
    
    * Always send non-empty token.
    
    * No accidental csrf token
    
    * Update djangocms_versioning/static/djangocms_versioning/js/indicators.js
    
    * Fix: Take form as a fallback
    
    * Fix change order of token capture
    
    * Simplify error message
    fsbraun authored Jan 17, 2025
    Configuration menu
    Copy the full SHA
    8494eaf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f68190c View commit details
    Browse the repository at this point in the history
Loading