Skip to content

Releases: ppfeufer/aa-bulletin-board

2.2.3

01 Nov 08:15
c3b89b9
Compare
Choose a tag to compare

[2.2.3] - 2024-11-01

Changed

  • Italian translation improved

What's Changed

  • Translations update from Weblate (ppfeufer) by @ppfeufer in #148
  • [npm] Bump the npm-dependencies group with 3 updates by @dependabot in #149

Full Changelog: v2.2.2...v2.2.3

2.2.2

13 Oct 00:36
2e63800
Compare
Choose a tag to compare

[2.2.2] - 2024-10-13

Changed

  • Dependency updates
    • django-ckeditor-5>=0.2.14

What's Changed

Full Changelog: v2.2.1...v2.2.2

2.2.1

05 Oct 13:50
4ef328f
Compare
Choose a tag to compare

[2.2.1] - 2024-10-05

Changed

  • French translation improved
  • Ukrainian translation improved

Removed

  • Unnecessary form field definition

What's Changed

  • Translations update from Weblate (ppfeufer) by @ppfeufer in #141
  • Translations update from Weblate (ppfeufer) by @ppfeufer in #143
  • [npm] Bump the npm-dependencies group across 1 directory with 2 updates by @dependabot in #144
  • [REMOVE] Unnecessary form field definition by @ppfeufer in #145

Full Changelog: v2.2.0...v2.2.1

2.2.0

16 Sep 10:10
42358e2
Compare
Choose a tag to compare

[2.2.0] - 2024-09-16

Changed

  • Dependencies updated
    • allianceauth>=4.3.1
  • Japanese translation improved
  • Lingua codes updated to match Alliance Auth

What's Changed

Full Changelog: v2.1.0...v2.2.0

2.1.0

27 Jul 18:26
6eb887e
Compare
Choose a tag to compare

[2.1.0] - 2024-07-27

Added

  • Prepared Czech translation for when Alliance Auth supports it

Changed

  • Chinese translation improved
  • French translation improved
  • Japanese translation improved
  • Russian translation improved

Removed

  • Support for Python 3.8 and Python 3.9

What's Changed

Full Changelog: v2.0.1...v2.1.0

2.0.1

16 May 15:23
867e1b8
Compare
Choose a tag to compare

[2.0.1] - 2024-05-16

Changed

  • Translations updated

Removed

  • Deprecated CSS definition

Git History

Full Changelog: v2.0.0...v2.0.1

2.0.0

16 Mar 08:42
34b32ac
Compare
Choose a tag to compare

[2.0.0] - 2024-03-16

Note

This version needs at least Alliance Auth v4.0.0!

Please make sure to update your Alliance Auth instance before
you install this version, otherwise an update to Alliance Auth will
be pulled in unsupervised.

Important

With this version, we switched to a new WYSIWYG editor.
Please make sure to read the update information
to make sure your configuration is up to date.

Added

  • Compatibility to Alliance Auth v4
    • Bootstrap 5
    • Django 4.2

Fixed

  • Pluralisation in a template string

Changed

  • JS modernized
  • CSS modernizes
  • Templates changed to Bootstrap 5
  • Switched from CKEditor 4 to CKEditor 5 (Configuration update necessary, see below)
  • Translations improved
    • French
    • Chinese
    • Spanish

Removed

  • Compatibility to Alliance Auth v3

Update Information

This version introduces a new WYSIWYG editor. Some configuration changes are necessary.

Settings in /home/allianceserver/myauth/myauth/settings/local.py

Please make sure to update your local.py with the following configuration.
Add "django_ckeditor_5", to INSTALLED_APPS and remove the following apps
if they are present:

"ckeditor",
"ckeditor_uploader",
"django_ckeditor_youtube_plugin",

Remove the old CKEditor configuration and replace it with the following:

# Django CKEditor 5 Configuration
if "django_ckeditor_5" in INSTALLED_APPS:
    MEDIA_URL = "/media/uploads/"
    MEDIA_ROOT = "/var/www/myauth/media/uploads"

    customColorPalette = [
        {"color": "hsl(4, 90%, 58%)", "label": "Red"},
        {"color": "hsl(340, 82%, 52%)", "label": "Pink"},
        {"color": "hsl(291, 64%, 42%)", "label": "Purple"},
        {"color": "hsl(262, 52%, 47%)", "label": "Deep Purple"},
        {"color": "hsl(231, 48%, 48%)", "label": "Indigo"},
        {"color": "hsl(207, 90%, 54%)", "label": "Blue"},
    ]

    CKEDITOR_5_CONFIGS = {
        "default": {
            "toolbar": [
                "heading",
                "|",
                "bold",
                "italic",
                "link",
                "bulletedList",
                "numberedList",
                "blockQuote",
            ],
        },
        "extends": {
            "blockToolbar": [
                "paragraph",
                "heading1",
                "heading2",
                "heading3",
                "|",
                "bulletedList",
                "numberedList",
                "|",
                "blockQuote",
            ],
            "toolbar": [
                "heading",
                "|",
                "outdent",
                "indent",
                "|",
                "bold",
                "italic",
                "link",
                "underline",
                "strikethrough",
                "subscript",
                "superscript",
                "highlight",
                "|",
                "insertImage",
                "mediaEmbed",
                "|",
                "bulletedList",
                "numberedList",
                "todoList",
                "insertTable",
                "|",
                "blockQuote",
                "codeBlock",
                "|",
                "fontSize",
                "fontFamily",
                "fontColor",
                "fontBackgroundColor",
                "removeFormat",
                "|",
                "sourceEditing",
            ],
            "image": {
                "toolbar": [
                    "imageTextAlternative",
                    "|",
                    "imageStyle:alignLeft",
                    "imageStyle:alignRight",
                    "imageStyle:alignCenter",
                    "imageStyle:side",
                    "|",
                ],
                "styles": [
                    "full",
                    "side",
                    "alignLeft",
                    "alignRight",
                    "alignCenter",
                ],
            },
            "table": {
                "contentToolbar": [
                    "tableColumn",
                    "tableRow",
                    "mergeTableCells",
                    "tableProperties",
                    "tableCellProperties",
                ],
                "tableProperties": {
                    "borderColors": customColorPalette,
                    "backgroundColors": customColorPalette,
                },
                "tableCellProperties": {
                    "borderColors": customColorPalette,
                    "backgroundColors": customColorPalette,
                },
            },
            "heading": {
                "options": [
                    {
                        "model": "paragraph",
                        "title": "Paragraph",
                        "class": "ck-heading_paragraph",
                    },
                    {
                        "model": "heading1",
                        "view": "h1",
                        "title": "Heading 1",
                        "class": "ck-heading_heading1",
                    },
                    {
                        "model": "heading2",
                        "view": "h2",
                        "title": "Heading 2",
                        "class": "ck-heading_heading2",
                    },
                    {
                        "model": "heading3",
                        "view": "h3",
                        "title": "Heading 3",
                        "class": "ck-heading_heading3",
                    },
                ]
            },
        },
        "list": {
            "properties": {
                "styles": "true",
                "startIndex": "true",
                "reversed": "true",
            }
        },
    }

Settings in /home/allianceserver/myauth/myauth/urls.py

Also, make sure to update your urls.py with the following and remove the old
CKEditor URL configuration if it's present:

from django.apps import apps  # Only if not already imported earlier
from django.conf import settings  # Only if not already imported earlier
from django.conf.urls.static import static  # Only if not already imported earlier
from django.urls import path  # Only if not already imported earlier

# If django_ckeditor_5 is loaded
if apps.is_installed("django_ckeditor_5"):
    # URL configuration for CKEditor 5
    urlpatterns = (
        [
            path(
                "ckeditor5/",
                include("django_ckeditor_5.urls"),
                name="ck_editor_5_upload_file",
            ),
        ]
        + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
        + urlpatterns
    )

Git History

New Contribu...

Read more

2.0.0-beta.1

18 Feb 14:42
8fd09e1
Compare
Choose a tag to compare
2.0.0-beta.1 Pre-release
Pre-release

Note

This version needs at least Alliance Auth v4.0.0b1!

Please make sure to update your Alliance Auth instance before
you install this version, otherwise an update to Alliance Auth will
be pulled in unsupervised.

Important

With this version, we switched to a new WYSIWYG editor.
Please make sure to read the update information
to make sure your configuration is up to date.

Added

  • Compatibility to Alliance Auth v4
    • Bootstrap 5
    • Django 4.2

Fixed

  • Pluralisation in a template string

Changed

  • JS modernized
  • CSS modernizes
  • Templates changed to Bootstrap 5
  • Switched from CKEditor 4 to CKEditor 5 (Configuration update necessary, see below)
  • Translations improved
    • French
    • Chinese
    • Spanish

Removed

  • Compatibility to Alliance Auth v3

Update Information

This version introduces a new WYSIWYG editor. Some configuration changes are necessary.

Settings in /home/allianceserver/myauth/myauth/settings/local.py

Please make sure to update your local.py with the following configuration.
Add "django_ckeditor_5", to INSTALLED_APPS and remove the following apps
if they are present:

"ckeditor",
"ckeditor_uploader",
"django_ckeditor_youtube_plugin",

Remove the old CKEditor configuration and replace it with the following:

# Django CKEditor 5 Configuration
if "django_ckeditor_5" in INSTALLED_APPS:
    MEDIA_URL = "/media/uploads/"
    MEDIA_ROOT = "/var/www/myauth/media/uploads"

    customColorPalette = [
        {"color": "hsl(4, 90%, 58%)", "label": "Red"},
        {"color": "hsl(340, 82%, 52%)", "label": "Pink"},
        {"color": "hsl(291, 64%, 42%)", "label": "Purple"},
        {"color": "hsl(262, 52%, 47%)", "label": "Deep Purple"},
        {"color": "hsl(231, 48%, 48%)", "label": "Indigo"},
        {"color": "hsl(207, 90%, 54%)", "label": "Blue"},
    ]

    CKEDITOR_5_CONFIGS = {
        "default": {
            "toolbar": [
                "heading",
                "|",
                "bold",
                "italic",
                "link",
                "bulletedList",
                "numberedList",
                "blockQuote",
            ],
        },
        "extends": {
            "blockToolbar": [
                "paragraph",
                "heading1",
                "heading2",
                "heading3",
                "|",
                "bulletedList",
                "numberedList",
                "|",
                "blockQuote",
            ],
            "toolbar": [
                "heading",
                "|",
                "outdent",
                "indent",
                "|",
                "bold",
                "italic",
                "link",
                "underline",
                "strikethrough",
                "subscript",
                "superscript",
                "highlight",
                "|",
                "insertImage",
                "mediaEmbed",
                "|",
                "bulletedList",
                "numberedList",
                "todoList",
                "insertTable",
                "|",
                "blockQuote",
                "codeBlock",
                "|",
                "fontSize",
                "fontFamily",
                "fontColor",
                "fontBackgroundColor",
                "removeFormat",
                "|",
                "sourceEditing",
            ],
            "image": {
                "toolbar": [
                    "imageTextAlternative",
                    "|",
                    "imageStyle:alignLeft",
                    "imageStyle:alignRight",
                    "imageStyle:alignCenter",
                    "imageStyle:side",
                    "|",
                ],
                "styles": [
                    "full",
                    "side",
                    "alignLeft",
                    "alignRight",
                    "alignCenter",
                ],
            },
            "table": {
                "contentToolbar": [
                    "tableColumn",
                    "tableRow",
                    "mergeTableCells",
                    "tableProperties",
                    "tableCellProperties",
                ],
                "tableProperties": {
                    "borderColors": customColorPalette,
                    "backgroundColors": customColorPalette,
                },
                "tableCellProperties": {
                    "borderColors": customColorPalette,
                    "backgroundColors": customColorPalette,
                },
            },
            "heading": {
                "options": [
                    {
                        "model": "paragraph",
                        "title": "Paragraph",
                        "class": "ck-heading_paragraph",
                    },
                    {
                        "model": "heading1",
                        "view": "h1",
                        "title": "Heading 1",
                        "class": "ck-heading_heading1",
                    },
                    {
                        "model": "heading2",
                        "view": "h2",
                        "title": "Heading 2",
                        "class": "ck-heading_heading2",
                    },
                    {
                        "model": "heading3",
                        "view": "h3",
                        "title": "Heading 3",
                        "class": "ck-heading_heading3",
                    },
                ]
            },
        },
        "list": {
            "properties": {
                "styles": "true",
                "startIndex": "true",
                "reversed": "true",
            }
        },
    }

Settings in /home/allianceserver/myauth/myauth/urls.py

Also, make sure to update your urls.py with the following and remove the old
CKEditor URL configuration if it's present:

from django.apps import apps  # Only if not already imported earlier
from django.conf import settings  # Only if not already imported earlier
from django.conf.urls.static import static  # Only if not already imported earlier

# If django_ckeditor_5 is loaded
if apps.is_installed("django_ckeditor_5"):
    # URL configuration for CKEditor 5
    urlpatterns = (
        [
            path(
                "ckeditor5/",
                include("django_ckeditor_5.urls"),
                name="ck_editor_5_upload_file",
            ),
        ]
        + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
        + urlpatterns
    )

Git History

New Contributors

Full Changelog: v1.13.2...v2.0.0-beta.1

1.13.2

26 Sep 07:32
044173e
Compare
Choose a tag to compare

[1.13.2] - 2023-09-26

Fixed

  • Capitalization for translatable strings

Changed

  • Translations improved and updated

Git History

New Contributors

Full Changelog: v1.13.1...v1.13.2

1.13.1

02 Sep 16:16
2c74bab
Compare
Choose a tag to compare

[1.13.1] - 2023-09-02

Changed

  • Korean translation improved
  • Spanish translation improved

Git History

Full Changelog: v1.13.0...v1.13.1