punkweb-bb 0.2.3__py3-none-any.whl → 0.4.0__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__/admin.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/admin_forms.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/bbcode.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/forms.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/middleware.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/mixins.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/pagination.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/parsers.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/response.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/signals.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/tags.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/tests.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/urls.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/views.cpython-311.pyc +0 -0
- punkweb_bb/__pycache__/widgets.cpython-311.pyc +0 -0
- punkweb_bb/admin.py +0 -5
- punkweb_bb/admin_forms.py +6 -5
- punkweb_bb/bbcode.py +155 -0
- punkweb_bb/forms.py +13 -5
- punkweb_bb/migrations/0005_alter_thread_options.py +24 -0
- punkweb_bb/migrations/0006_remove_boardprofile__signature_rendered_and_more.py +60 -0
- punkweb_bb/migrations/__pycache__/0005_alter_thread_options.cpython-311.pyc +0 -0
- punkweb_bb/migrations/__pycache__/0006_remove_boardprofile__signature_rendered_and_more.cpython-311.pyc +0 -0
- punkweb_bb/models.py +6 -6
- punkweb_bb/settings.py +1 -0
- punkweb_bb/static/punkweb_bb/css/defaults.css +2 -2
- punkweb_bb/static/punkweb_bb/css/punkweb-modal.css +2 -0
- punkweb_bb/static/punkweb_bb/css/punkweb.css +2 -2
- punkweb_bb/static/punkweb_bb/css/subcategory.css +4 -0
- punkweb_bb/static/punkweb_bb/css/thread.css +24 -0
- punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css +4 -5
- punkweb_bb/static/punkweb_bb/editor/bbcode-editor.js +0 -5
- punkweb_bb/static/punkweb_bb/editor/markdown-editor.js +49 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.eslintrc.json +15 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.gitignore +108 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.prettierrc.json +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/LICENSE +21 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/README.md +240 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/babel.config.json +14 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/blank.html +18 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/demo.html +126 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.css +231 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.js +3086 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.min.css +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.min.js +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.tiny.js +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/_config.yml +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/_layouts/default.html +50 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/index.md +174 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/globals.d.ts +172 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/gulpfile.mjs +226 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/block.test.js +696 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/commandbar.test.js +84 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/inline.test.js +486 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/interaction.test.js +31 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/setup.test.js +164 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/config.js +2 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/server.js +9 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/setup.js +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/test-helpers.js +98 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest-puppeteer.config.js +8 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest.config.js +13 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/package-lock.json +16295 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/package.json +72 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/TinyMDE.js +1926 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/TinyMDECommandBar.js +256 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/commandbar.css +72 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/editor.css +157 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/index.css +3 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/grammar.js +300 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/html/blank.html +18 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/html/demo.html +126 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/index.js +4 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/blockquote.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/bold.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/clear_formatting.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/code.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/h1.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/h2.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/hr.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/image.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/italic.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/link.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/ol.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/strikethrough.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/svg.js +17 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/ul.svg +1 -0
- punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/tiny.js +3 -0
- punkweb_bb/templates/punkweb_bb/base_delete_modal.html +13 -0
- punkweb_bb/templates/punkweb_bb/bbcode.html +2 -3
- punkweb_bb/templates/punkweb_bb/index.html +2 -2
- punkweb_bb/templates/punkweb_bb/partials/category_delete.html +4 -8
- punkweb_bb/templates/punkweb_bb/partials/post_delete.html +4 -8
- punkweb_bb/templates/punkweb_bb/partials/shout_delete.html +4 -8
- punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html +4 -8
- punkweb_bb/templates/punkweb_bb/partials/thread_delete.html +4 -8
- punkweb_bb/templates/punkweb_bb/partials/thread_move.html +24 -0
- punkweb_bb/templates/punkweb_bb/profile.html +2 -2
- punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html +2 -2
- punkweb_bb/templates/punkweb_bb/subcategory.html +1 -1
- punkweb_bb/templates/punkweb_bb/thread.html +24 -14
- punkweb_bb/templates/punkweb_bb/widgets/markdown-editor.html +4 -0
- punkweb_bb/templatetags/__pycache__/markdown.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/__pycache__/render.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/__pycache__/shoutbox_render.cpython-311.pyc +0 -0
- punkweb_bb/templatetags/render.py +35 -0
- punkweb_bb/tests.py +3 -3
- punkweb_bb/urls.py +1 -0
- punkweb_bb/utils.py +24 -10
- punkweb_bb/views.py +45 -23
- punkweb_bb/widgets.py +20 -0
- {punkweb_bb-0.2.3.dist-info → punkweb_bb-0.4.0.dist-info}/METADATA +58 -51
- {punkweb_bb-0.2.3.dist-info → punkweb_bb-0.4.0.dist-info}/RECORD +120 -53
- punkweb_bb/bbcode_tags.py +0 -167
- punkweb_bb/parsers.py +0 -70
- punkweb_bb/templatetags/shoutbox_bbcode.py +0 -14
- {punkweb_bb-0.2.3.dist-info → punkweb_bb-0.4.0.dist-info}/LICENSE +0 -0
- {punkweb_bb-0.2.3.dist-info → punkweb_bb-0.4.0.dist-info}/WHEEL +0 -0
- {punkweb_bb-0.2.3.dist-info → punkweb_bb-0.4.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: punkweb-bb
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Django application that provides a simple and modern forum board software for your Django website.
|
|
5
5
|
Home-page: https://github.com/Punkweb/PunkwebBB
|
|
6
6
|
Author: Punkweb
|
|
@@ -16,63 +16,62 @@ Classifier: Programming Language :: Python :: 3
|
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
18
|
Requires-Dist: django >=4.0
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Requires-Dist:
|
|
19
|
+
Requires-Dist: bbcode
|
|
20
|
+
Requires-Dist: markdown
|
|
21
21
|
Requires-Dist: pillow
|
|
22
|
+
Requires-Dist: expiringdict
|
|
22
23
|
|
|
23
24
|
# PunkwebBB
|
|
24
25
|
|
|
25
26
|
PunkwebBB is a Django application that provides a simple and modern forum board software for your Django website.
|
|
26
27
|
|
|
27
|
-
This is the successor to [punkweb-boards](https://github.com/Punkweb/punkweb-boards).
|
|
28
|
-
|
|
29
28
|
Check out [punkweb.net](https://punkweb.net/board/) for documentation, support and a live demonstration of the software.
|
|
30
29
|
|
|
31
30
|
## Built with
|
|
32
31
|
|
|
33
32
|
- [Django](https://www.djangoproject.com/)
|
|
34
|
-
- [django-precise-bbcode](https://github.com/ellmetha/django-precise-bbcode)
|
|
35
33
|
- [HTMX](https://htmx.org/)
|
|
36
34
|
- [jQuery](https://jquery.com/)
|
|
35
|
+
- [bbcode](https://pypi.org/project/bbcode/)
|
|
36
|
+
- [Markdown](https://pypi.org/project/Markdown/)
|
|
37
37
|
- [SCEditor](https://www.sceditor.com/)
|
|
38
|
+
- [TinyMDE](https://github.com/jefago/tiny-markdown-editor)
|
|
38
39
|
- [PrismJS](https://prismjs.com/)
|
|
39
40
|
|
|
40
41
|
## Requirements
|
|
41
42
|
|
|
42
43
|
- Python 3.9+
|
|
43
|
-
- Django 4.
|
|
44
|
-
- django-precise-bbcode 1.2+
|
|
45
|
-
- Pillow
|
|
44
|
+
- Django 4.0+
|
|
46
45
|
|
|
47
46
|
It may work with older versions of Python and Django, but it has not been tested.
|
|
48
47
|
|
|
48
|
+
## BBCode or Markdown?
|
|
49
|
+
|
|
50
|
+
PunkwebBB supports both BBCode and Markdown. You'll want to decide before installing which parser you want to use, as switching between them will cause existing threads, posts, signatures, etc. to render incorrectly! Switching will not affect the database schema, but it will affect the content.
|
|
51
|
+
|
|
52
|
+
BBCode is the default parser, but you can switch to Markdown by setting the following in your Django settings module:
|
|
53
|
+
|
|
54
|
+
```python
|
|
55
|
+
PUNKWEB_BB = {
|
|
56
|
+
"PARSER": "markdown",
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
49
60
|
## Installation
|
|
50
61
|
|
|
51
62
|
```bash
|
|
52
63
|
pip install punkweb-bb
|
|
53
64
|
```
|
|
54
65
|
|
|
55
|
-
Add `
|
|
66
|
+
Add `punkweb_bb` to your `INSTALLED_APPS` in your Django settings module:
|
|
56
67
|
|
|
57
68
|
```python
|
|
58
69
|
INSTALLED_APPS = [
|
|
59
70
|
...
|
|
60
|
-
"precise_bbcode",
|
|
61
71
|
"punkweb_bb",
|
|
62
72
|
]
|
|
63
73
|
```
|
|
64
74
|
|
|
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
75
|
Add the following context processor to your `TEMPLATES` setting:
|
|
77
76
|
|
|
78
77
|
```python
|
|
@@ -114,6 +113,7 @@ These are the default settings for PunkwebBB, which can be overridden in your Dj
|
|
|
114
113
|
PUNKWEB_BB = {
|
|
115
114
|
"SITE_NAME": "PUNKWEB",
|
|
116
115
|
"SITE_TITLE": "PunkwebBB",
|
|
116
|
+
"PARSER": "bbcode", # "bbcode" or "markdown"
|
|
117
117
|
"FAVICON": "punkweb_bb/favicon.ico",
|
|
118
118
|
"OG_IMAGE": None, # Used for Open Graph meta tags, must be a full URL!
|
|
119
119
|
"SHOUTBOX_ENABLED": True,
|
|
@@ -138,39 +138,46 @@ coverage run && coverage html
|
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
```bash
|
|
141
|
-
Found
|
|
141
|
+
Found 59 test(s).
|
|
142
142
|
Creating test database for alias 'default'...
|
|
143
143
|
System check identified no issues (0 silenced).
|
|
144
|
-
|
|
144
|
+
...........................................................
|
|
145
145
|
----------------------------------------------------------------------
|
|
146
|
-
Ran
|
|
146
|
+
Ran 59 tests in 9.166s
|
|
147
147
|
|
|
148
148
|
OK
|
|
149
149
|
Destroying test database for alias 'default'...
|
|
150
|
-
Name
|
|
151
|
-
|
|
152
|
-
punkweb_bb/__init__.py
|
|
153
|
-
punkweb_bb/admin.py
|
|
154
|
-
punkweb_bb/admin_forms.py
|
|
155
|
-
punkweb_bb/apps.py
|
|
156
|
-
punkweb_bb/
|
|
157
|
-
punkweb_bb/
|
|
158
|
-
punkweb_bb/
|
|
159
|
-
punkweb_bb/middleware.py
|
|
160
|
-
punkweb_bb/mixins.py
|
|
161
|
-
punkweb_bb/models.py
|
|
162
|
-
punkweb_bb/pagination.py
|
|
163
|
-
punkweb_bb/parsers.py
|
|
164
|
-
punkweb_bb/response.py
|
|
165
|
-
punkweb_bb/settings.py
|
|
166
|
-
punkweb_bb/signals.py
|
|
167
|
-
punkweb_bb/templatetags/__init__.py
|
|
168
|
-
punkweb_bb/templatetags/
|
|
169
|
-
punkweb_bb/templatetags/
|
|
170
|
-
punkweb_bb/
|
|
171
|
-
punkweb_bb/
|
|
172
|
-
punkweb_bb/
|
|
173
|
-
punkweb_bb/
|
|
174
|
-
|
|
175
|
-
|
|
150
|
+
Name Stmts Miss Cover
|
|
151
|
+
------------------------------------------------------------------
|
|
152
|
+
punkweb_bb/__init__.py 0 0 100%
|
|
153
|
+
punkweb_bb/admin.py 43 0 100%
|
|
154
|
+
punkweb_bb/admin_forms.py 34 0 100%
|
|
155
|
+
punkweb_bb/apps.py 6 0 100%
|
|
156
|
+
punkweb_bb/context_processors.py 3 0 100%
|
|
157
|
+
punkweb_bb/forms.py 47 0 100%
|
|
158
|
+
punkweb_bb/guests.py 13 0 100%
|
|
159
|
+
punkweb_bb/middleware.py 14 0 100%
|
|
160
|
+
punkweb_bb/mixins.py 11 0 100%
|
|
161
|
+
punkweb_bb/models.py 153 1 99%
|
|
162
|
+
punkweb_bb/pagination.py 11 4 64%
|
|
163
|
+
punkweb_bb/parsers.py 50 36 28%
|
|
164
|
+
punkweb_bb/response.py 3 0 100%
|
|
165
|
+
punkweb_bb/settings.py 11 0 100%
|
|
166
|
+
punkweb_bb/signals.py 9 0 100%
|
|
167
|
+
punkweb_bb/templatetags/__init__.py 0 0 100%
|
|
168
|
+
punkweb_bb/templatetags/can_delete.py 5 0 100%
|
|
169
|
+
punkweb_bb/templatetags/can_edit.py 5 0 100%
|
|
170
|
+
punkweb_bb/templatetags/can_post.py 5 0 100%
|
|
171
|
+
punkweb_bb/templatetags/humanize_int.py 9 5 44%
|
|
172
|
+
punkweb_bb/templatetags/render.py 36 12 67%
|
|
173
|
+
punkweb_bb/templatetags/shoutbox_render.py 18 2 89%
|
|
174
|
+
punkweb_bb/templatetags/styled_group_name.py 7 1 86%
|
|
175
|
+
punkweb_bb/templatetags/styled_username.py 6 0 100%
|
|
176
|
+
punkweb_bb/tests.py 418 0 100%
|
|
177
|
+
punkweb_bb/urls.py 4 0 100%
|
|
178
|
+
punkweb_bb/utils.py 42 24 43%
|
|
179
|
+
punkweb_bb/views.py 304 118 61%
|
|
180
|
+
punkweb_bb/widgets.py 16 0 100%
|
|
181
|
+
------------------------------------------------------------------
|
|
182
|
+
TOTAL 1283 203 84%
|
|
176
183
|
```
|
|
@@ -1,78 +1,84 @@
|
|
|
1
1
|
punkweb_bb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
punkweb_bb/admin.py,sha256=
|
|
3
|
-
punkweb_bb/admin_forms.py,sha256=
|
|
2
|
+
punkweb_bb/admin.py,sha256=W8f91MenKxds6RUOxL0OkXuoHTGL76zZ-nqZEATPONU,2640
|
|
3
|
+
punkweb_bb/admin_forms.py,sha256=nvHKaqJx6rJv5G8yzaDcWYU9gsytg9gMJkz79v8bdUc,1414
|
|
4
4
|
punkweb_bb/apps.py,sha256=GCDLy9B9vumeCsaauQ7LN4FOqE02mXWXECIz8G6KZCQ,207
|
|
5
|
-
punkweb_bb/
|
|
5
|
+
punkweb_bb/bbcode.py,sha256=AH8x-X4xst0S8Xlyiv18X_RuPAyCGGHEm4H4ChccjM8,4983
|
|
6
6
|
punkweb_bb/context_processors.py,sha256=BEOGvWVukvxJUxWZBIc32ioB-mGqImSEBuhhZjqI2G0,146
|
|
7
|
-
punkweb_bb/forms.py,sha256=
|
|
7
|
+
punkweb_bb/forms.py,sha256=jFW7VDV2tAuHymt_3F20TyWXNq_3ZJ-_KQdeZOk2Sbo,3130
|
|
8
8
|
punkweb_bb/guests.py,sha256=Nvn4ZVJvQSQs_f-GeSwNn79Qp8ap_CAoXpYfRTqSbxg,467
|
|
9
9
|
punkweb_bb/middleware.py,sha256=NrYv6nyAYKGcu-qKRnZmCyLghtJ4MUHvt3m5NS8HJbo,628
|
|
10
10
|
punkweb_bb/mixins.py,sha256=XfiThPL7rB71IfukS1ikvYQhfg8RwgSVgsm10Ul1ezM,395
|
|
11
|
-
punkweb_bb/models.py,sha256=
|
|
11
|
+
punkweb_bb/models.py,sha256=G0He7JFT6uNQ6Gxy5CRdlfX3G2c3pv0LM67_HZf-DAc,7053
|
|
12
12
|
punkweb_bb/pagination.py,sha256=OgoZuJsq9MKMvBKYylJVPaNtM9ni3K8OAvOdi-eGr3M,409
|
|
13
|
-
punkweb_bb/parsers.py,sha256=VjWSPqpVfypHLHP0NrfLqXB-1b0W6oFuGIzoAiPi71I,2732
|
|
14
13
|
punkweb_bb/response.py,sha256=dETGVC9Xrsq02pQzmIIWbSUt472lJ4fgLwBKrXnP3t4,130
|
|
15
|
-
punkweb_bb/settings.py,sha256=
|
|
14
|
+
punkweb_bb/settings.py,sha256=7ySSAgNiefcdNWtGBPhMh2V8FVnrY7cpdeVIZ5Om7NM,605
|
|
16
15
|
punkweb_bb/signals.py,sha256=bVdfg942Mwq-fYDZ1Z52Q0V2BCk1lgzGz8JVZFPnzJ8,365
|
|
17
|
-
punkweb_bb/tests.py,sha256=
|
|
18
|
-
punkweb_bb/urls.py,sha256=
|
|
19
|
-
punkweb_bb/utils.py,sha256=
|
|
20
|
-
punkweb_bb/views.py,sha256=
|
|
21
|
-
punkweb_bb/widgets.py,sha256=
|
|
16
|
+
punkweb_bb/tests.py,sha256=puvvh789RvK5UxPzol7dFmQPU1dfGPjzjuQ5vka6oT0,26298
|
|
17
|
+
punkweb_bb/urls.py,sha256=AkTP3VTb6mr0eQU2Wr7C4ZEKvrRDj9mRUFveWOgdE28,2673
|
|
18
|
+
punkweb_bb/utils.py,sha256=qxfs8sgWVI55MbAiwfuZ-Ln-v3hRGj_4XhpMbjNCnH0,1568
|
|
19
|
+
punkweb_bb/views.py,sha256=hVys3rHUswD9NS4hL-RN3gIo2SnqY52NKyEoiC2lhOw,18010
|
|
20
|
+
punkweb_bb/widgets.py,sha256=uIkXnIvYLNncWWyQV069Y2YgeB1m_YG8r5y2ztkdrO8,1502
|
|
22
21
|
punkweb_bb/__pycache__/__init__.cpython-311.pyc,sha256=3PyxCxoznfadaGt0a7re4j0Ky9z9hblufpcwPB85kK8,161
|
|
23
|
-
punkweb_bb/__pycache__/admin.cpython-311.pyc,sha256=
|
|
24
|
-
punkweb_bb/__pycache__/admin_forms.cpython-311.pyc,sha256=
|
|
22
|
+
punkweb_bb/__pycache__/admin.cpython-311.pyc,sha256=dNdyvl0j28dlAhcN7nE1KezjP4786itp9rQ3Jq_mooc,3810
|
|
23
|
+
punkweb_bb/__pycache__/admin_forms.cpython-311.pyc,sha256=ggTP4ngqAlyR1z91zjxh2s5AwzcmRV1EtxTuttZ5aq4,3605
|
|
25
24
|
punkweb_bb/__pycache__/apps.cpython-311.pyc,sha256=lw328DOwOp1F8FWTFYb3qV1EoBNgRr_Tc4J8DXfIl-I,730
|
|
25
|
+
punkweb_bb/__pycache__/bbcode.cpython-311.pyc,sha256=dwVCqvevfi93vv5ROEniMOpcrxjPOnhvsCDnox1gbEQ,6638
|
|
26
26
|
punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc,sha256=QI4BJt5plqLMiAvlVAxibuNONi69PJFQpotpS50olro,8534
|
|
27
27
|
punkweb_bb/__pycache__/context_processors.cpython-311.pyc,sha256=P7rEsodXonYexbS5vUaUKVJ9tIx1pOVk6NQWVvWNvS8,392
|
|
28
|
-
punkweb_bb/__pycache__/forms.cpython-311.pyc,sha256=
|
|
28
|
+
punkweb_bb/__pycache__/forms.cpython-311.pyc,sha256=GYifujT3WNioRq9FBFyhNpVpOOYIUJC2u9o4CFidfk8,6735
|
|
29
29
|
punkweb_bb/__pycache__/guests.cpython-311.pyc,sha256=vgZJcZGyHZkllCAhXHGgajHh7YM1ntXinSed3ojIK6I,1581
|
|
30
|
-
punkweb_bb/__pycache__/middleware.cpython-311.pyc,sha256=
|
|
31
|
-
punkweb_bb/__pycache__/mixins.cpython-311.pyc,sha256=
|
|
32
|
-
punkweb_bb/__pycache__/models.cpython-311.pyc,sha256=
|
|
33
|
-
punkweb_bb/__pycache__/pagination.cpython-311.pyc,sha256=
|
|
34
|
-
punkweb_bb/__pycache__/parsers.cpython-311.pyc,sha256=
|
|
35
|
-
punkweb_bb/__pycache__/response.cpython-311.pyc,sha256=
|
|
36
|
-
punkweb_bb/__pycache__/settings.cpython-311.pyc,sha256=
|
|
37
|
-
punkweb_bb/__pycache__/signals.cpython-311.pyc,sha256=
|
|
30
|
+
punkweb_bb/__pycache__/middleware.cpython-311.pyc,sha256=QXa_vFXK6miVQqHTb-HFNS62yLu90O2yGTxR-ukGZ10,1560
|
|
31
|
+
punkweb_bb/__pycache__/mixins.cpython-311.pyc,sha256=BS1LyR5D-Cpw9_foyhW56vRRcNles0bu7Hv3dgWtAK0,1478
|
|
32
|
+
punkweb_bb/__pycache__/models.cpython-311.pyc,sha256=EwRbKrTe3GAvIDbGiNK2Us1CJR-8nJhvS35Tu7bb8U8,15480
|
|
33
|
+
punkweb_bb/__pycache__/pagination.cpython-311.pyc,sha256=l44YUnzwgmYAxVWgQ3JaDFIU2gPRhEsKuJ0ywt0u45w,990
|
|
34
|
+
punkweb_bb/__pycache__/parsers.cpython-311.pyc,sha256=NVAKGs5OFYJ06g7oOuWjW-qObXXZ0hXXJbZ-Zycx12A,160
|
|
35
|
+
punkweb_bb/__pycache__/response.cpython-311.pyc,sha256=GK2hK5sACmvmilazV7n_9JAsCzabOSi98gcsreAeDSY,448
|
|
36
|
+
punkweb_bb/__pycache__/settings.cpython-311.pyc,sha256=kjeJ45pZAQq_Ecb_G3glA1CYnNOhZeHPjh3eFD8Xf1Y,1109
|
|
37
|
+
punkweb_bb/__pycache__/signals.cpython-311.pyc,sha256=V56nLY2a1WTBfvJ7GD2MBXZx9PuxtQoTREwRMggZrEA,864
|
|
38
38
|
punkweb_bb/__pycache__/sitemap.cpython-311.pyc,sha256=GFjuUD20_ikJWj7IFT1Cn7Od-rw2tsQ45tVMolyTWzA,1591
|
|
39
|
-
punkweb_bb/__pycache__/
|
|
40
|
-
punkweb_bb/__pycache__/
|
|
41
|
-
punkweb_bb/__pycache__/
|
|
42
|
-
punkweb_bb/__pycache__/
|
|
43
|
-
punkweb_bb/__pycache__/
|
|
39
|
+
punkweb_bb/__pycache__/tags.cpython-311.pyc,sha256=nr_Va9Nz8H6kUjxx8mDJi3D4gGo31K92BZKRXHgBFuw,1052
|
|
40
|
+
punkweb_bb/__pycache__/tests.cpython-311.pyc,sha256=5PSZQVuRWikAHkjKPxn69XWLSHO5PXxzmzSWqG0dOPQ,51701
|
|
41
|
+
punkweb_bb/__pycache__/urls.cpython-311.pyc,sha256=enGd9gcLCxN77wcy6a7v_WCTut0OWwURscNptONTzPk,3686
|
|
42
|
+
punkweb_bb/__pycache__/utils.cpython-311.pyc,sha256=zFY5S4BmYPoiWMVrvaxsvtuabYVjz7cPMZQ4PpKvD0s,2823
|
|
43
|
+
punkweb_bb/__pycache__/views.cpython-311.pyc,sha256=aA95XS49Ab4c8R6ia_JUqELT03QNsRh-ftkMMLpQVv8,26263
|
|
44
|
+
punkweb_bb/__pycache__/widgets.cpython-311.pyc,sha256=gqOCVpoOMIpedui0OQX7kMUnY4Vs2wFt3TLbtUWvkzY,2640
|
|
44
45
|
punkweb_bb/migrations/0001_initial.py,sha256=3RGsylygBcWx1kIPhSzOb9v_2yvowsxKfxuSinKKuS0,8950
|
|
45
46
|
punkweb_bb/migrations/0002_thread_view_count.py,sha256=JJZT53Mp8Ofht3oIi67s-0wzCdpYyu8wOeCi_B8q8Yo,388
|
|
46
47
|
punkweb_bb/migrations/0003_alter_thread_options.py,sha256=0xwVfSMWs28akDMhMwOdyyuC7JZ47JekkphT8fUCpcA,589
|
|
47
48
|
punkweb_bb/migrations/0004_groupstyle.py,sha256=DKcTMFkAj903MvrSheMKquCVIOzanZoFakZLIE63nLo,1821
|
|
49
|
+
punkweb_bb/migrations/0005_alter_thread_options.py,sha256=00gO0a45aTqnLfF4i_KZ7xJFk_wbz78FgUBtEzn_9GA,638
|
|
50
|
+
punkweb_bb/migrations/0006_remove_boardprofile__signature_rendered_and_more.py,sha256=jof8vd_LPnknWaEky2jqNHQFlJgke76Dy_tfZtafCRE,1699
|
|
48
51
|
punkweb_bb/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
52
|
punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc,sha256=koi_VflndmTKzSXWstWBXuVEZgEeueId5NE4kOAlA4Q,6456
|
|
50
53
|
punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc,sha256=9HRllkD8LHPXadyurYvp2UcmRFEywalUVQjiOGWizgc,815
|
|
51
54
|
punkweb_bb/migrations/__pycache__/0003_alter_thread_options.cpython-311.pyc,sha256=zK9keYR8PU92_sP5M78xmFJeLGwSnM5tIo09bU-IpOU,860
|
|
52
55
|
punkweb_bb/migrations/__pycache__/0004_groupstyle.cpython-311.pyc,sha256=5wYwjAe30bSea8PswtRkIw8vrxIVk9tUZmUWXanJ2dk,2000
|
|
56
|
+
punkweb_bb/migrations/__pycache__/0005_alter_thread_options.cpython-311.pyc,sha256=O4FHKUuzw7PXt5SwJXLEtL0Hdfkj2uDkVNSDP25vWHw,885
|
|
57
|
+
punkweb_bb/migrations/__pycache__/0006_remove_boardprofile__signature_rendered_and_more.cpython-311.pyc,sha256=mmIZb-1Eq32wS0WQdC7xXvOcbvnjZaHFiPqnB1biXYY,1901
|
|
53
58
|
punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc,sha256=sTbC1AXnh0V4BJwjcjs1ckdeYjG01I348hZwLE2HI4Y,172
|
|
54
59
|
punkweb_bb/static/punkweb_bb/favicon.ico,sha256=lEfX--R9wEGPkkXgLYCsGmHuAGajigiqBXAoonxq8ZM,318
|
|
55
60
|
punkweb_bb/static/punkweb_bb/css/category-form.css,sha256=lvG7Lh2GGBVplKk46JAIHF1cmFLve2JT32BswmudIF8,359
|
|
56
|
-
punkweb_bb/static/punkweb_bb/css/defaults.css,sha256=
|
|
61
|
+
punkweb_bb/static/punkweb_bb/css/defaults.css,sha256=VFV8GzZc6esWa8O7yQNcFjxPGhDfxpI-W3GEgbiaqXQ,1455
|
|
57
62
|
punkweb_bb/static/punkweb_bb/css/index.css,sha256=Jr4P0uLQ0lhM1ujycNVYYnu6tFmFXVZUXMJxFzes-Bo,1415
|
|
58
63
|
punkweb_bb/static/punkweb_bb/css/login.css,sha256=pt5ul4ycZsVB-No3c5gsQa1zVS1iAZgteN1CcllS26k,234
|
|
59
64
|
punkweb_bb/static/punkweb_bb/css/members.css,sha256=1Fz0uVDbs3RnuXNjOtnGnK2jok3LEQBoPhjRYp7gNwE,395
|
|
60
65
|
punkweb_bb/static/punkweb_bb/css/post-form.css,sha256=rEiYplAobLjjUYAcnjNqIjyIVhe9O5hAlPJ3STW-K14,321
|
|
61
66
|
punkweb_bb/static/punkweb_bb/css/profile.css,sha256=yfNJT_D-05deqiBrdIgPeCSO_DFSL8-fGEEHnGrCIYM,916
|
|
62
|
-
punkweb_bb/static/punkweb_bb/css/punkweb-modal.css,sha256=
|
|
63
|
-
punkweb_bb/static/punkweb_bb/css/punkweb.css,sha256=
|
|
67
|
+
punkweb_bb/static/punkweb_bb/css/punkweb-modal.css,sha256=5iT8bVOmC2fhgx1YCgD6IOvUiWTT1LXV0bo_FU2MEzE,1331
|
|
68
|
+
punkweb_bb/static/punkweb_bb/css/punkweb.css,sha256=Rtkz917V0ZjI9vIslBVesyexwi1WYQW92BuoVqbIBJ4,14557
|
|
64
69
|
punkweb_bb/static/punkweb_bb/css/settings.css,sha256=ulQQFTu8slk2rYOmhvci5v-AVnguUuDhKQDhyQOsQNU,308
|
|
65
70
|
punkweb_bb/static/punkweb_bb/css/shoutbox.css,sha256=DapBIe21b6w7ugA_U1EJ-1LFb3IfnJZMw7Kc4DLxF1g,536
|
|
66
71
|
punkweb_bb/static/punkweb_bb/css/subcategory-form.css,sha256=KU-fI8-DiurYiiBVeNk-9vERekbJrOTxllPPFYXu5Fk,371
|
|
67
|
-
punkweb_bb/static/punkweb_bb/css/subcategory.css,sha256=
|
|
72
|
+
punkweb_bb/static/punkweb_bb/css/subcategory.css,sha256=Um-L-9sqK_8r6zUHeQFlNLCskIKfjgj_mpfQVE5NQwU,783
|
|
68
73
|
punkweb_bb/static/punkweb_bb/css/thread-form.css,sha256=9MfqocnamNMjeNJ-w6YTwYbm4oepeK09phFzVsg1XO8,329
|
|
69
|
-
punkweb_bb/static/punkweb_bb/css/thread.css,sha256=
|
|
74
|
+
punkweb_bb/static/punkweb_bb/css/thread.css,sha256=1E7FPNCmvLyOC6xSYmslVho6vde3-t1ex_Hz8GA1k6s,2032
|
|
70
75
|
punkweb_bb/static/punkweb_bb/css/typography.css,sha256=qbFGBcU-OOe7r41xeW0Gc_9x6yHxhh81XtswmFxgavc,448
|
|
71
76
|
punkweb_bb/static/punkweb_bb/css/variables.css,sha256=WphZPeJgeqMYy4JYaSTX0gX-JiZh8EJlhieGOGk75DA,1193
|
|
72
|
-
punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css,sha256=
|
|
77
|
+
punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css,sha256=qAjglfH5ePgwlY0an6eC8yvasjKpCjf0KUoeCNg2aZg,1435
|
|
73
78
|
punkweb_bb/static/punkweb_bb/editor/bbcode-editor-tags.js,sha256=pLgF7lIJnPQXpfqQnkTHBU5tjcvICDHpn2nhvzxwUqA,1624
|
|
74
79
|
punkweb_bb/static/punkweb_bb/editor/bbcode-editor.css,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
75
|
-
punkweb_bb/static/punkweb_bb/editor/bbcode-editor.js,sha256=
|
|
80
|
+
punkweb_bb/static/punkweb_bb/editor/bbcode-editor.js,sha256=_8McMObUj-Uj37awYk7dc4IQGfGCVYvhfdSFzwohRQU,473
|
|
81
|
+
punkweb_bb/static/punkweb_bb/editor/markdown-editor.js,sha256=qLE-6IiPcasxHLP_k7zZP2P8V3wmEA7hZ1GZWeh3Xig,1061
|
|
76
82
|
punkweb_bb/static/punkweb_bb/img/default-profile-image.png,sha256=plGHkG9uiCmgof9Hcv7YNT0oThtDIhJtMzjbxxTtdFY,60475
|
|
77
83
|
punkweb_bb/static/punkweb_bb/js/punkweb-modal.js,sha256=by7e5bpdC-KJ9HT6LqAu8c868CvI5vans4S70DuAmrs,179
|
|
78
84
|
punkweb_bb/static/punkweb_bb/js/shoutbox.js,sha256=dgWq_6yzcwj9uWtvluTJeWa3bVmgtPJke48KbzL7Q1s,142
|
|
@@ -199,37 +205,95 @@ punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office-toolba
|
|
|
199
205
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office.min.css,sha256=EZeNIT-LMxAnrW_7M6BXuH0B8m3MoIS68tDyTxmCoP0,13148
|
|
200
206
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/square.min.css,sha256=vrNHEnpQJr3o8AlJ2aEhn4fsRqR4TOopE3N3-4oE2ho,10710
|
|
201
207
|
punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/content/default.min.css,sha256=2jMxGiqcrAhfOtNMdqmTUtfgM6oUz5F0VJ0sUzam9CY,1016
|
|
208
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.eslintrc.json,sha256=MIS5rcf7plaCGVUNeAYdJiGmNF7OOfLoFYRVxDcHptg,345
|
|
209
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.gitignore,sha256=9rBQGNEKxdXCnFBnzNNEx1I8lHqhSnN8PNuGSr-lebQ,1625
|
|
210
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.prettierrc.json,sha256=yj0WO6sFU4GCciYUBWjzvvfqrBh869doeOC2Pp5EI1Y,3
|
|
211
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/LICENSE,sha256=H4_UyfDda0RZrBw9P_Tj-Na9CGy7GygG0EmZ_rYttD4,1078
|
|
212
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/README.md,sha256=k7zlPs_jQ-zZrwMJDLKfBb4ofN4L0xslAmyePD3-jns,30065
|
|
213
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/babel.config.json,sha256=IqJd7ovajd1dwn1Od3b-hlRnnF3iIGq2GjfGEUCwRi8,228
|
|
214
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/globals.d.ts,sha256=zLAOMMq-yozQ5xB-QkL7wByToh3SpmdxcaiDIxXzeTY,2919
|
|
215
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/gulpfile.mjs,sha256=2UapWm7nB8JlmpRK8uUC8SwfZreQ5uxjk-_7N-m_qeE,5976
|
|
216
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest-puppeteer.config.js,sha256=i4B6w94neXoP0qJKdW9rnskK7B0pLTZ-7PW8aJG4wVA,141
|
|
217
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest.config.js,sha256=hvZtQRENYS1JhSZKAIcI0zVn3V0kPvBxzx7GS7YNWMk,226
|
|
218
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/package-lock.json,sha256=PmiNG9UqGhnGOWDMSZhjNBX0-_2cIMia-TXJ6SLZcWY,602599
|
|
219
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/package.json,sha256=_idpbvBDVALDUIrvW3n7eR_HVBkVbnd8ksPJur5bPs4,1983
|
|
220
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/blank.html,sha256=5jdp7H-ympKfLQINucj5ojIkSIabQsGfW4PV4wITyik,515
|
|
221
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/demo.html,sha256=9CgwmVooaOKKPbD_jurm3k2WTwzgzkswGal56AtekgA,3770
|
|
222
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.css,sha256=7hd5WwbEM2Vzine9nrUjsqiP3rBbg_8mwKhilIBrNUk,3749
|
|
223
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.js,sha256=6IlgtcW8XF4YuSZRgRMPmLopaPbsoR2sljq9DT3G3vo,454032
|
|
224
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.min.css,sha256=MYl3LqdGmy79uBHuTZO2u6_B1sUVG8YIuGqfatG4gZ0,2855
|
|
225
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.min.js,sha256=MFn1DFJbJcqVmSBunDhynDpRZozXDZBD3_FKOUsfw9I,50144
|
|
226
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.tiny.js,sha256=3ZYEefyo0PhcPC2MD62a49Y79TpLXvN6TEb67XwREvE,41346
|
|
227
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/_config.yml,sha256=kTMBN_ZTdpe-XPb08FZRuUXZIDJcvqaWAdlePQamgBk,26
|
|
228
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/index.md,sha256=Gpk3uBuINhuxC1r293Ghli-r4Riy-Y4mPkYCgqc1iNE,6061
|
|
229
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/_layouts/default.html,sha256=9rrS6KZ4Gqc-VUEZPvGj-KjUb25N4sjrHJfSJtDlZ6A,2333
|
|
230
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/block.test.js,sha256=LgV6PEkhZP3A_-MzbL5Nk3COHXUg-OdTNUbamsYJBWs,24077
|
|
231
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/commandbar.test.js,sha256=YqP1Bxz2ZIavQtjh8eXISTgwhVjhf6LcKtokesm9_D0,4321
|
|
232
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/inline.test.js,sha256=oGn1Mk0ugrYfE931CL9V22Uq_UecOpV9vP_dHYiTk0g,20160
|
|
233
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/interaction.test.js,sha256=pYa88fIhY1eowbp3uYYja5Wba_poHh2Uwrpgt7O55Gw,1284
|
|
234
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/setup.test.js,sha256=82ikDrl7jdCKXSJf6e04Wmol_7EEi6hnwVDqVwP3ZZg,5645
|
|
235
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/config.js,sha256=KSfBsTNJp5gYumhI3yz4O8YI5fxO_6KKRshrqO5HOhc,40
|
|
236
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/server.js,sha256=qKWuL5NziopYoJwsY3rRMD3rmXbfrUczfyNB60oYl-A,300
|
|
237
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/setup.js,sha256=h5owEOM0iMFgnwdRp6l5zFhZhWb0EwPEIVV466Dy-fE,23
|
|
238
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/test-helpers.js,sha256=yIUdf1Iqiu0_ke0YvNYxyE15vQvH3vPu6iua6IeM16w,3506
|
|
239
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/TinyMDE.js,sha256=2sjHkl-PxOek6JHUiMHZHu5UxxwYH4yTQXivKUt2tyI,69517
|
|
240
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/TinyMDECommandBar.js,sha256=0nnCSfuKhLwfESt136ynGoMCHpxv6sJkEVOyNPbp_UU,8504
|
|
241
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/grammar.js,sha256=OjtALdd7T_Ha7Gmb7Siw-ll6uTQwz8vamsFTSUrBq_k,16351
|
|
242
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/index.js,sha256=dU1rHUoxkH6ZrWvRjSz68uOSBaCWbQcmwwZza61sZts,107
|
|
243
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/tiny.js,sha256=3gedboumaZ73Ro8Azn89hv-MxgXeI8fX5OV1rz8-IMk,49
|
|
244
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/commandbar.css,sha256=OH24oY60daqlD8KNt4ACTGnnscz2Div2Mk8p4YbC-9k,1494
|
|
245
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/editor.css,sha256=yNJYAne_PBDh8t43tp7GsrWuRvrTsF2Fg1GWv-YyzCQ,2218
|
|
246
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/index.css,sha256=CazYRsj0qeVzlylZWmsvYmeS_IcBqpDaU6t7lscgKjI,48
|
|
247
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/html/blank.html,sha256=5jdp7H-ympKfLQINucj5ojIkSIabQsGfW4PV4wITyik,515
|
|
248
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/html/demo.html,sha256=9CgwmVooaOKKPbD_jurm3k2WTwzgzkswGal56AtekgA,3770
|
|
249
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/blockquote.svg,sha256=aFt3kAyVSVjBxIZ92L42joDvD5LmbuwRn6GmmapMpG4,557
|
|
250
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/bold.svg,sha256=YyePJKGeFXY7arugYYT1fZqoIQIAWh-2jb4q1TTJdCI,351
|
|
251
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/clear_formatting.svg,sha256=NYhmVC1n3mINqfurMgCCHRTRR4QdkdXfrkRT-4HWW9k,230
|
|
252
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/code.svg,sha256=RUho8TNZjzcsmkUb8ms17fJIQS8DnBqlGDErRA672G0,228
|
|
253
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/h1.svg,sha256=5-b84eU0Wis_qPXt7ABr-eh8pf3joWg2sWdyFytvBaI,215
|
|
254
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/h2.svg,sha256=KSPyWVm9NVjQkg_Zakf16W5TRFcE179ZJUqJgyxJSNc,305
|
|
255
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/hr.svg,sha256=LIXqeUM9vtwmw-vNq3Y1EwqSwYQwkVi75VzC_VId85c,149
|
|
256
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/image.svg,sha256=Ce4BvPEcQ25oHHKPPAPBQJ2ICx7Nw9820aNHvC77o_I,327
|
|
257
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/italic.svg,sha256=0aA_mcOBPikdiKb7Ud4NgmnsJwX8ju9zme-xhsLwnvA,192
|
|
258
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/link.svg,sha256=qp5U5MOBcMj68qjx9vi4q7z7wnAVggCj0QmXEZHI6W8,380
|
|
259
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/ol.svg,sha256=nzRraCqSJa1QbbCkOkYIiDuK_nDaLomENqQEGX6DmD8,495
|
|
260
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/strikethrough.svg,sha256=glRM4qCzxcVkW8YnaPmQujP_F7grvJOJ8KT53RE6gdE,214
|
|
261
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/svg.js,sha256=obYUuT3e93tEEo55Km8pIxTwTv0QG-iOPFzDIJANSz0,4350
|
|
262
|
+
punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/ul.svg,sha256=3W6IEbK__WiV-VsUQZV4GnBy_6uKkwVEnbzLjksPbbc,495
|
|
202
263
|
punkweb_bb/templates/punkweb_bb/base.html,sha256=-swjri5cx547vuLVApepf8AchoAVrK2TjwtV7lmxdZc,4426
|
|
264
|
+
punkweb_bb/templates/punkweb_bb/base_delete_modal.html,sha256=Od6qBPgnY9-6JvUHAlsXcEbXzo39qc5YC-omfaN7Nnk,422
|
|
203
265
|
punkweb_bb/templates/punkweb_bb/base_modal.html,sha256=OCbtsMWeNCO0Tl1PmHCcGkwoi1OZjeIK_VhNTzMor7M,460
|
|
204
|
-
punkweb_bb/templates/punkweb_bb/bbcode.html,sha256=
|
|
266
|
+
punkweb_bb/templates/punkweb_bb/bbcode.html,sha256=r65rMEAtbB4TXDBD9wIht8w8kqNxetMsNNGR5hY62QQ,390
|
|
205
267
|
punkweb_bb/templates/punkweb_bb/category_create.html,sha256=773uJzxVvuPmWVrW87EoQTBNoo6cyi3UBp_PZn6JY5A,1369
|
|
206
268
|
punkweb_bb/templates/punkweb_bb/category_update.html,sha256=GUFo19BXY8JVvxP7cWAyWiTD5Z9LohR4f6vf1jlRqfo,1467
|
|
207
|
-
punkweb_bb/templates/punkweb_bb/index.html,sha256=
|
|
269
|
+
punkweb_bb/templates/punkweb_bb/index.html,sha256=p2Lzw8DhjawebN0iGaDvMQPFZupOCebGwvBv5uXltEk,10519
|
|
208
270
|
punkweb_bb/templates/punkweb_bb/login.html,sha256=Hsmt_Y50nTOEv7hBjACXMSEmIVCl-IqDv15iE-wo2cY,1137
|
|
209
271
|
punkweb_bb/templates/punkweb_bb/members.html,sha256=QiG7VllECM4iE5-rIIyterepJ-O51o9NtIsjLvKrwGs,2886
|
|
210
|
-
punkweb_bb/templates/punkweb_bb/profile.html,sha256
|
|
272
|
+
punkweb_bb/templates/punkweb_bb/profile.html,sha256=-a0Liyp2vJ8uQedlCIIEdPWog0fnnSYRdtDddbxb_Vg,3203
|
|
211
273
|
punkweb_bb/templates/punkweb_bb/settings.html,sha256=pxEgQQxK1lk2UKL1W3YL-liAERo2mFgUNAJtshe13xk,2047
|
|
212
274
|
punkweb_bb/templates/punkweb_bb/signup.html,sha256=LMs_EwdEbBmFt4zXPt_LmtUujmBJVt0zE0LldgfhrY0,1219
|
|
213
|
-
punkweb_bb/templates/punkweb_bb/subcategory.html,sha256=
|
|
275
|
+
punkweb_bb/templates/punkweb_bb/subcategory.html,sha256=QDZCLtKZqEgNjHlVeJVwEqUCWYEal3X3JoKlqQY9Zzc,5893
|
|
214
276
|
punkweb_bb/templates/punkweb_bb/subcategory_create.html,sha256=8FhcWKiaYGIulrOaBzQ6qFMpDvsAnX_q-XJ5mKwBLW8,1521
|
|
215
277
|
punkweb_bb/templates/punkweb_bb/subcategory_update.html,sha256=kOq6tuhNBSMVQkBSpHpU06JuQ3h008fOKqLcxe9PgCg,1638
|
|
216
|
-
punkweb_bb/templates/punkweb_bb/thread.html,sha256=
|
|
278
|
+
punkweb_bb/templates/punkweb_bb/thread.html,sha256=l6C04NiqLHdvJ9MEblfvcyabXo3pbkC5mK_lSCYnN8I,11201
|
|
217
279
|
punkweb_bb/templates/punkweb_bb/thread_create.html,sha256=vCwU8GNBwy7pJ2X-jSTgqvAuqgQ_NeSvRDyieBWhP_g,1697
|
|
218
280
|
punkweb_bb/templates/punkweb_bb/thread_update.html,sha256=SLL_5tceZ8ZiPbWCO9eOe_aeMgV5lQ-p6eun1_XvKwE,1730
|
|
219
|
-
punkweb_bb/templates/punkweb_bb/partials/category_delete.html,sha256=
|
|
220
|
-
punkweb_bb/templates/punkweb_bb/partials/post_delete.html,sha256=
|
|
281
|
+
punkweb_bb/templates/punkweb_bb/partials/category_delete.html,sha256=WmZho6dr9IHww1vL_MvENvnGL63wOgMjZHlip6McYxE,234
|
|
282
|
+
punkweb_bb/templates/punkweb_bb/partials/post_delete.html,sha256=VgKDHtf6Z6_9m7ADv9M_kJh0Zx0lqIysxBpsPNwAU5U,216
|
|
221
283
|
punkweb_bb/templates/punkweb_bb/partials/post_update.html,sha256=mFidDqgTuv4LffuSa8pShXxWmiramLLMhHjsaJs1Y9k,565
|
|
222
|
-
punkweb_bb/templates/punkweb_bb/partials/shout_delete.html,sha256=
|
|
223
|
-
punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html,sha256=
|
|
224
|
-
punkweb_bb/templates/punkweb_bb/partials/thread_delete.html,sha256=
|
|
225
|
-
punkweb_bb/templates/punkweb_bb/
|
|
284
|
+
punkweb_bb/templates/punkweb_bb/partials/shout_delete.html,sha256=dH0kkabuLe4gdKEJgEBcEP7VVCNZ7sRJvF1hSsQ_JJg,220
|
|
285
|
+
punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html,sha256=Rzzt_lrrXe7xKI1Xd75OGg6YKUbfEUYBMiwIdEZOqLI,246
|
|
286
|
+
punkweb_bb/templates/punkweb_bb/partials/thread_delete.html,sha256=Ig4Ck0WiysHfK5CdS7XnQzRNn85nmYLiDSSJeUXXd3c,224
|
|
287
|
+
punkweb_bb/templates/punkweb_bb/partials/thread_move.html,sha256=sJu5kKvNztzTSJwBDEHHY2bMW67ZYh__AJE-WbmgZWg,746
|
|
288
|
+
punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html,sha256=mN7Ob4-uDnq4kGjTacOCB6HKa4R2I0xa1fx6UpAugsQ,781
|
|
226
289
|
punkweb_bb/templates/punkweb_bb/shoutbox/shoutbox.html,sha256=J_Lp6KKcqSJr-IayyLN-p0JgMfuwbFP77g-UtcM53WI,672
|
|
290
|
+
punkweb_bb/templates/punkweb_bb/widgets/markdown-editor.html,sha256=CmOIl6vv5qyFsajMOB5cSfr09mGhGWeXNsY4hGXRvnM,142
|
|
227
291
|
punkweb_bb/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
228
292
|
punkweb_bb/templatetags/can_delete.py,sha256=NiFi_VH3KKaAYxdu9cZXR9gT9SNEeLAxnbxb4R7O_Nw,137
|
|
229
293
|
punkweb_bb/templatetags/can_edit.py,sha256=CbnbCcmJkeHZbWbsMn5OmCXMBEa6N1KW6W1dHLQvdWM,133
|
|
230
294
|
punkweb_bb/templatetags/can_post.py,sha256=6J1ojqqyNX99DBZM30jQiirQxAyY5rMi05QXXQjJB7I,133
|
|
231
295
|
punkweb_bb/templatetags/humanize_int.py,sha256=C4KmDG0Jv6o8rwT1RXLdWoGLddJxMxgOoRV9I2598AM,248
|
|
232
|
-
punkweb_bb/templatetags/
|
|
296
|
+
punkweb_bb/templatetags/render.py,sha256=w6gjmYNPpehOStplH_iSHD_t7ZWwN-QabSNCekAE3sg,934
|
|
233
297
|
punkweb_bb/templatetags/styled_group_name.py,sha256=ybg2SnrXg8nyfZBZOW4L_IV-BlTPrs3EKZ48GsKd-3A,257
|
|
234
298
|
punkweb_bb/templatetags/styled_username.py,sha256=1bv6_ss8elDtuJosAYBlKagUciUXb_WlA5X8O4mKtLI,202
|
|
235
299
|
punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc,sha256=VEPKwaIhqpKpSSJiotDYngAUdidDzR9PpPiHtKEl1jA,174
|
|
@@ -238,12 +302,15 @@ punkweb_bb/templatetags/__pycache__/can_edit.cpython-311.pyc,sha256=PJDUtJWrZWb8
|
|
|
238
302
|
punkweb_bb/templatetags/__pycache__/can_post.cpython-311.pyc,sha256=1IU4-Ar-kwjnB2EHQ_tJUyTFWPwTl8jsDbgnNT52zO8,524
|
|
239
303
|
punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc,sha256=UKD6_5RX8YpYpg-LPrgGxBkW56THsbYY51cKTYdKwRY,621
|
|
240
304
|
punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc,sha256=csY5ek-bevYVeM91hYFKozuKWXCTXb7M-7Bokwdxhrk,619
|
|
241
|
-
punkweb_bb/templatetags/__pycache__/
|
|
305
|
+
punkweb_bb/templatetags/__pycache__/markdown.cpython-311.pyc,sha256=gVou8LgnZCf7b5_D52rimaEICsav98nb1YJic10nQyA,1858
|
|
306
|
+
punkweb_bb/templatetags/__pycache__/render.cpython-311.pyc,sha256=WXmmYwfTuamjY1vjvdgR4xiX8CrJtswDZcu3FNv13lw,1880
|
|
307
|
+
punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc,sha256=h5Md024xXjG3N574GjQWR8u4c8UsCsiBWP_usQiJUdE,945
|
|
308
|
+
punkweb_bb/templatetags/__pycache__/shoutbox_render.cpython-311.pyc,sha256=FT-Y3-st8ZLrLNiWWlR308lMi7bmu57YyBpdmF_JEKQ,810
|
|
242
309
|
punkweb_bb/templatetags/__pycache__/styled_group_name.cpython-311.pyc,sha256=1rXkWaqTzivl0uvVs-UiPHOfvx7rOO4Kce6Elhoer_I,712
|
|
243
310
|
punkweb_bb/templatetags/__pycache__/styled_username.cpython-311.pyc,sha256=a91ogyUeLdHS9rEU28FWEYeVqcJopjbvPPdnGkmlHKI,628
|
|
244
311
|
punkweb_bb/templatetags/__pycache__/username.cpython-311.pyc,sha256=GvZkwtrFvkRr1RbxoejyKMmJXr01ABz3lVEwPNq4wxk,626
|
|
245
|
-
punkweb_bb-0.
|
|
246
|
-
punkweb_bb-0.
|
|
247
|
-
punkweb_bb-0.
|
|
248
|
-
punkweb_bb-0.
|
|
249
|
-
punkweb_bb-0.
|
|
312
|
+
punkweb_bb-0.4.0.dist-info/LICENSE,sha256=YYysF07B-kyXSO7IWFB9f49ZXa6LIFUTVsR1Ogmhp8s,1507
|
|
313
|
+
punkweb_bb-0.4.0.dist-info/METADATA,sha256=pOPiFRomB8wB96-CztlBxY7jzbip2LFmIRbSZiMIxzU,5955
|
|
314
|
+
punkweb_bb-0.4.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
315
|
+
punkweb_bb-0.4.0.dist-info/top_level.txt,sha256=sWuGdGnk0ejOXiFDzlBqrNs2VbPEx0_i8UwWXn4SuHU,11
|
|
316
|
+
punkweb_bb-0.4.0.dist-info/RECORD,,
|
punkweb_bb/bbcode_tags.py
DELETED
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
from precise_bbcode.bbcode.tag import BBCodeTag
|
|
2
|
-
from precise_bbcode.tag_pool import tag_pool
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class CheckedBoxBBCodeTag(BBCodeTag):
|
|
6
|
-
name = "y"
|
|
7
|
-
definition_string = "[y]{TEXT}"
|
|
8
|
-
format_string = """<label style="display: block"><input type="checkbox" disabled="disabled" checked="checked" /> {TEXT}</label>"""
|
|
9
|
-
|
|
10
|
-
class Options:
|
|
11
|
-
newline_closes = True
|
|
12
|
-
same_tag_closes = True
|
|
13
|
-
end_tag_closes = True
|
|
14
|
-
strip = True
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class CodeBBCodeTag(BBCodeTag):
|
|
18
|
-
name = "code"
|
|
19
|
-
|
|
20
|
-
class Options:
|
|
21
|
-
render_embedded = False
|
|
22
|
-
strip = True
|
|
23
|
-
transform_newlines = False
|
|
24
|
-
|
|
25
|
-
def render(self, value, option=None, parent=None):
|
|
26
|
-
if option is not None:
|
|
27
|
-
return f"<pre><code class='language-{option}'>{value}</code></pre>"
|
|
28
|
-
return f"<pre><code>{value}</code></pre>"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class EmailBBCodeTag(BBCodeTag):
|
|
32
|
-
name = "email"
|
|
33
|
-
definition_string = "[email={TEXT1}]{TEXT2}[/email]"
|
|
34
|
-
format_string = """<a href="mailto:{TEXT1}">{TEXT2}</a>"""
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
class EscapeBBCodeTag(BBCodeTag):
|
|
38
|
-
name = "escape"
|
|
39
|
-
definition_string = "[escape]{TEXT}[/escape]"
|
|
40
|
-
format_string = """<div class="escaped">{TEXT}</div>"""
|
|
41
|
-
|
|
42
|
-
class Options:
|
|
43
|
-
render_embedded = False
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
class FontBBCodeTag(BBCodeTag):
|
|
47
|
-
name = "font"
|
|
48
|
-
definition_string = "[font={TEXT1}]{TEXT2}[/font]"
|
|
49
|
-
format_string = '<span style="font-family:{TEXT1}">{TEXT2}</span>'
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
class HrBBCodeTag(BBCodeTag):
|
|
53
|
-
name = "hr"
|
|
54
|
-
definition_string = "[hr]"
|
|
55
|
-
format_string = "<hr/>"
|
|
56
|
-
|
|
57
|
-
class Options:
|
|
58
|
-
standalone = True
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
class LeftBBCodeTag(BBCodeTag):
|
|
62
|
-
name = "left"
|
|
63
|
-
definition_string = "[left]{TEXT}[/left]"
|
|
64
|
-
format_string = """<div style="text-align: left">{TEXT}</div>"""
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
class LiBBCodeTag(BBCodeTag):
|
|
68
|
-
name = "li"
|
|
69
|
-
definition_string = "[li]{TEXT}[/li]"
|
|
70
|
-
format_string = "<li>{TEXT}</li>"
|
|
71
|
-
|
|
72
|
-
class Options:
|
|
73
|
-
strip = True
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
class OlBBCodeTag(BBCodeTag):
|
|
77
|
-
name = "ol"
|
|
78
|
-
definition_string = "[ol]{TEXT}[/ol]"
|
|
79
|
-
format_string = "<ol>{TEXT}</ol>"
|
|
80
|
-
|
|
81
|
-
class Options:
|
|
82
|
-
transform_newlines = False
|
|
83
|
-
strip = True
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
class QuoteBBCodeTag(BBCodeTag):
|
|
87
|
-
name = "quote"
|
|
88
|
-
definition_string = "[quote={TEXT1}]{TEXT2}[/quote]"
|
|
89
|
-
format_string = """
|
|
90
|
-
<blockquote>
|
|
91
|
-
<cite>
|
|
92
|
-
{TEXT1} said:
|
|
93
|
-
</cite>
|
|
94
|
-
{TEXT2}
|
|
95
|
-
</blockquote>"""
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
class RightBBCodeTag(BBCodeTag):
|
|
99
|
-
name = "right"
|
|
100
|
-
definition_string = "[right]{TEXT}[/right]"
|
|
101
|
-
format_string = """<div style="text-align: right">{TEXT}</div>"""
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
class ShadowBBCodeTag(BBCodeTag):
|
|
105
|
-
name = "shadow"
|
|
106
|
-
definition_string = "[shadow={TEXT1}]{TEXT2}[/shadow]"
|
|
107
|
-
format_string = """<span id="bbcode-shadow" style="text-shadow: 0px 0px 1em {TEXT1}">{TEXT2}</span>"""
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
class SizeBBCodeTag(BBCodeTag):
|
|
111
|
-
name = "size"
|
|
112
|
-
definition_string = "[size={RANGE=1,7}]{TEXT}[/size]"
|
|
113
|
-
format_string = '<font size="{RANGE=1,7}">{TEXT}</font>'
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
class SubscriptBBCodeTag(BBCodeTag):
|
|
117
|
-
name = "sub"
|
|
118
|
-
definition_string = "[sub]{TEXT}[/sub]"
|
|
119
|
-
format_string = "<sub>{TEXT}</sub>"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
class SuperscriptBBCodeTag(BBCodeTag):
|
|
123
|
-
name = "sup"
|
|
124
|
-
definition_string = "[sup]{TEXT}[/sup]"
|
|
125
|
-
format_string = "<sup>{TEXT}</sup>"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
class UlBBCodeTag(BBCodeTag):
|
|
129
|
-
name = "ul"
|
|
130
|
-
definition_string = "[ul]{TEXT}[/ul]"
|
|
131
|
-
format_string = "<ul>{TEXT}</ul>"
|
|
132
|
-
|
|
133
|
-
class Options:
|
|
134
|
-
transform_newlines = False
|
|
135
|
-
strip = True
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
class UncheckedBoxBBCodeTag(BBCodeTag):
|
|
139
|
-
name = "n"
|
|
140
|
-
definition_string = "[n]{TEXT}"
|
|
141
|
-
format_string = """
|
|
142
|
-
<label style="display: block"><input type="checkbox" disabled="disabled" /> {TEXT}</label>"""
|
|
143
|
-
|
|
144
|
-
class Options:
|
|
145
|
-
newline_closes = True
|
|
146
|
-
same_tag_closes = True
|
|
147
|
-
end_tag_closes = True
|
|
148
|
-
strip = True
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
tag_pool.register_tag(CheckedBoxBBCodeTag)
|
|
152
|
-
tag_pool.register_tag(CodeBBCodeTag)
|
|
153
|
-
tag_pool.register_tag(EmailBBCodeTag)
|
|
154
|
-
tag_pool.register_tag(EscapeBBCodeTag)
|
|
155
|
-
tag_pool.register_tag(FontBBCodeTag)
|
|
156
|
-
tag_pool.register_tag(HrBBCodeTag)
|
|
157
|
-
tag_pool.register_tag(LeftBBCodeTag)
|
|
158
|
-
tag_pool.register_tag(LiBBCodeTag)
|
|
159
|
-
tag_pool.register_tag(OlBBCodeTag)
|
|
160
|
-
tag_pool.register_tag(QuoteBBCodeTag)
|
|
161
|
-
tag_pool.register_tag(RightBBCodeTag)
|
|
162
|
-
tag_pool.register_tag(ShadowBBCodeTag)
|
|
163
|
-
tag_pool.register_tag(SizeBBCodeTag)
|
|
164
|
-
tag_pool.register_tag(SubscriptBBCodeTag)
|
|
165
|
-
tag_pool.register_tag(SuperscriptBBCodeTag)
|
|
166
|
-
tag_pool.register_tag(UlBBCodeTag)
|
|
167
|
-
tag_pool.register_tag(UncheckedBoxBBCodeTag)
|