Thanks to visit codestin.com
Credit goes to github.com

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-snippet
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 17c72b9
Choose a base ref
...
head repository: django-cms/djangocms-snippet
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 041d889
Choose a head ref
  • 19 commits
  • 232 files changed
  • 20 contributors

Commits on Oct 26, 2023

  1. chore: Package overhaul (#140)

    * ci: Update pre-commit
    
    * ci: Run ruff formatter
    
    * build: Move package in to src dir
    
    * test: Update requirements building
    
    * chore: Keeping git happy after moving to src
    
    * ci: Add dependabot config
    
    * ci: Update tests to run tox
    
    * build: Project config
    
    * test: Update tox setup
    
    * build: Update setup to build_meta
    
    * ci: Update pypi workflows
    
    * ci: Update linter to ruff
    
    * chore: Fix RUF012
    
    * ci: Update linter trigger
    
    * chore: Drop python 3.8
    
    * chore: Drop python 3.8
    
    * chore: Adjust coverage config
    marksweb authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    cf6e93a View commit details
    Browse the repository at this point in the history
  2. fix: Test pypi workflow

    marksweb committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    916e126 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. ci: pre-commit autoupdate (#144)

    * ci: pre-commit autoupdate
    
    updates:
    - [github.com/asottile/pyupgrade: v3.4.0 → v3.15.0](asottile/pyupgrade@v3.4.0...v3.15.0)
    - [github.com/adamchainz/django-upgrade: 1.13.0 → 1.15.0](adamchainz/django-upgrade@1.13.0...1.15.0)
    - https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
    - [github.com/astral-sh/ruff-pre-commit: v0.0.270 → v0.1.4](astral-sh/ruff-pre-commit@v0.0.270...v0.1.4)
    - [github.com/astral-sh/ruff-pre-commit: v0.1.2 → v0.1.4](astral-sh/ruff-pre-commit@v0.1.2...v0.1.4)
    - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0)
    
    * ci: auto fixes from pre-commit hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Nov 7, 2023
    Configuration menu
    Copy the full SHA
    5ff1bac View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. ci: pre-commit autoupdate (#145)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.6](astral-sh/ruff-pre-commit@v0.1.4...v0.1.6)
    - [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.6](astral-sh/ruff-pre-commit@v0.1.4...v0.1.6)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    062ac5f View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2024

  1. Bump actions/setup-python from 4 to 5 (#148)

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 1, 2024
    Configuration menu
    Copy the full SHA
    73daf3b View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. ci: pre-commit autoupdate (#149)

    * ci: pre-commit autoupdate
    
    updates:
    - [github.com/asottile/pyupgrade: v3.15.0 → v3.15.2](asottile/pyupgrade@v3.15.0...v3.15.2)
    - [github.com/adamchainz/django-upgrade: 1.15.0 → 1.16.0](adamchainz/django-upgrade@1.15.0...1.16.0)
    - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.3.5](astral-sh/ruff-pre-commit@v0.1.6...v0.3.5)
    - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.3.5](astral-sh/ruff-pre-commit@v0.1.6...v0.3.5)
    
    * ci: auto fixes from pre-commit hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Apr 2, 2024
    Configuration menu
    Copy the full SHA
    5ec7e05 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    ecd530e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0299281 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. Bump sqlparse from 0.4.4 to 0.5.0 in /tests/requirements (#154)

    Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.4 to 0.5.0.
    - [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
    - [Commits](andialbrecht/sqlparse@0.4.4...0.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: sqlparse
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 16, 2024
    Configuration menu
    Copy the full SHA
    c5efc73 View commit details
    Browse the repository at this point in the history
  2. Bump sqlparse from 0.4.4 to 0.5.0 (#153)

    Bumps [sqlparse](https://github.com/andialbrecht/sqlparse) from 0.4.4 to 0.5.0.
    - [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
    - [Commits](andialbrecht/sqlparse@0.4.4...0.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: sqlparse
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 16, 2024
    Configuration menu
    Copy the full SHA
    38133cc View commit details
    Browse the repository at this point in the history
  3. ci: pre-commit autoupdate (#157)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.3](astral-sh/ruff-pre-commit@v0.3.5...v0.4.3)
    - [github.com/astral-sh/ruff-pre-commit: v0.3.5 → v0.4.3](astral-sh/ruff-pre-commit@v0.3.5...v0.4.3)
    - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored May 16, 2024
    Configuration menu
    Copy the full SHA
    7cc80ba View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. ci: pre-commit autoupdate (#161)

    updates:
    - [github.com/adamchainz/django-upgrade: 1.16.0 → 1.18.0](adamchainz/django-upgrade@1.16.0...1.18.0)
    - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.3...v0.4.7)
    - [github.com/astral-sh/ruff-pre-commit: v0.4.3 → v0.4.7](astral-sh/ruff-pre-commit@v0.4.3...v0.4.7)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Jun 20, 2024
    Configuration menu
    Copy the full SHA
    75088b0 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. ci: pre-commit autoupdate (#163)

    updates:
    - [github.com/asottile/pyupgrade: v3.15.2 → v3.17.0](asottile/pyupgrade@v3.15.2...v3.17.0)
    - [github.com/adamchainz/django-upgrade: 1.18.0 → 1.20.0](adamchainz/django-upgrade@1.18.0...1.20.0)
    - [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.5.6](astral-sh/ruff-pre-commit@v0.4.7...v0.5.6)
    - [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.5.6](astral-sh/ruff-pre-commit@v0.4.7...v0.5.6)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    9351c0a View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. feat: Universal snippet for django CMS 3 and 4 (#160)

    * djangocms-versioning compatibility - Initial Model and cms_config implementation (#75)
    
    * feat: Snippet CMS 4.0 and djangocms-versioning Data migration (#74)
    
    * feat: Moderation compatibility and version copy method implementation (#77)
    
    * feat: Versioning Compatibility Changes (#79)
    
    * fix: Fixed bug that causes ChangeView not to use SnippetForm (#80)
    
    * feat: Reworked form fields and added the ability to show draft snippets (#81)
    
    * fix: Adding valid HTML to the add snippet form throws an error (#82)
    
    * fix: form initialisation error in read-only mode (#83)
    
    * fix: History URL button broken link on the Snippets change form (#84)
    
    * fix: Draft snippet render error due to draft snippets (#86)
    
    * feat: Default versioning import user id setting can be set via environment variable (#89)
    
    * Release 4.0.0.dev1 (#91)
    
    * fix: django-cms 4.0.x - Remove breaking django-treebeard pinning issue (#93)
    
    * Release 4.0.0.dev2 (#95)
    
    * feat: Removing slug field and hyperlink from list display when versioning is enabled (#98)
    
    * fix: Snippet plugin showing ID instead of name(#100)
    
    * Fix: Compare view removed unnecessary template logic (#101)
    
    * Release 4.0.0.dev3 (#103)
    
    * feat: Preview icon renders content in read only  (#102)
    
    * Release 4.0.0.dev4 (#109)
    
    * fix: Added test coverage to admin preview view (#96)
    
    * port-feat: pre-commit config added from the v3 workstream (#117)
    
    Changes partially taken from this change: a56091c
    
    Requires additional work when the django-cms 4.0 workstream is official, the version bump code has been ignored because it would generate official releases only: #116
    
    * feat: django-cms 4.0.x - django 3.2 and Python 3.9 compatibility  (#92)
    
    * Release 4.0.1.dev1 (#119)
    
    * feat: Enable add button on the SnippetPluginForm (#127)
    
    * Release 4.0.1.dev2 (#128)
    
    * init support for django4.2 (#150)
    
    * init support for django4.2
    
    * add change log for add compatiable for django 4.2 and python 3.10
    
    * Update CHANGELOG.rst
    
    * Update .pre-commit-config.yaml
    
    * fix lint config issue
    
    * remove test code
    
    * add blackline for flake8
    
    * add pyproject.toml file
    
    * add requirement files
    
    * fix ci failed issue
    
    * format setup.py import section
    
    * upgrade isort version to fix pre commit ci issue
    
    * upgrade the django-upgrade package to pass through the pre commit ci test
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * upgrade packages in pre commit
    
    * resort init file changes
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * comment the django-upgrade from ci
    
    * fix: add missing migration file
    
    * fix: update previous file instead of creating new file
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Josh Peng Yu <[email protected]>
    
    * fix pyproject.toml config error (#151)
    
    * Added site field in models n site filter in admin (#159)
    
    * Added site field in models n site filter in admin
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * updated versioning branch
    
    * Add test cases and updated the implementation
    
    * Update CHANGELOG.rst
    
    Co-authored-by: Mark Walker <[email protected]>
    
    * corrected formatting
    
    * fixed flake8 issues
    
    * removed list_filter
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Mark Walker <[email protected]>
    
    * Release/4.1.0 (#155)
    
    * bump version to 4.1.0
    
    * bump version to 4.1.0 pyproject.toml
    
    * replace test requirement url
    
    * update changelog date
    
    * update release date.
    
    * Update README.rst
    
    * Update README.rst
    
    * Create PULL_REQUEST_TEMPLATE.md (#85)
    
    Add PR template
    
    * Only include badges at the top to avoid confusion & removed old badges like travis. (#106)
    
    * Added pypi github actions (#108)
    
    * FEATURE: adjust setup metadata (#110)
    
    * correct doc about default value of DJANGOCMS_SNIPPET_CACHE (#120)
    
    * Update to ace 1.9.6, load ace editor from static files if djangocms_static_ace is installed, add dark mode (#123)
    
    Fix:		Load ace editor from static files if `djangocms-static-ace` is installed
    Fix:		Respect if user has set dark mode
    Add:	Weak dependency on djangocms-static-ace
    Doc:	optional static-ace dependency
    
    * ci: Update pypi action branch names (#125)
    
    * Bump version: 3.0.0 → 3.1.0 (#126)
    
    * fix: django-cms 3.x - Remove breaking django-treebeard pinning issue (#94)
    
    * Removed pinning.
    
    * Update setup.py
    
    ---------
    
    Co-authored-by: Fabian Braun <[email protected]>
    
    * fix: add noop django 4 migration (#134)
    
    * fix: add noop django 4 migration
    
    * fix: isort
    
    * ci: Prepare release of version 3.1.1 (#139)
    
    * Update CHANGELOG.rst
    
    * Bump version
    
    * Pin treebeard for Django CMS 3.7 tests
    
    * Update dj30_cms37.txt
    
    * chore: Package overhaul (#140)
    
    * ci: Update pre-commit
    
    * ci: Run ruff formatter
    
    * build: Move package in to src dir
    
    * test: Update requirements building
    
    * chore: Keeping git happy after moving to src
    
    * ci: Add dependabot config
    
    * ci: Update tests to run tox
    
    * build: Project config
    
    * test: Update tox setup
    
    * build: Update setup to build_meta
    
    * ci: Update pypi workflows
    
    * ci: Update linter to ruff
    
    * chore: Fix RUF012
    
    * ci: Update linter trigger
    
    * chore: Drop python 3.8
    
    * chore: Drop python 3.8
    
    * chore: Adjust coverage config
    
    * fix: Test pypi workflow
    
    * Bump actions/setup-python from 4 to 5 (#148)
    
    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    
    * fix: Test only for migrations within package
    
    * Update tests
    
    * run tests on all branches
    
    * fix tests
    
    * Update readme, changelog
    
    * Fix common test suite for django CMS 3.11, 4.0, and 4.1
    
    * Update CHANGELOG
    
    * Merge branches together
    
    * Update precommit-config
    
    * fix: ruff precommit
    
    * ci: auto fixes from pre-commit hooks
    
    for more information, see https://pre-commit.ci
    
    * fix: ruff issues
    
    * More ruff fixes
    
    * Update pyproject.toml
    
    * ci: auto fixes from pre-commit hooks
    
    for more information, see https://pre-commit.ci
    
    * fix: Remove isort and flake8 from setup.cfg
    
    * ci: auto fixes from pre-commit hooks
    
    for more information, see https://pre-commit.ci
    
    * Update setup.cfg
    
    * Fix: universal branch (#167)
    
    * fix: manifest.in
    
    * fix: SnippetAdmin use overrdden change_form_template
    
    * ci: auto fixes from pre-commit hooks
    
    for more information, see https://pre-commit.ci
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    
    * Update lint workflow
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: Adam Murray <[email protected]>
    Co-authored-by: Aiky30 <[email protected]>
    Co-authored-by: Bernard Van Der Vyver <[email protected]>
    Co-authored-by: Michael Collins <[email protected]>
    Co-authored-by: 傅瑞曼 <[email protected]>
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    Co-authored-by: Josh Peng Yu <[email protected]>
    Co-authored-by: Vipul Narang <[email protected]>
    Co-authored-by: Mark Walker <[email protected]>
    Co-authored-by: Nicolai <[email protected]>
    Co-authored-by: Kaushal Dhungel <[email protected]>
    Co-authored-by: Simon Krull <[email protected]>
    Co-authored-by: Liumeo <[email protected]>
    Co-authored-by: Mark Walker <[email protected]>
    Co-authored-by: Patrik <[email protected]>
    Co-authored-by: Mark Walker <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Josh Yu <[email protected]>
    19 people authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    5069d82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e728f02 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a73d9d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. ci: pre-commit autoupdate (#169)

    updates:
    - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.6.3](astral-sh/ruff-pre-commit@v0.5.6...v0.6.3)
    - [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.6.3](astral-sh/ruff-pre-commit@v0.5.6...v0.6.3)
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    pre-commit-ci[bot] authored Sep 2, 2024
    Configuration menu
    Copy the full SHA
    028da89 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2025

  1. Release 5.0.0 (#172)

    * Bump version to 5.0.0
    
    * fix: pyproject.toml
    
    * Update tox.ini
    
    ---------
    
    Co-authored-by: Josh Yu <[email protected]>
    Co-authored-by: Fabian Braun <[email protected]>
    3 people authored Jan 7, 2025
    Configuration menu
    Copy the full SHA
    705e10d View commit details
    Browse the repository at this point in the history
  2. Update README.rst

    fsbraun authored Jan 7, 2025
    Configuration menu
    Copy the full SHA
    041d889 View commit details
    Browse the repository at this point in the history
Loading