punkweb-bb 0.1.1__py3-none-any.whl → 0.1.3__py3-none-any.whl
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.
- punkweb_bb/__pycache__/apps.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/parsers.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/tests.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/views.cpython-311.pyc +0 -0
- punkweb_bb/migrations/0002_thread_view_count.py +18 -0
- punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc +0 -0
- punkweb_bb/models.py +4 -0
- punkweb_bb/parsers.py +52 -48
- punkweb_bb/settings.py +1 -0
- punkweb_bb/static/punkweb_bb/css/profile.css +7 -0
- punkweb_bb/templates/punkweb_bb/base.html +1 -1
- punkweb_bb/templates/punkweb_bb/index.html +2 -0
- punkweb_bb/templates/punkweb_bb/subcategory.html +7 -1
- punkweb_bb/templates/punkweb_bb/thread.html +5 -2
- punkweb_bb/templates/punkweb_bb/thread_create.html +3 -0
- punkweb_bb/templates/punkweb_bb/thread_update.html +3 -0
- punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/humanize_int.py +12 -0
- punkweb_bb/templatetags/shoutbox_bbcode.py +2 -2
- punkweb_bb/tests.py +518 -2
- punkweb_bb/views.py +12 -3
- punkweb_bb-0.1.3.dist-info/METADATA +171 -0
- {punkweb_bb-0.1.1.dist-info → punkweb_bb-0.1.3.dist-info}/RECORD +33 -45
- punkweb_bb/__pycache__/conf.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/fields.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0002_category_alter_boardprofile_options_subcategory.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0002_create_board_profiles.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0002_remove_shout__content_rendered_alter_shout_content.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0003_thread_post.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0004_category_slug_subcategory_slug.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0005_alter_category_slug_alter_subcategory_slug.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0006_boardprofile_image.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0007_alter_boardprofile_image.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0008_shout.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0009_remove_category__description_rendered_and_more.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0010_alter_boardprofile_options_alter_category_options_and_more.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0011_alter_thread_options_thread_last_post_created_at.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0011_thread_is_closed.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0012_subcategory_staff_post_only.cpython-311.pyc +0 -0
- punkweb_bb-0.1.1.dist-info/METADATA +0 -72
- {punkweb_bb-0.1.1.dist-info → punkweb_bb-0.1.3.dist-info}/LICENSE +0 -0
- {punkweb_bb-0.1.1.dist-info → punkweb_bb-0.1.3.dist-info}/WHEEL +0 -0
- {punkweb_bb-0.1.1.dist-info → punkweb_bb-0.1.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: punkweb-bb
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: Django application that provides a simple and modern forum board software for your Django website.
|
|
5
|
+
Home-page: https://github.com/Punkweb/PunkwebBB
|
|
6
|
+
Author: Punkweb
|
|
7
|
+
Author-email: punkwebnet@gmail.com
|
|
8
|
+
License: BSD-3-Clause
|
|
9
|
+
Classifier: Environment :: Web Environment
|
|
10
|
+
Classifier: Framework :: Django
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: django >=4.0
|
|
19
|
+
Requires-Dist: django-precise-bbcode
|
|
20
|
+
Requires-Dist: pillow
|
|
21
|
+
|
|
22
|
+
# PunkwebBB
|
|
23
|
+
|
|
24
|
+
PunkwebBB is a Django application that provides a simple and modern forum board software for your Django website.
|
|
25
|
+
|
|
26
|
+
This is the successor to [punkweb-boards](https://github.com/Punkweb/punkweb-boards).
|
|
27
|
+
|
|
28
|
+
Check out [punkweb.net](https://punkweb.net/board/) for a live demo and more information!
|
|
29
|
+
|
|
30
|
+
## Built with
|
|
31
|
+
|
|
32
|
+
- [Django](https://www.djangoproject.com/)
|
|
33
|
+
- [django-precise-bbcode](https://github.com/ellmetha/django-precise-bbcode)
|
|
34
|
+
- [HTMX](https://htmx.org/)
|
|
35
|
+
- [jQuery](https://jquery.com/)
|
|
36
|
+
- [SCEditor](https://www.sceditor.com/)
|
|
37
|
+
- [PrismJS](https://prismjs.com/)
|
|
38
|
+
|
|
39
|
+
## Requirements
|
|
40
|
+
|
|
41
|
+
- Python 3.11+
|
|
42
|
+
- Django 4.2+
|
|
43
|
+
- django-precise-bbcode 1.2+
|
|
44
|
+
- Pillow
|
|
45
|
+
|
|
46
|
+
It may work with older versions of Python and Django, but it has not been tested.
|
|
47
|
+
|
|
48
|
+
## Installation
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pip install punkweb-bb
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Add `precise_bbcode` and `punkweb_bb` to your `INSTALLED_APPS` in your Django settings module:
|
|
55
|
+
|
|
56
|
+
```python
|
|
57
|
+
INSTALLED_APPS = [
|
|
58
|
+
...
|
|
59
|
+
"precise_bbcode",
|
|
60
|
+
"punkweb_bb",
|
|
61
|
+
]
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
_Note_: `precise_bbcode` is required. It must be installed before `punkweb_bb`.
|
|
65
|
+
|
|
66
|
+
Add the following middleware to your `MIDDLEWARE` setting:
|
|
67
|
+
|
|
68
|
+
```python
|
|
69
|
+
MIDDLEWARE = [
|
|
70
|
+
...
|
|
71
|
+
"punkweb_bb.middleware.ProfileOnlineCacheMiddleware",
|
|
72
|
+
]
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Add the following context processor to your `TEMPLATES` setting:
|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
TEMPLATES = [
|
|
79
|
+
{
|
|
80
|
+
...
|
|
81
|
+
"OPTIONS": {
|
|
82
|
+
"context_processors": [
|
|
83
|
+
...
|
|
84
|
+
"punkweb_bb.context_processors.punkweb_bb",
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
]
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Add the following URL pattern to your `urls.py`:
|
|
92
|
+
|
|
93
|
+
```python
|
|
94
|
+
from django.urls import path, include
|
|
95
|
+
|
|
96
|
+
urlpatterns = [
|
|
97
|
+
...
|
|
98
|
+
path("forum/", include("punkweb_bb.urls")), # or any other path you want
|
|
99
|
+
]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
And finally, install the models:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
python manage.py migrate
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Configuration
|
|
109
|
+
|
|
110
|
+
These are the default settings for PunkwebBB, which can be overridden in your Django settings module:
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
PUNKWEB_BB = {
|
|
114
|
+
"SITE_NAME": "PUNKWEB",
|
|
115
|
+
"SITE_TITLE": "PunkwebBB",
|
|
116
|
+
"FAVICON": "punkweb_bb/favicon.ico",
|
|
117
|
+
"SHOUTBOX_ENABLED": True,
|
|
118
|
+
}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## Testing
|
|
122
|
+
|
|
123
|
+
Report:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
coverage run && coverage report
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
HTML:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
coverage run && coverage html
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
Found 57 test(s).
|
|
137
|
+
Creating test database for alias 'default'...
|
|
138
|
+
System check identified no issues (0 silenced).
|
|
139
|
+
.........................................................
|
|
140
|
+
----------------------------------------------------------------------
|
|
141
|
+
Ran 57 tests in 8.824s
|
|
142
|
+
|
|
143
|
+
OK
|
|
144
|
+
Destroying test database for alias 'default'...
|
|
145
|
+
Name Stmts Miss Cover
|
|
146
|
+
----------------------------------------------------------------
|
|
147
|
+
punkweb_bb/__init__.py 0 0 100%
|
|
148
|
+
punkweb_bb/admin.py 41 1 98%
|
|
149
|
+
punkweb_bb/admin_forms.py 28 0 100%
|
|
150
|
+
punkweb_bb/apps.py 6 0 100%
|
|
151
|
+
punkweb_bb/bbcode_tags.py 115 3 97%
|
|
152
|
+
punkweb_bb/context_processors.py 3 0 100%
|
|
153
|
+
punkweb_bb/forms.py 35 0 100%
|
|
154
|
+
punkweb_bb/middleware.py 10 0 100%
|
|
155
|
+
punkweb_bb/mixins.py 11 0 100%
|
|
156
|
+
punkweb_bb/models.py 124 0 100%
|
|
157
|
+
punkweb_bb/pagination.py 11 4 64%
|
|
158
|
+
punkweb_bb/parsers.py 50 2 96%
|
|
159
|
+
punkweb_bb/response.py 3 0 100%
|
|
160
|
+
punkweb_bb/settings.py 6 0 100%
|
|
161
|
+
punkweb_bb/signals.py 9 0 100%
|
|
162
|
+
punkweb_bb/templatetags/__init__.py 0 0 100%
|
|
163
|
+
punkweb_bb/templatetags/humanize_int.py 9 5 44%
|
|
164
|
+
punkweb_bb/templatetags/shoutbox_bbcode.py 9 0 100%
|
|
165
|
+
punkweb_bb/tests.py 410 0 100%
|
|
166
|
+
punkweb_bb/urls.py 4 0 100%
|
|
167
|
+
punkweb_bb/views.py 174 17 90%
|
|
168
|
+
punkweb_bb/widgets.py 8 0 100%
|
|
169
|
+
----------------------------------------------------------------
|
|
170
|
+
TOTAL 1066 32 97%
|
|
171
|
+
```
|
|
@@ -7,55 +7,40 @@ punkweb_bb/context_processors.py,sha256=BEOGvWVukvxJUxWZBIc32ioB-mGqImSEBuhhZjqI
|
|
|
7
7
|
punkweb_bb/forms.py,sha256=O1lzmgumdnSEjBKi10c7ODftIqRmvtEIdNj1IODCikk,1977
|
|
8
8
|
punkweb_bb/middleware.py,sha256=lF1w7XM07s1kcrOWodzErHop9zpIE5SEE52YLMAbDKg,456
|
|
9
9
|
punkweb_bb/mixins.py,sha256=XfiThPL7rB71IfukS1ikvYQhfg8RwgSVgsm10Ul1ezM,395
|
|
10
|
-
punkweb_bb/models.py,sha256=
|
|
10
|
+
punkweb_bb/models.py,sha256=Y5w80EQ85Mut71xiDVMALqLXdydlTxOiZEljmnH5g-E,5519
|
|
11
11
|
punkweb_bb/pagination.py,sha256=OgoZuJsq9MKMvBKYylJVPaNtM9ni3K8OAvOdi-eGr3M,409
|
|
12
|
-
punkweb_bb/parsers.py,sha256=
|
|
12
|
+
punkweb_bb/parsers.py,sha256=VjWSPqpVfypHLHP0NrfLqXB-1b0W6oFuGIzoAiPi71I,2732
|
|
13
13
|
punkweb_bb/response.py,sha256=dETGVC9Xrsq02pQzmIIWbSUt472lJ4fgLwBKrXnP3t4,130
|
|
14
|
-
punkweb_bb/settings.py,sha256=
|
|
14
|
+
punkweb_bb/settings.py,sha256=rYKMQxbC6rfzOQgcjAoBuMEgKHOITvOX1PrKTweEYKk,312
|
|
15
15
|
punkweb_bb/signals.py,sha256=bVdfg942Mwq-fYDZ1Z52Q0V2BCk1lgzGz8JVZFPnzJ8,365
|
|
16
|
-
punkweb_bb/tests.py,sha256=
|
|
16
|
+
punkweb_bb/tests.py,sha256=BXkvqtr1JbE2WQYkgjse3wp9ky3cwOzQcVHoqNhHJmw,25989
|
|
17
17
|
punkweb_bb/urls.py,sha256=_mRAtaZoKzPZ_uuOCFy6_lOwFCavv26p5kMKD9MH4c4,1538
|
|
18
|
-
punkweb_bb/views.py,sha256=
|
|
18
|
+
punkweb_bb/views.py,sha256=HDJCM8PgDkQu96UbZLFyjSD2K9WIjLhWEO-QBM3APmk,10723
|
|
19
19
|
punkweb_bb/widgets.py,sha256=eF6CB5nnh_6XJadpDzDKgd9incd0VIR63Rnzdr8T2n0,840
|
|
20
20
|
punkweb_bb/__pycache__/__init__.cpython-311.pyc,sha256=3PyxCxoznfadaGt0a7re4j0Ky9z9hblufpcwPB85kK8,161
|
|
21
21
|
punkweb_bb/__pycache__/admin.cpython-311.pyc,sha256=rAPYqRy7hAVZn3qST3ypYdulvH9IBhzWEgvbbAMIMIY,3679
|
|
22
22
|
punkweb_bb/__pycache__/admin_forms.cpython-311.pyc,sha256=fQgpcTP-_bouxhHrDVxFzA-1MHyyvieyw92NAWD5JnI,2980
|
|
23
|
-
punkweb_bb/__pycache__/apps.cpython-311.pyc,sha256=
|
|
24
|
-
punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc,sha256=
|
|
25
|
-
punkweb_bb/__pycache__/conf.cpython-311.pyc,sha256=C8o1eu05KUg_O_Il4nrtgV2JUCWsTMTTnjGTqI9OWYU,580
|
|
23
|
+
punkweb_bb/__pycache__/apps.cpython-311.pyc,sha256=lw328DOwOp1F8FWTFYb3qV1EoBNgRr_Tc4J8DXfIl-I,730
|
|
24
|
+
punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc,sha256=QI4BJt5plqLMiAvlVAxibuNONi69PJFQpotpS50olro,8534
|
|
26
25
|
punkweb_bb/__pycache__/context_processors.cpython-311.pyc,sha256=P7rEsodXonYexbS5vUaUKVJ9tIx1pOVk6NQWVvWNvS8,392
|
|
27
|
-
punkweb_bb/__pycache__/fields.cpython-311.pyc,sha256=_PeXeK5xWYp_S4q-E1agu1SjSkqxOFX4JZGEo9w6d4s,900
|
|
28
26
|
punkweb_bb/__pycache__/forms.cpython-311.pyc,sha256=JRbtAaXyXgG9eDdBjKBkSn8qeZtdxRc7L2_ceE-MpW8,4680
|
|
29
27
|
punkweb_bb/__pycache__/middleware.cpython-311.pyc,sha256=gZN0oVrPh9nIUUni_DvPrhMOYPR98SXrYxgHIsUXX-0,1249
|
|
30
28
|
punkweb_bb/__pycache__/mixins.cpython-311.pyc,sha256=eP1NjqDNYMYXrC45DNkrTqVAUv1vsGBrqPy5U5CB_aw,1478
|
|
31
|
-
punkweb_bb/__pycache__/models.cpython-311.pyc,sha256=
|
|
29
|
+
punkweb_bb/__pycache__/models.cpython-311.pyc,sha256=9W03p0j5_dYnQ4YffZUrN_A5-Bvkbpvfmpr5rOkzyAQ,12308
|
|
32
30
|
punkweb_bb/__pycache__/pagination.cpython-311.pyc,sha256=r54xmtiRp5dm1n2Xa7oElMFFaYFY0RzmMuF3Er4UqEA,990
|
|
33
|
-
punkweb_bb/__pycache__/parsers.cpython-311.pyc,sha256=
|
|
31
|
+
punkweb_bb/__pycache__/parsers.cpython-311.pyc,sha256=pp8JZt9V3HhquQMGrhglwLc53GxgNFWjjSnK3Bpxf8o,5335
|
|
34
32
|
punkweb_bb/__pycache__/response.cpython-311.pyc,sha256=CEPckYWZkOrdU2Vow-ni0ZrWEUBww0uJzyr_wv---mM,448
|
|
35
|
-
punkweb_bb/__pycache__/settings.cpython-311.pyc,sha256=
|
|
33
|
+
punkweb_bb/__pycache__/settings.cpython-311.pyc,sha256=ZjE994_MuSW_9Dn_ufsUH-vrld-BvqEwoCF7YL9tbrA,665
|
|
36
34
|
punkweb_bb/__pycache__/signals.cpython-311.pyc,sha256=AHChn7hDdrOmCAwKIKKuFOY-4hyBP9uwTkyb5bnFV-Q,864
|
|
37
|
-
punkweb_bb/__pycache__/tests.cpython-311.pyc,sha256=
|
|
35
|
+
punkweb_bb/__pycache__/tests.cpython-311.pyc,sha256=3CM8FL8P1YXVcgShhXqXjg3Yo3T1amKXlVtHRUZ2d7o,50877
|
|
38
36
|
punkweb_bb/__pycache__/urls.cpython-311.pyc,sha256=80TvNUws6ip1FCts6bubO3DGQJ2yOlB-WReK-qaTnGY,2304
|
|
39
|
-
punkweb_bb/__pycache__/
|
|
40
|
-
punkweb_bb/__pycache__/views.cpython-311.pyc,sha256=7myiqdsURN68OLr94FjW_75Xxt9G85yX80qn52hMDS4,15313
|
|
37
|
+
punkweb_bb/__pycache__/views.cpython-311.pyc,sha256=bjqhbTnN0-pvIygCzh0NXY6lNJUjMpz8B51EIlpay94,15592
|
|
41
38
|
punkweb_bb/__pycache__/widgets.cpython-311.pyc,sha256=-RcQ3JapLHw8Bbi4FP05kQJJIa7bnliKPaFpkDCOWvQ,1552
|
|
42
39
|
punkweb_bb/migrations/0001_initial.py,sha256=3RGsylygBcWx1kIPhSzOb9v_2yvowsxKfxuSinKKuS0,8950
|
|
40
|
+
punkweb_bb/migrations/0002_thread_view_count.py,sha256=JJZT53Mp8Ofht3oIi67s-0wzCdpYyu8wOeCi_B8q8Yo,388
|
|
43
41
|
punkweb_bb/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
|
-
punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc,sha256=
|
|
45
|
-
punkweb_bb/migrations/__pycache__/
|
|
46
|
-
punkweb_bb/migrations/__pycache__/0002_create_board_profiles.cpython-311.pyc,sha256=kXyIP6z4u8De9ayiajIUCaLNAW4MCC4wEFr1jGXWTBY,1198
|
|
47
|
-
punkweb_bb/migrations/__pycache__/0002_remove_shout__content_rendered_alter_shout_content.cpython-311.pyc,sha256=d91XNp4zwTXQyUkqgwCIyfdEmcoQ4ejC_nvQkMk77zU,919
|
|
48
|
-
punkweb_bb/migrations/__pycache__/0003_thread_post.cpython-311.pyc,sha256=TwNoWkApXubjKnt_SKKUwfuijb2HykVlq3qmWhSDaag,3000
|
|
49
|
-
punkweb_bb/migrations/__pycache__/0004_category_slug_subcategory_slug.cpython-311.pyc,sha256=mlo3u-PoiFB561Le1DnUWfiN3_AX5nHko_SmMpnoRH8,1001
|
|
50
|
-
punkweb_bb/migrations/__pycache__/0005_alter_category_slug_alter_subcategory_slug.cpython-311.pyc,sha256=HJ-j_q3KLx1cQLyvD7iiurK6oJtdh5nfbFNOnPiJcP4,999
|
|
51
|
-
punkweb_bb/migrations/__pycache__/0006_boardprofile_image.cpython-311.pyc,sha256=8UvusVARBOzkyS92teBn9E7GS5NhRRQ-p3qh5kEF4mk,879
|
|
52
|
-
punkweb_bb/migrations/__pycache__/0007_alter_boardprofile_image.cpython-311.pyc,sha256=ocnZLKSju9Mh2Lah6UipqJa7gSvGMV2DQ0FC1_Y_SCs,945
|
|
53
|
-
punkweb_bb/migrations/__pycache__/0008_shout.cpython-311.pyc,sha256=_6vrIdTZ4cM7Lk3k8pLWhRWbyhgHR-moPoDIeXQXmMY,1914
|
|
54
|
-
punkweb_bb/migrations/__pycache__/0009_remove_category__description_rendered_and_more.cpython-311.pyc,sha256=b-wD9wMcQLEF_NqePgytNHmCB9d5_hXdeVmOSfYY0xc,812
|
|
55
|
-
punkweb_bb/migrations/__pycache__/0010_alter_boardprofile_options_alter_category_options_and_more.cpython-311.pyc,sha256=iXdetObT0eLTwoG6E7Gj-75-mKY7ouYFbXW9I7NXhOU,1756
|
|
56
|
-
punkweb_bb/migrations/__pycache__/0011_alter_thread_options_thread_last_post_created_at.cpython-311.pyc,sha256=xVg0_2gtyzs1PZp921rcI-Mqm9ZF4bkWZrTZ5Jk5IT8,1235
|
|
57
|
-
punkweb_bb/migrations/__pycache__/0011_thread_is_closed.cpython-311.pyc,sha256=OTL0xSimcsrgaNa_deB1jh7QY1P0VdTOlKWUAGtFVx8,852
|
|
58
|
-
punkweb_bb/migrations/__pycache__/0012_subcategory_staff_post_only.cpython-311.pyc,sha256=5Z7ZVXTwznSA2MoyGyODmamah0xZnCV3qPd-M5s72ZI,865
|
|
42
|
+
punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc,sha256=koi_VflndmTKzSXWstWBXuVEZgEeueId5NE4kOAlA4Q,6456
|
|
43
|
+
punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc,sha256=9HRllkD8LHPXadyurYvp2UcmRFEywalUVQjiOGWizgc,815
|
|
59
44
|
punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc,sha256=sTbC1AXnh0V4BJwjcjs1ckdeYjG01I348hZwLE2HI4Y,172
|
|
60
45
|
punkweb_bb/static/punkweb_bb/favicon.ico,sha256=lEfX--R9wEGPkkXgLYCsGmHuAGajigiqBXAoonxq8ZM,318
|
|
61
46
|
punkweb_bb/static/punkweb_bb/css/defaults.css,sha256=EsYORpHIQ8gotAdiGvBBU38i6F0mICj-OKr-JF6yYVg,1455
|
|
@@ -63,7 +48,7 @@ punkweb_bb/static/punkweb_bb/css/index.css,sha256=NqpF7zNMzSrDeHw5gfbwcmeBET4TcS
|
|
|
63
48
|
punkweb_bb/static/punkweb_bb/css/login.css,sha256=pt5ul4ycZsVB-No3c5gsQa1zVS1iAZgteN1CcllS26k,234
|
|
64
49
|
punkweb_bb/static/punkweb_bb/css/members.css,sha256=1Fz0uVDbs3RnuXNjOtnGnK2jok3LEQBoPhjRYp7gNwE,395
|
|
65
50
|
punkweb_bb/static/punkweb_bb/css/post-form.css,sha256=rEiYplAobLjjUYAcnjNqIjyIVhe9O5hAlPJ3STW-K14,321
|
|
66
|
-
punkweb_bb/static/punkweb_bb/css/profile.css,sha256=
|
|
51
|
+
punkweb_bb/static/punkweb_bb/css/profile.css,sha256=yfNJT_D-05deqiBrdIgPeCSO_DFSL8-fGEEHnGrCIYM,916
|
|
67
52
|
punkweb_bb/static/punkweb_bb/css/punkweb-modal.css,sha256=ctwo5bgbAW-k0uqrufDbqeQfAh87-BZ-5gPm8aJHeT4,1296
|
|
68
53
|
punkweb_bb/static/punkweb_bb/css/punkweb.css,sha256=UZT592v_krB8DPFf6YN1zlKmmFiCAXdS_KqO98GrKNM,11284
|
|
69
54
|
punkweb_bb/static/punkweb_bb/css/settings.css,sha256=ulQQFTu8slk2rYOmhvci5v-AVnguUuDhKQDhyQOsQNU,308
|
|
@@ -203,30 +188,33 @@ punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office-toolba
|
|
|
203
188
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office.min.css,sha256=EZeNIT-LMxAnrW_7M6BXuH0B8m3MoIS68tDyTxmCoP0,13148
|
|
204
189
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/square.min.css,sha256=vrNHEnpQJr3o8AlJ2aEhn4fsRqR4TOopE3N3-4oE2ho,10710
|
|
205
190
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/content/default.min.css,sha256=2jMxGiqcrAhfOtNMdqmTUtfgM6oUz5F0VJ0sUzam9CY,1016
|
|
206
|
-
punkweb_bb/templates/punkweb_bb/base.html,sha256=
|
|
191
|
+
punkweb_bb/templates/punkweb_bb/base.html,sha256=Gu2ZVeP0p7GnsfXFxByXRd9LT4DNXx0O1czSGjwYg0w,4037
|
|
207
192
|
punkweb_bb/templates/punkweb_bb/base_modal.html,sha256=OCbtsMWeNCO0Tl1PmHCcGkwoi1OZjeIK_VhNTzMor7M,460
|
|
208
193
|
punkweb_bb/templates/punkweb_bb/bbcode.html,sha256=1EGBejsOMZOPi6P39oR6E35VdqnfR6wYWeKDl4Xr_js,396
|
|
209
|
-
punkweb_bb/templates/punkweb_bb/index.html,sha256=
|
|
194
|
+
punkweb_bb/templates/punkweb_bb/index.html,sha256=2y8gS6UzoJkVXvmw5PEuuxyYIarlNjGzTmmNMuNWNJ8,8127
|
|
210
195
|
punkweb_bb/templates/punkweb_bb/login.html,sha256=ZUOmbyZREzS7Sw02Lfb9zpRJQQWwJgolnj9lcBKnOtg,1087
|
|
211
196
|
punkweb_bb/templates/punkweb_bb/members.html,sha256=ceRCRX0AN7V8d7paz9495y8aQByMUKDWVWL2GzoGbus,2729
|
|
212
197
|
punkweb_bb/templates/punkweb_bb/profile.html,sha256=MW1JWLs_lLpg62DDcvcZJRwrHquYA5nCwQqL1v9ZGCo,2948
|
|
213
198
|
punkweb_bb/templates/punkweb_bb/settings.html,sha256=CmmGdNddZj6Atpofcny0bwEHwTPRPC8vXXThCgsNH90,1994
|
|
214
199
|
punkweb_bb/templates/punkweb_bb/signup.html,sha256=HP5owUfV2uEuvOccPoBa21XbjBHo0ulV6tjfgdToNLU,1167
|
|
215
|
-
punkweb_bb/templates/punkweb_bb/subcategory.html,sha256=
|
|
216
|
-
punkweb_bb/templates/punkweb_bb/thread.html,sha256=
|
|
217
|
-
punkweb_bb/templates/punkweb_bb/thread_create.html,sha256=
|
|
218
|
-
punkweb_bb/templates/punkweb_bb/thread_update.html,sha256=
|
|
200
|
+
punkweb_bb/templates/punkweb_bb/subcategory.html,sha256=rLJtBKz2Zd07Lyan6fH2fn7i8bXyfVj9hpnBh6m3PS4,4950
|
|
201
|
+
punkweb_bb/templates/punkweb_bb/thread.html,sha256=igyEa1Qz-joktKmUbgHtIY0EnxlWUCBHDdEXNTuKJDk,7595
|
|
202
|
+
punkweb_bb/templates/punkweb_bb/thread_create.html,sha256=rLIO-ghdzHCiKJ6LCj2l4cxe9QbsMUG13ZxogYF9PUE,1537
|
|
203
|
+
punkweb_bb/templates/punkweb_bb/thread_update.html,sha256=SLL_5tceZ8ZiPbWCO9eOe_aeMgV5lQ-p6eun1_XvKwE,1730
|
|
219
204
|
punkweb_bb/templates/punkweb_bb/partials/post_delete.html,sha256=tQtQGxTF0tZA5eXqfIuO6NctsS83eEhR4ImmBLbkAXM,417
|
|
220
205
|
punkweb_bb/templates/punkweb_bb/partials/post_update.html,sha256=mFidDqgTuv4LffuSa8pShXxWmiramLLMhHjsaJs1Y9k,565
|
|
221
206
|
punkweb_bb/templates/punkweb_bb/partials/thread_delete.html,sha256=m91u_r8qTvMqR2s4VxxFHQvZt-WGgHnHzJL_1KZkX9M,425
|
|
222
207
|
punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html,sha256=uAls--UuLgS6NPW2qEsNbutR_aoJ_AuhZ_Fkt-c8ipU,312
|
|
223
208
|
punkweb_bb/templates/punkweb_bb/shoutbox/shoutbox.html,sha256=J_Lp6KKcqSJr-IayyLN-p0JgMfuwbFP77g-UtcM53WI,672
|
|
224
209
|
punkweb_bb/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
225
|
-
punkweb_bb/templatetags/
|
|
226
|
-
punkweb_bb/templatetags/
|
|
227
|
-
punkweb_bb/templatetags/__pycache__/
|
|
228
|
-
punkweb_bb-
|
|
229
|
-
punkweb_bb-
|
|
230
|
-
punkweb_bb-
|
|
231
|
-
punkweb_bb-0.1.
|
|
232
|
-
punkweb_bb-0.1.
|
|
210
|
+
punkweb_bb/templatetags/humanize_int.py,sha256=C4KmDG0Jv6o8rwT1RXLdWoGLddJxMxgOoRV9I2598AM,248
|
|
211
|
+
punkweb_bb/templatetags/shoutbox_bbcode.py,sha256=OH-FsRTyPWZldaFypSVzPLlTrSm4XEOqQW9hBI0ROBk,310
|
|
212
|
+
punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc,sha256=VEPKwaIhqpKpSSJiotDYngAUdidDzR9PpPiHtKEl1jA,174
|
|
213
|
+
punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc,sha256=UKD6_5RX8YpYpg-LPrgGxBkW56THsbYY51cKTYdKwRY,621
|
|
214
|
+
punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc,sha256=csY5ek-bevYVeM91hYFKozuKWXCTXb7M-7Bokwdxhrk,619
|
|
215
|
+
punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc,sha256=Jhg9qW-nQe6IDr45rE0ZgeDYF4E61S7kYAYpbMo5ZQ8,833
|
|
216
|
+
punkweb_bb-0.1.3.dist-info/LICENSE,sha256=YYysF07B-kyXSO7IWFB9f49ZXa6LIFUTVsR1Ogmhp8s,1507
|
|
217
|
+
punkweb_bb-0.1.3.dist-info/METADATA,sha256=thU9kjReWNpjs73xcTkXgnO0LKX_-g_wELf87WiE-0Q,4930
|
|
218
|
+
punkweb_bb-0.1.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
219
|
+
punkweb_bb-0.1.3.dist-info/top_level.txt,sha256=sWuGdGnk0ejOXiFDzlBqrNs2VbPEx0_i8UwWXn4SuHU,11
|
|
220
|
+
punkweb_bb-0.1.3.dist-info/RECORD,,
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
punkweb_bb/migrations/__pycache__/0005_alter_category_slug_alter_subcategory_slug.cpython-311.pyc
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: punkweb-bb
|
|
3
|
-
Version: 0.1.1
|
|
4
|
-
Summary: Django application that provides a simple and modern forum board software for your Django website.
|
|
5
|
-
Home-page: https://github.com/Punkweb/PunkwebBB
|
|
6
|
-
Author: Punkweb
|
|
7
|
-
Author-email: punkwebnet@gmail.com
|
|
8
|
-
License: BSD-3-Clause
|
|
9
|
-
Classifier: Environment :: Web Environment
|
|
10
|
-
Classifier: Framework :: Django
|
|
11
|
-
Classifier: Intended Audience :: Developers
|
|
12
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
13
|
-
Classifier: Operating System :: OS Independent
|
|
14
|
-
Classifier: Programming Language :: Python
|
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Description-Content-Type: text/markdown
|
|
17
|
-
License-File: LICENSE
|
|
18
|
-
Requires-Dist: django >=4.0
|
|
19
|
-
Requires-Dist: django-precise-bbcode
|
|
20
|
-
Requires-Dist: pillow
|
|
21
|
-
|
|
22
|
-
# PunkwebBB
|
|
23
|
-
|
|
24
|
-
PunkwebBB is a Django application that provides a simple and modern forum board software for your Django website.
|
|
25
|
-
|
|
26
|
-
This is the successor to [punkweb-boards](https://github.com/Punkweb/punkweb-boards)
|
|
27
|
-
|
|
28
|
-
## Built with
|
|
29
|
-
|
|
30
|
-
- [Django](https://www.djangoproject.com/)
|
|
31
|
-
- [django-precise-bbcode](https://github.com/ellmetha/django-precise-bbcode)
|
|
32
|
-
- [HTMX](https://htmx.org/)
|
|
33
|
-
- [jQuery](https://jquery.com/)
|
|
34
|
-
- [SCEditor](https://www.sceditor.com/)
|
|
35
|
-
- [PrismJS](https://prismjs.com/)
|
|
36
|
-
|
|
37
|
-
## Requirements
|
|
38
|
-
|
|
39
|
-
- Python 3.11+
|
|
40
|
-
- Django 4.2+
|
|
41
|
-
- django-precise-bbcode 1.2+
|
|
42
|
-
- Pillow
|
|
43
|
-
|
|
44
|
-
It may work with older versions of Python and Django, but it has not been tested.
|
|
45
|
-
|
|
46
|
-
## Testing
|
|
47
|
-
|
|
48
|
-
Report:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
coverage run && coverage report
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
HTML:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
coverage run && coverage html
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Preview
|
|
61
|
-
|
|
62
|
-
#### Models
|
|
63
|
-
|
|
64
|
-

|
|
65
|
-
|
|
66
|
-
#### Index View
|
|
67
|
-
|
|
68
|
-

|
|
69
|
-
|
|
70
|
-
#### Thread View
|
|
71
|
-
|
|
72
|
-

|
|
File without changes
|
|
File without changes
|
|
File without changes
|