aa-bulletin-board 2.0.0b1__tar.gz → 2.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/PKG-INFO +14 -13
  2. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/README.md +10 -7
  3. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/__init__.py +1 -1
  4. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/auth_hooks.py +1 -1
  5. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/cs/LC_MESSAGES/django.mo +0 -0
  6. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/cs/LC_MESSAGES/django.po +181 -0
  7. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/de/LC_MESSAGES/django.mo +0 -0
  8. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/de/LC_MESSAGES/django.po +44 -36
  9. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/django.pot +39 -31
  10. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/es/LC_MESSAGES/django.mo +0 -0
  11. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/es/LC_MESSAGES/django.po +47 -39
  12. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  13. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/fr_FR/LC_MESSAGES/django.po +189 -0
  14. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/it_IT/LC_MESSAGES/django.mo +0 -0
  15. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/it_IT/LC_MESSAGES/django.po +43 -35
  16. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/ja/LC_MESSAGES/django.mo +0 -0
  17. {aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/zh_Hans → aa_bulletin_board-2.1.0/aa_bulletin_board/locale/ja}/LC_MESSAGES/django.po +52 -45
  18. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  19. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/ko_KR/LC_MESSAGES/django.po +50 -38
  20. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/nl/LC_MESSAGES/django.mo +0 -0
  21. {aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/ja → aa_bulletin_board-2.1.0/aa_bulletin_board/locale/nl}/LC_MESSAGES/django.po +46 -37
  22. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/pl_PL/LC_MESSAGES/django.mo +0 -0
  23. {aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/fr_FR → aa_bulletin_board-2.1.0/aa_bulletin_board/locale/pl_PL}/LC_MESSAGES/django.po +52 -43
  24. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/ru/LC_MESSAGES/django.mo +0 -0
  25. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/ru/LC_MESSAGES/django.po +46 -37
  26. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/sk/LC_MESSAGES/django.mo +0 -0
  27. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/sk/LC_MESSAGES/django.po +178 -0
  28. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/uk/LC_MESSAGES/django.mo +0 -0
  29. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/locale/uk/LC_MESSAGES/django.po +48 -38
  30. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  31. aa_bulletin_board-2.1.0/aa_bulletin_board/locale/zh_Hans/LC_MESSAGES/django.po +178 -0
  32. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/static/aa_bulletin_board/css/aa-bulletin-board.css +1 -2
  33. aa_bulletin_board-2.1.0/aa_bulletin_board/static/aa_bulletin_board/css/aa-bulletin-board.min.css +2 -0
  34. aa_bulletin_board-2.1.0/aa_bulletin_board/static/aa_bulletin_board/css/aa-bulletin-board.min.css.map +1 -0
  35. aa_bulletin_board-2.1.0/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-oembed.js +46 -0
  36. aa_bulletin_board-2.1.0/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-oembed.min.js +2 -0
  37. aa_bulletin_board-2.1.0/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-oembed.min.js.map +1 -0
  38. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/dashboard.html +1 -1
  39. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/tests/test_auth_hooks.py +1 -1
  40. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/tests/utils.py +1 -2
  41. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/pyproject.toml +12 -16
  42. aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/de/LC_MESSAGES/django.mo +0 -0
  43. aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  44. aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
  45. aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/ru/LC_MESSAGES/django.mo +0 -0
  46. aa_bulletin_board-2.0.0b1/aa_bulletin_board/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  47. aa_bulletin_board-2.0.0b1/aa_bulletin_board/static/aa_bulletin_board/css/aa-bulletin-board.min.css +0 -2
  48. aa_bulletin_board-2.0.0b1/aa_bulletin_board/static/aa_bulletin_board/css/aa-bulletin-board.min.css.map +0 -1
  49. aa_bulletin_board-2.0.0b1/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-oembed.js +0 -48
  50. aa_bulletin_board-2.0.0b1/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-oembed.min.js +0 -2
  51. aa_bulletin_board-2.0.0b1/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-oembed.min.js.map +0 -1
  52. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/.gitignore +0 -0
  53. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/LICENSE +0 -0
  54. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/apps.py +0 -0
  55. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/forms.py +0 -0
  56. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/helpers.py +0 -0
  57. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/managers.py +0 -0
  58. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/migrations/0001_initial.py +0 -0
  59. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/migrations/0002_alter_bulletin_slug.py +0 -0
  60. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/migrations/0003_group_restrictions.py +0 -0
  61. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/migrations/0004_model_translation.py +0 -0
  62. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/migrations/0005_alter_general_options.py +0 -0
  63. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/migrations/0006_switch_to_ckeditor_5.py +0 -0
  64. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/migrations/__init__.py +0 -0
  65. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/models.py +0 -0
  66. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-equal-height.js +0 -0
  67. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-equal-height.min.js +0 -0
  68. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/static/aa_bulletin_board/javascript/aa-bulletin-board-equal-height.min.js.map +0 -0
  69. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/static/aa_bulletin_board/libs/sumoselect/3.4.8/jquery.sumoselect.js +0 -0
  70. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/static/aa_bulletin_board/libs/sumoselect/3.4.8/jquery.sumoselect.min.js +0 -0
  71. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/static/aa_bulletin_board/libs/sumoselect/3.4.8/sumoselect.min.css +0 -0
  72. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/base.html +0 -0
  73. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bulletin.html +0 -0
  74. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/aa-bulletin-board-css.html +0 -0
  75. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/aa-bulletin-board-equal-height-js.html +0 -0
  76. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/aa-bulletin-board-oembed-js.html +0 -0
  77. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/ckeditor5-css.html +0 -0
  78. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/ckeditor5-js.html +0 -0
  79. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/sumoselect-css.html +0 -0
  80. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/bundles/sumoselect-js.html +0 -0
  81. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html +0 -0
  82. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/partials/common/bulletin-board-management.html +0 -0
  83. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html +0 -0
  84. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templates/aa_bulletin_board/partials/header/page-header.html +0 -0
  85. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templatetags/__init__.py +0 -0
  86. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/templatetags/aa_bulletin_board.py +0 -0
  87. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/tests/__init__.py +0 -0
  88. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/tests/test_access.py +0 -0
  89. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/tests/test_bulletins.py +0 -0
  90. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/tests/test_templatetags.py +0 -0
  91. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/tests/test_user_interface.py +0 -0
  92. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/urls.py +0 -0
  93. {aa_bulletin_board-2.0.0b1 → aa_bulletin_board-2.1.0}/aa_bulletin_board/views.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: aa-bulletin-board
3
- Version: 2.0.0b1
3
+ Version: 2.1.0
4
4
  Summary: A simple bulletin board for Alliance Auth
5
5
  Project-URL: Changelog, https://github.com/ppfeufer/aa-bulletin-board/blob/master/CHANGELOG.md
6
6
  Project-URL: Documentation, https://github.com/ppfeufer/aa-bulletin-board/blob/master/README.md
@@ -693,16 +693,14 @@ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
693
693
  Classifier: Operating System :: OS Independent
694
694
  Classifier: Programming Language :: Python
695
695
  Classifier: Programming Language :: Python :: 3 :: Only
696
- Classifier: Programming Language :: Python :: 3.8
697
- Classifier: Programming Language :: Python :: 3.9
698
696
  Classifier: Programming Language :: Python :: 3.10
699
697
  Classifier: Programming Language :: Python :: 3.11
700
698
  Classifier: Programming Language :: Python :: 3.12
701
699
  Classifier: Topic :: Internet :: WWW/HTTP
702
700
  Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
703
- Requires-Python: >=3.8
701
+ Requires-Python: >=3.10
704
702
  Requires-Dist: allianceauth-app-utils>=1.19.1
705
- Requires-Dist: allianceauth>=4.0.0b1
703
+ Requires-Dist: allianceauth<5,>=4
706
704
  Requires-Dist: django-ckeditor-5>=0.2.11
707
705
  Requires-Dist: unidecode
708
706
  Provides-Extra: tests-allianceauth-latest
@@ -735,7 +733,7 @@ ______________________________________________________________________
735
733
  <!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=1 -->
736
734
 
737
735
  - [AA Bulletin Board](#aa-bulletin-board)
738
- - [⚠️ Before You Install This Module ⚠️](#%E2%9A%A0%EF%B8%8F-before-you-install-this-module-%E2%9A%A0%EF%B8%8F)
736
+ - [Before You Install This Module](#before-you-install-this-module)
739
737
  - [Installation](#installation)
740
738
  - [Step 1: Install the Package](#step-1-install-the-package)
741
739
  - [Step 2: Configure Alliance Auth](#step-2-configure-alliance-auth)
@@ -757,7 +755,7 @@ ______________________________________________________________________
757
755
 
758
756
  ![AA Bulletin Board](https://raw.githubusercontent.com/ppfeufer/aa-bulletin-board/master/docs/images/presentation/aa-bulletin-board.jpg "AA Bulletin Board")
759
757
 
760
- ## ⚠️ Before You Install This Module ⚠️<a name="%E2%9A%A0%EF%B8%8F-before-you-install-this-module-%E2%9A%A0%EF%B8%8F"></a>
758
+ ## Before You Install This Module<a name="before-you-install-this-module"></a>
761
759
 
762
760
  This app needs quite some configuration done before working properly. You need to
763
761
  modify your Apache/Nginx configuration as well as the global URL config of Alliance
@@ -768,11 +766,13 @@ these kinds of changes. For your own sanity, and mine :-)
768
766
 
769
767
  > \[!NOTE\]
770
768
  >
771
- > **AA Bulletin Board needs at least Alliance Auth v4.0.0!**
769
+ > **AA Bulletin Board >=2.0.0 needs at least Alliance Auth v4.0.0!**
772
770
  >
773
771
  > Please make sure to update your Alliance Auth instance _before_ you install this
774
772
  > module or update to the latest version, otherwise an update to Alliance Auth will
775
773
  > be pulled in unsupervised.
774
+ >
775
+ > The last version compatible with Alliance Auth v3 is `1.13.2`.
776
776
 
777
777
  **Important**: Please make sure you meet all preconditions before you proceed:
778
778
 
@@ -808,8 +808,8 @@ INSTALLED_APPS += [
808
808
 
809
809
  # Django CKEditor 5 Configuration
810
810
  if "django_ckeditor_5" in INSTALLED_APPS:
811
- MEDIA_URL = "/media/"
812
- MEDIA_ROOT = os.path.join(BASE_DIR, "media/uploads")
811
+ MEDIA_URL = "/media/uploads/"
812
+ MEDIA_ROOT = "/var/www/myauth/media/uploads"
813
813
 
814
814
  customColorPalette = [
815
815
  {"color": "hsl(4, 90%, 58%)", "label": "Red"},
@@ -962,6 +962,7 @@ following block right before the `handler` definitions:
962
962
  from django.apps import apps # Only if not already imported earlier
963
963
  from django.conf import settings # Only if not already imported earlier
964
964
  from django.conf.urls.static import static # Only if not already imported earlier
965
+ from django.urls import path # Only if not already imported earlier
965
966
 
966
967
  # If django_ckeditor_5 is loaded
967
968
  if apps.is_installed("django_ckeditor_5"):
@@ -984,14 +985,14 @@ After this, your `urls.py` should look similar to this:
984
985
  ```python
985
986
  from django.apps import apps
986
987
  from django.conf import settings
987
- from django.urls import include, re_path
988
988
  from django.conf.urls.static import static
989
+ from django.urls import include, path, re_path
989
990
 
990
991
  from allianceauth import urls
991
992
 
992
993
  # Alliance auth urls
993
994
  urlpatterns = [
994
- re_path(r"", include(urls)),
995
+ path(r"", include(urls)),
995
996
  ]
996
997
 
997
998
  # If django_ckeditor_5 is loaded
@@ -22,7 +22,7 @@ ______________________________________________________________________
22
22
  <!-- mdformat-toc start --slug=github --maxlevel=6 --minlevel=1 -->
23
23
 
24
24
  - [AA Bulletin Board](#aa-bulletin-board)
25
- - [⚠️ Before You Install This Module ⚠️](#%E2%9A%A0%EF%B8%8F-before-you-install-this-module-%E2%9A%A0%EF%B8%8F)
25
+ - [Before You Install This Module](#before-you-install-this-module)
26
26
  - [Installation](#installation)
27
27
  - [Step 1: Install the Package](#step-1-install-the-package)
28
28
  - [Step 2: Configure Alliance Auth](#step-2-configure-alliance-auth)
@@ -44,7 +44,7 @@ ______________________________________________________________________
44
44
 
45
45
  ![AA Bulletin Board](https://raw.githubusercontent.com/ppfeufer/aa-bulletin-board/master/docs/images/presentation/aa-bulletin-board.jpg "AA Bulletin Board")
46
46
 
47
- ## ⚠️ Before You Install This Module ⚠️<a name="%E2%9A%A0%EF%B8%8F-before-you-install-this-module-%E2%9A%A0%EF%B8%8F"></a>
47
+ ## Before You Install This Module<a name="before-you-install-this-module"></a>
48
48
 
49
49
  This app needs quite some configuration done before working properly. You need to
50
50
  modify your Apache/Nginx configuration as well as the global URL config of Alliance
@@ -55,11 +55,13 @@ these kinds of changes. For your own sanity, and mine :-)
55
55
 
56
56
  > \[!NOTE\]
57
57
  >
58
- > **AA Bulletin Board needs at least Alliance Auth v4.0.0!**
58
+ > **AA Bulletin Board >=2.0.0 needs at least Alliance Auth v4.0.0!**
59
59
  >
60
60
  > Please make sure to update your Alliance Auth instance _before_ you install this
61
61
  > module or update to the latest version, otherwise an update to Alliance Auth will
62
62
  > be pulled in unsupervised.
63
+ >
64
+ > The last version compatible with Alliance Auth v3 is `1.13.2`.
63
65
 
64
66
  **Important**: Please make sure you meet all preconditions before you proceed:
65
67
 
@@ -95,8 +97,8 @@ INSTALLED_APPS += [
95
97
 
96
98
  # Django CKEditor 5 Configuration
97
99
  if "django_ckeditor_5" in INSTALLED_APPS:
98
- MEDIA_URL = "/media/"
99
- MEDIA_ROOT = os.path.join(BASE_DIR, "media/uploads")
100
+ MEDIA_URL = "/media/uploads/"
101
+ MEDIA_ROOT = "/var/www/myauth/media/uploads"
100
102
 
101
103
  customColorPalette = [
102
104
  {"color": "hsl(4, 90%, 58%)", "label": "Red"},
@@ -249,6 +251,7 @@ following block right before the `handler` definitions:
249
251
  from django.apps import apps # Only if not already imported earlier
250
252
  from django.conf import settings # Only if not already imported earlier
251
253
  from django.conf.urls.static import static # Only if not already imported earlier
254
+ from django.urls import path # Only if not already imported earlier
252
255
 
253
256
  # If django_ckeditor_5 is loaded
254
257
  if apps.is_installed("django_ckeditor_5"):
@@ -271,14 +274,14 @@ After this, your `urls.py` should look similar to this:
271
274
  ```python
272
275
  from django.apps import apps
273
276
  from django.conf import settings
274
- from django.urls import include, re_path
275
277
  from django.conf.urls.static import static
278
+ from django.urls import include, path, re_path
276
279
 
277
280
  from allianceauth import urls
278
281
 
279
282
  # Alliance auth urls
280
283
  urlpatterns = [
281
- re_path(r"", include(urls)),
284
+ path(r"", include(urls)),
282
285
  ]
283
286
 
284
287
  # If django_ckeditor_5 is loaded
@@ -5,5 +5,5 @@ App init
5
5
  # Django
6
6
  from django.utils.translation import gettext_lazy as _
7
7
 
8
- __version__ = "2.0.0-beta.1"
8
+ __version__ = "2.1.0"
9
9
  __title__ = _("Bulletin Board")
@@ -23,7 +23,7 @@ class AaBulletinBoardMenuItem(MenuItemHook): # pylint: disable=too-few-public-m
23
23
  MenuItemHook.__init__(
24
24
  self,
25
25
  text=__title__,
26
- classes="fas fa-clipboard-list",
26
+ classes="fa-solid fa-clipboard-list",
27
27
  url_name="aa_bulletin_board:dashboard",
28
28
  navactive=["aa_bulletin_board:"],
29
29
  )
@@ -0,0 +1,181 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # Dadas Aideron <dadas.aideron@gmail.com>, 2024.
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: PACKAGE VERSION\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2024-03-20 17:29+0100\n"
10
+ "PO-Revision-Date: 2024-07-10 14:26+0000\n"
11
+ "Last-Translator: Dadas Aideron <dadas.aideron@gmail.com>\n"
12
+ "Language-Team: Czech <https://weblate.ppfeufer.de/projects/"
13
+ "alliance-auth-apps/aa-bulletin-board/cs/>\n"
14
+ "Language: cs\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
19
+ "<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
20
+ "X-Generator: Weblate 5.6.2\n"
21
+
22
+ #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
23
+ #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
24
+ #: aa_bulletin_board/templates/aa_bulletin_board/base.html:10
25
+ #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:5
26
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:8
27
+ msgid "Bulletin Board"
28
+ msgstr "Nástěnka"
29
+
30
+ #. Translators: This is the app name and version, which will appear in the Django Backend
31
+ #: aa_bulletin_board/apps.py:21
32
+ #, python-brace-format
33
+ msgid "Bulletin Board v{__version__}"
34
+ msgstr "Nástěnka v{__version__}"
35
+
36
+ #: aa_bulletin_board/forms.py:65
37
+ msgid ""
38
+ "Restrict this bulletin to certain groups. If no group restrictions are in "
39
+ "place, everyone who has access to this module can read this bulletin."
40
+ msgstr ""
41
+ "Omez nástěnku pro určité skupiny. Pokud nejsou nastavena žádná omezení, "
42
+ "všichni s přístupem k tomuto modulu můžou číst tuto nástěnku."
43
+
44
+ #: aa_bulletin_board/forms.py:112
45
+ msgid "You have forgotten the content!"
46
+ msgstr "Zapomněl jsi obsah!"
47
+
48
+ #: aa_bulletin_board/models.py:71
49
+ msgid "Can access this app"
50
+ msgstr "Má přístup k této aplikaci"
51
+
52
+ #: aa_bulletin_board/models.py:72
53
+ msgid "Can manage (add/change/remove) bulletins"
54
+ msgstr "Může spravovat (přidat, měnit, odstranit) nástěnky"
55
+
56
+ #: aa_bulletin_board/models.py:81
57
+ msgid "Title"
58
+ msgstr "Nadpis"
59
+
60
+ #: aa_bulletin_board/models.py:84
61
+ msgid "Content"
62
+ msgstr "Obsah"
63
+
64
+ #. Translators: This is the date and time the bulletin has been created
65
+ #: aa_bulletin_board/models.py:90
66
+ msgid "Created"
67
+ msgstr "Vytvořeno"
68
+
69
+ #. Translators: This is the date and time the bulletin has been updated
70
+ #: aa_bulletin_board/models.py:96
71
+ msgid "Updated"
72
+ msgstr "Upraveno"
73
+
74
+ #: aa_bulletin_board/models.py:105
75
+ msgid "User"
76
+ msgstr "Uživatel"
77
+
78
+ #: aa_bulletin_board/models.py:111
79
+ msgid "Group restrictions"
80
+ msgstr "Omezení skupiny"
81
+
82
+ #: aa_bulletin_board/models.py:122
83
+ msgid "Bulletin"
84
+ msgstr "Nástěnka"
85
+
86
+ #: aa_bulletin_board/models.py:123
87
+ msgid "Bulletins"
88
+ msgstr "Nástěnky"
89
+
90
+ #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:16
91
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:34
92
+ msgid "Back"
93
+ msgstr "Zpět"
94
+
95
+ #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:19
96
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:36
97
+ msgid "Edit"
98
+ msgstr "Upravit"
99
+
100
+ #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:20
101
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:37
102
+ msgid "Delete"
103
+ msgstr "Smazat"
104
+
105
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:17
106
+ msgid "This bulletin is restricted to the following group:"
107
+ msgid_plural "This bulletin is restricted to the following groups:"
108
+ msgstr[0] "Tato nástěnka je omezena pro tuto skupinu:"
109
+ msgstr[1] "Tato nástěnka je omezena pro tyto skupiny:"
110
+ msgstr[2] "Tato nástěnka je omezena pro tyto skupiny:"
111
+ msgstr[3] "Tato nástěnka je omezena pro tyto skupiny:"
112
+
113
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:33
114
+ msgid "Read more"
115
+ msgstr "Zobrazit více"
116
+
117
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:47
118
+ msgid "No bulletins found."
119
+ msgstr "Žádné nástěnky nebyly nalezeny."
120
+
121
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:11
122
+ msgid "Edit bulletin"
123
+ msgstr "Upravit nástěnku"
124
+
125
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:14
126
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:25
127
+ msgid "Create new bulletin"
128
+ msgstr "Vytvořit nástěnku"
129
+
130
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:45
131
+ msgid "Update bulletin"
132
+ msgstr "Aktualizovat nástěnku"
133
+
134
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:47
135
+ msgid "Create bulletin"
136
+ msgstr "Vytvořit nástěnku"
137
+
138
+ #: aa_bulletin_board/templates/aa_bulletin_board/partials/common/bulletin-board-management.html:7
139
+ msgid "Add bulletin"
140
+ msgstr "Přidat nástěnku"
141
+
142
+ #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:5
143
+ msgid ""
144
+ "Do you want to help translate this app into your language or improve the "
145
+ "existing translation?"
146
+ msgstr ""
147
+ "Chceš pomoc s překladem této aplikace do tvého jazyka, nebo vylepšit "
148
+ "současný překlad?"
149
+
150
+ #: aa_bulletin_board/templates/aa_bulletin_board/partials/footer/app-translation-footer.html:8
151
+ msgid "Join our team of translators!"
152
+ msgstr "Připoj se k našemu týmu překladatelů!"
153
+
154
+ #: aa_bulletin_board/views.py:98
155
+ #, python-brace-format
156
+ msgid "Bulletin \"{bulletin__title}\" created."
157
+ msgstr "Nástěnka \"{bulletin__title}\" vytvořena."
158
+
159
+ #: aa_bulletin_board/views.py:141
160
+ msgid ""
161
+ "The bulletin you are looking for does either not exist, or you don't have "
162
+ "access to it."
163
+ msgstr "Nástěnka kterou hledáte buďto neexistuje, nebo k ní nemáte přístup."
164
+
165
+ #: aa_bulletin_board/views.py:168
166
+ msgid "The bulletin you are trying to edit does not exist."
167
+ msgstr "Nástěnka kterou chcete upravit neexistuje."
168
+
169
+ #: aa_bulletin_board/views.py:195
170
+ #, python-brace-format
171
+ msgid "Bulletin \"{bulletin__title}\" updated."
172
+ msgstr "Nástěnka \"{bulletin__title}\" aktualizována."
173
+
174
+ #: aa_bulletin_board/views.py:227
175
+ #, python-brace-format
176
+ msgid "Bulletin \"{bulletin.title}\" deleted."
177
+ msgstr "Nástěnka \"{bulletin.title}\" smazána."
178
+
179
+ #: aa_bulletin_board/views.py:234
180
+ msgid "The bulletin you are trying to delete does not exist."
181
+ msgstr "Nástěnku kterou se snažíte smazat neexistuje."
@@ -1,27 +1,27 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the PACKAGE package.
4
- # "H. Peter Pfeufer" <info@ppfeufer.de>, 2023.
4
+ # "H. Peter Pfeufer" <info@ppfeufer.de>, 2023, 2024.
5
5
  msgid ""
6
6
  msgstr ""
7
7
  "Project-Id-Version: PACKAGE VERSION\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
- "POT-Creation-Date: 2023-10-01 13:56+0200\n"
10
- "PO-Revision-Date: 2023-10-01 11:43+0000\n"
9
+ "POT-Creation-Date: 2024-03-15 18:14+0100\n"
10
+ "PO-Revision-Date: 2024-05-10 13:57+0000\n"
11
11
  "Last-Translator: Peter Pfeufer <info@ppfeufer.de>\n"
12
- "Language-Team: German <https://weblate.ppfeufer.de/projects/alliance-auth-"
13
- "apps/aa-bulletin-board/de/>\n"
12
+ "Language-Team: German <https://weblate.ppfeufer.de/projects/"
13
+ "alliance-auth-apps/aa-bulletin-board/de/>\n"
14
14
  "Language: de\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
17
  "Content-Transfer-Encoding: 8bit\n"
18
18
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
19
- "X-Generator: Weblate 5.0.2\n"
19
+ "X-Generator: Weblate 5.5.3\n"
20
20
 
21
- #: aa_bulletin_board/__init__.py:12 aa_bulletin_board/models.py:67
22
- #: aa_bulletin_board/templates/aa_bulletin_board/base.html:5
21
+ #: aa_bulletin_board/__init__.py:9 aa_bulletin_board/models.py:67
22
+ #: aa_bulletin_board/templates/aa_bulletin_board/base.html:6
23
+ #: aa_bulletin_board/templates/aa_bulletin_board/base.html:10
23
24
  #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:5
24
- #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:6
25
25
  #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:8
26
26
  msgid "Bulletin Board"
27
27
  msgstr "Bulletin Board"
@@ -32,7 +32,7 @@ msgstr "Bulletin Board"
32
32
  msgid "Bulletin Board v{__version__}"
33
33
  msgstr "Bulletin Board v{__version__}"
34
34
 
35
- #: aa_bulletin_board/forms.py:71
35
+ #: aa_bulletin_board/forms.py:65
36
36
  msgid ""
37
37
  "Restrict this bulletin to certain groups. If no group restrictions are in "
38
38
  "place, everyone who has access to this module can read this bulletin."
@@ -41,6 +41,10 @@ msgstr ""
41
41
  "Gruppenbeschränkungen bestehen, kann jeder der Zugriff auf dieses Modul hat, "
42
42
  "dieses Bulletin lesen."
43
43
 
44
+ #: aa_bulletin_board/forms.py:112
45
+ msgid "You have forgotten the content!"
46
+ msgstr "Du hast den Inhalt vergessen!"
47
+
44
48
  #: aa_bulletin_board/models.py:71
45
49
  msgid "Can access this app"
46
50
  msgstr "Kann auf diese App zugreifen"
@@ -53,61 +57,65 @@ msgstr "Kann Bulletins verwalten (hinzufügen/ändern/entfernen)"
53
57
  msgid "Title"
54
58
  msgstr "Titel"
55
59
 
56
- #: aa_bulletin_board/models.py:83
60
+ #: aa_bulletin_board/models.py:84
57
61
  msgid "Content"
58
62
  msgstr "Inhalt"
59
63
 
60
64
  #. Translators: This is the date and time the bulletin has been created
61
- #: aa_bulletin_board/models.py:88
65
+ #: aa_bulletin_board/models.py:90
62
66
  msgid "Created"
63
67
  msgstr "Erstellt"
64
68
 
65
69
  #. Translators: This is the date and time the bulletin has been updated
66
- #: aa_bulletin_board/models.py:94
70
+ #: aa_bulletin_board/models.py:96
67
71
  msgid "Updated"
68
72
  msgstr "Aktualisiert"
69
73
 
70
- #: aa_bulletin_board/models.py:103
74
+ #: aa_bulletin_board/models.py:105
71
75
  msgid "User"
72
76
  msgstr "Nutzer"
73
77
 
74
- #: aa_bulletin_board/models.py:109
78
+ #: aa_bulletin_board/models.py:111
75
79
  msgid "Group restrictions"
76
80
  msgstr "Gruppenbeschränkungen"
77
81
 
78
- #: aa_bulletin_board/models.py:120
82
+ #: aa_bulletin_board/models.py:122
79
83
  msgid "Bulletin"
80
84
  msgstr "Bulletin"
81
85
 
82
- #: aa_bulletin_board/models.py:121
86
+ #: aa_bulletin_board/models.py:123
83
87
  msgid "Bulletins"
84
88
  msgstr "Bulletins"
85
89
 
86
- #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:18
90
+ #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:16
87
91
  #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:34
88
92
  msgid "Back"
89
93
  msgstr "Zurück"
90
94
 
91
- #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:21
92
- #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:39
95
+ #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:19
96
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:36
93
97
  msgid "Edit"
94
98
  msgstr "Bearbeiten"
95
99
 
96
- #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:22
97
- #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:40
100
+ #: aa_bulletin_board/templates/aa_bulletin_board/bulletin.html:20
101
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:37
98
102
  msgid "Delete"
99
103
  msgstr "Löschen"
100
104
 
101
- #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:24
105
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:17
102
106
  msgid "This bulletin is restricted to the following group:"
103
107
  msgid_plural "This bulletin is restricted to the following groups:"
104
108
  msgstr[0] "Dieses Bulletin ist auf die folgende Gruppe beschränkt:"
105
109
  msgstr[1] "Dieses Bulletin ist auf die folgenden Gruppen beschränkt:"
106
110
 
107
- #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:36
111
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:33
108
112
  msgid "Read more"
109
113
  msgstr "Weiter lesen"
110
114
 
115
+ #: aa_bulletin_board/templates/aa_bulletin_board/dashboard.html:47
116
+ msgid "No bulletins found."
117
+ msgstr "Keine Bulletins gefunden."
118
+
111
119
  #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:11
112
120
  msgid "Edit bulletin"
113
121
  msgstr "Bulletin bearbeiten"
@@ -117,15 +125,15 @@ msgstr "Bulletin bearbeiten"
117
125
  msgid "Create new bulletin"
118
126
  msgstr "Neuen Bulletin erstellen"
119
127
 
120
- #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:47
128
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:45
121
129
  msgid "Update bulletin"
122
130
  msgstr "Bulletin aktualisieren"
123
131
 
124
- #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:49
132
+ #: aa_bulletin_board/templates/aa_bulletin_board/edit-bulletin.html:47
125
133
  msgid "Create bulletin"
126
134
  msgstr "Bulletin erstellen"
127
135
 
128
- #: aa_bulletin_board/templates/aa_bulletin_board/partials/common/bulletin-board-management.html:6
136
+ #: aa_bulletin_board/templates/aa_bulletin_board/partials/common/bulletin-board-management.html:7
129
137
  msgid "Add bulletin"
130
138
  msgstr "Bulletin hinzufügen"
131
139
 
@@ -141,32 +149,32 @@ msgstr ""
141
149
  msgid "Join our team of translators!"
142
150
  msgstr "Tritt unserm Team von Übersetzern bei!"
143
151
 
144
- #: aa_bulletin_board/views.py:82
152
+ #: aa_bulletin_board/views.py:98
145
153
  #, python-brace-format
146
154
  msgid "Bulletin \"{bulletin__title}\" created."
147
155
  msgstr "Bulletin „{bulletin__title}“ erstellt."
148
156
 
149
- #: aa_bulletin_board/views.py:125
157
+ #: aa_bulletin_board/views.py:141
150
158
  msgid ""
151
159
  "The bulletin you are looking for does either not exist, or you don't have "
152
160
  "access to it."
153
161
  msgstr ""
154
162
  "Dieses Bulletin existiert entweder nicht oder Du hast keinen Zugriff darauf."
155
163
 
156
- #: aa_bulletin_board/views.py:167
164
+ #: aa_bulletin_board/views.py:168
165
+ msgid "The bulletin you are trying to edit does not exist."
166
+ msgstr "Das Bulletin das Du bearbeiten möchtest scheint nicht zu existieren."
167
+
168
+ #: aa_bulletin_board/views.py:195
157
169
  #, python-brace-format
158
170
  msgid "Bulletin \"{bulletin__title}\" updated."
159
171
  msgstr "Bulletin „{bulletin__title}“ aktualisiert."
160
172
 
161
- #: aa_bulletin_board/views.py:186
162
- msgid "The bulletin you are trying to edit does not exist."
163
- msgstr "Das Bulletin das Du bearbeiten möchtest scheint nicht zu existieren."
164
-
165
- #: aa_bulletin_board/views.py:210
173
+ #: aa_bulletin_board/views.py:227
166
174
  #, python-brace-format
167
175
  msgid "Bulletin \"{bulletin.title}\" deleted."
168
176
  msgstr "Bulletin „{bulletin.title}“ gelöscht."
169
177
 
170
- #: aa_bulletin_board/views.py:217
178
+ #: aa_bulletin_board/views.py:234
171
179
  msgid "The bulletin you are trying to delete does not exist."
172
180
  msgstr "Das Bulletin das Du versuchst zu löschen scheint nicht zu existieren."