punkweb-bb 0.1.2__py3-none-any.whl → 0.1.4__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__/guests.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/middleware.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/models.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/guests.py +20 -0
- punkweb_bb/middleware.py +7 -0
- punkweb_bb/migrations/0002_thread_view_count.py +18 -0
- punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc +0 -0
- punkweb_bb/models.py +4 -0
- punkweb_bb/settings.py +4 -0
- punkweb_bb/static/punkweb_bb/css/profile.css +7 -0
- punkweb_bb/static/punkweb_bb/css/punkweb.css +23 -0
- punkweb_bb/templates/punkweb_bb/base.html +1 -1
- punkweb_bb/templates/punkweb_bb/index.html +19 -6
- 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/humanize_int.py +12 -0
- punkweb_bb/tests.py +529 -2
- punkweb_bb/views.py +20 -4
- punkweb_bb-0.1.4.dist-info/METADATA +175 -0
- {punkweb_bb-0.1.2.dist-info → punkweb_bb-0.1.4.dist-info}/RECORD +31 -23
- punkweb_bb-0.1.2.dist-info/METADATA +0 -72
- {punkweb_bb-0.1.2.dist-info → punkweb_bb-0.1.4.dist-info}/LICENSE +0 -0
- {punkweb_bb-0.1.2.dist-info → punkweb_bb-0.1.4.dist-info}/WHEEL +0 -0
- {punkweb_bb-0.1.2.dist-info → punkweb_bb-0.1.4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: punkweb-bb
|
|
3
|
+
Version: 0.1.4
|
|
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: expiringdict
|
|
21
|
+
Requires-Dist: pillow
|
|
22
|
+
|
|
23
|
+
# PunkwebBB
|
|
24
|
+
|
|
25
|
+
PunkwebBB is a Django application that provides a simple and modern forum board software for your Django website.
|
|
26
|
+
|
|
27
|
+
This is the successor to [punkweb-boards](https://github.com/Punkweb/punkweb-boards).
|
|
28
|
+
|
|
29
|
+
Check out [punkweb.net](https://punkweb.net/board/) for a live demo and more information!
|
|
30
|
+
|
|
31
|
+
## Built with
|
|
32
|
+
|
|
33
|
+
- [Django](https://www.djangoproject.com/)
|
|
34
|
+
- [django-precise-bbcode](https://github.com/ellmetha/django-precise-bbcode)
|
|
35
|
+
- [HTMX](https://htmx.org/)
|
|
36
|
+
- [jQuery](https://jquery.com/)
|
|
37
|
+
- [SCEditor](https://www.sceditor.com/)
|
|
38
|
+
- [PrismJS](https://prismjs.com/)
|
|
39
|
+
|
|
40
|
+
## Requirements
|
|
41
|
+
|
|
42
|
+
- Python 3.11+
|
|
43
|
+
- Django 4.2+
|
|
44
|
+
- django-precise-bbcode 1.2+
|
|
45
|
+
- Pillow
|
|
46
|
+
|
|
47
|
+
It may work with older versions of Python and Django, but it has not been tested.
|
|
48
|
+
|
|
49
|
+
## Installation
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
pip install punkweb-bb
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Add `precise_bbcode` and `punkweb_bb` to your `INSTALLED_APPS` in your Django settings module:
|
|
56
|
+
|
|
57
|
+
```python
|
|
58
|
+
INSTALLED_APPS = [
|
|
59
|
+
...
|
|
60
|
+
"precise_bbcode",
|
|
61
|
+
"punkweb_bb",
|
|
62
|
+
]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
_Note_: `precise_bbcode` is required. It must be installed before `punkweb_bb`.
|
|
66
|
+
|
|
67
|
+
Add the following middleware to your `MIDDLEWARE` setting:
|
|
68
|
+
|
|
69
|
+
```python
|
|
70
|
+
MIDDLEWARE = [
|
|
71
|
+
...
|
|
72
|
+
"punkweb_bb.middleware.ProfileOnlineCacheMiddleware",
|
|
73
|
+
]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Add the following context processor to your `TEMPLATES` setting:
|
|
77
|
+
|
|
78
|
+
```python
|
|
79
|
+
TEMPLATES = [
|
|
80
|
+
{
|
|
81
|
+
...
|
|
82
|
+
"OPTIONS": {
|
|
83
|
+
"context_processors": [
|
|
84
|
+
...
|
|
85
|
+
"punkweb_bb.context_processors.punkweb_bb",
|
|
86
|
+
],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
]
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Add the following URL pattern to your `urls.py`:
|
|
93
|
+
|
|
94
|
+
```python
|
|
95
|
+
from django.urls import path, include
|
|
96
|
+
|
|
97
|
+
urlpatterns = [
|
|
98
|
+
...
|
|
99
|
+
path("forum/", include("punkweb_bb.urls")), # or any other path you want
|
|
100
|
+
]
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
And finally, install the models:
|
|
104
|
+
|
|
105
|
+
```bash
|
|
106
|
+
python manage.py migrate
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Configuration
|
|
110
|
+
|
|
111
|
+
These are the default settings for PunkwebBB, which can be overridden in your Django settings module:
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
PUNKWEB_BB = {
|
|
115
|
+
"SITE_NAME": "PUNKWEB",
|
|
116
|
+
"SITE_TITLE": "PunkwebBB",
|
|
117
|
+
"FAVICON": "punkweb_bb/favicon.ico",
|
|
118
|
+
"SHOUTBOX_ENABLED": True,
|
|
119
|
+
"DISCORD_WIDGET_ENABLED": False,
|
|
120
|
+
"DISCORD_WIDGET_THEME": "dark",
|
|
121
|
+
"DISCORD_SERVER_ID": None, # Found under Server Settings > Widget > Server ID
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Testing
|
|
126
|
+
|
|
127
|
+
Report:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
coverage run && coverage report
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
HTML:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
coverage run && coverage html
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
Found 57 test(s).
|
|
141
|
+
Creating test database for alias 'default'...
|
|
142
|
+
System check identified no issues (0 silenced).
|
|
143
|
+
.........................................................
|
|
144
|
+
----------------------------------------------------------------------
|
|
145
|
+
Ran 57 tests in 8.824s
|
|
146
|
+
|
|
147
|
+
OK
|
|
148
|
+
Destroying test database for alias 'default'...
|
|
149
|
+
Name Stmts Miss Cover
|
|
150
|
+
----------------------------------------------------------------
|
|
151
|
+
punkweb_bb/__init__.py 0 0 100%
|
|
152
|
+
punkweb_bb/admin.py 41 1 98%
|
|
153
|
+
punkweb_bb/admin_forms.py 28 0 100%
|
|
154
|
+
punkweb_bb/apps.py 6 0 100%
|
|
155
|
+
punkweb_bb/bbcode_tags.py 115 3 97%
|
|
156
|
+
punkweb_bb/context_processors.py 3 0 100%
|
|
157
|
+
punkweb_bb/forms.py 35 0 100%
|
|
158
|
+
punkweb_bb/middleware.py 10 0 100%
|
|
159
|
+
punkweb_bb/mixins.py 11 0 100%
|
|
160
|
+
punkweb_bb/models.py 124 0 100%
|
|
161
|
+
punkweb_bb/pagination.py 11 4 64%
|
|
162
|
+
punkweb_bb/parsers.py 50 2 96%
|
|
163
|
+
punkweb_bb/response.py 3 0 100%
|
|
164
|
+
punkweb_bb/settings.py 6 0 100%
|
|
165
|
+
punkweb_bb/signals.py 9 0 100%
|
|
166
|
+
punkweb_bb/templatetags/__init__.py 0 0 100%
|
|
167
|
+
punkweb_bb/templatetags/humanize_int.py 9 5 44%
|
|
168
|
+
punkweb_bb/templatetags/shoutbox_bbcode.py 9 0 100%
|
|
169
|
+
punkweb_bb/tests.py 410 0 100%
|
|
170
|
+
punkweb_bb/urls.py 4 0 100%
|
|
171
|
+
punkweb_bb/views.py 174 17 90%
|
|
172
|
+
punkweb_bb/widgets.py 8 0 100%
|
|
173
|
+
----------------------------------------------------------------
|
|
174
|
+
TOTAL 1066 32 97%
|
|
175
|
+
```
|
|
@@ -5,17 +5,18 @@ punkweb_bb/apps.py,sha256=GCDLy9B9vumeCsaauQ7LN4FOqE02mXWXECIz8G6KZCQ,207
|
|
|
5
5
|
punkweb_bb/bbcode_tags.py,sha256=yNayXcZoRcRVZsdVrKIdKOV7bwlApFfq_CVfh1im7SY,4419
|
|
6
6
|
punkweb_bb/context_processors.py,sha256=BEOGvWVukvxJUxWZBIc32ioB-mGqImSEBuhhZjqI2G0,146
|
|
7
7
|
punkweb_bb/forms.py,sha256=O1lzmgumdnSEjBKi10c7ODftIqRmvtEIdNj1IODCikk,1977
|
|
8
|
-
punkweb_bb/
|
|
8
|
+
punkweb_bb/guests.py,sha256=Nvn4ZVJvQSQs_f-GeSwNn79Qp8ap_CAoXpYfRTqSbxg,467
|
|
9
|
+
punkweb_bb/middleware.py,sha256=NrYv6nyAYKGcu-qKRnZmCyLghtJ4MUHvt3m5NS8HJbo,628
|
|
9
10
|
punkweb_bb/mixins.py,sha256=XfiThPL7rB71IfukS1ikvYQhfg8RwgSVgsm10Ul1ezM,395
|
|
10
|
-
punkweb_bb/models.py,sha256=
|
|
11
|
+
punkweb_bb/models.py,sha256=Y5w80EQ85Mut71xiDVMALqLXdydlTxOiZEljmnH5g-E,5519
|
|
11
12
|
punkweb_bb/pagination.py,sha256=OgoZuJsq9MKMvBKYylJVPaNtM9ni3K8OAvOdi-eGr3M,409
|
|
12
13
|
punkweb_bb/parsers.py,sha256=VjWSPqpVfypHLHP0NrfLqXB-1b0W6oFuGIzoAiPi71I,2732
|
|
13
14
|
punkweb_bb/response.py,sha256=dETGVC9Xrsq02pQzmIIWbSUt472lJ4fgLwBKrXnP3t4,130
|
|
14
|
-
punkweb_bb/settings.py,sha256=
|
|
15
|
+
punkweb_bb/settings.py,sha256=ebJahIZHt1fYdhxB9wWDlWj5KhzExUtaXyoFLy8uR6k,517
|
|
15
16
|
punkweb_bb/signals.py,sha256=bVdfg942Mwq-fYDZ1Z52Q0V2BCk1lgzGz8JVZFPnzJ8,365
|
|
16
|
-
punkweb_bb/tests.py,sha256=
|
|
17
|
+
punkweb_bb/tests.py,sha256=eMvY9tnOkTd_zWs_Qs0Z6X-MtVSv4TtJSZfTy4beGp4,26368
|
|
17
18
|
punkweb_bb/urls.py,sha256=_mRAtaZoKzPZ_uuOCFy6_lOwFCavv26p5kMKD9MH4c4,1538
|
|
18
|
-
punkweb_bb/views.py,sha256=
|
|
19
|
+
punkweb_bb/views.py,sha256=9g9s2rOpgfoGUdPAL9OZrWveudxOG4J5_bd9Mqd_TJI,11036
|
|
19
20
|
punkweb_bb/widgets.py,sha256=eF6CB5nnh_6XJadpDzDKgd9incd0VIR63Rnzdr8T2n0,840
|
|
20
21
|
punkweb_bb/__pycache__/__init__.cpython-311.pyc,sha256=3PyxCxoznfadaGt0a7re4j0Ky9z9hblufpcwPB85kK8,161
|
|
21
22
|
punkweb_bb/__pycache__/admin.cpython-311.pyc,sha256=rAPYqRy7hAVZn3qST3ypYdulvH9IBhzWEgvbbAMIMIY,3679
|
|
@@ -24,20 +25,24 @@ punkweb_bb/__pycache__/apps.cpython-311.pyc,sha256=lw328DOwOp1F8FWTFYb3qV1EoBNgR
|
|
|
24
25
|
punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc,sha256=QI4BJt5plqLMiAvlVAxibuNONi69PJFQpotpS50olro,8534
|
|
25
26
|
punkweb_bb/__pycache__/context_processors.cpython-311.pyc,sha256=P7rEsodXonYexbS5vUaUKVJ9tIx1pOVk6NQWVvWNvS8,392
|
|
26
27
|
punkweb_bb/__pycache__/forms.cpython-311.pyc,sha256=JRbtAaXyXgG9eDdBjKBkSn8qeZtdxRc7L2_ceE-MpW8,4680
|
|
27
|
-
punkweb_bb/__pycache__/
|
|
28
|
+
punkweb_bb/__pycache__/guests.cpython-311.pyc,sha256=vgZJcZGyHZkllCAhXHGgajHh7YM1ntXinSed3ojIK6I,1581
|
|
29
|
+
punkweb_bb/__pycache__/middleware.cpython-311.pyc,sha256=KbZ6z2Q7eCRX3dB7mnRUpn58mb_O8sXpOw_sqVfQsgM,1560
|
|
28
30
|
punkweb_bb/__pycache__/mixins.cpython-311.pyc,sha256=eP1NjqDNYMYXrC45DNkrTqVAUv1vsGBrqPy5U5CB_aw,1478
|
|
29
|
-
punkweb_bb/__pycache__/models.cpython-311.pyc,sha256=
|
|
31
|
+
punkweb_bb/__pycache__/models.cpython-311.pyc,sha256=9W03p0j5_dYnQ4YffZUrN_A5-Bvkbpvfmpr5rOkzyAQ,12308
|
|
30
32
|
punkweb_bb/__pycache__/pagination.cpython-311.pyc,sha256=r54xmtiRp5dm1n2Xa7oElMFFaYFY0RzmMuF3Er4UqEA,990
|
|
31
33
|
punkweb_bb/__pycache__/parsers.cpython-311.pyc,sha256=pp8JZt9V3HhquQMGrhglwLc53GxgNFWjjSnK3Bpxf8o,5335
|
|
32
34
|
punkweb_bb/__pycache__/response.cpython-311.pyc,sha256=CEPckYWZkOrdU2Vow-ni0ZrWEUBww0uJzyr_wv---mM,448
|
|
33
|
-
punkweb_bb/__pycache__/settings.cpython-311.pyc,sha256=
|
|
35
|
+
punkweb_bb/__pycache__/settings.cpython-311.pyc,sha256=earWFaFtg8IPqfOz9I6wdpI9bJtxjxsTwG7LoTCPmtw,947
|
|
34
36
|
punkweb_bb/__pycache__/signals.cpython-311.pyc,sha256=AHChn7hDdrOmCAwKIKKuFOY-4hyBP9uwTkyb5bnFV-Q,864
|
|
37
|
+
punkweb_bb/__pycache__/tests.cpython-311.pyc,sha256=D5pfsajoulTkeQ4RnDEc_HZZ9AH-ZIo3cPnh6BACaHY,51829
|
|
35
38
|
punkweb_bb/__pycache__/urls.cpython-311.pyc,sha256=80TvNUws6ip1FCts6bubO3DGQJ2yOlB-WReK-qaTnGY,2304
|
|
36
|
-
punkweb_bb/__pycache__/views.cpython-311.pyc,sha256=
|
|
39
|
+
punkweb_bb/__pycache__/views.cpython-311.pyc,sha256=IidhDNPCjZExmP26hujz3nKocJlf4bFlVxgbP2xM6Is,16108
|
|
37
40
|
punkweb_bb/__pycache__/widgets.cpython-311.pyc,sha256=-RcQ3JapLHw8Bbi4FP05kQJJIa7bnliKPaFpkDCOWvQ,1552
|
|
38
41
|
punkweb_bb/migrations/0001_initial.py,sha256=3RGsylygBcWx1kIPhSzOb9v_2yvowsxKfxuSinKKuS0,8950
|
|
42
|
+
punkweb_bb/migrations/0002_thread_view_count.py,sha256=JJZT53Mp8Ofht3oIi67s-0wzCdpYyu8wOeCi_B8q8Yo,388
|
|
39
43
|
punkweb_bb/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
44
|
punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc,sha256=koi_VflndmTKzSXWstWBXuVEZgEeueId5NE4kOAlA4Q,6456
|
|
45
|
+
punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc,sha256=9HRllkD8LHPXadyurYvp2UcmRFEywalUVQjiOGWizgc,815
|
|
41
46
|
punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc,sha256=sTbC1AXnh0V4BJwjcjs1ckdeYjG01I348hZwLE2HI4Y,172
|
|
42
47
|
punkweb_bb/static/punkweb_bb/favicon.ico,sha256=lEfX--R9wEGPkkXgLYCsGmHuAGajigiqBXAoonxq8ZM,318
|
|
43
48
|
punkweb_bb/static/punkweb_bb/css/defaults.css,sha256=EsYORpHIQ8gotAdiGvBBU38i6F0mICj-OKr-JF6yYVg,1455
|
|
@@ -45,9 +50,9 @@ punkweb_bb/static/punkweb_bb/css/index.css,sha256=NqpF7zNMzSrDeHw5gfbwcmeBET4TcS
|
|
|
45
50
|
punkweb_bb/static/punkweb_bb/css/login.css,sha256=pt5ul4ycZsVB-No3c5gsQa1zVS1iAZgteN1CcllS26k,234
|
|
46
51
|
punkweb_bb/static/punkweb_bb/css/members.css,sha256=1Fz0uVDbs3RnuXNjOtnGnK2jok3LEQBoPhjRYp7gNwE,395
|
|
47
52
|
punkweb_bb/static/punkweb_bb/css/post-form.css,sha256=rEiYplAobLjjUYAcnjNqIjyIVhe9O5hAlPJ3STW-K14,321
|
|
48
|
-
punkweb_bb/static/punkweb_bb/css/profile.css,sha256=
|
|
53
|
+
punkweb_bb/static/punkweb_bb/css/profile.css,sha256=yfNJT_D-05deqiBrdIgPeCSO_DFSL8-fGEEHnGrCIYM,916
|
|
49
54
|
punkweb_bb/static/punkweb_bb/css/punkweb-modal.css,sha256=ctwo5bgbAW-k0uqrufDbqeQfAh87-BZ-5gPm8aJHeT4,1296
|
|
50
|
-
punkweb_bb/static/punkweb_bb/css/punkweb.css,sha256=
|
|
55
|
+
punkweb_bb/static/punkweb_bb/css/punkweb.css,sha256=4-s3mmZa-HMiPS-pNyfMqo7RPaq1KlEewril-tQbmls,11745
|
|
51
56
|
punkweb_bb/static/punkweb_bb/css/settings.css,sha256=ulQQFTu8slk2rYOmhvci5v-AVnguUuDhKQDhyQOsQNU,308
|
|
52
57
|
punkweb_bb/static/punkweb_bb/css/shoutbox.css,sha256=-aPkQHelFsy8IYhURqTPEMIsd1ivS9mf-4ha3xHyAms,333
|
|
53
58
|
punkweb_bb/static/punkweb_bb/css/subcategory.css,sha256=1wjszJbkCJL-UJRFqOWSmX4yr60ekx0YtswZouUsY7s,536
|
|
@@ -185,30 +190,33 @@ punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office-toolba
|
|
|
185
190
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office.min.css,sha256=EZeNIT-LMxAnrW_7M6BXuH0B8m3MoIS68tDyTxmCoP0,13148
|
|
186
191
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/square.min.css,sha256=vrNHEnpQJr3o8AlJ2aEhn4fsRqR4TOopE3N3-4oE2ho,10710
|
|
187
192
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/content/default.min.css,sha256=2jMxGiqcrAhfOtNMdqmTUtfgM6oUz5F0VJ0sUzam9CY,1016
|
|
188
|
-
punkweb_bb/templates/punkweb_bb/base.html,sha256=
|
|
193
|
+
punkweb_bb/templates/punkweb_bb/base.html,sha256=Gu2ZVeP0p7GnsfXFxByXRd9LT4DNXx0O1czSGjwYg0w,4037
|
|
189
194
|
punkweb_bb/templates/punkweb_bb/base_modal.html,sha256=OCbtsMWeNCO0Tl1PmHCcGkwoi1OZjeIK_VhNTzMor7M,460
|
|
190
195
|
punkweb_bb/templates/punkweb_bb/bbcode.html,sha256=1EGBejsOMZOPi6P39oR6E35VdqnfR6wYWeKDl4Xr_js,396
|
|
191
|
-
punkweb_bb/templates/punkweb_bb/index.html,sha256=
|
|
196
|
+
punkweb_bb/templates/punkweb_bb/index.html,sha256=jflA40dpl9aId0a6E_oE2PBjlvWK25cmbN9OoePzeqM,8703
|
|
192
197
|
punkweb_bb/templates/punkweb_bb/login.html,sha256=ZUOmbyZREzS7Sw02Lfb9zpRJQQWwJgolnj9lcBKnOtg,1087
|
|
193
198
|
punkweb_bb/templates/punkweb_bb/members.html,sha256=ceRCRX0AN7V8d7paz9495y8aQByMUKDWVWL2GzoGbus,2729
|
|
194
199
|
punkweb_bb/templates/punkweb_bb/profile.html,sha256=MW1JWLs_lLpg62DDcvcZJRwrHquYA5nCwQqL1v9ZGCo,2948
|
|
195
200
|
punkweb_bb/templates/punkweb_bb/settings.html,sha256=CmmGdNddZj6Atpofcny0bwEHwTPRPC8vXXThCgsNH90,1994
|
|
196
201
|
punkweb_bb/templates/punkweb_bb/signup.html,sha256=HP5owUfV2uEuvOccPoBa21XbjBHo0ulV6tjfgdToNLU,1167
|
|
197
|
-
punkweb_bb/templates/punkweb_bb/subcategory.html,sha256=
|
|
198
|
-
punkweb_bb/templates/punkweb_bb/thread.html,sha256=
|
|
199
|
-
punkweb_bb/templates/punkweb_bb/thread_create.html,sha256=
|
|
200
|
-
punkweb_bb/templates/punkweb_bb/thread_update.html,sha256=
|
|
202
|
+
punkweb_bb/templates/punkweb_bb/subcategory.html,sha256=rLJtBKz2Zd07Lyan6fH2fn7i8bXyfVj9hpnBh6m3PS4,4950
|
|
203
|
+
punkweb_bb/templates/punkweb_bb/thread.html,sha256=igyEa1Qz-joktKmUbgHtIY0EnxlWUCBHDdEXNTuKJDk,7595
|
|
204
|
+
punkweb_bb/templates/punkweb_bb/thread_create.html,sha256=rLIO-ghdzHCiKJ6LCj2l4cxe9QbsMUG13ZxogYF9PUE,1537
|
|
205
|
+
punkweb_bb/templates/punkweb_bb/thread_update.html,sha256=SLL_5tceZ8ZiPbWCO9eOe_aeMgV5lQ-p6eun1_XvKwE,1730
|
|
201
206
|
punkweb_bb/templates/punkweb_bb/partials/post_delete.html,sha256=tQtQGxTF0tZA5eXqfIuO6NctsS83eEhR4ImmBLbkAXM,417
|
|
202
207
|
punkweb_bb/templates/punkweb_bb/partials/post_update.html,sha256=mFidDqgTuv4LffuSa8pShXxWmiramLLMhHjsaJs1Y9k,565
|
|
203
208
|
punkweb_bb/templates/punkweb_bb/partials/thread_delete.html,sha256=m91u_r8qTvMqR2s4VxxFHQvZt-WGgHnHzJL_1KZkX9M,425
|
|
204
209
|
punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html,sha256=uAls--UuLgS6NPW2qEsNbutR_aoJ_AuhZ_Fkt-c8ipU,312
|
|
205
210
|
punkweb_bb/templates/punkweb_bb/shoutbox/shoutbox.html,sha256=J_Lp6KKcqSJr-IayyLN-p0JgMfuwbFP77g-UtcM53WI,672
|
|
206
211
|
punkweb_bb/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
212
|
+
punkweb_bb/templatetags/humanize_int.py,sha256=C4KmDG0Jv6o8rwT1RXLdWoGLddJxMxgOoRV9I2598AM,248
|
|
207
213
|
punkweb_bb/templatetags/shoutbox_bbcode.py,sha256=OH-FsRTyPWZldaFypSVzPLlTrSm4XEOqQW9hBI0ROBk,310
|
|
208
|
-
punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc,sha256=
|
|
214
|
+
punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc,sha256=VEPKwaIhqpKpSSJiotDYngAUdidDzR9PpPiHtKEl1jA,174
|
|
215
|
+
punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc,sha256=UKD6_5RX8YpYpg-LPrgGxBkW56THsbYY51cKTYdKwRY,621
|
|
216
|
+
punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc,sha256=csY5ek-bevYVeM91hYFKozuKWXCTXb7M-7Bokwdxhrk,619
|
|
209
217
|
punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc,sha256=Jhg9qW-nQe6IDr45rE0ZgeDYF4E61S7kYAYpbMo5ZQ8,833
|
|
210
|
-
punkweb_bb-0.1.
|
|
211
|
-
punkweb_bb-0.1.
|
|
212
|
-
punkweb_bb-0.1.
|
|
213
|
-
punkweb_bb-0.1.
|
|
214
|
-
punkweb_bb-0.1.
|
|
218
|
+
punkweb_bb-0.1.4.dist-info/LICENSE,sha256=YYysF07B-kyXSO7IWFB9f49ZXa6LIFUTVsR1Ogmhp8s,1507
|
|
219
|
+
punkweb_bb-0.1.4.dist-info/METADATA,sha256=6ypsD63FEqGSzezKYpfi0ppzLVrsYv4cbGLXcjnGHdE,5107
|
|
220
|
+
punkweb_bb-0.1.4.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
221
|
+
punkweb_bb-0.1.4.dist-info/top_level.txt,sha256=sWuGdGnk0ejOXiFDzlBqrNs2VbPEx0_i8UwWXn4SuHU,11
|
|
222
|
+
punkweb_bb-0.1.4.dist-info/RECORD,,
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: punkweb-bb
|
|
3
|
-
Version: 0.1.2
|
|
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
|