punkweb-bb 0.2.3__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- punkweb_bb-0.4.0/MANIFEST.in +4 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/PKG-INFO +55 -49
- punkweb_bb-0.4.0/README.md +160 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/admin.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/admin_forms.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/bbcode.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/forms.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/middleware.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/mixins.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/pagination.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/parsers.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/response.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/signals.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/tags.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/tests.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/urls.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/views.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/__pycache__/widgets.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/admin.py +0 -5
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/admin_forms.py +6 -5
- punkweb_bb-0.4.0/punkweb_bb/bbcode.py +155 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/forms.py +13 -5
- punkweb_bb-0.4.0/punkweb_bb/migrations/0005_alter_thread_options.py +24 -0
- punkweb_bb-0.4.0/punkweb_bb/migrations/0006_remove_boardprofile__signature_rendered_and_more.py +60 -0
- punkweb_bb-0.4.0/punkweb_bb/migrations/__pycache__/0005_alter_thread_options.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/migrations/__pycache__/0006_remove_boardprofile__signature_rendered_and_more.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/models.py +6 -6
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/settings.py +1 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/punkweb-modal.css +2 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/punkweb.css +2 -2
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/subcategory.css +4 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/thread.css +24 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css +4 -5
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.js +0 -5
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/editor/markdown-editor.js +49 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.eslintrc.json +15 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.gitignore +108 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/.prettierrc.json +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/LICENSE +21 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/README.md +240 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/babel.config.json +14 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/blank.html +18 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/demo.html +126 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.css +231 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.js +3086 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.min.css +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.min.js +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/dist/tiny-mde.tiny.js +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/_config.yml +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/_layouts/default.html +50 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/docs/index.md +174 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/globals.d.ts +172 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/gulpfile.mjs +226 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/block.test.js +696 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/commandbar.test.js +84 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/inline.test.js +486 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/interaction.test.js +31 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/setup.test.js +164 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/config.js +2 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/server.js +9 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/setup.js +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest/util/test-helpers.js +98 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest-puppeteer.config.js +8 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/jest.config.js +13 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/package-lock.json +16295 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/package.json +72 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/TinyMDE.js +1926 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/TinyMDECommandBar.js +256 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/commandbar.css +72 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/editor.css +157 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/css/index.css +3 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/grammar.js +300 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/html/blank.html +18 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/html/demo.html +126 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/index.js +4 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/blockquote.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/bold.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/clear_formatting.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/code.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/h1.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/h2.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/hr.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/image.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/italic.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/link.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/ol.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/strikethrough.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/svg.js +17 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/svg/ul.svg +1 -0
- punkweb_bb-0.4.0/punkweb_bb/static/punkweb_bb/vendor/tiny-markdown-editor/src/tiny.js +3 -0
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/base_delete_modal.html +13 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/bbcode.html +2 -3
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/index.html +2 -2
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/partials/category_delete.html +7 -0
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/partials/post_delete.html +7 -0
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/partials/shout_delete.html +7 -0
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html +7 -0
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/partials/thread_delete.html +7 -0
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/partials/thread_move.html +24 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/profile.html +2 -2
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html +2 -2
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/subcategory.html +1 -1
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/thread.html +24 -14
- punkweb_bb-0.4.0/punkweb_bb/templates/punkweb_bb/widgets/markdown-editor.html +4 -0
- punkweb_bb-0.4.0/punkweb_bb/templatetags/__pycache__/markdown.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/templatetags/__pycache__/render.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/templatetags/__pycache__/shoutbox_render.cpython-311.pyc +0 -0
- punkweb_bb-0.4.0/punkweb_bb/templatetags/render.py +35 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/tests.py +3 -3
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/urls.py +1 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/utils.py +24 -10
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/views.py +45 -23
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/widgets.py +20 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb.egg-info/PKG-INFO +55 -49
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb.egg-info/SOURCES.txt +70 -3
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb.egg-info/requires.txt +3 -2
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/setup.py +4 -3
- punkweb_bb-0.2.3/MANIFEST.in +0 -3
- punkweb_bb-0.2.3/README.md +0 -154
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/admin.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/admin_forms.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/parsers.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/views.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/widgets.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/bbcode_tags.py +0 -167
- punkweb_bb-0.2.3/punkweb_bb/parsers.py +0 -70
- punkweb_bb-0.2.3/punkweb_bb/templates/punkweb_bb/partials/category_delete.html +0 -11
- punkweb_bb-0.2.3/punkweb_bb/templates/punkweb_bb/partials/post_delete.html +0 -11
- punkweb_bb-0.2.3/punkweb_bb/templates/punkweb_bb/partials/shout_delete.html +0 -11
- punkweb_bb-0.2.3/punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html +0 -11
- punkweb_bb-0.2.3/punkweb_bb/templates/punkweb_bb/partials/thread_delete.html +0 -11
- punkweb_bb-0.2.3/punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/templatetags/shoutbox_bbcode.py +0 -14
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/LICENSE +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__init__.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/apps.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/context_processors.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/guests.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/__pycache__/sitemap.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/apps.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/context_processors.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/guests.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/middleware.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/0001_initial.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/0002_thread_view_count.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/0003_alter_thread_options.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/0004_groupstyle.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/__init__.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/__pycache__/0003_alter_thread_options.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/__pycache__/0004_groupstyle.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/mixins.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/pagination.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/response.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/signals.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/category-form.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/defaults.css +2 -2
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/index.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/login.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/members.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/post-form.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/profile.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/settings.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/shoutbox.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/subcategory-form.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/thread-form.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/typography.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/css/variables.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-tags.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/favicon.ico +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/img/default-profile-image.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/js/punkweb-modal.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/js/shoutbox.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/htmx-1.9.4.min.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/jquery-3.7.0.min.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/open-color.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/prism.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/prism.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/README.md +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/formats/bbcode.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/formats/xhtml.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/icons/material.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/icons/monocons.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.bbcode.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.xhtml.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/alternative-lists.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/autosave.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/autoyoutube.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/dragdrop.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/format.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/plaintext.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/undo.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/v1compat.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/sceditor.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/content/default.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/default.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/defaultdark.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/famfamfam.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/modern.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/office-toolbar.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/office.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/square.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/alien.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/angel.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/angry.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/blink.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/blush.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cheerful.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cool.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/credits.txt +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cwy.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/devil.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/dizzy.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/ermm.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/face.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/getlost.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/grin.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/happy.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/heart.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/kissing.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/laughing.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/ninja.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/pinch.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/pouty.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sad.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/shocked.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sick.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sideways.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/silly.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sleeping.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/smile.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/tongue.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/unsure.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/w00t.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wassat.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/whistling.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wink.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wub.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/example.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ar.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ca.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/cn.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/cs.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/de.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/el.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/en-US.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/en.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/es.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/et.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fa.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fi.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fr.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/gl.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/hu.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/id.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/it.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ja.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/lt.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/nb.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/nl.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pl.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pt-BR.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pt.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ru.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/sk.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/sv.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/template.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/tr.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/tw.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/uk.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/vi.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/formats/bbcode.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/formats/xhtml.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/icons/material.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/icons/monocons.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.bbcode.min.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.min.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.xhtml.min.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/alternative-lists.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/autosave.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/autoyoutube.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/dragdrop.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/format.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/plaintext.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/undo.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/v1compat.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/sceditor.min.js +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/content/default.min.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/default.min.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/defaultdark.min.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/famfamfam.png +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/modern.min.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office-toolbar.min.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office.min.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/square.min.css +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/base.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/base_modal.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/category_create.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/category_update.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/login.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/members.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/partials/post_update.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/settings.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/shoutbox/shoutbox.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/signup.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/subcategory_create.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/subcategory_update.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/thread_create.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templates/punkweb_bb/thread_update.html +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__init__.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/can_delete.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/can_edit.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/can_post.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/styled_group_name.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/styled_username.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/__pycache__/username.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/can_delete.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/can_edit.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/can_post.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/humanize_int.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/styled_group_name.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb/templatetags/styled_username.py +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb.egg-info/dependency_links.txt +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb.egg-info/not-zip-safe +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/punkweb_bb.egg-info/top_level.txt +0 -0
- {punkweb_bb-0.2.3 → punkweb_bb-0.4.0}/setup.cfg +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
|
|
@@ -20,55 +20,53 @@ License-File: LICENSE
|
|
|
20
20
|
|
|
21
21
|
PunkwebBB is a Django application that provides a simple and modern forum board software for your Django website.
|
|
22
22
|
|
|
23
|
-
This is the successor to [punkweb-boards](https://github.com/Punkweb/punkweb-boards).
|
|
24
|
-
|
|
25
23
|
Check out [punkweb.net](https://punkweb.net/board/) for documentation, support and a live demonstration of the software.
|
|
26
24
|
|
|
27
25
|
## Built with
|
|
28
26
|
|
|
29
27
|
- [Django](https://www.djangoproject.com/)
|
|
30
|
-
- [django-precise-bbcode](https://github.com/ellmetha/django-precise-bbcode)
|
|
31
28
|
- [HTMX](https://htmx.org/)
|
|
32
29
|
- [jQuery](https://jquery.com/)
|
|
30
|
+
- [bbcode](https://pypi.org/project/bbcode/)
|
|
31
|
+
- [Markdown](https://pypi.org/project/Markdown/)
|
|
33
32
|
- [SCEditor](https://www.sceditor.com/)
|
|
33
|
+
- [TinyMDE](https://github.com/jefago/tiny-markdown-editor)
|
|
34
34
|
- [PrismJS](https://prismjs.com/)
|
|
35
35
|
|
|
36
36
|
## Requirements
|
|
37
37
|
|
|
38
38
|
- Python 3.9+
|
|
39
|
-
- Django 4.
|
|
40
|
-
- django-precise-bbcode 1.2+
|
|
41
|
-
- Pillow
|
|
39
|
+
- Django 4.0+
|
|
42
40
|
|
|
43
41
|
It may work with older versions of Python and Django, but it has not been tested.
|
|
44
42
|
|
|
43
|
+
## BBCode or Markdown?
|
|
44
|
+
|
|
45
|
+
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.
|
|
46
|
+
|
|
47
|
+
BBCode is the default parser, but you can switch to Markdown by setting the following in your Django settings module:
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
PUNKWEB_BB = {
|
|
51
|
+
"PARSER": "markdown",
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
45
55
|
## Installation
|
|
46
56
|
|
|
47
57
|
```bash
|
|
48
58
|
pip install punkweb-bb
|
|
49
59
|
```
|
|
50
60
|
|
|
51
|
-
Add `
|
|
61
|
+
Add `punkweb_bb` to your `INSTALLED_APPS` in your Django settings module:
|
|
52
62
|
|
|
53
63
|
```python
|
|
54
64
|
INSTALLED_APPS = [
|
|
55
65
|
...
|
|
56
|
-
"precise_bbcode",
|
|
57
66
|
"punkweb_bb",
|
|
58
67
|
]
|
|
59
68
|
```
|
|
60
69
|
|
|
61
|
-
_Note_: `precise_bbcode` is required. It must be installed before `punkweb_bb`.
|
|
62
|
-
|
|
63
|
-
Add the following middleware to your `MIDDLEWARE` setting:
|
|
64
|
-
|
|
65
|
-
```python
|
|
66
|
-
MIDDLEWARE = [
|
|
67
|
-
...
|
|
68
|
-
"punkweb_bb.middleware.ProfileOnlineCacheMiddleware",
|
|
69
|
-
]
|
|
70
|
-
```
|
|
71
|
-
|
|
72
70
|
Add the following context processor to your `TEMPLATES` setting:
|
|
73
71
|
|
|
74
72
|
```python
|
|
@@ -110,6 +108,7 @@ These are the default settings for PunkwebBB, which can be overridden in your Dj
|
|
|
110
108
|
PUNKWEB_BB = {
|
|
111
109
|
"SITE_NAME": "PUNKWEB",
|
|
112
110
|
"SITE_TITLE": "PunkwebBB",
|
|
111
|
+
"PARSER": "bbcode", # "bbcode" or "markdown"
|
|
113
112
|
"FAVICON": "punkweb_bb/favicon.ico",
|
|
114
113
|
"OG_IMAGE": None, # Used for Open Graph meta tags, must be a full URL!
|
|
115
114
|
"SHOUTBOX_ENABLED": True,
|
|
@@ -134,39 +133,46 @@ coverage run && coverage html
|
|
|
134
133
|
```
|
|
135
134
|
|
|
136
135
|
```bash
|
|
137
|
-
Found
|
|
136
|
+
Found 59 test(s).
|
|
138
137
|
Creating test database for alias 'default'...
|
|
139
138
|
System check identified no issues (0 silenced).
|
|
140
|
-
|
|
139
|
+
...........................................................
|
|
141
140
|
----------------------------------------------------------------------
|
|
142
|
-
Ran
|
|
141
|
+
Ran 59 tests in 9.166s
|
|
143
142
|
|
|
144
143
|
OK
|
|
145
144
|
Destroying test database for alias 'default'...
|
|
146
|
-
Name
|
|
147
|
-
|
|
148
|
-
punkweb_bb/__init__.py
|
|
149
|
-
punkweb_bb/admin.py
|
|
150
|
-
punkweb_bb/admin_forms.py
|
|
151
|
-
punkweb_bb/apps.py
|
|
152
|
-
punkweb_bb/
|
|
153
|
-
punkweb_bb/
|
|
154
|
-
punkweb_bb/
|
|
155
|
-
punkweb_bb/middleware.py
|
|
156
|
-
punkweb_bb/mixins.py
|
|
157
|
-
punkweb_bb/models.py
|
|
158
|
-
punkweb_bb/pagination.py
|
|
159
|
-
punkweb_bb/parsers.py
|
|
160
|
-
punkweb_bb/response.py
|
|
161
|
-
punkweb_bb/settings.py
|
|
162
|
-
punkweb_bb/signals.py
|
|
163
|
-
punkweb_bb/templatetags/__init__.py
|
|
164
|
-
punkweb_bb/templatetags/
|
|
165
|
-
punkweb_bb/templatetags/
|
|
166
|
-
punkweb_bb/
|
|
167
|
-
punkweb_bb/
|
|
168
|
-
punkweb_bb/
|
|
169
|
-
punkweb_bb/
|
|
170
|
-
|
|
171
|
-
|
|
145
|
+
Name Stmts Miss Cover
|
|
146
|
+
------------------------------------------------------------------
|
|
147
|
+
punkweb_bb/__init__.py 0 0 100%
|
|
148
|
+
punkweb_bb/admin.py 43 0 100%
|
|
149
|
+
punkweb_bb/admin_forms.py 34 0 100%
|
|
150
|
+
punkweb_bb/apps.py 6 0 100%
|
|
151
|
+
punkweb_bb/context_processors.py 3 0 100%
|
|
152
|
+
punkweb_bb/forms.py 47 0 100%
|
|
153
|
+
punkweb_bb/guests.py 13 0 100%
|
|
154
|
+
punkweb_bb/middleware.py 14 0 100%
|
|
155
|
+
punkweb_bb/mixins.py 11 0 100%
|
|
156
|
+
punkweb_bb/models.py 153 1 99%
|
|
157
|
+
punkweb_bb/pagination.py 11 4 64%
|
|
158
|
+
punkweb_bb/parsers.py 50 36 28%
|
|
159
|
+
punkweb_bb/response.py 3 0 100%
|
|
160
|
+
punkweb_bb/settings.py 11 0 100%
|
|
161
|
+
punkweb_bb/signals.py 9 0 100%
|
|
162
|
+
punkweb_bb/templatetags/__init__.py 0 0 100%
|
|
163
|
+
punkweb_bb/templatetags/can_delete.py 5 0 100%
|
|
164
|
+
punkweb_bb/templatetags/can_edit.py 5 0 100%
|
|
165
|
+
punkweb_bb/templatetags/can_post.py 5 0 100%
|
|
166
|
+
punkweb_bb/templatetags/humanize_int.py 9 5 44%
|
|
167
|
+
punkweb_bb/templatetags/render.py 36 12 67%
|
|
168
|
+
punkweb_bb/templatetags/shoutbox_render.py 18 2 89%
|
|
169
|
+
punkweb_bb/templatetags/styled_group_name.py 7 1 86%
|
|
170
|
+
punkweb_bb/templatetags/styled_username.py 6 0 100%
|
|
171
|
+
punkweb_bb/tests.py 418 0 100%
|
|
172
|
+
punkweb_bb/urls.py 4 0 100%
|
|
173
|
+
punkweb_bb/utils.py 42 24 43%
|
|
174
|
+
punkweb_bb/views.py 304 118 61%
|
|
175
|
+
punkweb_bb/widgets.py 16 0 100%
|
|
176
|
+
------------------------------------------------------------------
|
|
177
|
+
TOTAL 1283 203 84%
|
|
172
178
|
```
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# PunkwebBB
|
|
2
|
+
|
|
3
|
+
PunkwebBB is a Django application that provides a simple and modern forum board software for your Django website.
|
|
4
|
+
|
|
5
|
+
Check out [punkweb.net](https://punkweb.net/board/) for documentation, support and a live demonstration of the software.
|
|
6
|
+
|
|
7
|
+
## Built with
|
|
8
|
+
|
|
9
|
+
- [Django](https://www.djangoproject.com/)
|
|
10
|
+
- [HTMX](https://htmx.org/)
|
|
11
|
+
- [jQuery](https://jquery.com/)
|
|
12
|
+
- [bbcode](https://pypi.org/project/bbcode/)
|
|
13
|
+
- [Markdown](https://pypi.org/project/Markdown/)
|
|
14
|
+
- [SCEditor](https://www.sceditor.com/)
|
|
15
|
+
- [TinyMDE](https://github.com/jefago/tiny-markdown-editor)
|
|
16
|
+
- [PrismJS](https://prismjs.com/)
|
|
17
|
+
|
|
18
|
+
## Requirements
|
|
19
|
+
|
|
20
|
+
- Python 3.9+
|
|
21
|
+
- Django 4.0+
|
|
22
|
+
|
|
23
|
+
It may work with older versions of Python and Django, but it has not been tested.
|
|
24
|
+
|
|
25
|
+
## BBCode or Markdown?
|
|
26
|
+
|
|
27
|
+
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.
|
|
28
|
+
|
|
29
|
+
BBCode is the default parser, but you can switch to Markdown by setting the following in your Django settings module:
|
|
30
|
+
|
|
31
|
+
```python
|
|
32
|
+
PUNKWEB_BB = {
|
|
33
|
+
"PARSER": "markdown",
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install punkweb-bb
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Add `punkweb_bb` to your `INSTALLED_APPS` in your Django settings module:
|
|
44
|
+
|
|
45
|
+
```python
|
|
46
|
+
INSTALLED_APPS = [
|
|
47
|
+
...
|
|
48
|
+
"punkweb_bb",
|
|
49
|
+
]
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Add the following context processor to your `TEMPLATES` setting:
|
|
53
|
+
|
|
54
|
+
```python
|
|
55
|
+
TEMPLATES = [
|
|
56
|
+
{
|
|
57
|
+
...
|
|
58
|
+
"OPTIONS": {
|
|
59
|
+
"context_processors": [
|
|
60
|
+
...
|
|
61
|
+
"punkweb_bb.context_processors.punkweb_bb",
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
]
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Add the following URL pattern to your `urls.py`:
|
|
69
|
+
|
|
70
|
+
```python
|
|
71
|
+
from django.urls import path, include
|
|
72
|
+
|
|
73
|
+
urlpatterns = [
|
|
74
|
+
...
|
|
75
|
+
path("forum/", include("punkweb_bb.urls")), # or any other path you want
|
|
76
|
+
]
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
And finally, install the models:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
python manage.py migrate
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Configuration
|
|
86
|
+
|
|
87
|
+
These are the default settings for PunkwebBB, which can be overridden in your Django settings module:
|
|
88
|
+
|
|
89
|
+
```python
|
|
90
|
+
PUNKWEB_BB = {
|
|
91
|
+
"SITE_NAME": "PUNKWEB",
|
|
92
|
+
"SITE_TITLE": "PunkwebBB",
|
|
93
|
+
"PARSER": "bbcode", # "bbcode" or "markdown"
|
|
94
|
+
"FAVICON": "punkweb_bb/favicon.ico",
|
|
95
|
+
"OG_IMAGE": None, # Used for Open Graph meta tags, must be a full URL!
|
|
96
|
+
"SHOUTBOX_ENABLED": True,
|
|
97
|
+
"DISCORD_WIDGET_ENABLED": False,
|
|
98
|
+
"DISCORD_WIDGET_THEME": "dark",
|
|
99
|
+
"DISCORD_SERVER_ID": None, # Found under Server Settings > Widget > Server ID
|
|
100
|
+
}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Testing
|
|
104
|
+
|
|
105
|
+
Report:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
coverage run && coverage report
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
HTML:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
coverage run && coverage html
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
Found 59 test(s).
|
|
119
|
+
Creating test database for alias 'default'...
|
|
120
|
+
System check identified no issues (0 silenced).
|
|
121
|
+
...........................................................
|
|
122
|
+
----------------------------------------------------------------------
|
|
123
|
+
Ran 59 tests in 9.166s
|
|
124
|
+
|
|
125
|
+
OK
|
|
126
|
+
Destroying test database for alias 'default'...
|
|
127
|
+
Name Stmts Miss Cover
|
|
128
|
+
------------------------------------------------------------------
|
|
129
|
+
punkweb_bb/__init__.py 0 0 100%
|
|
130
|
+
punkweb_bb/admin.py 43 0 100%
|
|
131
|
+
punkweb_bb/admin_forms.py 34 0 100%
|
|
132
|
+
punkweb_bb/apps.py 6 0 100%
|
|
133
|
+
punkweb_bb/context_processors.py 3 0 100%
|
|
134
|
+
punkweb_bb/forms.py 47 0 100%
|
|
135
|
+
punkweb_bb/guests.py 13 0 100%
|
|
136
|
+
punkweb_bb/middleware.py 14 0 100%
|
|
137
|
+
punkweb_bb/mixins.py 11 0 100%
|
|
138
|
+
punkweb_bb/models.py 153 1 99%
|
|
139
|
+
punkweb_bb/pagination.py 11 4 64%
|
|
140
|
+
punkweb_bb/parsers.py 50 36 28%
|
|
141
|
+
punkweb_bb/response.py 3 0 100%
|
|
142
|
+
punkweb_bb/settings.py 11 0 100%
|
|
143
|
+
punkweb_bb/signals.py 9 0 100%
|
|
144
|
+
punkweb_bb/templatetags/__init__.py 0 0 100%
|
|
145
|
+
punkweb_bb/templatetags/can_delete.py 5 0 100%
|
|
146
|
+
punkweb_bb/templatetags/can_edit.py 5 0 100%
|
|
147
|
+
punkweb_bb/templatetags/can_post.py 5 0 100%
|
|
148
|
+
punkweb_bb/templatetags/humanize_int.py 9 5 44%
|
|
149
|
+
punkweb_bb/templatetags/render.py 36 12 67%
|
|
150
|
+
punkweb_bb/templatetags/shoutbox_render.py 18 2 89%
|
|
151
|
+
punkweb_bb/templatetags/styled_group_name.py 7 1 86%
|
|
152
|
+
punkweb_bb/templatetags/styled_username.py 6 0 100%
|
|
153
|
+
punkweb_bb/tests.py 418 0 100%
|
|
154
|
+
punkweb_bb/urls.py 4 0 100%
|
|
155
|
+
punkweb_bb/utils.py 42 24 43%
|
|
156
|
+
punkweb_bb/views.py 304 118 61%
|
|
157
|
+
punkweb_bb/widgets.py 16 0 100%
|
|
158
|
+
------------------------------------------------------------------
|
|
159
|
+
TOTAL 1283 203 84%
|
|
160
|
+
```
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
from django.contrib import admin
|
|
2
|
-
from django.utils.safestring import mark_safe
|
|
3
2
|
|
|
4
3
|
from punkweb_bb.admin_forms import (
|
|
5
4
|
BoardProfileAdminModelForm,
|
|
@@ -34,10 +33,6 @@ class BoardProfileModelAdmin(admin.ModelAdmin):
|
|
|
34
33
|
"user__username",
|
|
35
34
|
"user__email",
|
|
36
35
|
)
|
|
37
|
-
readonly_fields = ("signature_rendered",)
|
|
38
|
-
|
|
39
|
-
def signature_rendered(self, obj):
|
|
40
|
-
return mark_safe(obj.signature.rendered)
|
|
41
36
|
|
|
42
37
|
|
|
43
38
|
@admin.register(Category)
|
|
@@ -8,6 +8,7 @@ from punkweb_bb.models import (
|
|
|
8
8
|
Subcategory,
|
|
9
9
|
Thread,
|
|
10
10
|
)
|
|
11
|
+
from punkweb_bb.utils import get_editor_widget
|
|
11
12
|
from punkweb_bb.widgets import BBCodeEditorWidget
|
|
12
13
|
|
|
13
14
|
|
|
@@ -16,7 +17,7 @@ class BoardProfileAdminModelForm(forms.ModelForm):
|
|
|
16
17
|
model = BoardProfile
|
|
17
18
|
fields = "__all__"
|
|
18
19
|
widgets = {
|
|
19
|
-
"signature":
|
|
20
|
+
"signature": get_editor_widget(),
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
|
|
@@ -25,7 +26,7 @@ class CategoryAdminModelForm(forms.ModelForm):
|
|
|
25
26
|
model = Category
|
|
26
27
|
fields = "__all__"
|
|
27
28
|
widgets = {
|
|
28
|
-
"description":
|
|
29
|
+
"description": get_editor_widget(),
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
|
|
@@ -34,7 +35,7 @@ class SubcategoryAdminModelForm(forms.ModelForm):
|
|
|
34
35
|
model = Subcategory
|
|
35
36
|
fields = "__all__"
|
|
36
37
|
widgets = {
|
|
37
|
-
"description":
|
|
38
|
+
"description": get_editor_widget(),
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
|
|
@@ -43,7 +44,7 @@ class ThreadAdminModelForm(forms.ModelForm):
|
|
|
43
44
|
model = Thread
|
|
44
45
|
fields = "__all__"
|
|
45
46
|
widgets = {
|
|
46
|
-
"content":
|
|
47
|
+
"content": get_editor_widget(),
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
|
|
@@ -52,7 +53,7 @@ class PostAdminModelForm(forms.ModelForm):
|
|
|
52
53
|
model = Post
|
|
53
54
|
fields = "__all__"
|
|
54
55
|
widgets = {
|
|
55
|
-
"content":
|
|
56
|
+
"content": get_editor_widget(),
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import bbcode
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def render_color(name, value, options, parent, context):
|
|
5
|
+
if "color" in options:
|
|
6
|
+
color = options["color"].strip()
|
|
7
|
+
return f'<span style="color: {color}">{value}</span>'
|
|
8
|
+
return value
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def render_shadow(name, value, options, parent, context):
|
|
12
|
+
if "shadow" in options:
|
|
13
|
+
shadow = options["shadow"].strip()
|
|
14
|
+
return f'<span id="bbcode-shadow" style="text-shadow: 0px 0px 1em {shadow}">{value}</span>'
|
|
15
|
+
return value
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def render_font(name, value, options, parent, context):
|
|
19
|
+
if "font" in options:
|
|
20
|
+
font = options["font"].strip()
|
|
21
|
+
return f'<span style="font-family:{font};">{value}</span>'
|
|
22
|
+
return value
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def render_quote(name, value, options, parent, context):
|
|
26
|
+
if "quote" in options:
|
|
27
|
+
return f'<blockquote><cite>{options["quote"]} said: </cite>{value}</blockquote>'
|
|
28
|
+
return f"<blockquote>{value}</blockquote>"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def render_code(name, value, options, parent, context):
|
|
32
|
+
if "code" in options:
|
|
33
|
+
language = options["code"].strip()
|
|
34
|
+
return f'<pre><code class="language-{language}">{value}</code></pre>'
|
|
35
|
+
return f"<pre><code>{value}</code></pre>"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def render_img(name, value, options, parent, context):
|
|
39
|
+
if "width" in options:
|
|
40
|
+
width = options["width"]
|
|
41
|
+
if "height" in options:
|
|
42
|
+
height = options["height"]
|
|
43
|
+
|
|
44
|
+
if "width" in options and "height" in options:
|
|
45
|
+
return f'<img src="{value}" alt="{value}" width="{width}" height="{height}" />'
|
|
46
|
+
elif "width" in options:
|
|
47
|
+
return f'<img src="{value}" alt="{value}" width="{width}" />'
|
|
48
|
+
elif "height" in options:
|
|
49
|
+
return f'<img src="{value}" alt="{value}" height="{height}" />'
|
|
50
|
+
|
|
51
|
+
return f'<img src="{value}" alt="{value}" />'
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def render_url(name, value, options, parent, context):
|
|
55
|
+
if "url" in options:
|
|
56
|
+
url = options["url"]
|
|
57
|
+
return f'<a href="{url}">{value}</a>'
|
|
58
|
+
return f'<a href="{value}">{value}</a>'
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def render_size(name, value, options, parent, context):
|
|
62
|
+
if "size" in options:
|
|
63
|
+
size = options["size"].strip()
|
|
64
|
+
return f'<font size="{size}">{value}</font>'
|
|
65
|
+
return value
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def init_default_tags(parser):
|
|
69
|
+
parser.add_simple_formatter("b", "<strong>%(value)s</strong>")
|
|
70
|
+
parser.add_simple_formatter("i", "<em>%(value)s</em>")
|
|
71
|
+
parser.add_simple_formatter("u", "<u>%(value)s</u>")
|
|
72
|
+
parser.add_simple_formatter("s", "<s>%(value)s</s>")
|
|
73
|
+
parser.add_simple_formatter("sub", "<sub>%(value)s</sub>")
|
|
74
|
+
parser.add_simple_formatter("sup", "<sup>%(value)s</sup>")
|
|
75
|
+
parser.add_simple_formatter("escape", "%(value)s", render_embedded=False)
|
|
76
|
+
|
|
77
|
+
parser.add_formatter("font", render_font)
|
|
78
|
+
parser.add_formatter("color", render_color)
|
|
79
|
+
parser.add_formatter("shadow", render_shadow)
|
|
80
|
+
parser.add_formatter("url", render_url, replace_links=False, replace_cosmetic=False)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
_parser = None
|
|
84
|
+
_shoutbox_parser = None
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def get_parser():
|
|
88
|
+
global _parser
|
|
89
|
+
if _parser is None:
|
|
90
|
+
_parser = bbcode.Parser(install_defaults=False)
|
|
91
|
+
init_default_tags(_parser)
|
|
92
|
+
|
|
93
|
+
_parser.add_simple_formatter("hr", "<hr />", standalone=True)
|
|
94
|
+
_parser.add_simple_formatter(
|
|
95
|
+
"center", '<div style="text-align: center">%(value)s</div>'
|
|
96
|
+
)
|
|
97
|
+
_parser.add_simple_formatter(
|
|
98
|
+
"left", '<div style="text-align: left">%(value)s</div>'
|
|
99
|
+
)
|
|
100
|
+
_parser.add_simple_formatter(
|
|
101
|
+
"right", '<div style="text-align: right">%(value)s</div>'
|
|
102
|
+
)
|
|
103
|
+
_parser.add_simple_formatter(
|
|
104
|
+
"ol",
|
|
105
|
+
"<ol>%(value)s</ol>",
|
|
106
|
+
transform_newlines=False,
|
|
107
|
+
strip=True,
|
|
108
|
+
swallow_trailing_newline=True,
|
|
109
|
+
)
|
|
110
|
+
_parser.add_simple_formatter(
|
|
111
|
+
"ul",
|
|
112
|
+
"<ul>%(value)s</ul>",
|
|
113
|
+
transform_newlines=False,
|
|
114
|
+
strip=True,
|
|
115
|
+
swallow_trailing_newline=True,
|
|
116
|
+
)
|
|
117
|
+
_parser.add_simple_formatter(
|
|
118
|
+
"li",
|
|
119
|
+
"<li>%(value)s</li>",
|
|
120
|
+
newline_closes=True,
|
|
121
|
+
transform_newlines=False,
|
|
122
|
+
same_tag_closes=True,
|
|
123
|
+
strip=True,
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
_parser.add_formatter("size", render_size)
|
|
127
|
+
_parser.add_formatter(
|
|
128
|
+
"img",
|
|
129
|
+
render_img,
|
|
130
|
+
render_embedded=False,
|
|
131
|
+
replace_links=False,
|
|
132
|
+
replace_cosmetic=False,
|
|
133
|
+
)
|
|
134
|
+
_parser.add_formatter(
|
|
135
|
+
"quote", render_quote, strip=True, swallow_trailing_newline=True
|
|
136
|
+
)
|
|
137
|
+
_parser.add_formatter(
|
|
138
|
+
"code",
|
|
139
|
+
render_code,
|
|
140
|
+
render_embedded=False,
|
|
141
|
+
transform_newlines=False,
|
|
142
|
+
replace_links=False,
|
|
143
|
+
replace_cosmetic=False,
|
|
144
|
+
strip=True,
|
|
145
|
+
swallow_trailing_newline=True,
|
|
146
|
+
)
|
|
147
|
+
return _parser
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
def get_shoutbox_parser():
|
|
151
|
+
global _shoutbox_parser
|
|
152
|
+
if _shoutbox_parser is None:
|
|
153
|
+
_shoutbox_parser = bbcode.Parser(install_defaults=False)
|
|
154
|
+
init_default_tags(_shoutbox_parser)
|
|
155
|
+
return _shoutbox_parser
|
|
@@ -2,7 +2,7 @@ from django import forms
|
|
|
2
2
|
from django.contrib.auth.forms import AuthenticationForm, UserCreationForm
|
|
3
3
|
|
|
4
4
|
from punkweb_bb.models import BoardProfile, Category, Post, Shout, Subcategory, Thread
|
|
5
|
-
from punkweb_bb.
|
|
5
|
+
from punkweb_bb.utils import get_editor_widget
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class LoginForm(AuthenticationForm):
|
|
@@ -39,7 +39,7 @@ class BoardProfileModelForm(forms.ModelForm):
|
|
|
39
39
|
"signature",
|
|
40
40
|
)
|
|
41
41
|
widgets = {
|
|
42
|
-
"signature":
|
|
42
|
+
"signature": get_editor_widget(),
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
|
|
@@ -66,7 +66,7 @@ class PostModelForm(forms.ModelForm):
|
|
|
66
66
|
"content": "",
|
|
67
67
|
}
|
|
68
68
|
widgets = {
|
|
69
|
-
"content":
|
|
69
|
+
"content": get_editor_widget(),
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
@@ -87,7 +87,7 @@ class SubcategoryModelForm(forms.ModelForm):
|
|
|
87
87
|
)
|
|
88
88
|
widgets = {
|
|
89
89
|
"name": forms.TextInput(attrs={"autofocus": True, "class": "pw-input"}),
|
|
90
|
-
"description":
|
|
90
|
+
"description": get_editor_widget(),
|
|
91
91
|
"order": forms.TextInput(
|
|
92
92
|
attrs={"class": "pw-input", "min": "0", "type": "number"}
|
|
93
93
|
),
|
|
@@ -103,5 +103,13 @@ class ThreadModelForm(forms.ModelForm):
|
|
|
103
103
|
)
|
|
104
104
|
widgets = {
|
|
105
105
|
"title": forms.TextInput(attrs={"autofocus": True, "class": "pw-input"}),
|
|
106
|
-
"content":
|
|
106
|
+
"content": get_editor_widget(),
|
|
107
107
|
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class ThreadMoveForm(forms.Form):
|
|
111
|
+
subcategory = forms.ModelChoiceField(
|
|
112
|
+
queryset=Subcategory.objects.all(),
|
|
113
|
+
empty_label="Select a subcategory",
|
|
114
|
+
widget=forms.Select(attrs={"class": "pw-input"}),
|
|
115
|
+
)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by Django 4.2.11 on 2024-05-30 02:25
|
|
2
|
+
|
|
3
|
+
from django.db import migrations
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
("punkweb_bb", "0004_groupstyle"),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterModelOptions(
|
|
14
|
+
name="thread",
|
|
15
|
+
options={
|
|
16
|
+
"ordering": ("subcategory", "-is_pinned", "-last_post_created_at"),
|
|
17
|
+
"permissions": (
|
|
18
|
+
("move_thread", "Can move thread"),
|
|
19
|
+
("pin_thread", "Can pin thread"),
|
|
20
|
+
("close_thread", "Can close thread"),
|
|
21
|
+
),
|
|
22
|
+
},
|
|
23
|
+
),
|
|
24
|
+
]
|